Commit graph

6737 commits

Author SHA1 Message Date
Priyanka Advani (xWF)
2306f2cd7f Revert "Use 2025-03-01 deqp levels for GLES and Vulkan"
Revert submission 31488081-deqp-2025-03-01

Reason for revert: Droidmonitor created revert due to b/393355394. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:31488081-deqp-2025-03-01

Change-Id: I054aaf0583ab9d4976514ac46917b661a494e186
2025-01-30 10:53:08 -08:00
Masha Chizhova
ada24418c9 Use 2025-03-01 deqp levels for GLES and Vulkan
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: Ib67709eee81a5519c3f0c0b42b4625472f54a881
2025-01-29 18:21:09 +00:00
Piotr Klasa
b2592019c9 move common init perf settings to gs_common
compared to ag/31352563 I did not transfer the settings for "write /sys/devices/system/cpu/cpuidle/current_governor teo", which caused the problem

Test: Verified if all values ​​of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default, verified all metrics that caused power regression in the previous commit on abtd

Bug: 335874870

Flag: EXEMPT not supported by this component yet

Change-Id: I7ad8dbd7fd2783017c5bae8181008db32b95e9b7
2025-01-23 03:36:14 -08:00
Piotr Klasa
b60a6a9f89 Revert "move common init perf settings to gs_common"
Revert submission 31215196-move_common_init_perf_settings_to_gscommon

Reason for revert: Power Regression

Reverted changes: /q/submissionid:31215196-move_common_init_perf_settings_to_gscommon
Bug: 390502171
Change-Id: I9e88aecf6ed56d1d2171d379f16f215b4a135547
2025-01-21 01:27:04 -08:00
Yi-Yo Chiang
210d42804b init-display-sh: Allow writing to kmsg am: 6864f9f43b am: 7ff9bca803
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3442471

Change-Id: I97ba2eaa1e1d68b3b2bfb5ea593eae57491c18e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-20 21:43:41 -08:00
Yi-Yo Chiang
7ff9bca803 init-display-sh: Allow writing to kmsg am: 6864f9f43b
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3442471

Change-Id: I19231856243852a688eccb8a1b277e4c3fc39cda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-20 21:19:12 -08:00
Piotr Klasa
992d32e318 move common init perf settings to gs_common
Test: Verified if all values ​​of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default
Bug: 335874870
Flag: EXEMPT not supported by this component yet

Change-Id: I7054fb3ab6f8fce9cf06c7691e8e1aea2453ca88
2025-01-16 01:38:28 -08:00
Isaac Chiou
470aae4369 Enable open source multi akm for specific Broadcom project
For cross akm roaming function, we have two ways in supplicant :
1. Open source way.
2. Broadcom specific way.

Originally, Broadcom projects follow way 2 due to the limitation of the driver.
For now, we plan to move all Broadcom projects to follow way 1 to make supplicant code clean and downsteam without conflict.

For those projects which is ready for way 1, we control it to follow way 1 with WIFI_BRCM_OPEN_SOURCE_MULTI_AKM config.
For the rest of Broadcom projects, we still follow way 2 until the multiple AKMs is fully supported by driver and verified.

For ongoing Broadcom project, we also need to exercise the open source path in supplicant to do multiple AKM configuration to comply with WFA Wifi 7 AKM24 specification (b/331896542 ).

Bug: 246871098
Test: AU drop test
Test: Cross AKM roaming test
Flag: EXEMPT enable control flag for aosp akms
Change-Id: I2594e3741d5be1c055d364104639b3d55336a5a7
2025-01-14 18:42:41 -08:00
Spade Lee
2c0ef869df pixelstats: gs101: remove firmware update path
Bug: 386187651
Test: local test pass
Flag: EXEMPT refactor
Change-Id: I2886e26186b12ffe34df6aa559bdf66e3e8f059d
Signed-off-by: Spade Lee <spadelee@google.com>
2025-01-09 12:16:07 -08:00
Yi-Yo Chiang
6864f9f43b init-display-sh: Allow writing to kmsg
modprobe would log errors to /dev/kmsg, need to explicit allow this.

Bug: 388717752
Test: DeviceBootTest#SELinuxUncheckedDenialBootTest
Change-Id: Iecb9d45e5ef08edc04c87d8f1375803c1df11621
2025-01-09 18:42:06 +08:00
Rick Yiu
aa719bb3e3 Remove ResetUclamp profiles
Replaced with sched qos profiles.

Bug: 355612114
Flag: NONE vendor task_profiles.json does not support flag
Test: build pass
Change-Id: Ib3ade136be980afeed5c63fbc88bac8cdcc2a4c5
2025-01-06 19:16:18 -08:00
Chris Lu
4af1d41ade Update IDisplay to V13-V14
V14 is not frozen yet. We should still allow V13 for 'next' build.

