Commit graph

5043 commits

Author SHA1 Message Date
Android Build Coastguard Worker
2b6c75c57c Snap for 12765415 from cadf608f92 to 25Q1-release
Change-Id: I5b49ab3cf0ad491b1ac088d5b9acf96775a4d4e3
2024-12-07 23:04:55 +00:00
Daniel Zheng
cadf608f92 update health HAL dependency
Bug: 381926253
Test: th
Change-Id: I55424b1ce6672b532a83dd9349c5265d31f279b2
2024-12-07 06:50:51 +00:00
Android Build Coastguard Worker
b1cd2f10c6 Snap for 12763142 from 6eded858fc to 25Q1-release
Change-Id: I474cffd1b594f796994c467b49862d6333faa2bc
2024-12-07 02:04:33 +00:00
Rick Yiu
6eded858fc 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: I04d2f7af89fe3b1425962a5a5ab01e42f09fc19d
2024-12-06 08:19:59 +00:00
Nelson Li
8ff9d17a35 [automerger skipped] Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201 am: 81a804eab6 am: 33da5a379e -s ours
am skip reason: Merged-In I1a41a48feb26771127f9603ae5ae226d2de61065 with SHA-1 a477bea5e2 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3393979

Change-Id: Ie3526667c1a4bab7d7a6e44064bf5a8c6167d3a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-06 01:46:50 +00:00
Nelson Li
33da5a379e Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201 am: 81a804eab6
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3393979

