Commit graph

6746 commits

Author SHA1 Message Date
Android Build Coastguard Worker
24bb9bdbea Merge cherrypicks of ['googleplex-android-review.googlesource.com/31035549'] into 25Q1-release.
Change-Id: I86eea9508a50a27fefb0346cd271e64a49836e0a
2025-01-09 11:37:51 -08:00
Jack Wu
19c3844e26 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
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3b8bae4b85355038c2f5418db37f684fb135bd89)
Merged-In: Ice4985d13554dde3b65ba0c34bbac4085445699e
Change-Id: Ice4985d13554dde3b65ba0c34bbac4085445699e
2025-01-09 11:34:58 -08:00
Android Build Coastguard Worker
9176408da2 Snap for 12765415 from 410cabfc0e to 25Q1-release
Change-Id: I9dce1678ae80aaca3b7bcb80886a31026d9476b0
2024-12-07 23:04:53 +00:00
Daniel Zheng
410cabfc0e update health HAL dependency
Bug: 381926253
Test: th
Change-Id: I6d966c713c7f702069d6c2189023c9db85a51fb8
2024-12-07 06:50:51 +00:00
Android Build Coastguard Worker
6e49e91b1f Snap for 12763142 from 4981fc30f8 to 25Q1-release
Change-Id: I40fb1aa81164a57ee53afc7604ba5aa26d4a3528
2024-12-07 02:04:32 +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
Android Build Coastguard Worker
1f24581fd1 Snap for 12755599 from c3aac00c01 to 25Q1-release
Change-Id: I192a9633b5b78e296289c40c35afbd9cb0fa96fc
2024-12-06 00:03:08 +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
Android Build Coastguard Worker
6506bd9333 Snap for 12748980 from a343001fed to 25Q1-release
Change-Id: I335f15c50a8e4a69f2da324c264c4038fe398875
2024-12-05 00:03:28 +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
Android Build Coastguard Worker
3db2fd0071 Snap for 12722466 from dda0174645 to 25Q1-release
Change-Id: Iee3d1003ca61f491c6283be8a3bd8124f6181547
2024-11-28 00:03:11 +00: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
Android Build Coastguard Worker
0a955c7653 Snap for 12710726 from 89b656951a to 25Q1-release
Change-Id: I5f71820c0a5709d2b63d3a965a779e22bf2d017d
2024-11-26 02:03:20 +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
Android Build Coastguard Worker
382775d04b Snap for 12687986 from 59579ee43e to 25Q1-release
Change-Id: Iea2c33c9210bc3adb9827d57a58e9d32fe4d4a49
2024-11-21 00:03:23 +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
Android Build Coastguard Worker
d4e7de12ff Snap for 12680993 from bab24fc479 to 25Q1-release
Change-Id: Iccd264eb0b1714fdbb8c94d9ae59776e9657559b
2024-11-20 00:04:01 +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
Android Build Coastguard Worker
1a0a8c580c Snap for 12673321 from a32d414284 to 25Q1-release
Change-Id: Iec52f587b1493b8f249c83a5d0edc6022a38aadb
2024-11-19 00:07:05 +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
Android Build Coastguard Worker
8d48c332f7 Snap for 12658558 from ed8a7a774c to 25Q1-release
Change-Id: I00bc58465bcbfcf90a42db7688dfc78dcfd103e6
2024-11-15 00:03:15 +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
Android Build Coastguard Worker
b019cf4544 Snap for 12651823 from df3964ba99 to 25Q1-release
Change-Id: I331ba9a6662a40256838638e80634bdeff55f33d
2024-11-14 00:03:00 +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
Android Build Coastguard Worker
7af040e123 Snap for 12630846 from 17c4543a0a to 25Q1-release
Change-Id: I9847f3a64d2b18b3486f5ddc20e15c86b765a290
2024-11-09 02:03:31 +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
Android Build Coastguard Worker
e62274a7dd Snap for 12609205 from 7bbc59eec1 to 25Q1-release
Change-Id: If77263bd59ad8869f31a02a247a4fceb78fbd5a5
2024-11-06 00:03:49 +00: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
Android Build Coastguard Worker
eedd57aa70 Snap for 12580585 from ecb4cc2682 to 25Q1-release
Change-Id: Icebcfe0c2897ca12c0908bb23e7e971519edb4cd
2024-10-30 23:03:16 +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
Android Build Coastguard Worker
57d93abcf2 Snap for 12573674 from 78464c33d1 to 25Q1-release
Change-Id: I8d5fc45b82bcdcf995f2d522245ada06ca6db033
2024-10-29 23:03:55 +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
Android Build Coastguard Worker
ad8d84c72e Snap for 12551711 from 47aaa4bfac to 25Q1-release
Change-Id: I36fcbc26505898d1aae85dac0b2afd5393456527
2024-10-24 23:03:12 +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
Android Build Coastguard Worker
e24463e49c Snap for 12508860 from b2af325920 to 25Q1-release
Change-Id: I4848454b7097eb42d7791bdbeff2c6cd9d159a2f
2024-10-16 23:02:56 +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
Android Build Coastguard Worker
6de62fe57f Snap for 12502765 from 60ef8d6949 to 25Q1-release
Change-Id: I2be3194076ac3132981cc88958f515345c1b7e5b
2024-10-15 23:03:34 +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
Android Build Coastguard Worker
c846b82faf Snap for 12477291 from 7ed8a55835 to 25Q1-release
Change-Id: Ie5374bb870801242e06d6458fdf870d9a09692ed
2024-10-09 21:02:46 +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