Commit graph

538 commits

Author SHA1 Message Date
Jasmine Cha
0ded8d1e2c audio: check USE_AUDIO_HAL_AIDL instead of trunk flag
Bug: 317745810
Test: manual test b/317745810#comment3

Change-Id: I223aaff717e4b84940640b1e5cff57decddaf111
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-03 06:05:28 +00:00
Roy Luo
aa0edc38fb 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 23:12:18 +00:00
Roy Luo
ce1aaad6e2 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 23:12:07 +00:00
Jaegeuk Kim
afd6b393ef Merge "Migrate to gs-common/storage/init.storage.rc" into main 2023-12-21 18:45:13 +00:00
Alan Chen
3ffe260dc1 Merge "Add extensive logging config" into main 2023-12-21 13:48:44 +00:00
Alan Chen
d2f43a4b34 Add extensive logging config
Bug: 302417853
Test: manual - file shows on device
Change-Id: I983ca64aef0d53c166a70cd587d0db4464cd4dc0
2023-12-21 18:27:32 +08:00
Lei Ju
d1fc303275 [zumapro] Use common settings for chre HAL
Bug: 248615564
Test: compilation
Change-Id: I4ddb726d5c73a69f4a9319f680b8945b3fc96a72
2023-12-20 16:45:43 -08:00
Jaegeuk Kim
3d2be07a50 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:51:01 -08:00
Carter Hsu
3568febf01 Merge "audio: add acd-mel-processor to system/audio" into main 2023-12-20 06:20:56 +00:00
Carter Hsu
41ac0a2050 audio: add acd-mel-processor to system/audio
Bug: 315915954
Test: build pass
Change-Id: Id7fa6975ebf3ee4a927355449053a75a14d853b0
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-20 13:42:02 +08:00
Treehugger Robot
9a92bae9aa Merge "zumapro: Add path reading for StormIRQ" into main 2023-12-20 04:56:22 +00:00
Ziyi Cui
02bf1ad57d zumapro: Add path reading for StormIRQ
Bug: 279486693
Test: Verified the existence of atom and correctness of atom stats
adb shell
cmd stats print-logs && logcat -b all | grep -i 105043

Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I84f4c1fdf9564c5c2ddc85ff84e271d0e4a55b97
2023-12-20 04:14:39 +00:00
Treehugger Robot
703018eaa2 Merge "Remove unused init.zuma.rc" into main 2023-12-19 20:38:53 +00:00
Mike McTernan
884cc6ff19 Merge "APC/TUI: remove confirmationui HAL and support packages" into main 2023-12-19 16:27:35 +00:00
Wilson Sung
dc84962c84 Remove unknown sepolicy source
Bug: 312322769
Test: make sepolicy
Change-Id: I357d014aaca9748f1e104ebffd05ced036bd108f
2023-12-19 03:09:44 +00:00
Mike McTernan
bcd94dd67c APC/TUI: remove confirmationui HAL and support packages
Test: lunch aosp_ak*-trunk_staging-eng && m
Bug: 316160738
Change-Id: Ib940112ef5fc270c1220a33c1a7f95df2f2225bc
2023-12-18 14:38:35 +00:00
Sam Ou
59814a3dae Merge "bcl: add lastmeal.csv into dumpstate" into main 2023-12-18 01:50:06 +00:00
Kieran Cyphus
7e16abe767 Merge "logmasklibrary: update version info and freeze api" into main 2023-12-15 22:46:21 +00:00
samou
e4ceff9023 bcl: add lastmeal.csv into dumpstate
Test: ./dump_power
Bug: 293899466
Change-Id: I0ff03baf459fe4a2ae57a2837f4181b04d764e7b
Signed-off-by: samou <samou@google.com>
2023-12-15 14:39:17 +00:00
Darren Hsu
37ab4eee9e powerstats: update CPU core configurations
Bug: 316437592
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: Ia49f8aec7c6ec208583414a80d4e852081435c0a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-15 11:18:02 +08:00
Zheng Pan
64ac4b2c86 Remove unused init.zuma.rc
init.zuma.soc.rc is added

