Commit graph

2613 commits

Author SHA1 Message Date
Treehugger Robot
069c943217 Merge "powerstats: update MRR refresh rate residency node path" into main 2024-01-15 01:24:29 +00:00
Utku Utkan
f6d9d97ceb Merge "Pregrant ACCESS_FINE_LOCATION as default permission to PCS on Zuma" into main 2024-01-12 16:51:44 +00:00
Midas Chien
8951bbdbfc powerstats: update MRR refresh rate residency node path
Refresh rate residency is not directly related to backlight state.
Relocate to a more appropriate location.

Bug: 315424658
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: Ib8d38e04aa6e76766bb05f11b50670094ae55347
2024-01-12 07:16:20 +00:00
Utku Utkan
7e66a71f21 Pregrant ACCESS_FINE_LOCATION as default permission to PCS on Zuma
Bug: 309676824
Test: m && flashall + pair & connect to remote device Wi-Fi AP
Change-Id: I14c107d27d7917816d8991444676da0a9c86136a
2024-01-12 00:39:02 +00:00
Devika Krishnadas
6b2d6b247f Merge "Revert^3 "Use graphics allocator 2"" into main 2024-01-11 20:58:22 +00:00
Sergey Volk
b4ae83c638 Merge "zuma: Add display_colordata for external display" into main 2024-01-10 22:21:08 +00:00
wenchangliu
8844aa8fc6 Update media_codecs_performance_c2.xml for meet device performance am: a90a2e4a6e am: a2e8eb4f5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25829541

Change-Id: I0f3d32d339bcb21571a53bc659b0d9b2fac869db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 14:08:06 +00:00
wenchangliu
a2e8eb4f5a Update media_codecs_performance_c2.xml for meet device performance am: a90a2e4a6e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25829541

Change-Id: I2591ad558d973e71778985bbb31314abfcae1744
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 13:35:34 +00:00
Roy Luo
e0436bd69d Merge "usb: dump flag value in the constructor" into main 2024-01-10 10:40:44 +00:00
Wen Chang Liu
26ed441bc1 Merge "Update media_codecs_performance_c2.xml for meet device performance" into main 2024-01-10 10:19:30 +00:00
Roy Luo
9164eae7cd usb: dump flag value in the constructor
Dump flag value in the construtor for easier debugging. Feature flags
are not expected to change in runtime, dumping the value once should
be enough.

Bug: 296119135
Test: manual test
Change-Id: Ie5aca2dff23e59704fb306833cde0e592b9f430d
2024-01-10 08:50:07 +00:00
Sergey Volk
7f24dda4cf zuma: Add display_colordata for external display
This is just a copy of the existing display_colordata_cal0.pb, which
will provide the same colordata for libdisplaycolor to use for external
display.

Bug: 288608645
Test: manual
Change-Id: I2e895c3f5eefc9626bb88b7b321ff92739b39e4f
2024-01-10 02:43:28 +00:00
Devika Krishnadas
d081f9d7dd Revert^3 "Use graphics allocator 2"
4c7ea96e6b

Reverting to comply with the Allocator VTS for 24Q1, do not merge to main.

Bug: 310046460
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: Id8b721b05dc20032d13aed469327e8e996b0cffe
2024-01-09 23:51:54 +00:00
wenchangliu
a90a2e4a6e Update media_codecs_performance_c2.xml for meet device performance
Fine tune the performance table since the change in CPU policy for
power saving cause some encoder performance results from the CTS
are not able to meet pass criteria from the original performance
measurement results.

Bug: 317441297
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Test: run cts -m CtsVideoTestCases -t android.video.cts.CodecDecoderPerformanceTest
Change-Id: Ib75d3f35c5ea2e2dc80ba192d738d54140a09d68
2024-01-09 12:42:39 +00:00
wenchangliu
90186aa1f3 Update media_codecs_performance_c2.xml for meet device performance
Fine tune the performance table since the change in CPU policy for
power saving cause some encoder performance results from the CTS
are not able to meet pass criteria from the original performance
measurement results.

Bug: 317441297
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Test: run cts -m CtsVideoTestCases -t android.video.cts.CodecDecoderPerformanceTest
Change-Id: Ib75d3f35c5ea2e2dc80ba192d738d54140a09d68
2024-01-09 11:09:28 +00:00
Lei Ju
6ed953c00f Merge "[zuma] Include common sepolicy of CHRE HAL" into main 2024-01-09 05:24:39 +00:00
Lei Ju
2ba28967b8 [zuma] Include common sepolicy of CHRE HAL
Bug: 248615564
Test: compilation
Change-Id: I6f335bbc5834915f9848f4f88d19fd12bd8c4199
2024-01-08 12:05:19 -08:00
Jasmine Cha
bd8c454d32 Merge "audio: check USE_AUDIO_HAL_AIDL instead of trunk flag" into main 2024-01-04 06:01:17 +00:00
Evgenii Stepanov
1b3bf6ca3a Revert "Force disable MTE in Chrome in _fullmte build." am: ff0cc4d3f4 am: 39414bb2f9 am: d6579e215b
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/2896760

