millerliang
00ab3e41c3
audio: add the files for low latency am: b920a4e569 am: 4783f1d86a am: 06abe68025
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15101218
Change-Id: I5441dd93f9bf6388097bc51f1309494408451e36
2021-06-25 08:27:39 +00:00
millerliang
1fce97cea2
audio: add the files for low latency
...
They are use by the GOogle Play Store to filter devices
that might need low latency feature.
Bug: 189793763
Test: Build and check the files
Change-Id: Ibf71147b971bfc4fe4e769772851e604203395b8
2021-06-25 02:46:02 +00:00
Adam Shih
29e4369005
modularize dmd am: dbfee7ea5b am: 22ee03dec6 am: d7bf179fd6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15068260
Change-Id: Ibcc74fa6319bb491e1903e492e8f351e4176db16
2021-06-25 02:21:44 +00:00
Adam Shih
4b2b930396
modularize dmd
...
Bug: 190331463
Test: build ROM and make sure dmd is launched
Change-Id: Ie7ee06cbefeced5a69292e22012f533296081319
2021-06-25 01:12:49 +00:00
Rachel Lee
a3e4489f90
Set 120Hz frame rate multiple threshold for gs101. am: 58fb86ed25 am: 31a9194726 am: 912e85af98
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15079929
Change-Id: If646c10f7d05c852ccad128bda07f568bce7f911
2021-06-24 22:59:42 +00:00
Rachel Lee
d901ee0b5d
Set 120Hz frame rate multiple threshold for gs101.
...
BUG: 190815773
Test: atest libsurfaceflinger_tests
Change-Id: I515aadf0305c306a1c58248daf9b38cec0161cf8
2021-06-24 22:14:45 +00:00
SalmaxChang
df76b73268
dumpstate: Sync features from P20 am: 991b6891d2 am: 0de5f04785 am: f1a2b94b18
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14730572
Change-Id: I875ef03249ca7c7c2302678a111a01a5c8e95f34
2021-06-24 10:57:24 +00:00
SalmaxChang
0979e06146
dumpstate: Sync features from P20
...
- Create thread to collect modem related logs into dumpstate_board.bin.
- Reference verbose logging property
Bug: 176176656
Bug: 190329829
Change-Id: I514ae6d00599239238d0f1a2a2ec0cc2c8c15043
2021-06-24 10:02:11 +00:00
Adam Shih
a02589a19f
modularize pktrouter am: 8f21a02138 am: 22f1034c84 am: fb83d93e06
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056861
Change-Id: I13c958efe5af8bca5b89433be42b22ff34977862
2021-06-24 08:12:05 +00:00
Adam Shih
c7884a192e
modularize pktrouter
...
Bug: 190331212
Test: make sure pktrouter gets initialized
06-23 13:21:19.372 1 1 I init : Parsing file /vendor/etc/init/pktrouter.rc...
06-23 13:21:23.510 1 1 I init : processing action (vendor.pktrouter=1) from (/vendor/etc/init/pktrouter.rc:7)
06-23 13:21:23.510 1 1 I init : starting service 'pktrouter'...
Change-Id: I89de2b2dd151bba877dea0bd5db0df1048b2ab6b
2021-06-24 07:24:45 +00:00
Taehwan Kim
0e13ddda94
add ro.vendor.gpu.dataspace am: cf7285bb99 am: 20e1816bd9 am: 2bd5891310
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877090
Change-Id: I13d3fd503f4bb3e082d1575f662f7ad3333cd0f4
2021-06-23 07:04:26 +00:00
Adam Shih
4e90077b04
modulize init.radio.sh am: b708e2ccc2 am: 7724a0a793 am: 0cc73c6d17
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056857
Change-Id: I074ed7de7f6c2d8e4d049f1508b733eac93b8972
2021-06-23 05:38:15 +00:00
Taehwan Kim
71bf42f42d
add ro.vendor.gpu.dataspace
...
Bug: 176415285
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I6d6780f81ae05fc22793d97373a49b86e289cd0c
2021-06-23 04:51:40 +00:00
Adam Shih
5de199eca7
modulize init.radio.sh
...
Bug: 190331600
Test: build ROM and make sure the file is there and functional.
Change-Id: Id8fdeab9a79724ba77044274f2005935ffe00c99
2021-06-23 02:55:22 +00:00
Lokesh Gidra
d744f7f611
Use 6GB dalvik-heap config for WHI series phones am: a04605d473 am: 125afe8c8b am: 370966c5b2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15052890
Change-Id: If13e208300b1a8bc0a231b59083effd216c45dcd
2021-06-22 00:01:43 +00:00
Lokesh Gidra
42c5499945
Use 6GB dalvik-heap config for WHI series phones
...
Since all the WHI phones have 6GB+ RAM, we should be using at least a
6GB dalvik-heap config, as being done in pixel5 and older devices.
Test: build and boot
Bug: 189738006
Change-Id: I5a232d2901dec819b225812d023d2e5a43d3e0a6
2021-06-21 23:05:40 +00:00
Alex Hong
86caa07260
Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S) am: 8f1deae1d6 am: 43dd23ddad am: 688f8185b9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997391
Change-Id: I0892b88daf50183a5477c370ae806085267dd59b
2021-06-21 12:50:03 +00:00
Jimmy Shiu
14924bfa75
adpf: move the vendor.powerhal.adpf.rate to raviole am: 012abe59f4 am: 47a6cb77bb am: b8f1592a11
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017732
Change-Id: I0dea43a8a6afba9136b82d2c1281b18a070dd13b
2021-06-21 12:23:13 +00:00
Alex Hong
b7b25bb84a
Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S)
...
PRODUCT_SHIPPING_API_LEVEL: 31
Target FCM version: 5
Kernel FCM version: 6
TO-DO: Upgrade "Target FCM version" from 5 to 6
"Target FCM version" must be 6 if PRODUCT_SHIPPING_API_LEVEL is 31.
Bug: 167997902
Bug: 186723740
Bug: 184801854
Bug: 186500818
Test: The device can boot to home.
$ adb shell getprop ro.product.first_api_level
[ro.product.first_api_level]: [31]
$ adb shell ls /sys/kernel/debug
$ adb root && adb shell getprop ro.product.debugfs_restrictions.enabled
Change-Id: I79a9d3835b9d3c508e647c1bbf53bd1c1465de05
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-21 08:01:31 +00:00
Jimmy Shiu
f0280a99f4
adpf: move the vendor.powerhal.adpf.rate to raviole
...
The property should be based on device max refresh rate.
Move to raviole config files.
Bug: 177493042
Test: build
Change-Id: I34c42c87e92208e9f8140197e00f713aafaa63ba
2021-06-19 04:00:51 +00:00
Adam Shih
a951f29557
organize confirmationui settings am: 62efe878ba am: cf594029cc am: 1043f5a989
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017735
Change-Id: I22f696a59fe3f28eda73a55c4647c9f9726ee3cc
2021-06-18 07:32:43 +00:00
Adam Shih
56978d9961
organize confirmationui settings
...
Bug: 190331547
Bug: 190331370
Test: build ROM and make sure file and sepolicy is still there
Change-Id: Ifc2bcf1616d3ee2df3943f0f1b3523ce485b689c
2021-06-18 06:47:38 +00:00
Devika Krishnadas
49e6a384d5
Increase maxFrameBufferAcquiredBuffers to 3 am: e7520f589d am: cdf8e2c9b0 am: 3f8cf61183
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15003630
Change-Id: I8c7216a8d849a99824c4ad7acc92ffe328036f72
2021-06-17 07:03:53 +00:00
Devika Krishnadas
e8b2e18eeb
Increase maxFrameBufferAcquiredBuffers to 3
...
When display and SF falls out of sync, there is a possibility that while
display holds on to a buffer, a composed buffer could be waiting in the
decon thread. Since maxFrameBufferAcquiredBuffers is 2, GPU will have to
wait for display to swap out the buffer it is currently presenting to be
able to compose for the next frame, which leads to SF missing its
timeline for subsequent frames.
Bug: 190842189
Test: perfetto
Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I434e8644cff2538589c1c9b2bf731afae0aa8980
2021-06-17 06:14:37 +00:00
David Anderson
2bfa6d3ba0
Enable compressed snapshots/VABc.
...
Bug: 185400304
Test: treehugger
Test: apply OTA
Change-Id: I1a2242b219f11212431a5a9207ec5a832e944c46
2021-06-16 20:48:14 +00:00
Adam Shih
6db8d3a3ce
remove vcd from user ROM am: 8cc14ed0c4 am: 02f776f3be am: 0479005f42
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941513
Change-Id: Id381336cf285ab64cb343c46064e03423ebb28e6
2021-06-16 07:22:16 +00:00
Adam Shih
3e058b1e5c
remove vcd from user ROM
...
Bug: 190331325
Test: build all ROM variants with only user ROM without vcd
Change-Id: I0732f80c2adc663c807963b84c70080665212bb2
2021-06-16 06:40:27 +00:00
Wei Wang
1e8e7d77ec
Enable ADPF hint am: 65e9cc03ff am: 10c1915993 am: c3a78f1d51
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687079
Change-Id: Icbbdbcff054ff9a0a7270ad08247b4fe3a8e9f4a
2021-06-14 18:06:36 +00:00
Wei Wang
4b696faee6
Enable ADPF hint
...
Test: build, boot and trace
Bug: 177493042
Change-Id: I05bc6b879506934ad35521ae21e2b3a33740f268
2021-06-14 17:09:07 +00:00
Kelly Rossmoyer
103f721941
Adaptive Suspend: configure first param set am: 3f428fafe4 am: 6a50ca3ab3 am: 91a6cecba5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609
Change-Id: Ib4c1fe0a9640be099aea6b0df67b51c7cd061540
2021-06-13 01:17:48 +00:00
Kelly Rossmoyer
eba0f4ff66
Adaptive Suspend: configure first param set
...
This CL configures the first set of experimental parameters for Adaptive
Suspend on targeted devices, including:
* dropping the max backoff from default 60 seconds down to 40
* changing the break-even threshold from 5 seconds (which was just for
collecting data) to 2
* enabling backoff on short suspends
BUG: 171433995
Test: ran on test device and observed suspend behavior
Change-Id: Icebf50aeade713591f1641664df11570d184d352
2021-06-13 00:34:09 +00:00
Jimmy Shiu
1ddc03705a
Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: bee8e3f68c am: 62d5e78b44
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955
Change-Id: I4dfcb1e5bdae1297b4eabae4cc8cc337d3a3ac40
2021-06-12 06:48:46 +00:00
Jimmy Shiu
e209e8fbe9
Enable SF main thread boost with uclamp.min=30
...
Bug: 190137562
Test: boot and check uclamp.min of SF
Change-Id: Ifd6ad8d67fb0a3ecd2464540b670839cea1e867b
2021-06-12 06:05:29 +00:00
David Anderson
04f47d6e24
Enable compressed snapshots/VABc.
...
Bug: 185400304
Test: treehugger
Test: apply OTA
Change-Id: I1a2242b219f11212431a5a9207ec5a832e944c46
2021-06-11 03:17:18 +00:00
Adam Shih
14b92cbe5b
reorganize trusty_metricsd settings am: 187a532e2a am: ed80d1279e am: 2a598d1526
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909767
Change-Id: I8ed00b26c6894aba7b75951e5f5a353d42678dde
2021-06-10 06:40:51 +00:00
Adam Shih
cdc350b5e6
reorganize trusty_metricsd settings
...
Bug: 190331503
Test: build ROM and see the file and sepolicy settings are still there
Change-Id: I212df916799b8acf831158153209bd2a1f7dfc5f
2021-06-10 05:52:40 +00:00
Adam Shih
7911e30e09
organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 316f65b034 am: fd439b40e8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756
Change-Id: Ifa5c82eef566fe848ee9f165c1811c7ed0e882cb
2021-06-10 03:46:05 +00:00
Adam Shih
a169c37d9d
organize EdgeTPU modules and sepolicy
...
Bug: 190331327
Bug: 190331548
Bug: 189895600
Bug: 190331108
Bug: 182524105
Bug: 183935302
Test: build ROM and check if the modules and sepolicy are still there
Change-Id: Id28ac2094e14051defe0401055d862c6353194f7
2021-06-10 02:53:28 +00:00
Adam Shih
222b7c5c33
modulize hal_neuralnetwork_armnn am: 556df03c4c am: 3d28076178 am: 74efb31d84
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194
Change-Id: Icaa59b79ab9bc50e7b3855ee627a65f14c73fe55
2021-06-09 04:01:29 +00:00
Adam Shih
e89080c7a6
modulize hal_neuralnetwork_armnn
...
Bug: 189895314
Bug: 171160755
Bug: 171670122
Bug: 180858476
Test: make sure all affected devices' armnn module has the right label
Change-Id: Ie618a5477b4e447774b20a58c9f091ae9fe529d6
2021-06-08 23:03:04 +00:00
Lucas Dupin
092b90cda5
Enable blurs am: 4f86cdd63f am: 6259a4c77b am: 38d4abf87b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14829939
Change-Id: Ieabf9803dfc20d36d786d21bc0f22ff3480cd66e
2021-06-08 17:25:25 +00:00
Lucas Dupin
d8f101ad4c
Enable blurs
...
Bug: 181092919
Test: manual; performance scripts
Change-Id: I5875a99167e80ddd5b79fc245f988d8a6ac167be
2021-06-08 16:38:30 +00:00
David Li
333818e75b
audio: upgrade audio.usb.default from v1 to v2 am: 174e0f9a18 am: 17746f6cc3 am: 8005b47212
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513739
Change-Id: I64c3c53a5599a367308d6429c9e26a588e946db2
2021-06-08 07:18:19 +00:00
David Li
4e9ad88e66
audio: upgrade audio.usb.default from v1 to v2
...
Bug: 187912470
Test: make -j128
Test: deep buffer and compress offload via speaker, USB headset, BT
earphone
Test: phone call via handset
Test: hotword detection
Change-Id: I0385873c7087660d03ccc582f31825a901ae1b8e
2021-06-08 06:14:43 +00:00
Adam Shih
4464bd7ec6
remove obsolete module am: a32cd44c0e am: 2d72497a16 am: 84da5f598e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881192
Change-Id: Ibe9c60e04f8e00c1b49648e6f76fb8982138e652
2021-06-08 04:41:30 +00:00
Adam Shih
fa935b0795
remove obsolete module
...
Bug: 190330778
Test: build the ROM with the module gone
Change-Id: I38b604e2ee5be017b5eccf98d405ee896b5e6ea4
2021-06-08 03:25:59 +00:00
Aaron Ding
5fb63ff7d0
Enable PRODUCT_SET_DEBUGFS_RESTRICTIONS on userdebug builds am: f43da9a37c am: baa80dcd81 am: b39c887a16
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14467765
Change-Id: I01c4de82b7e0d10585dec0bc12bf4ff7827045ac
2021-06-04 08:13:13 +00:00
Aaron Ding
49c8f94192
Enable PRODUCT_SET_DEBUGFS_RESTRICTIONS on userdebug builds
...
Bug: 186500818
Change-Id: Ic8534da52b093fc3278abd2f243a506d87196b1e
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-04 04:01:50 +00:00
wenchangliu
ab33b08cb2
Move input surface to CCodec am: 4272b53d9b am: d7c599a84e am: caf884d6d8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788706
Change-Id: I2837b2fe6f34fd9f57a72005fdf47a77e7ee6a8d
2021-06-03 02:59:50 +00:00
wenchangliu
a9a6612873
Move input surface to CCodec
...
Bug: 186447629
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Test: camera recording
Change-Id: I3aa79073f45d0d06a55abed08763d8c1ac45932a
2021-06-03 01:51:52 +00:00