Commit graph

2958 commits

Author SHA1 Message Date
Siddharth Kapoor
e139c1452a Increase earlySf duration to accomodate animation cases am: ff667d4fd6 am: dad797339e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14623153

Change-Id: I3d2329c88c948547c53602ce4d5a4d37c0237581
2021-05-19 19:28:39 +00:00
Roger Fang
e8f8924cb7 device: google: gs101: IAudioMetricExt hidl manifest settings am: b028d337e5 am: ea9c83f328
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14281931

Change-Id: I285ffcaed7bb44e316d8122deed4457dbf68fe65
2021-05-19 19:28:35 +00:00
Kevin DuBois
85e5df6c65 Upgrade GPU NNhal to 1.3 revision. am: 093d884b1f am: d90801dbff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14549409

Change-Id: I776dbfec89e0d83fbabae9af1a2da023dd2484fc
2021-05-19 19:28:29 +00:00
Ted Lin
3d8ede67b1 Dump tcpm for the new path am: 6760693f5e am: cb6154d1c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14569087

Change-Id: Iec3fd605dd62fb034d1640c70deae0a5c8fb58d1
2021-05-19 19:28:25 +00:00
Beverly
ece9733388 Raviole: use hybrid prox sensor on keyguard am: 9ff80a9867 am: 24483ba87f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14601354

Change-Id: I1a110713305874b7e66a5a16bb70ec713e0903d5
2021-05-19 19:28:20 +00:00
Alec Mouri
4ec59446ef Enable SurfaceFlinger Cache by default am: 2b243badf7 am: 903f69b27c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14491472

Change-Id: I11ae95702ed0876f1b4850b3d89e666895637911
2021-05-19 19:28:16 +00:00
Devika Krishnadas
8478e684ee Change VSYNC duration am: 81e38cd53f am: 7954fd9c0d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14600236

Change-Id: Id54b54082d8d51ed96493e7b6f6ec2c5ea694f88
2021-05-19 19:28:11 +00:00
Rick Chen
d8a71742bf Add debug property for sensor on userdebug/eng build. am: 0046814755 am: 703389de4b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513734

Change-Id: Id43b5f57ff477f89eeec9503a087c2a96ce162cb
2021-05-19 19:28:06 +00:00
Jenny Ho
39b621b94c device-common: set testing_battery_profile default 2 am: 830f088024 am: 3a936454dd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14608671

Change-Id: I94bf4f6e51bd41bd5480196702febb7a34d508ba
2021-05-19 19:28:02 +00:00
Sidath Senanayake
24b9e4ea1e powerhint: Use 'hint' node for GPU am: f1ebf62e94 am: 40b3ef6c08
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14601657

Change-Id: Ib4d99fb496e84648989b4deffc255b430167779d
2021-05-19 19:27:57 +00:00
Zhijun He
3c0e464e12 dumpstate: add camera hal graph state dump am: 5b24450f66 am: e43cd9d5df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14605098

Change-Id: I9788f6c4036a0a0d1092a7a90b158c9de3e64c59
2021-05-19 19:27:52 +00:00
Tim Murray
c68cb80b41 gs101: preopt SystemUI am: bcbec3f640 am: 3831a6fc7e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14607670

Change-Id: I0890add580b3ed5e3c215bb39218f0ab59362f88
2021-05-19 19:27:47 +00:00
Long Ling
3107de44de display: update vendor color file am: 7ce611d3b2 am: 5056f031e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14509944

Change-Id: Id657131b94446e1a794563e7fad5cead9083e69b
2021-05-19 19:27:42 +00:00
Minchan Kim
a74e76bea7 gs101: enable page_pinner am: 1d26ee723e am: ee25ec8700
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14472208

Change-Id: I279f0cab733e1409e9283181e1cc3e9b5c5d6e42
2021-05-19 19:27:37 +00:00
Minchan Kim
104da9fef5 init.gs101.rc: dump page_pinner information into bugreport am: 9e84a854dd am: 47b380ce9a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14472207

Change-Id: I6e0186f6c2392c62a2229a80d720b75fee767539
2021-05-19 19:27:33 +00:00
Midas Chien
ed6ec27265 Revert "gs101: display: update 90hz denylist" am: d3e7a01d6e am: ad3fd36ffe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14242676

