Commit graph

2595 commits

Author SHA1 Message Date
Kai Shi
1349e3e73b Remove Wifi link layer radio stats aggregation enable flag
Remove the overriding since the aggregation of Wifi link layer radio stats from all radios is enabled by default.

Bug: 183991297
Test: manual test
Change-Id: I9c0f657a4c3bd6242722e751ab0f7c0b0734dd8e
2021-03-30 17:08:17 +00:00
Adlai Holler
26cc4da6ac Enable skia reduceOpsTaskSplitting am: 0b9827eceb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14035732

Change-Id: If3727dc16f9b20cc894e1031e5dccffea397a027
2021-03-30 17:00:49 +00:00
Adlai Holler
0b9827eceb Enable skia reduceOpsTaskSplitting
Bug: 183612348
Change-Id: I77a82021335ce535ad5199edd6f0ec2bbcda1ff8
2021-03-30 15:25:44 +00:00
tangrobin
4f5f437a0f Enable EXPENSIVE_RENDERING power hint am: ea12333375
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13872265

Change-Id: I373c3b78e4b8455117959af69b47b51cff159a2e
2021-03-30 10:02:21 +00:00
tangrobin
ea12333375 Enable EXPENSIVE_RENDERING power hint
GPU takes long time (>8ms) when app launch animation and some pip case.
When doing animation, GPU needs to handle some heavy tasks like color
conversion, app rounded corner. Enable the expensive rendering hint to
raise the gpu frequency to avoid frame drop due to long gpu completion.

Bug: 179007786
Test: 1. Open Chrome/Chrome with pip from homescreen
         Swipe vertically to go back to home screen
         Measure the gpu completion time and "FrameMissed" count from systrace result
      2. 4K60fps HDR Video playback and measure the DoU Power impact
Change-Id: I37f92018e5fd5a925189431db39409f11079b778
2021-03-30 09:08:29 +00:00
Minchan Kim
0671da598d BoardConfig: enable cma_sysfs am: 3623b5745f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14019190

Change-Id: I2b080b28d0bea73e12c9a54169318df1d9d7835d
2021-03-29 23:11:48 +00:00
Minchan Kim
3623b5745f BoardConfig: enable cma_sysfs
Bug: 179256052
Test: confirmed /sys/kernel/mm/cma/reserved/alloc_pages_success works
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Ib24f1ecabdc199bf9e8a2c0ac7dba778a40c1cf9
2021-03-29 13:57:59 -07:00
Peter_Liang
00a41515e3 Correct the voice packs path of Text-To-Speech. am: f696927cbb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14011925

Change-Id: Ieb554006358c3b88d6f52886abb2c78bdc8e7a6a
2021-03-29 04:14:30 +00:00
Peter_Liang
f696927cbb Correct the voice packs path of Text-To-Speech.
1.Correct the file path.
2.Should put into corresponding device folder for Oriole and Raven.

Bug: 167996145
Test: manual test
Change-Id: I6ee19147618abee4010da3b11035ce5dd8cd3cf3
2021-03-29 03:56:04 +00:00
Long Ling
a243e839dc Apply accessibility color features in native mode am: 49354a1381
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13936278

Change-Id: Ifc6d0eda228beb923281170facd234f424da0a89
2021-03-25 23:37:27 +00:00
Long Ling
ce43c7f72f gs101: display: update adaptive calibration file am: 9c4dcc18b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13925814

Change-Id: I38da1fc48ff4bf970f48a790f82ba77c68c2d0e8
2021-03-25 23:37:26 +00:00
Long Ling
49354a1381 Apply accessibility color features in native mode
Bug: 177965882
Change-Id: I431e9ef5aa2a42d5ac9de71239b76915bad0085a
2021-03-25 23:05:37 +00:00
Long Ling
9c4dcc18b0 gs101: display: update adaptive calibration file
Add boosted mode color data.
Add vendor boosted color mode in config file.

Bug: 139381597
Change-Id: I02197bbb49e41d966b1adc19e649960c1ba55ce8
2021-03-25 23:05:37 +00:00
Blake Kragten
59844eab20 Enable Gnss Pixel Monitor For Device am: ec089270cc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13807688

Change-Id: I2cf91d552749a2c66b2af1866e5943858c7bf6a1
2021-03-25 20:29:11 +00:00
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