Bug: 311016628
Test: Flash and boot on KM4
Change-Id: I3b5e3e3a879c8745f7eb5e60ce4aa4f9cea77de3
2023-12-14 12:05:49 -08:00
Zheng Pan
433c009161 Merge "Refactor init.rc for zuma/zumapro" into main 2023-12-13 23:40:52 +00:00
Treehugger Robot
be2ec75ef0 Merge "powerstats: change TPU DVFS data source from ACPM to TPU kernel" into main 2023-12-13 07:10:57 +00:00
Zheng Pan
0ae0381c75 Refactor init.rc for zuma/zumapro
init.zuma.soc.rc and init.zumapro.soc.rc only contain SOC related settings.
init.zumapro.board.rc contain board related settings

Bug: 311016628
Test: Build image and flash on KM4
Change-Id: I8f805a58a146009f301b9cb0da9d781c0f2245d9
2023-12-12 19:09:50 -08:00
Treehugger Robot
30577df54a Merge "audio: enable audio framework sounddose" into main 2023-12-13 01:18:23 +00:00
Peiyong Lin
8442034c2c Merge "Switch RenderEngine back to GL on zumapro" into main 2023-12-12 23:05:47 +00:00
Hiroshi Akiyama
3c1bfe0c61 Merge "bcl: update heavy gpu and heavy tpu mitigation" into main 2023-12-12 22:59:50 +00:00
Darren Hsu
573f0586dd 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: Ifc7ee18a7e891eb79e53affeab81c9d497db9e9f
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-12 23:34:27 +08:00
YK Hung
98f078519f Merge "Grant the post notification permission to Turbo" into main 2023-12-12 09:05:39 +00:00
vincenttew
762f4bf612 audio: enable audio framework sounddose
Test: build pass
Bug: 315915954
Change-Id: Ie156c016371c76728db89a16f90aaba6795eaf1b
Signed-off-by: vincenttew <vincenttew@google.com>
2023-12-12 16:15:35 +08:00
Wesley Wang
2b198c6ebc Grant the post notification permission to Turbo
- grant the permission on zumapro

Bug: 293813663
Test: manual and local build verify
Change-Id: I8a427c712b096c112b46ba796378e1f69f6a97f1
2023-12-12 15:26:51 +08:00
Kuen-Han Tsai
9fa4ab5163 usb: enable media-presence polling for SD cards
After USB enumeration, some SD card readers do not send signals to the
device when the SD card is inserted or removed.

To support SD card hotplugging, this patch enables in-kernel
media-presence polling, which will check the SD card status every 2
seconds after a SD card reader is attached.

Bug: 186479576
Test: SD card insertion/removal and data copy (see b/301566595)
Change-Id: I46ebaa4321d0e7bfbc048910ff8cc72e8e4f9a92
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2023-12-12 14:14:40 +08:00
Nolan Scobie
edb6d95afc Switch RenderEngine back to GL on zumapro
zumapro inherited 'skiavkthreaded' when the config was initialized from
zuma, which had RE-SkiaVk enabled at the time. RE is currently reverted
back to SkiaGL on all other Pixel devices, so switching zumapro back
to SkiaGL for parity, since it's enabled by accident.

Bug: b/301846142
Change-Id: Ib07c7c7512c0a70de8831ed8afaaa4dfcd93d594
2023-12-11 22:06:41 +00:00
Bart Van Assche
8a15203216 Switch from the BFQ to the mq-deadline I/O scheduler
The mq-deadline I/O scheduler is more stable than BFQ. Additionally, the
boot time is shorter with the mq-deadline I/O scheduler. Hence this CL.

Bug: 186902601
Change-Id: I3db5f132ca3485af9a84a3df63c8b0881c5fbdc8
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2023-12-11 12:50:16 -08:00
Hiroshi Akiyama
5404418614 bcl: update heavy gpu and heavy tpu mitigation
For tuning gpu and tpu heavy mitigation, update divider to /4 instead of
/8. For triggering level, update TPU to 13.5A from 12A and update GPU
from 8A to 9A.

Bug: 315520392
Bug: 315519863
Bug: 315522696
Test: build and readback changes
Change-Id: If0b459ccc071ee9d25884e0c830b829f12eca314
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-12-11 19:42:43 +00:00
Aaron Tsai
17b40f0246 Enable WHI GRIL recovery feature
Bug: 203824024
Test: build pass