Change-Id: I08c66d40df962865a3af0822b3b025944830a8ff
2021-05-19 19:27:28 +00:00
Ilya Matyukhin
4d054df74c Split UDFPS makefiles into common, factory, and shipping
Bug: 188193467
Test: build factory_oriole-userdebug
Test: build factory_raven-userdebug
Test: build oriole-userdebug
Test: build raven-userdebug
Change-Id: Ia2b725214189ff123239dbafad3bcb567f11f47b
2021-05-19 17:11:58 +00:00
Alex Johnston
a1f2ab72b2 Add Device ID attestation support gs101
Bug: 187151761
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testAddNetworkWithKeychainKey_granted
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testKeyManagement
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegationCertSelection
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testInstallKeyPairLogged
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testGenerateKeyPairLogged
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegatedCertInstallerDirectly
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSetKeyGrant
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSetKeyPairCertificateLogged
      atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testAddNetworkWithKeychainKey_granted
      atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement
      atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testDelegationCertSelection
      atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testInstallKeyPairLogged
      atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testGenerateKeyPairLogged
      atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testDelegatedCertInstallerDirectly
      atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testSetKeyGrant
      atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testSetKeyPairCertificateLogged
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testAddNetworkWithKeychainKey_granted
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testKeyManagement
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegationCertSelection
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testAdminControlOverSensorPermissionGrantsDefault
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testInstallKeyPairLogged
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testGenerateKeyPairLogged
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegatedCertInstallerDirectly
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testSetKeyGrant
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testSetKeyPairCertificateLogged

Change-Id: I71f8811780cfbc78515c69c1a5170b6451ff7821
2021-05-19 13:06:50 +00:00
Peter Liu
f2db0e370f camera power hint: raise CPU clock more conservatively at STREAM_HIGH mode
During streaming high fps mode, the BW is high and lead to CPU memory
high latency. This hint tries to avoid raising the CPU clock
at the condition when CPU is waiting for data access.

Bug: 184583714
Test:
4k60: 59+fps
1080p60fps: 58fps (b/186806120, disable eis can get 60fps)
Power benefit 80-100mW

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I3849dfd170085f7e10b5c53d27af353026a4093a
2021-05-19 06:21:29 +00:00
George Chang
f989b01a09 Temporary disable eSE2 terminal
Bug: 187937707
Test: manual
Change-Id: I8d5a2b75851e9a42976db2ceb29d91374b914851
2021-05-19 05:30:36 +00:00
Ilya Matyukhin
a23bc411fe gs101: remove fingerprint HIDL HAL config
This config should be specified in individual device overlays.

Bug: 188588725
Test: build
Change-Id: I1e0798026c3e367ae3847fb8367c9dddb8a9b28d
2021-05-19 04:28:41 +00:00
Krzysztof Kosiński
6e46cb4474 Update GCH configuration for gs101.
Bug: 188327280
Test: camera preview on oriole
Change-Id: I556322b01f2ded68b34099ea41e53f966f5ec8b6
2021-05-19 04:25:28 +00:00
Yu-Chi Cheng
6917051ecb Renamed edgetpu_service to edgetpu_app_service.
edgetpu_service was splitted into two in previous change:
edgetpu_service and edgetpu_vendor_service, where the new
vendor service for vendor clients, and the old service keeps
serving app clients.

This change renamed the edgetpu_service into edgetpu_app_service
in the device.mk to make the naming clearer.

Bug: 188463446
Test: Oriole + GCA
Change-Id: I969e264a82a4ebc77407a0eee45fe6be6a3a2ba8
2021-05-18 19:13:20 +00:00
Stephane Lee
80c8b07636 Enable Battery Defender on gs101
Bug: 188110823
Test: Ensure that Dwell-Defend can trigger with 'setprop
vendor.battery.defender.threshold 61'

Change-Id: I4782e2c387b147fc48cf4134d27af8675964dc44
2021-05-18 18:48:49 +00:00
Siddharth Kapoor
d7e3a56290 Increase earlySf duration to accomodate animation cases
Bug: 161945010
Test: traces shared at b/161945010#comment17
Change-Id: I894b139e71b50c9b6e64b6f73a633da67f00dd16
2021-05-18 17:44:58 +00:00
Roger Fang
b555d6c912 device: google: gs101: IAudioMetricExt hidl manifest settings
Bug: 180627405
Test: Manually test

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: If84d94703bdbb3621dc03bdb2101c42bfd4a3c91
2021-05-18 17:21:45 +00:00
Colin Cross
5a5f7fa234 Update manifest_64.xml to match manifest.xml am: a162d3480f am: 2abf9fbb8f am: 0a04b1e505
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14554813