Change-Id: I453779b50ae675a0800ff86e786cb1d3dd280dd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 03:09:37 +00:00
Jasmine Cha
94a943f67c audio: check USE_AUDIO_HAL_AIDL instead of trunk flag
Bug: 317745810
Test:  manual test. (check audio_policy and hal version)

Change-Id: Ie89aa296ca96ffaf4ee7b8d6299fb1a5cc431ef9
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-04 02:42:29 +00:00
Evgenii Stepanov
d6579e215b Revert "Force disable MTE in Chrome in _fullmte build." am: ff0cc4d3f4 am: 39414bb2f9
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/2896760

Change-Id: I14d0faa5ebe0752d99889f946332fa7e60890e88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 02:36:20 +00:00
Evgenii Stepanov
39414bb2f9 Revert "Force disable MTE in Chrome in _fullmte build." am: ff0cc4d3f4
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/2896760

Change-Id: I3cccd277d35cc0324f49bf865981638ae0af19ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 01:31:22 +00:00
Evgenii Stepanov
ff0cc4d3f4 Revert "Force disable MTE in Chrome in _fullmte build."
This reverts commit 4a1f9459e5.

The Chrome issue has been fixed upstread and this workaround is no
longer needed; in fact, it triggers another issue where conflicting MTE
mode settings make newer Chrome versions crash at startup.

Bug: 297266100
Bug: 305005339
Bug: https://crbug.com/1515053
Test: chrome still does not crash; debuggerd shows MTE is enabled (grep
for TCF_MTE)

Change-Id: Iee2b704c4ea39b5809193c1ceed3b8f41618dd40
2024-01-03 16:10:25 -08:00
Treehugger Robot
ca57c72496 Merge "audio: disable audio hal aidl on zuma" into main 2023-12-28 01:48:33 +00:00
Roy Luo
bbb322e73a usb: adjust heuristics for flaky connection warning
The state count requirement is very specific to the case where the
signal integrity is the culprit of flaky connection. However,
there could be other cases such as bad receptacles causing data pins
to disconnect randomly.
Remove the state count requirement to cover more cases.

Bug: 296119135
Test: manually trigger the warnings
Change-Id: Ic2ae376ad6062d9930614381503f44e4a5ac760f
(cherry picked from commit 5e14ba01be9acc31d3df0f506b4287eea0bf9583)
2023-12-26 22:26:13 +00:00
Roy Luo
88f3ee90d9 usb: implement heuristics to flag data compliance warnings
Support flagging enum failure and flaky connection in device mode,
flagging enum failure and missing data lines in host mode.
No warning would be flagged until 5 secs after the data session
starts to give ample time for the connection to stabilize, a timer
is added to support it.

Bug: 296119135
Test: manually trigger the warnings
Change-Id: I25f08657e328913946add192b5ecb9ee50c3a1a8
(cherry picked from commit 42020dc4585442bd7ca88f183ba29a18834af197)
2023-12-26 22:25:25 +00:00
Jasmine Cha
2916329aa2 audio: disable audio hal aidl on zuma
Bug: 317444263
Test: boot to home, check basic audio functions

Change-Id: Idc955d7d0cdf2e683e3b8540be8d4810972a0ee2
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-26 03:03:27 +00:00
Treehugger Robot
5d6d7dfebd Merge "powerstats: expose display MRR state residency data provider" into main 2023-12-22 09:56:08 +00:00
Jaegeuk Kim
b416682218 Merge "Migrate to gs-common/storage/init.storage.rc" into main 2023-12-21 18:45:13 +00:00
Peter Lin
810e5a5a65 [automerger skipped] Update default color temperature for night light am: 859b45c905 am: dea5a998c2 -s ours
am skip reason: Merged-In If106f81c0dd2bd81a48e156e1cc75dba4a885aca with SHA-1 dc330b5e88 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25704537

Change-Id: Icaf771cd1500a31df49dd844132f1f23687d77d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 10:10:43 +00:00
Peter Lin
dea5a998c2 Update default color temperature for night light am: 859b45c905
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25704537