Change-Id: I5db569080ad77f70a2c46895dbbe26341b0aea97
2023-12-11 09:50:57 +00:00
kierancyphus
19bfdcde75 logmasklibrary: update version info and freeze api
The versions were originally not specified in the device manifest and
compatibility matrices. This is changed here to fix the broken vts
tests.

Bug: 310109332
Test: atest vts_treble_vintf_vendor_test -- --abi arm64-v8a
Change-Id: Ie9edde4d0b8c430f730f14cf90d39ad98cd8e5d7
2023-12-11 01:48:04 +00:00
Roy Luo
8d477e449c Merge "Revert^2 "usb: introduce UsbDataSessionMonitor class"" into main 2023-12-09 00:22:05 +00:00
Roy Luo
8bd5335437 Revert^2 "usb: introduce UsbDataSessionMonitor class"
e2db6dd90c

Bug: 297224564
Bug: 296119135
Change-Id: Ib25bd56744dfb6a8d357f988bda60422f6e3f00f
2023-12-08 20:14:49 +00:00
Treehugger Robot
a2a6c2e04d Merge "Remove dump_wlan.sh" into main 2023-12-06 23:09:15 +00:00
George Lee
794070c9d7 Merge "Revert "bcl: Update soft_ocp_gpu to 5A and ocp_gpu to 8A"" into main 2023-12-06 15:52:20 +00:00
Wilson Sung
2dd6ea4c83 Remove dump_wlan.sh
Bug: 312143882
Test: make selinux_policy
Change-Id: Idebcb5bcd81647927b324372b3ec0ffefd5f72b6
2023-12-06 09:13:20 +00:00
TeYuan Wang
9fd35059c2 thermal: modify the permission for batoilo2 thermal trip point
Bug: 313014721
Test: ls -al dev/thermal/tz-by-name/batoilo2/
Change-Id: I4784935cc7e404028c1301f69f9c9fee40488305
2023-12-06 01:12:24 +00:00
Hiroshi Akiyama
6ad6f3218e Revert "bcl: Update soft_ocp_gpu to 5A and ocp_gpu to 8A"
This reverts commit 47fcb7d7b4.

Reason for revert: Observing large number of soft_ocp_gpu events

Change-Id: I40772e115fad8e285e9f3726a7dc8c521becd7f6
2023-12-05 18:01:58 +00:00
Roy Luo
6b3d0751d4 Merge "Revert "usb: introduce UsbDataSessionMonitor class"" into main 2023-12-05 17:13:33 +00:00
Rios Kao
24afc789f7 Merge "aidl: enable AIDL AudioHal for zumapro by RELEASE_PIXEL_AIDL_AUDIO_HAL" into main 2023-12-05 11:31:10 +00:00
Qian-Hao Huang
e2db6dd90c Revert "usb: introduce UsbDataSessionMonitor class"
Revert submission 25524752-usbDataSessionMonitor

Reason for revert: Test for gs101/gs201 boot blocking issue (b/314904288)

Reverted changes: /q/submissionid:25524752-usbDataSessionMonitor

Change-Id: Iba9e6a4c1e98db742e3c8691313166c2cd229554
2023-12-05 09:36:22 +00:00
Jason Chiu
fef0819046 zumapro: use android.hardware.boot aidl interface
Bug: 312128471
Change-Id: I6afe73fa3c8a557c8bbd46aeecc46b6269db3448
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 11:11:20 +08:00
Jason Chiu
ab487d8619 zumapro: update manifest HAL android.hardware.boot from hidl 1.2 to aidl
Bug: 312128471
Change-Id: I80458c29c62e7657bac2866ddc336c2ecb8f19f9
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 11:11:08 +08:00
Treehugger Robot
98803da5a0 Merge changes from topic "gs-common_bootctrl-hidl_1.2" into main
* changes:
  zumapro: include bootctrl_hidl_1.2.mk from gs-common
  zumapro: move bootctrl service declaration to gs-common
  zumapro: move bootctrl hal to gs-common
2023-12-05 02:30:58 +00:00