Bug: 381463038
Bug: 378407278
Test: build pass
Flag: EXEMPT bugfix
Change-Id: Ibd87dadc9137dafaea0b3b3433c3d58764a7fa4e
2024-12-30 14:43:02 -08:00
Hung-Yeh Lee
1c69abb60d display-dump: make display dump project-specific
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I7eefbaad93206fb249f26811398f756dabac7bea
2024-12-29 18:31:41 -08:00
Nelson Li
56fd7fd671 Refactor: Use googleDeviceConfig namespace in gs101 BoardConfig
Replaces the `CitadelProvision` Soong config namespace with the more
generic `googleDeviceConfig` in
device/google/gs101/BoardConfig-common.mk. This improves clarity and
consistency, as the namespace is used for configurations beyond
Citadel-related functionality.

Flag: EXEMPT refactor

Bug: 386114735
Test: m CitadelProvision
Change-Id: Id601ebc72c00e3961b850676896ffd8c206156ee
2024-12-26 03:05:17 +00:00
Jack Wu
3b8bae4b85 dump_power: add battery caretaker dump into bugreport
logging for AACR(+H), AAFV, AACT, AACC and AACP Version

Bug: 384737509
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: Ice4985d13554dde3b65ba0c34bbac4085445699e
Signed-off-by: Jack Wu <wjack@google.com>
2024-12-20 18:07:19 +08:00
Paulsu Su
dbdb448c8b Set initial value for foreground_window group
For multi-window foreground app group.

Bug: 200769420 
Change-Id: I2b65feb4732e33b27155dcfaf0b64a38b1b01026
Test: build pass
Flag: NONE vendor init file does not support flag
2024-12-16 04:23:58 -08:00
Xin Li
9a7a444b8a [automerger skipped] Merge 24Q4 into AOSP main am: a96f3c7cd2 -s ours am: e8440982a7 -s ours
am skip reason: Merged-In I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996 with SHA-1 b6da7df66e is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3393999

Change-Id: I9cb742dffedccad1be1377f63c12b37d471f7acb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 21:49:09 -08:00
Xin Li
e8440982a7 [automerger skipped] Merge 24Q4 into AOSP main am: a96f3c7cd2 -s ours
am skip reason: Merged-In I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996 with SHA-1 b6da7df66e is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3413858

Change-Id: I5f287f6d0d7a3009d45531f38cddee26c0ea77bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 18:52:33 -08:00
Xin Li
a96f3c7cd2 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996
Change-Id: If7556c897a8e8a3a42aee44002aa985805a1c9dd
2024-12-13 11:15:09 -08:00
Piotr Klasa
71c878d984 Move all vendor_sched parameters and permissions to init.pixel.perf.rc
Bug: 335874870
Test: Checked that permissions and values ​​for all affected files are correct (ls -l, cat)
Flag: EXEMPT not supported by this component yet

Change-Id: I00fa4d3c3f1d7bb3e7c19f94c87dc8c541ebdc85
2024-12-12 04:08:53 -08:00
Chungkai Mei
c03f9eb35c set input to 100 explicitly in task_profile
instead of using ADPF, let's use task_profile to boost input tasks'
priroity

Bug: 378761104
Flag: EXEMPT new task_profile behavior
Change-Id: Ice311b1abcf3d629917e16f1490d4cb63fd83796
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-12-12 05:55:16 +00:00
Daniel Zheng
410cabfc0e update health HAL dependency
Bug: 381926253
Test: th
Change-Id: I6d966c713c7f702069d6c2189023c9db85a51fb8
2024-12-07 06:50:51 +00:00
Rick Yiu
4981fc30f8 Add sched qos support
Add task profiles and set permissions.

Bug: 355612114
Flag: NONE init rc file does not support flag
Test: build pass
Change-Id: I44ab2097bbf919c1487d40ee68e74100c11b8891
2024-12-06 08:19:59 +00:00
Nelson Li
320a493277 [automerger skipped] Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101 am: 1736bb0cd3 am: 15b18e1536 -s ours
am skip reason: Merged-In If65f320a32840a42f5b99ae22f7396cc048593ec with SHA-1 c3aac00c01 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3393999

Change-Id: I7990348b5e58fc3ab3c23ba29f25b1f06cd70a3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-06 01:46:49 +00:00
Nelson Li
15b18e1536 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101 am: 1736bb0cd3
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3393999

Change-Id: I63feb7dda4c78b10f43abd112a8dfc3a87e2ff78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-06 01:35:49 +00:00
Nelson Li
1736bb0cd3 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101
Since the TARGET_RECOVERY_UI_LIB for each device is not exactly the
same, and most of the modules in it contain `soong_namespace{}` to
avoid conflicts between different devices, after converting
`librecovery_ui_ext` from Android.mk to Android.bp, it needs to be
changed to a `fully qualified name` in order to correctly use the
corresponding module.

