Commit graph

6664 commits

Author SHA1 Message Date
linpeter
6112567189 init: set dimming_on node permission before start hwcompower am: d95bbb9740
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13782440

Change-Id: I6c8cb9898052b4363702aa673e96f696d95834d7
2021-03-23 09:05:00 +00:00
linpeter
d95bbb9740 init: set dimming_on node permission before start hwcompower
Give dimming_on node sutiable permission to allow
hwcomposer to set dimming_on to display driver.

Bug: 177141990
test: check file node permission
Change-Id: I1f78b77884d619f1e48a63ac11c4201089010a0d
2021-03-23 05:55:01 +00:00
Adam Shih
5462e092fb Align modem's DAC setting with other AB partitions am: 777c58e8ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13959270

Change-Id: If68d156b8c1e7447e680cd7f66387387af9ab372
2021-03-23 05:27:00 +00:00
Adam Shih
777c58e8ae Align modem's DAC setting with other AB partitions
Bug: 183174452
Test: Apply OTA locally under SELinux enforcing mode
Change-Id: I0cf4fdff565ded69cc342d7052aed990c6f55593
2021-03-23 04:54:57 +00:00
Adam Shih
1389a5147d allow modem image to do OTA am: 435f68ed7b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13946185

Change-Id: Iace595e75182998f4eb2bac7347d6362db138a9a
2021-03-23 00:52:47 +00:00
Adam Shih
435f68ed7b allow modem image to do OTA
Bug: 183174452
Test: run ./system/update_engine/scripts/update_device.py path/to/oriole-ota-*.zip
exit with status 0

Change-Id: I21a1cfcdf29eae1e06ed922cc44c1ff5b2916144
2021-03-23 00:08:27 +00:00
Oleg Matcovschi
32246238bd gs101: migrate to bootimg v4 am: 9ef069c978
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13930924

Change-Id: I3bcf10a602f256c388080972119576ed8dbd67f7
2021-03-22 20:10:25 +00:00
Oleg Matcovschi
9ef069c978 gs101: migrate to bootimg v4
Bug: 183237066
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: If4ed53f3ea4964139b33ef691469a1dbbfa97e80
2021-03-22 19:28:26 +00:00
eddielan
25417326ed Move config_biometric_sensors to device/google am: 5ad06a0dc2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13881383

Change-Id: Ica2cecd8b8e0625765cc9b2cc08afdfbdb2780a3
2021-03-22 14:24:08 +00:00
David Li
dcd288f86d audio: add /dev/acd-audio_dcdoff_ref for audio effect visualizer am: 62903463d5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13921151

Change-Id: Iac507275b35b47a2dc3de63073c0b5f1b7e65914
2021-03-22 13:54:43 +00:00
Ilya Matyukhin
fc439c8818 Revert^2 "Include the Soong namespace of the UDFPS HAL" am: e9170d48ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13933987

Change-Id: I5af4e5191cda3c8497d7fc12aca034240fe7635f
2021-03-22 13:54:29 +00:00
Kris Chen
741cef0483 gs101: exclude udfps.mk am: 71020ad126
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13929862

Change-Id: Ia3a942b18dec3bfa37f8f5469b56ab10e836c917
2021-03-22 13:53:48 +00:00
eddielan
5ad06a0dc2 Move config_biometric_sensors to device/google
Bug: 182868067
Test: Build Pass
Change-Id: I03b2d310ad58d6fa0c1a739b0d8cbd4ca4e3c231
2021-03-22 07:59:39 +00:00
David Li
62903463d5 audio: add /dev/acd-audio_dcdoff_ref for audio effect visualizer
Set /dev/acd-audio_dcdoff_ref as 0660 system audio
crw-rw---- 1 system audio u:object_r:aoc_device:s0  500,  29 2021-03-18 22:19 /dev/acd-audio_dcdoff_ref

Bug: 180984363
Bug: 165719427
Test: make -j128
Test: ls -alZ /dev/acd-audio_dcdoff_ref
Change-Id: I4720349eccd5e3b797ff8e964329fe6352d5bba0
2021-03-22 02:07:32 +00:00
Ilya Matyukhin
e9170d48ab Revert^2 "Include the Soong namespace of the UDFPS HAL"
548f6b81c4

Change-Id: I68fd69e0a1aefad67da7b23f817462cb330d3c6d
2021-03-21 00:48:41 +00:00
Kris Chen
71020ad126 gs101: exclude udfps.mk
Bug: 183247684
Test: lunch oriole-userdebug; make -j$(nproc);
Test: lunch passport-userdebug; make -j$(nproc)
Change-Id: Iafcd1c9dad0861b0569b6a0350501952af83007d
2021-03-20 01:58:04 +00:00
Ilya Matyukhin
b64b3c934a Revert "Include the Soong namespace of the UDFPS HAL" am: 548f6b81c4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13932414

