Commit graph

6722 commits

Author SHA1 Message Date
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
Jim Tang
e471d73857 Relocate modem_svc_sit to proper places
Flag: EXEMPT refactor
Bug: 358485346
Test: m modem_svc_sit
Change-Id: I526fa249612a18324bbdd9d4105d53519c23e075
2024-10-07 08:45:10 +00:00
Brian Norris
164d01e0d4 gs101: Copy insmod configs from kernel to vendor_dlkm
We're going to transition to using the kernel copy, not the HLOS copy.

Bug: 369686096
Test: build, flash, check /vendor_dlkm/etc/ (may or may not exist,
      depending on kernel contents)
Flag: build.RELEASE_KERNEL_BLUEJAY_DIR
Flag: build.RELEASE_KERNEL_ORIOLE_DIR
Flag: build.RELEASE_KERNEL_RAVEN_DIR
Change-Id: I40649b59dc0e18e5a9dc160e58815929a7150226
2024-10-04 18:37:23 +00:00
Jimmy Shiu
7f7e44cc15 [task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile.
Flag: com.android.input.flags.enable_input_policy_profile
Bug: 369574417
Change-Id: I7800c8a86f60a7513fdd6a4470002e6a62ede4ec
2024-10-02 03:13:49 +00:00
Nishant Panwar
583bb0245b Set dexpreopt and dexopt filter for SystemUI
Bug: 271887637
Test: Built and flashed on local device
Flag: build.RELEASE_SYSTEMUI_USE_SPEED_PROFILE
Change-Id: Idafe8f8e72a7b50bd3d0baea8b736dd853943a09
2024-09-30 04:40:41 +00:00
Zhengyuan Cui
5734db5acc Change any use case of folder name apis to tachyon_apis to avoid api review
Bug: 364390678

Change-Id: I40cc4d0d45be69c52c6fc17723c4535504476d47
Flag: EXEMPT refactor
2024-09-26 21:00:49 +00:00
Les Lee
66db2ee5d4 wifi: Upgrade vendor hal version
Bug: 362355566
Flag: EXEMPT HAL interface change
Test: Build
Change-Id: I8cd5c16ca8f82e7ef58b5333acf53772ba31089b
2024-09-25 21:36:03 +00:00
Krzysztof Kosiński
d52fc5d79f Delete TARGET_CPU_VARIANT_RUNTIME. am: 60344f3e70 am: 161a602a62
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3275074

Change-Id: I3e2fadf317006f0e2e1aa4eeca222995a52d07e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 21:25:58 +00:00
Krzysztof Kosiński
161a602a62 Delete TARGET_CPU_VARIANT_RUNTIME. am: 60344f3e70
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3275074

Change-Id: I0179f9d89be6927bb0204d561cf83348635a5f2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 20:38:29 +00:00
Krzysztof Kosiński
60344f3e70 Delete TARGET_CPU_VARIANT_RUNTIME.
This variable only does something when it differs from
TARGET_CPU_VARIANT. Setting it to the same values doesn't do
anything.

Bug: 368635026
Test: presubmit
Change-Id: I77ae2cbd9fbe09e60db3ee89fc33f32cecb8bab6
2024-09-20 19:14:06 +00:00
Jerry Chang
b6da7df66e Add input event profile to mitigate input latency of input threads
Bug: 347122505
Test: check the priority and latency of input thread in Perffeto
Flag: NONE early device setting updates
Change-Id: I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996
2024-09-18 12:08:38 +00:00
Ryan Prichard
f0f9e291f8 gs101: avoid vector<const T> am: cbb28eab67 am: a368ab227e
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3262401

Change-Id: I0f6ae5651a6d26a8c221901e842a565a8c93e832
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-16 20:13:39 +00:00
Ryan Prichard
a368ab227e gs101: avoid vector<const T> am: cbb28eab67
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3262401

Change-Id: I26183c8d354078b55329cf1f1600d613ba47f11f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-16 19:53:10 +00:00
Ryan Prichard
cbb28eab67 gs101: avoid vector<const T>
std::vector<const T> uses std::allocator<const T>, which is an
undocumented libc++ extension to the C++ standard library. The extension
was removed in llvm.org/PR96319. Use an ordinary non-const T instead.

Bug: http://b/349681543
Test: m android.hardware.power.stats-impl.gs101
Flag: EXEMPT, refactor to fix build failure
Change-Id: Ia66a69a9375971223b712d695f5ea5f2c1e26c19
2024-09-12 13:15:56 -07:00
Treehugger Robot
54ecd01c7b Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main am: 6e5213ffd2 am: e8c638674e
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3258314

Change-Id: I931d1462c14814151bd916683a8ff3e68680410c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 03:01:21 +00:00
Treehugger Robot
e8c638674e Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main am: 6e5213ffd2
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3258314

Change-Id: I97bd871e589cd396f1cafb0e935594733eb0b29a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 02:50:54 +00:00