Flag: EXEMPT refactor

Bug: 339143524
Test: m -j librecovery_ui_ext

Merged-In: If65f320a32840a42f5b99ae22f7396cc048593ec
Change-Id: If65f320a32840a42f5b99ae22f7396cc048593ec
2024-12-05 03:36:47 +00:00
Nelson Li
c3aac00c01 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101
Since the TARGET_RECOVERY_UI_LIB for each device is not exactly the
same, and most of the modules in it contain `soong_namespace{}` to
avoid conflicts between different devices, after converting
`librecovery_ui_ext` from Android.mk to Android.bp, it needs to be
changed to a `fully qualified name` in order to correctly use the
corresponding module.

Flag: EXEMPT refactor

Bug: 339143524
Test: m -j librecovery_ui_ext
Change-Id: If65f320a32840a42f5b99ae22f7396cc048593ec
2024-12-05 02:39:03 +00:00
Chaohui Wang
a343001fed Clean up unnecessary data_connection_5g_plus overlay
This string is not device specific, and already set at,
frameworks/base/packages/SettingsLib/res/values-mcc311-mnc480/strings.xml
frameworks/base/packages/SettingsLib/res/values-mcc310-mnc004/strings.xml

Bug: 377907543
Flag: EXEMPT clean up
Test: m
Change-Id: I642831bcac95e705bbee73e2b0566214dc370d5b
2024-12-03 17:31:44 +08:00
Will Song
dda0174645 init: gs101: move sched rate limit to late init
Since pixel performance has a shared configuration,
we need to move override values into late init.

Bug: 381100494
Test: Boot
Flag: EXEMPT bug fix
Change-Id: I28ce81103249f30046d6e22b57be77441bc910b0
2024-11-27 14:58:10 +00:00
Herbert Xue
89b656951a Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
Flag: EXEMPT bugfix
Bug: 375111251
Test: m libExynosC2H263Dec libExynosC2H263Enc
Change-Id: I8f14150482337914a83df2ab3fc650b92161c664
2024-11-25 06:27:19 +00:00
Isaac Chiou
59579ee43e Disable Wifi BugReport for subsystem restart
Flag: EXEMPT gated by overlay
Bug: 373594936
Test: Manuel test, trigger SSR and won't create bugreport automatically
Change-Id: I3b236cee06bd792355551c21cf888261bedbfa95
2024-11-20 12:58:23 +00:00
Paulsu Su
bab24fc479 init: make pmu_poll_enable node readable
Bug: 378509589
Change-Id: I1904fab932deaf6b50b7c1cfcaa29724b3b1c00d
Flag: EXEMPT init config for read permission
2024-11-19 10:42:30 +00:00
Herbert Xue
6a9c8ba9c7 Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
Flag: EXEMPT bugfix
Bug: 375522783
Test: m libExynosVideoCodec
Change-Id: Ibc9dab850e35214d19414a4f48ae11bb8923f1b7
2024-11-19 06:26:48 +00:00
Vamsidhar reddy Gaddam
a32d414284 Switch to using gs101 instead of valhall for GPU UMD
Preparing for deviation of gs101 UMD from other devices.

This change has no on-device functional behavior impact. The change only picks
the UMD source from a new location, the actual driver should be the same
as earlier.

Flag: EXEMPT for switching where the UMD source is picked up.
Bug: 360830887
Test: Local build
Change-Id: I033c7553c94bed67fa6b6fc2d407b48e8b6d1a3e
2024-11-18 17:40:31 +00:00
Boon Jun
a3eb6a6500 Update ldaf sensor device filename
LDAF sensor device filename changed after kernel upgrade
from v5.10 to v6.1 in some of our in-market devices.
We need to update the device filename to access the LDAF
with this new kernel version.