Change-Id: Icba222eea07fbd236124edc12807d597cb594843
2021-03-19 20:35:49 +00:00
Ilya Matyukhin
548f6b81c4 Revert "Include the Soong namespace of the UDFPS HAL"
Revert submission 13892440-integrate-goodix-aidl

Reason for revert: b/183225087
Reverted Changes:
I928a7f4d6:Include the Soong namespace of the UDFPS HAL
I7acecd294:Transition to Android.bp
I91bdbceef:Merge the latest goodix AIDL drop

Change-Id: I8799dbcd629e74bd25e8b7d0026af432afc0a5b0
2021-03-19 19:58:07 +00:00
Ilya Matyukhin
b90ba07ace Include the Soong namespace of the UDFPS HAL am: 4ff707104c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13925729

Change-Id: Id8a0a61e28cb6e1a689bd4663884859a27a6691b
2021-03-19 19:16:13 +00:00
Ilya Matyukhin
4ff707104c Include the Soong namespace of the UDFPS HAL
Bug: 183054007
Test: build
Change-Id: I928a7f4d695aa51ed917fa3cd2d76373029dc198
2021-03-19 18:39:47 +00:00
Roger Wang
0b1c567335 WiFi: Remove PixelWifiOverlayGs101 am: f4320ddc94
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13874826

Change-Id: I069fdff9daa9a1225ed36d50f1724cc176973080
2021-03-19 17:20:37 +00:00
Roger Wang
f4320ddc94 WiFi: Remove PixelWifiOverlayGs101
New Overlay (PixelWifiOverlay2021) was definded for
2021 projects. Hence, remove PixelWifiOverlayGs101.

Bug: 182766776
Test: overlay config can be read correctly.
Change-Id: I6c020b7a3ff507eccb3309b3eac64f6a61a59e32
2021-03-19 16:53:20 +00:00
Peter Liu
4d1ae0c0e9 camera power hint: tune the streaming standard. am: 96268d3f51
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13908125

Change-Id: I4a4438c8ed0eb9a8346841876f0200791891c4e8
2021-03-19 04:41:38 +00:00
Peter Liu
96268d3f51 camera power hint: tune the streaming standard.
1. CPU power seems also high on streaming stadrd mode.
Limit it to a rate that has no obvious performance degradation.
2. Raise the CCI target load to avoid governor raising the mif clock.

Bug: 182944906

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I47654cf2558fa168545e036c6cb58388eb2e2f0a
2021-03-19 04:17:39 +00:00
Quang Luong
9acdde29e5 Enable default wifi coex algorithm am: 7f8e41bd1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13921091

Change-Id: I69ac3f37294d448742160a904ec83e11ac57cde9
2021-03-19 00:08:34 +00:00
Benjamin Schwartz
ad7433593a powerstats: Use unique_ptr am: 6b4c8b4887
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13906382

Change-Id: I95d3000b4d6fd0d46fd6412bc4395ce6221e783b
2021-03-18 22:04:51 +00:00
Benjamin Schwartz
d237e84ded Set short suspend threshold to 5 seconds am: 921b5c3606
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13920465

Change-Id: I096af3af0add23d9f82c983d6ac37121c6c75609
2021-03-18 22:04:42 +00:00
Quang Luong
7f8e41bd1b Enable default wifi coex algorithm
Bug: 181245154
Test: build
Change-Id: Ia19206307da3936fd32e40ae7bd08a631719e1d3
2021-03-18 13:27:47 -07:00
Benjamin Schwartz
6b4c8b4887 powerstats: Use unique_ptr
Bug: 183051413
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Test: atest VtsHalPowerStatsTargetTest
Change-Id: Ia15505b219e6a8fe61949f7d75cc6379de837153
2021-03-18 20:20:04 +00:00
Benjamin Schwartz
921b5c3606 Set short suspend threshold to 5 seconds
Bug: 171433995
Test: getprop suspend.short_suspend_threshold_millis
Test: dumpsys suspend_control_internal
Change-Id: Ic32ac59784e40307a29d5ab240475572356124dc
2021-03-18 19:50:31 +00:00
Jimmy Chen
32ec551712 wifi: enable SAE H2E support am: d88b6b9f82
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13911105

Change-Id: Ibdae49fb0fa3b1a688b4f14ca53cfb06f1bcdde0
2021-03-18 17:23:52 +00:00
Jimmy Chen
d88b6b9f82 wifi: enable SAE H2E support
Bug: 182857386
Test: connect to 6GHz AP.
Change-Id: I8c7e6118225e053ab3a231c9029fc1492065c7c7
2021-03-18 16:50:47 +00:00
Minchan Kim
b09d01bdea BoardConfig: enable dump migration failure am: 5d13529329
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13906568