Change-Id: I75b45cfa71d56ce293ec22a85e432d705c3c5bd8
2021-05-18 16:41:42 +00:00
Kevin DuBois
f56e018ca4 Upgrade GPU NNhal to 1.3 revision.
Upgrades GPU NNHal to 1.3 revision.

Fixes: 187981206
Test: Boot, VTS for 1.3 revision
Change-Id: I2f860cd092168cb5093794dcfdef60242bfb9b6b
2021-05-18 15:07:04 +00:00
Ted Lin
122923fc74 Dump tcpm for the new path
Bug:188213293
Test: check bugreport
Change-Id: Ib6f2e374d80da88a39440a3de9d0e2d732b2f95e
Signed-off-by: Ted Lin <tedlin@google.com>
2021-05-18 15:05:05 +00:00
Beverly
4747f7c675 Raviole: use hybrid prox sensor on keyguard
Bug: 184176119
Test: manual
Change-Id: Ib2a6c75986ea9e4f7514767ef6d4090e5d71f93c
2021-05-18 11:36:31 +00:00
Alec Mouri
336e603ad2 Enable SurfaceFlinger Cache by default
Bug: 167936510
Test: Multiple fixes for flickering issues have landed.
Change-Id: I3da8f94e736c6dd5347585c3edb1a1080e9fff58
2021-05-18 08:51:00 +00:00
Devika Krishnadas
f25a39d71e Change VSYNC duration
Bug: 161945010
Change-Id: I2bfa217cf3e2e8fc7cf27551f405eac6c0d39ec4
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2021-05-18 07:32:51 +00:00
Rick Chen
7325f58e86 Add debug property for sensor on userdebug/eng build.
Bug: 187248983
Test: lshal debug android.hardware.sensors@2.0::ISensors/default
      See b/187248983#comment2 for the output.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I174af99b6f1318c7420e8e6c5d4ed745c2328cf0
2021-05-18 07:26:39 +00:00
Jenny Ho
90217296e8 device-common: set testing_battery_profile default 2
set 2 to prevent limit battery level in unexpected testing situation

Bug: 180511460
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I9f0e66cf92b26c6946af162003378dcf0fd749f9
2021-05-18 09:00:06 +08:00
Sidath Senanayake
3f13d8aa5e powerhint: Use 'hint' node for GPU
This changes PowerHAL to use a sysfs node created
specifically for use by PowerHAL when influencing
GPU clocks.

Bug: 188404581
Bug: 188034128
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Icf120454ff908776c8717826689a0528aebf2f64
2021-05-18 00:50:53 +00:00
Zhijun He
8a52881a41 dumpstate: add camera hal graph state dump
Only dump the latest dump files so that bugreport
size won't be increased by too much.

Test: build and capture bugreport
Bug: 178737594
Change-Id: I699ee76997c9107dad13419688f3c6c04551313b
2021-05-18 00:42:11 +00:00
Tim Murray
c1db6b7386 gs101: preopt SystemUI
SystemUI should always be speed-preopted on these devices.

Test: flashed, SysUI is preopted
Bug: 188465988
Change-Id: I990ce9d7d8c08b8e80fe4ca0b73c9eb339f065f3
2021-05-18 00:40:15 +00:00
Long Ling
736b673c95 display: update vendor color file
Update boosted color data

Bug: 187301816
Change-Id: Iec740f3e933dc564f39fb78605fd5c3b428b167c
2021-05-18 00:03:56 +00:00
Minchan Kim
c9f14081cd gs101: enable page_pinner
Enable Page Pinner.

Bug: 187552095
Test: adb bugreport <zip> and confirmed it contains page_pinner
      information at dumpstate_board.txt
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I509c5a825a798d8f1851cb65c5dd28dbddf11d33
2021-05-17 18:22:16 +00:00
Minchan Kim
637041f47e init.gs101.rc: dump page_pinner information into bugreport
Dump page_pinner information into dumpstate_board.txt.
It helps to find vulnerable place of CMA failure.

Page pinned ts 13 us count 0
PFN 10292273 Block 10051 type CMA Flags 0x8000000000080024(uptodate|active|swapbacked)
 try_grab_page+0x168/0x17c
 follow_page_pte+0x2e4/0x4c8
 follow_pmd_mask+0x180/0x498
 __get_user_pages+0x1a0/0x42c
 __get_user_pages_remote+0xa4/0x28c
 get_user_pages_remote+0x20/0x48
 copy_strings+0x188/0x2ac
 do_execveat_common+0x278/0x300
 __arm64_sys_execve+0x44/0x5c
 el0_svc_common+0xa4/0x180
 do_el0_svc+0x28/0x88
 el0_svc+0x14/0x24
 el0_sync_handler+0x88/0xec
 el0_sync+0x19c/0x1c0

