Commit graph

6708 commits

Author SHA1 Message Date
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
Treehugger Robot
6e5213ffd2 Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main 2024-09-09 02:46:24 +00:00
Xin Li
0377917368 [automerger skipped] Merge 24Q3 to AOSP main am: 5698c6c38e -s ours am: a82f5cfaec -s ours
am skip reason: Merged-In Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec with SHA-1 ebddc4ff3f is already in history

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

Change-Id: I1b246ca1c53bc974ad957bc388a1934bc6a6ad3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 04:20:25 +00:00
Xin Li
a82f5cfaec [automerger skipped] Merge 24Q3 to AOSP main am: 5698c6c38e -s ours
am skip reason: Merged-In Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec with SHA-1 ebddc4ff3f is already in history

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

Change-Id: I4d1500a8ac8dc543fade1661c965bde24f52d6a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:42:30 +00:00
Krzysztof Kosiński
bf1f0fbcce Delete PRODUCT_FULL_TREBLE_OVERRIDE.
This variable doesn't do anything for devices launching with
API level 26 or later, and the initial gs101 devices (Pixel 6)
launched with API level 31.

Bug: 307369186
Test: presubmit
Flag: EXEMPT trivial build cleanup
Change-Id: I3e3ef17f4a1d7101bbfdeb47c3072d0ede4af6e9
2024-09-06 22:19:59 +00:00
Xin Li
5698c6c38e Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
Change-Id: I80bb0e53c7af5d5f5b7c342ba8b3da915a124d3c
2024-09-05 17:02:37 -07:00
Ocean Chen
5c249e52ce 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. It only changes the scheduler on new kernel.

Bug: 186902601
Test: forrest build

Change-Id: I9433d73e7ed4bfd5e72a0f8318e959373e76202e
Signed-off-by: Ocean Chen <oceanchen@google.com>
2024-09-05 13:00:16 +00:00
samou
e7603cd7a9 bcl: remove charging debugfs data logging
Flag: EXEMPT refactor
Bug: 362671589
Signed-off-by: samou <samou@google.com>
Change-Id: I389f4318f9fc62039d422e5c909576c0e6d5daf9
2024-09-05 10:02:25 +00:00
carmenyip
0c84b40b00 extended_log: update directory permissions for gs101
Bug: 336638376

Test: $ cd data/vendor/radio
$ ls -la
Flag: NONE changing directory permissions only

Change-Id: Id6a76769e84f778e730cfcdffcd6779b5d8c89ce
2024-09-05 02:58:55 +00:00
Ankit Goyal
c38c1cc1a9 Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: Iec298886a796f49145cf4400ef2e086a6312d572
2024-08-30 01:29:41 +00:00
Masha Chizhova
dc56b4d57b Define use_hwc2 variable
Bug: 340865092
Change-Id: I5e55034c5e5d03089453c843753af3419026d3cb
Flag: TEST_ONLY
2024-08-29 16:04:27 +00:00
Roy Luo
8d0a51e591 usb: correct sys.usb.controller sysprop
system/core/init/init.cpp SetUsbController picks the first udc device if
there're multiple udc devices present on the system to populate
sys.usb.controller system property.
CONFIG_USB_DUMMY_HCD enabled in kernel-5.10 GKI would introduce a
dummy udc device named "dummy_udc.0". Depends on timing, the dummy
device might be picked up by the init process and incorrectly populate
sys.usb.controller.
This issue only applies to devices on kernel-5.10 GKI, the WAR is to
overwrite the sysprop if it's incorrectly populated by the dummy udc.

Bug: 333778731
Test: tested on Cheetah
Flag: EXEMPT bugfix
Change-Id: Idefd1a5d8154a51792c6cb52ee6d11cbb7f6df78
2024-08-27 23:39:18 +00:00
samou
6c2502279f bcl: revision for kernel6.1
- Migrate dump_gs101.sh to dump_power
- Enable battery_mitigation
- Correct ocp_cpu1 threshold

Flag: EXEMPT refactor
Bug: 349935208
Change-Id: I7e7f155ba7722dc5c24c2795c2840395ed4f9043
Signed-off-by: samou <samou@google.com>
2024-08-23 10:58:20 +00:00
Betty Zhou
e582d85720 Revert "Enable KUnit testing on raviole userdebug & eng build target."
This reverts commit c5b3375835.

Reason for revert: It's not need anymore for kunit testing

Change-Id: I8606bfb3cc375e97d78ff52cd4fe8b596c86d6fd
Bug: 337797668
2024-08-22 06:49:10 +00:00
Qais Yousef
9adfff45e2 BoardConfig-common.mk: Enable Lazy RCU
And sync other RCU paramters.

Bug: 340860065
Flag: EXEMPT boot time parameters
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Ia41a45341e988cddcfcf850afd8398a7dc1a91fe
2024-08-13 23:49:46 +00:00