Blake Kragten
ec089270cc
Enable Gnss Pixel Monitor For Device
...
Enables location permissions needed for GnssPixelMonitor.
Bug: 178015947, 178015951
Test: atest -c GnssPixelMonitorTests
Change-Id: I77fb7feb4b57536d0edd63c3fba122f55616b90b
2021-03-25 20:03:19 +00:00
Chiawei Wang
ecacf0b796
pixelstats: add readproc to access process am: f236f66384
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13824416
Change-Id: I2f05c3501a2130d2245218d3b2d74eb3281656bf
2021-03-25 08:23:41 +00:00
Chiawei Wang
f236f66384
pixelstats: add readproc to access process
...
We would like to collect stime of kswapd0 and kcompactd0.
readproc is required to access /proc/<pid>
Bug: 173101018
Test: build pass
Test: adb shell cmd stats print-logs
adb logcat | grep 105014
stime can be collected.
Change-Id: I8594f9e75a998718735503bbd5f2f5086a25c365
2021-03-25 07:55:01 +00:00
Krzysztof Kosiński
058a55ecf4
Disable GCH lazy HAL. am: 8d18593f3c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13985072
Change-Id: Ie017b087aa23623fc2880855c26e75e0a7f909b5
2021-03-24 21:32:56 +00:00
Krzysztof Kosiński
8d18593f3c
Disable GCH lazy HAL.
...
Uses new GCH config toggle to ensure that the lazy HAL is
definitely not present on gs101 devices, as it currently causes
increased startup latency and CTS failures.
Bug: 183612387
Test: mm in hardware/google/camera, verify that lazy HAL is not
present in the out directory.
Change-Id: I3b17be1c216b796a9820e14b3520f6e43c6442ab
2021-03-24 09:56:47 -07:00
Adam Shih
cce2592b72
adjust parameter for factory SELinux setting am: b80f23dbdc
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13974088
Change-Id: Ib8c7fd72f5b60b001c67a9510d801c72164a6f5b
2021-03-24 13:46:11 +00:00
Adam Shih
e59ff42d5b
Turn on SELinux am: 48e389c89c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13787358
Change-Id: I7c15beaedd890d80944f9a4f9502e14cb00c3ef6
2021-03-24 13:46:08 +00:00
Adam Shih
b80f23dbdc
adjust parameter for factory SELinux setting
...
Bug: 171942789
Test: flash factory ROM with SELinux permissive
Change-Id: Iddbc758e562d4a97c82a16322c44af2e24d91ed1
2021-03-24 13:25:02 +00:00
Adam Shih
48e389c89c
Turn on SELinux
...
Bug: 171942789
Test: flashall, OTA, adb, bluetooth, wifi, LTE, phone call, SMS,
play audio, video, camera picture, recording, sensors, storage PTS,
thermal PTS, bugreport, GPS, lock screen
Change-Id: I85c22c7a7fd97aa30618455478974a71e19cfcab
2021-03-24 13:25:02 +00:00
Daeho Jeong
f8abad83e4
init.rc: change the ownership of compression sysfs nodes am: e966b2a635
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13921154
Change-Id: I7c533d3a05bc1275a5d99fcd8a2ee2b9185d2eb9
2021-03-24 04:19:42 +00:00
SalmaxChang
15ef0fcb99
init: Remove duplicated folders creation am: 080d173c55
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13895469
Change-Id: I90bc184382e01128dd65e9b84951d2b6b859178f
2021-03-24 04:02:11 +00:00
Daeho Jeong
e966b2a635
init.rc: change the ownership of compression sysfs nodes
...
Changed the ownership of compression sysfs nodes for Pixelstats to reset
these values after reading them.
Test: check the ownership of /dev/sys/fs/by-name/userdata/compr_*
Bug: 173399386
Bug: 170789472
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I25bd80fb4b3db855de3c536084cf4b3c14bc8d74
2021-03-24 03:57:45 +00:00
SalmaxChang
080d173c55
init: Remove duplicated folders creation
...
The fstab will auto create folder as mount.
Bug: 176528556
Change-Id: I78ef08e0b904b4e58541a92775c9918f2538fa77
2021-03-24 03:48:55 +00:00
Oleg Matcovschi
eb87ec1558
BoardConfig: move androidboot.console to cmdline am: 9963cf04e0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13973937
Change-Id: I4819dc478581600f3f24075626ea57e212790bda
2021-03-23 23:14:35 +00:00
Oleg Matcovschi
9963cf04e0
BoardConfig: move androidboot.console to cmdline
...
Bug: 183531243
Change-Id: Ida1dd4c8f3a2b57a64955f6002c6bace1d0b40c9
2021-03-23 14:08:58 -07:00
Stephane Lee
81ba287759
Add UeventListener to pixelstats in gs101 am: 33a1ce7421
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13906565
Change-Id: I674fadd4b9dafff509137ed9569d6a42e5f6bb8a
2021-03-23 20:08:21 +00:00
Stephane Lee
33a1ce7421
Add UeventListener to pixelstats in gs101
...
Bug: 171793497
Test: Ensure that uevent listener reports data to statsd
Change-Id: I9e90f8483298934a78320f37dbf5eb1ac38e8f97
2021-03-23 17:23:03 +00:00
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