Change-Id: I479e6601de7ff80153e90e84a24f2d55115d3960
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 09:39:16 +00:00
Jaegeuk Kim
eddcfba6b3 Migrate to gs-common/storage/init.storage.rc
Bug: 311655524
Change-Id: I084717957a3bdf0bcbdca06502867d8e108ac139
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-12-20 10:00:10 -08:00
Darren Hsu
bc01b6ec02 powerstats: expose display MRR state residency data provider
Bug: 317192192
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I1e02ffa0dfcfe61e7c2fa0acb44241b322046b0a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-20 20:21:13 +08:00
Peter Lin
859b45c905 Update default color temperature for night light
Bug: 302396607
Test: adb shell dumpsys color_display | grep "Color temp"
Change-Id: If106f81c0dd2bd81a48e156e1cc75dba4a885aca
(cherry picked from commit dc330b5e88)
Merged-In: If106f81c0dd2bd81a48e156e1cc75dba4a885aca
2023-12-20 02:22:37 +00:00
Treehugger Robot
cdb1fe26f5 [automerger skipped] Merge "zuma: change swap_free_low_percentage to 10" into udc-qpr-dev am: 5a02468860 am: c033f1441e -s ours
am skip reason: Merged-In I688f2559698c7553a7f585cab2693d09d70731f4 with SHA-1 f08b6e4d84 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25689420

Change-Id: I9727815f1b677fb77c0403c4b0e35bd66dd994fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 04:40:52 +00:00
Treehugger Robot
c033f1441e Merge "zuma: change swap_free_low_percentage to 10" into udc-qpr-dev am: 5a02468860
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25689420

Change-Id: I956589a42f82381d26e03f2b8f7418b603acbfd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 04:10:12 +00:00
Treehugger Robot
5a02468860 Merge "zuma: change swap_free_low_percentage to 10" into udc-qpr-dev 2023-12-19 03:36:54 +00:00
Jenny Ho
ee98f80359 Merge "Adjust bd_state to system for read" into main 2023-12-19 03:24:25 +00:00
Huihong Luo
14017215f7 Merge "Add a sysprop for updating HDCP between HWC and SF" into main 2023-12-19 00:01:22 +00:00
Minchan Kim
245ae84985 zuma: change swap_free_low_percentage to 10
Since LMKD introduced aggressive kill for cached apps, we can change the
swap_free_low_percentage back to 10.

Bug: 300660611
Change-Id: I688f2559698c7553a7f585cab2693d09d70731f4
Merged-In: I688f2559698c7553a7f585cab2693d09d70731f4
Signed-off-by: Minchan Kim <minchan@google.com>
2023-12-18 18:27:47 +08:00
Kieran Cyphus
e590f05e21 Merge "logmasklibrary: update version info and freeze api" into main 2023-12-15 22:46:21 +00:00
Jenny Ho
624157e600 Adjust bd_state to system for read
Bug: 316432531
Change-Id: Ib4a398d766bb321d0579819f248d4688be7ad1d1
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-12-16 02:03:05 +08:00
Snehal Koukuntla
25a875d403 Merge "Add trusty code coverage controller daemon" into main 2023-12-14 05:15:11 +00:00
Treehugger Robot
e1e8933703 Merge "powerstats: change TPU DVFS data source from ACPM to TPU kernel" into main 2023-12-13 07:10:57 +00:00
Treehugger Robot
da04c1d607 Merge "init: make dumpstate able to read display logbuffer" into main 2023-12-13 07:09:39 +00:00
Snehal
e871979054 Add trusty code coverage controller daemon
Bug: 289523068

Change-Id: I473ac38a5f7b1540aea0b4588bc358f6855ff4b3
2023-12-13 06:53:12 +00:00
Ken Lin
425a781cd1 init: make dumpstate able to read display logbuffer
Add logbuffer support for display driver to dump DSI cmd

Bug: 291441544
Test: adb root; adb shell dumpsys
android.hardware.dumpstate.IDumpstateDevice/default dump_display_logbuffer
Change-Id: I74eaa7b3cdd8101909044f173512d41b065a2599
Signed-off-by: Ken Lin <lyenting@google.com>
2023-12-13 06:13:04 +00:00
Darren Hsu
3c8118e0f8 powerstats: change TPU DVFS data source from ACPM to TPU kernel
ACPM has an issue b/315079424 that reports incorrect TPU DVFS
residency. So change the data source from ACPM to TPU kernel.

Bug: 310094590
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: If4bdaeea510b1a8e72d057a7fbb0dc03f6a6c665
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-12 23:20:13 +08:00
YK Hung
ed808b4425 Merge "Grant the post notification permission to Turbo" into main 2023-12-12 10:21:08 +00:00
Kuen-Han Tsai
c6c1954a28 Merge "usb: enable media-presence polling for SD cards" into main 2023-12-12 08:06:15 +00:00