Change-Id: I588cbdcf4795cfe47273cab32b9cf0dada96c5cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-06 01:35:50 +00:00
Android Build Coastguard Worker
1b6bce6b32 Snap for 12755599 from a477bea5e2 to 25Q1-release
Change-Id: I719b1a666522ada32d83075cbada59b42d56191d
2024-12-06 00:03:09 +00:00
Nelson Li
81a804eab6 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201
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: I1a41a48feb26771127f9603ae5ae226d2de61065
Change-Id: I1a41a48feb26771127f9603ae5ae226d2de61065
2024-12-05 03:34:41 +00:00
Nelson Li
a477bea5e2 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201
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: I1a41a48feb26771127f9603ae5ae226d2de61065
2024-12-05 02:39:03 +00:00
Android Build Coastguard Worker
130352990e Snap for 12748980 from fac8b49c5a to 25Q1-release
Change-Id: I758001e0b9e9944c3238246fbeb30ce22ae4a286
2024-12-05 00:03:30 +00:00
Chaohui Wang
fac8b49c5a 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: I3391ec3d0a45e70ef3a96005961f7060da25e997
2024-12-03 17:29:53 +08:00
Android Build Coastguard Worker
63de89569a Snap for 12722466 from d817c86300 to 25Q1-release
Change-Id: I8f098f16b26191f1e5eea57a7751d68f06875c0c
2024-11-28 00:03:13 +00:00
Will Song
d817c86300 init: gs201: 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: Ia0ec769ff8996d66a4355f20de884fcb05728c3f
2024-11-27 14:58:10 +00:00
kellyhung
f5e3505bc9 Add soong config use_google_qns to device/google/gs201/device.mk
Bug: 360757079
Test: lunch cheetah-trunk_staging-userdebug; m grilservice
Flag: EXEMPT bugfix
Change-Id: I114d13b8e610a289b3c2df60630a14241c93eb28
2024-11-27 02:04:28 +00:00
Android Build Coastguard Worker
7f5e53740f Snap for 12710726 from e89e33a63c to 25Q1-release
Change-Id: I72951d24910973db1956e44cef7b45799da47243
2024-11-26 02:03:22 +00:00
Herbert Xue
e89e33a63c Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
Flag: EXEMPT bugfix
Bug: 375111251
Test: m libExynosC2H263Dec libExynosC2H263Enc
Change-Id: Ifd1a768baa7aab356f37922c017a65e95f083232
2024-11-25 06:27:19 +00:00
Android Build Coastguard Worker
85c73e12dc Snap for 12680993 from f48f2625e6 to 25Q1-release
Change-Id: I8e3137de83f38e2cb92e8f24939a5db60cf411d6
2024-11-20 00:04:03 +00:00
Paulsu Su
f48f2625e6 init: make pmu_poll_enable node readable
Bug: 378509589
Flag: EXEMPT init config for read permission
Change-Id: I226aa1a9801bdbb2630c7583180495752c9002e1
2024-11-19 11:41:43 +00:00
Herbert Xue
2451f7afe4 Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
Flag: EXEMPT bugfix
Bug: 375522783
Test: m libExynosVideoCodec
Change-Id: I23e96ea7ece291562c3ad959c84cc6f95f587e1c
2024-11-19 06:26:48 +00:00
Android Build Coastguard Worker
b9c61ddea2 Snap for 12673321 from ba05fccd6d to 25Q1-release
Change-Id: I9401d8f5226af5985de46fb4111381fbdab73772
2024-11-19 00:07:06 +00:00
Boon Jun
ba05fccd6d 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: I9ecdeb73e6787409e02eae3c699d2d9817249bc4
2024-11-18 03:36:18 +00:00
Android Build Coastguard Worker
87e646b285 Snap for 12658558 from 135dcb87ba to 25Q1-release
Change-Id: I07524c21f40313cb6adde5609b08bea257658809
2024-11-15 00:03:17 +00:00
Xin Li
135dcb87ba [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: c6c5aa6608 -s ours
am skip reason: Merged-In Ia05fc4592ebe3946a52e10e435bc8f8cef7becc9 with SHA-1 f0733782af is already in history

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

Change-Id: Ie16ca9ad24009fb2d83a3bf7f9bbf38226dc6cbf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 01:15:11 +00:00
Android Build Coastguard Worker
e8607fb69e Snap for 12651823 from 7d140022ff to 25Q1-release
Change-Id: I6d0e22446c62aee40126ebb1b9d480229ec4de2e
2024-11-14 00:03:01 +00:00
Spade Lee
7d140022ff dump_power: gs201: correct dump path
- fix dual fg path
- fix pmic path
- add logbuffer_dual_batt
- move fg registers dump from debugfs to sysfs
- remove max77779fg path

Bug: 377895720
Flag: EXEMPT bugfix
Change-Id: Ie5c8fe188fa0426617fc481cd8d38b2dfeca1e07
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-13 17:00:00 +00:00
Android Build Coastguard Worker
4253dd2f4e Snap for 12630846 from 837de89c13 to 25Q1-release
Change-Id: Ie58b8d9ee415097af354ded9f53d50c4415c633f
2024-11-09 02:03:33 +00:00
Xin Li
c6c5aa6608 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: Ia05fc4592ebe3946a52e10e435bc8f8cef7becc9
Change-Id: I856c6cb88142711f2d8d25240c3176b05f8edfdb
2024-11-06 10:31:19 -08:00
Herbert Xue
837de89c13 Move video_codec soong config variables into board config
Flag: EXEMPT bugfix
Bug: 370663515
Test: m libExynosC2OSAL
Change-Id: Iff6a4e9c5cbadf0eb7711cb9d1ad971f0ec365db
2024-11-06 11:08:36 +08:00
Android Build Coastguard Worker
85b8c3461a Snap for 12609205 from 12dd9e39f2 to 25Q1-release
Change-Id: Ic8e5cce2b43aa86300754a9c4a78a1efabf1412e
2024-11-06 00:03:51 +00:00
Bill Yang
12dd9e39f2 Use full namespace path for BOARD_WPA_SUPPLICANT_PRIVATE_LIB
There are several different version lib_driver_cmd_qcwcn control by
different soong_namespace and it will be used as static lib of hostapd
and wpa_supplicant and due to these wlan modules are in global namespace
and in order to read static lib from other namespace, will need to set
full namespace path instead.

Bug: 359745733
Test: lunch lynx-trunk_staging-userdebug; \
      m hostapd_cli hostapd libhostapd_aidl wpa_cli wpa_supplicant \
        wpa_supplicant_macsec libwpa_client libwpa_aidl libpasn
Flag: EXEMPT refactor
Change-Id: I747026b7ac5711ed0d450edf79e1fa24da9ac3b6
2024-11-05 19:51:22 +00:00
Spade Lee
8202fc2818 dumpstate: gs201: 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 gs201

Bug: 376080915
Test: all paths were correctly dumped, but debugfs need sepolicy
Flag: EXEMPT bugfix
Change-Id: Ida288b94f19c3d49843a2944c323486980587779
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-05 13:36:13 +00:00
Android Build Coastguard Worker
fa7f25c2f0 Snap for 12580585 from e4f334fece to 25Q1-release
Change-Id: Ifc5b3e7f8b7736b877f6c0d9bf3dd6ac33d3c399
2024-10-30 23:03:18 +00:00
Priyanka Advani (xWF)
e4f334fece 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: If0f21a8cfe11d9caad55defb963c961b7c16d284
2024-10-30 16:33:03 +00:00
chenkris
aed4820ab2 Add IGoodixFingerprintDaemon aidl interface
Flag: EXEMPT NDK
Bug: 370671685
Test: authenticate fingerprint.
Change-Id: Ib8871f722d2afca769494c047d098629e53ff2aa
2024-10-30 08:45:29 +00:00
Android Build Coastguard Worker
2e2ab018f8 Snap for 12573674 from 266c4f896c to 25Q1-release
Change-Id: Id1dcec29e264c64d3e06d0f6a128c3af94860916
2024-10-29 23:03:57 +00:00
Bill Yang
266c4f896c Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: d764715871 am: 196e62305c
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3286784

Change-Id: I0b27a9a01682c0238e7da343a6793740902e92d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 03:12:00 +00:00
Bill Yang
196e62305c Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: d764715871
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3286784

Change-Id: I3e2adec627e78596f0499e5e8dd0a37abf11220b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 02:50:15 +00:00
Bill Yang
d764715871 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_panther-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I77d3e23d2c8fd956d7207e2aa486577646a18763
2024-10-25 03:31:42 +00:00
Android Build Coastguard Worker
75140f7aa6 Snap for 12551711 from 33f3bf6e45 to 25Q1-release
Change-Id: I899ba6a53c08349c3ecf3fba2026469363e4ceb2
2024-10-24 23:03:14 +00:00
kellyhung
33f3bf6e45 Add a soong config variable for CitadelProvision
Bug: 373235487
Test: Presubmits
Flag: EXEMPT bugfix

Change-Id: Ia7ba2ccd292c536379120e57ed27f76f03fa2798
2024-10-24 12:34:13 +00:00
Kostya Yarmash
9826c8d092 init.gs201.rc: change permission of SJTAG writable files
On userdebug & eng builds, change permission of SJTAG writable sysfs files that need to be written to 'system'. This became necessary after HSUM separated main user from the SYSTEM user

Bug: 374645181
Flag: EXEMPT bugfix
Test: Ensure that there is "Privileged Debugging" item in BetterBug settings.

Signed-off-by: Kostya Yarmash <kyarmash@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cfde8e50cc66c22ca44da58f4a35c0b3e055646f)
Change-Id: I12857abcb94b4a7e6a068ea712c7f21c3de205ff
2024-10-24 09:48:55 +00:00
Richard Chang
08cc782e85 gs201: MCP: Set the vendor customized max cached processes to 1024.
Bug: 374891496
Change-Id: I657ea431a33003b0cc3310589e9b8fa359a66fae
Test: adb shell dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Flag: EXEMPT config XML change
2024-10-23 04:10:13 +00:00
Android Build Coastguard Worker
45880eb6ae Snap for 12508860 from c40d53b69b to 25Q1-release
Change-Id: I58306a71f74ce69d93e08e88d1c00a51f6cdd8cd
2024-10-16 23:02:58 +00:00
Robert Luo
c40d53b69b [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: I6ef16e5571706cd865d9083ebc363a181473eea9
2024-10-16 08:42:30 +00:00
Android Build Coastguard Worker
c2a343ed70 Snap for 12502765 from 0bfc85475d to 25Q1-release
Change-Id: Ic9a181921c3ce05dd3192e913b4ef157fe9db77c
2024-10-15 23:03:36 +00:00
Robin Hsu
0bfc85475d gs201: Disable kmem cgroup accounting
Disable cgroup kernel memory accounting to avoid unnecessary overhead

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

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: I306b3e608655dc9e5f868a1f1a79e60e5b9b40fd
2024-10-14 03:01:04 +00:00
Android Build Coastguard Worker
1e5163043c Snap for 12477291 from f22f21191b to 25Q1-release
Change-Id: I75e6dd47949bac08f90bee9bccb3ce87f98752f2
2024-10-09 21:02:48 +00:00
Kuen-Han Tsai
f22f21191b 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: I61c9f7647aafca28b777e53f170764ddd02c060f
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-10-09 15:15:56 +08:00
Android Build Coastguard Worker
704c66128e Snap for 12465365 from 617251a80a to 25Q1-release
Change-Id: I5f751965d93cb10f992e2efd56ef488aff0890e4
2024-10-07 23:03:12 +00:00
Jim Tang
617251a80a Relocate modem_svc_sit to proper places
Flag: EXEMPT refactor
Bug: 358485346
Test: m modem_svc_sit
Change-Id: Ib47ac55c504eafd32340e66a7286be48f2ea7b48
2024-10-07 08:45:10 +00:00