Commit graph

6700 commits

Author SHA1 Message Date
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
Android Build Coastguard Worker
8b89c99246 Snap for 12465365 from e471d73857 to 25Q1-release
Change-Id: Id914eb19caa46c5790b0f107078f829ad0571089
2024-10-07 23:03:10 +00: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
Android Build Coastguard Worker
97639eefee Snap for 12458821 from 164d01e0d4 to 25Q1-release
Change-Id: Ibfad4e6390dab604a7a6a8959071d60f8ebb0403
2024-10-05 01:03:08 +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
Android Build Coastguard Worker
c06aa8b559 Snap for 12445464 from 7f7e44cc15 to 25Q1-release
Change-Id: I29d8ef1e8d42164d4ba996708fd3e129e604c841
2024-10-02 23:03:25 +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
Android Build Coastguard Worker
f58216aec3 Snap for 12433810 from 583bb0245b to 25Q1-release
Change-Id: Id080ae5034d6014860336190c9f828a6ac9d5e25
2024-09-30 23:03:15 +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
Android Build Coastguard Worker
d85e1266ee Snap for 12426030 from 5734db5acc to 25Q1-release
Change-Id: I652646abe72fc075bb3bbab732c4e22ff04f32a8
2024-09-28 01:03:07 +00:00
Android Build Coastguard Worker
c7b0a77966 Snap for 12420652 from 66db2ee5d4 to 25Q1-release
Change-Id: I18b31c7d7c2a806b3d4dc2cf4125ca361ed3b691
2024-09-26 23:02:24 +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
Android Build Coastguard Worker
7364f10756 Snap for 12399304 from d52fc5d79f to 25Q1-release
Change-Id: I9320f75d01d165e64f444e86bd0c58f631972daf
2024-09-21 23:01:19 +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
Android Build Coastguard Worker
4fecd93614 Snap for 12370120 from 54ecd01c7b to 25Q1-release
Change-Id: Ide8e9e2f24aeae8619931b05abe2e5513d9b1e7f
2024-09-14 23:01:21 +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
Android Build Coastguard Worker
5891d6d21c Snap for 12337407 from 0377917368 to 25Q1-release
Change-Id: I8c80f2e01fbc0f5cae2a32531c9eabd2d6d21907
2024-09-07 23:01:25 +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
Xin Li
9b60e7e840 [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: 5076337f3b -s ours
am skip reason: Merged-In Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec with SHA-1 45531bd711 is already in history

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

Change-Id: I4e1e1ac23b9a8f424020343c4d7c88ce6e057bfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:02:06 +00:00
Xin Li
5076337f3b Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
Change-Id: Ic7c52e1a0b7db76af3857c67f502ba6de97a5825
2024-08-12 17:11:55 +00:00
samou
ad78871644 Remove BCL from thermal
Flag: EXEMPT tuning changes
Bug: 349935208
Change-Id: Id34dc3bb1895c28cf3c3a146ef9fc7a742a73044
Signed-off-by: samou <samou@google.com>
2024-08-12 12:32:21 +00:00
Cyan_Hsieh
44c8f95a60 Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 0da2a72457 am: f18667374f
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3212451

Change-Id: If3a455861967ee0531252fc0069b4809c0dd3dc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:34 +00:00
Cyan_Hsieh
f18667374f Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 0da2a72457
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3212451

Change-Id: I555f5fdd633108e2a4dfeea58faf2fb03dea3aff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:02 +00:00
Cyan_Hsieh
0da2a72457 Add FSTAB_OWNERS and update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bf13fdd5c229e61326dc1cba78c1309a16ac084e)
Merged-In: I8a15eb2401d41ac74988f3a5d8028fbeeb28cc2d
Change-Id: I8a15eb2401d41ac74988f3a5d8028fbeeb28cc2d
2024-08-09 08:33:31 +00:00
Jacky Liu
acf7138e36 Use modules.load for vendor ramdisk modules
vendor_boot.img is no longer built on 6.1 kernel codebase hence
vendor_boot.modules.load no longer exists. We can use modules.load
instead which is same as vendor_boot.modules.load but always exist.

Flag: EXEMPT build file update
Bug: 343042291
Test: build oriole-zvs1-userdebug
      build oriole-trunk_pixel_kernel_61-userdebug
Change-Id: I7e5028ca4cc710367ddc5b161e006b8e7c25de80
2024-08-05 05:06:51 +00:00
Chris Lu
79cb51273a Upgrade IDisplay to V13
Bug: 315496839
Flag: EXEMPT bugfix
Test: build pass
Change-Id: Ied129519d62103ea3f4a4a6bba132d263840ab58
2024-08-02 04:30:10 +00:00