Change-Id: Ia4dc66a6d5aee2ddfcb1bbe295ced3e9e99c6119
2021-03-18 08:36:30 +00:00
Jimmy Shiu
55a5ee7f79 powerhint: Add FIXED_PERFORMANCE hints am: 2d8da5bd44
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13910235

Change-Id: Ib64e29cf57eb35581d28929d5a2db1ea99c7dd51
2021-03-18 08:36:05 +00:00
Minchan Kim
5d13529329 BoardConfig: enable dump migration failure
Enable dynamic debug to dump migration failure.

Bug: 182195592
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I4817f84c1d2e15dad48f7c475d7072b88bc12114
2021-03-18 08:00:09 +00:00
Jimmy Shiu
2d8da5bd44 powerhint: Add FIXED_PERFORMANCE hints
According VTS, PowerHal must support FixedPerformance Mode.
Add FIXED_PERFORMANCE hints to fix the VTS failure.

Test: atest VtsHalPowerTargetTest
Bug: 183069028
Change-Id: I1eb6276108593f915f5043efb5a0c7f659c109e9
2021-03-18 07:54:57 +00:00
Roger Wang
70d3a7a29c gs101: Enable MBB support am: a27080df00
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13881380

Change-Id: I0b9093f5e8c29c076d0d7f089339936d474f1497
2021-03-18 05:26:08 +00:00
Roger Wang
a27080df00 gs101: Enable MBB support
Set MBB overriding flag to true in config overlay to
enable MBB support.

Bug: 182859386
Test: Verified MBB is workable.
Change-Id: I33419c40a955bcb21ba80169175467ffafc2dae7
2021-03-18 04:55:48 +00:00
Aaron Tsai
8bc49a1306 Remove unused rmnet and data properties for fixing avc denial error am: 815ce12ad5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13815494

Change-Id: I5b2540a72e499f7f44f40acd3f82fb8f9975af38
2021-03-17 11:47:52 +00:00
TreeHugger Robot
9d5d0f9915 Merge "init.gs101.rc: add chmod 0771 to camera calibration folder" into sc-dev am: aa58caf942
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13862479

Change-Id: Ie23fb494242030dd01e1a96e7fdf990c3c434989
2021-03-17 10:31:04 +00:00
Aaron Tsai
815ce12ad5 Remove unused rmnet and data properties for fixing avc denial error
Bug: 181924792
Test: verified with the forrest ROM and error log gone

Change-Id: Ia8eae9e2c347d79d3c37a894a1919e8f443630f7
2021-03-17 10:18:28 +00:00
TreeHugger Robot
aa58caf942 Merge "init.gs101.rc: add chmod 0771 to camera calibration folder" into sc-dev 2021-03-17 10:10:52 +00:00
Jenny Ho
d6162d5505 Merge "init.gs101.rc: set system ownership for eeprom" into sc-dev am: 60dca5dc0a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13839232

Change-Id: I2a0cff60572b26312b54bcaa9a70d2ec49d75cdc
2021-03-17 08:36:16 +00:00
Jenny Ho
9348b94a5a Merge "dumpstate: Update eeprom dump path" into sc-dev am: e8ecf4ded7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13839231

Change-Id: I7e38d95142be45796d716b3fa38617a3398da902
2021-03-17 08:36:13 +00:00
Jenny Ho
60dca5dc0a Merge "init.gs101.rc: set system ownership for eeprom" into sc-dev 2021-03-17 08:07:45 +00:00
Jenny Ho
e8ecf4ded7 Merge "dumpstate: Update eeprom dump path" into sc-dev 2021-03-17 08:07:45 +00:00
LABIB MD RASHID
ca27f88d5f Merge "Sysfs node permission for modem" into sc-dev am: 9c47b4ff37
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13835862

Change-Id: Ie397687a62c857684b02ff02abedebb9345a015d
2021-03-17 03:45:15 +00:00
LABIB MD RASHID
9c47b4ff37 Merge "Sysfs node permission for modem" into sc-dev 2021-03-17 03:02:36 +00:00
Benjamin Schwartz
595aa0723a powerstats: Add Ufs stats am: 10e6ca883f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13878906

Change-Id: Iccc60c6ef714a838f7a9e2715c20342e3c423391
2021-03-17 02:25:59 +00:00
Benjamin Schwartz
10e6ca883f powerstats: Add Ufs stats
Bug: 140217385
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ie60a8bbb5ac9290d9b707a1529bcc384c5e61626
2021-03-16 13:40:48 -07:00