Bug: 378045567
Test: Open camera, and observe available LDAF sensor in logs
Flag: EXEMPT bugfix
Change-Id: I4bed0358263910d1312238a8e109afb75517d8c2
2024-11-18 03:36:18 +00:00
Xin Li
ed8a7a774c [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: 5244fcad04 -s ours
am skip reason: Merged-In I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996 with SHA-1 b6da7df66e is already in history

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

Change-Id: I5db7027e30e0640866199bbc83e483b06f964b9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 02:52:22 +00:00
Spade Lee
df3964ba99 dump_power: gs101: correct dump path
- fix pmic path
- move fg registers dump from debugfs to sysfs
- remove dual battery path
- remove max77779fg path
- remove maxfg history path

Bug: 377895720
Flag: EXEMPT bugfix
Change-Id: Ic765b17a6b32918a7a2b9e7dfe28a60e6503ba1c
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-13 17:00:00 +00:00
Herbert Xue
17c4543a0a Move video_codec soong config variables into board config
Flag: EXEMPT bugfix
Bug: 370663515
Test: m libExynosC2OSAL
Change-Id: I51922aeda01f6a1ab477f140f396048aa6931ba8
2024-11-08 03:29:56 +00:00
Xin Li
5244fcad04 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996
Change-Id: I0a719e67f7b9a5fb35b6d7f29a02bf6912946a31
2024-11-06 10:31:19 -08:00
Spade Lee
7bbc59eec1 dumpstate: gs101: fix dump path
- Add missing change ag/25268925
- Correct FG reg dump path in sysfs
- Correct battery EEPROM dump path
- Correct main/dc charger dump path in sysfs
- Correct tcpm dump path
- Add charger dump path in debugfs
- Add swelling data dump in dumpBatteryHealth
- Remove function not for gs101

Bug: 376080915
Test: all paths were correctly dumped, but debugfs need sepolicy
Flag: EXEMPT bugfix
Change-Id: I398ef1554aa10a41c54290394e918478e2216cfe
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-05 13:36:13 +00:00
Priyanka Advani (xWF)
ecb4cc2682 Revert "Add IGoodixFingerprintDaemon aidl interface"
Revert submission 30066446-goodix-ext-service-aidl

Reason for revert: Droidmonitor created revert due to b/376465180. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:30066446-goodix-ext-service-aidl

Change-Id: I720eb17fbdf9961ba5505ef83e2b5b53f95e9639
2024-10-30 16:32:59 +00:00
chenkris
c2b251f4a9 Add IGoodixFingerprintDaemon aidl interface
Flag: EXEMPT NDK
Bug: 370671685
Test: authenticate fingerprint.
Change-Id: I06198a5b68129a8a79eb7078ef8ed57bf5fbc6c7
2024-10-30 08:45:29 +00:00
Bill Yang
78464c33d1 Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: ce576fa1be am: 528e9aeb31
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3287269

Change-Id: I2c458175aa452feb012b2af94e8f4a108dfabe91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 03:12:00 +00:00
Bill Yang
528e9aeb31 Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: ce576fa1be
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3287269

Change-Id: Iea03fb4b0569ced31e68a6109dfdcfa172e033c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 02:50:15 +00:00
Bill Yang
ce576fa1be Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong
Set the full module path of libacryl_hdr_plugin and the include dir for
lobacryl conversion to soong. It will take effect after aosp/3286932 and
aosp/3287183 merged.

Bug: 370414334
Test: lunch aosp_riole-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I67339b5420d523d9a61e0457d77a1412ae6b3582
2024-10-25 03:36:29 +00:00
kellyhung
47aaa4bfac Add a soong config variable for CitadelProvision
Bug: 373235487
Test: Presubmits
Flag: EXEMPT bugfix
Change-Id: I3033873be99890a1229861c3ed767480de9fa033
2024-10-24 12:34:13 +00:00
Richard Chang
838d1086c9 gs101: MCP: Set the vendor customized max cached processes to 1024.
Bug: 374891496
Test: adb shell dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Flag: EXEMPT config XML change
Change-Id: I072c8de8bc78ac6888cb6bbf0344678ac03de3a9
2024-10-23 04:10:41 +00:00
Robert Luo
b2af325920 [Pixel RR] Apply reviewed default permissions
Pregrantting below permission(s):
CALL_PHONE

Flag: EXEMPT add pregranted permission in b/371912006
Bug: 336203918
Test: presubmit
Change-Id: I5804b3d3289519f19ca9acb232ecc0a715ad00a5
2024-10-16 08:42:30 +00:00
Robin Hsu
60ef8d6949 gs101: Disable kmem cgroup accounting
Disable cgroup kernel memory accounting to avoid unnecessary overhead

similar change ag/22891292 but now back-port to gs101

Flag: NONE kernel config
Bug: 373232814
Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases
      -t com.google.android.perfwbs.pts.KernelModuleTest
      and alternative tests on forrest.
Change-Id: I4ab5d20a2d74c023c6fca26b32c8acc67fcd2582
Signed-off-by: Robin Hsu <robinhsu@google.com>
2024-10-14 03:00:11 +00:00
Kuen-Han Tsai
7ed8a55835 Usb: Add status check to prevent NPE
This patch prevents a Null Pointer Exception in
queryMoistureDetectionStatus() when getPortStatusHelper() fails to open
the /sys/class/typec file. The failure results in an empty
currentPortStatus vector, causing the NPE when accessing its first
element.

Bug: 361097811
Flag: EXEMPT bugfix
Test: NPE does not occur when getPortStatusHelper() fails
Change-Id: Id6886283d6f2f9179b3a9c5d535646874e9f277b
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-10-09 15:14:38 +08:00