Page pinned ts 2 us count 0
PFN 10436170 Block 10191 type CMA Flags 0x8000000000080026(referenced|uptodate|active|swapbacked)
 try_grab_page+0x168/0x17c
 follow_page_pte+0x2e4/0x4c8
 follow_pmd_mask+0x180/0x498
 __get_user_pages+0x1a0/0x42c
 __get_user_pages_remote+0xa4/0x28c
 get_user_pages_remote+0x20/0x48
 copy_strings+0x188/0x2ac
 do_execveat_common+0x290/0x300
 __arm64_sys_execve+0x44/0x5c
 el0_svc_common+0xa4/0x180
 do_el0_svc+0x28/0x88
 el0_svc+0x14/0x24
 el0_sync_handler+0x88/0xec
 el0_sync+0x19c/0x1c0

Bug: 187552095
Test: adb bugreport <zip> and confirmed it contains page_pinner
      information.

Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I59bd41ad9e06cab0348ce85059f73d0796632868
2021-05-17 18:22:16 +00:00
Midas Chien
4c188d1214 Revert "gs101: display: update 90hz denylist"
This reverts commit 2b88831a1d.

Reason for revert: move to vendor

Bug: 159903227
Bug: 182471327
Test: adb shell dumpsys window refresh
Change-Id: Iea49d0be0338faba1a98bdf184e2f674340602c1
2021-05-17 17:31:42 +00:00
Colin Cross
9715ce3e05 Update manifest_64.xml to match manifest.xml
Update manifest_64.xml for the following changes that were made to
manifest.xml:
I0babd05f17281406af10e4ea2435aca598910d36 Remove android.hardware.drm@1.0 HAL services
Iaafd526fc5a601f7e8189ec764399d99c660beb0 Replace the HIDL with AIDL for "android.hardware.memtrack"
I3f0d35647c0748d360b12d3be078d514f99d23d5 Update dumpstate HAL to V1.1
I9ba18473132f4bfa37a9fe2bbae4bb3dc015cc0e gs101: Remove sensor HAL 1.0 config

Bug: 188239794
Test: m out/target/product/oriole/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log
Change-Id: I92c313f7f31df7193ca8c67f56cd9f1317290948
2021-05-15 05:04:03 +00:00
qinyiyan
f93a35ade9 Update the manifest to switch the TPU NNAPI hal to use AIDL. am: ee23b47c8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14495075

Change-Id: I242dece3fde7ba245755197d4f3ca88021c12c00
2021-05-14 20:44:46 +00:00
qinyiyan
d766be009f Update the manifest to switch the TPU NNAPI hal to use AIDL.
Test: Created Forrest build and flashed to phone.
Bug: 187846367
Change-Id: I0764d244ad939de2e5a6580728e528ec28069a93
2021-05-14 20:15:35 +00:00
Tri Vo
ef75692375 gs101: add trusty_metricsd am: 343ada7d27
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14542977

Change-Id: I8b20e465d11e5cf4d50be442935e8f5b3f6820f0
2021-05-14 19:32:44 +00:00
Wei Wang
37eedd3407 Fix permission for vendor_group migration am: 27e8fd62c7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14552184

Change-Id: Ib4eb7070c6a1f37c732e0ee8af40334a139ae222
2021-05-14 19:32:23 +00:00
Tri Vo
90496be319 gs101: add trusty_metricsd
Bug: 173423860
Test: m
Change-Id: I149410a9c1ae8d9366f05d61e35fda04eb28d445
2021-05-14 19:23:24 +00:00
Wei Wang
b442e78600 Fix permission for vendor_group migration
Test: build
Bug: 182509410
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I535b93649d1653def108c0407b16a8ae2f4873bd
2021-05-14 19:12:21 +00:00
davidycchen
83ef871951 dumpstate: modify the method for dump touch information am: ea61f9cd27
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14518353

Change-Id: Ia34b1b8606d4ab6fdf2efe328e87db3e1a12cc29
2021-05-14 06:03:14 +00:00
Midas Chien
dc5e76190b powerhint: Support early wake up DPU via DISPLAY_UPDATE_IMMINENT am: e39d0b5261
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14309301

Change-Id: I10716bbf20bb9edb4acb1901e142468b7e65a41d
2021-05-14 06:03:08 +00:00