Commit graph

3075 commits

Author SHA1 Message Date
Daniel Lowe
a0b5342eff [Pixel VPN] Apply reviewed default permissions
Pregrantting below permissions:
READ_PHONE_STATE

Flag: EXEMPT add permission pregranted in b/337725984
Bug: 373686360
Test: presubmit, manual install on test device.
Change-Id: If6c3dfb1a29451d7b11a3ff10ec18b4c412056ed
2024-12-09 02:47:29 +00:00
Treehugger Robot
188ed581cd Merge "Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma" into main 2024-12-05 02:39:17 +00:00
Juan Yescas
443c13a172 Merge "16kb: zuma: Filter out unnecessary modules from 16k mode" into main 2024-12-04 04:49:34 +00:00
Roy Luo
2a8046a033 Merge "Enable usb state update via udc sysfs" into main 2024-12-04 03:31:01 +00:00
Chaohui Wang
feb420904b Merge "Clean up unnecessary data_connection_5g_plus overlay" into main 2024-12-04 01:21:44 +00:00
Nick Kralevich
7463e548bf Fix kasan logic
The command line "kasan=off" should be unconditionally set when we're
compiling for a normal (non-_fullmte) build. The current logic
sets "kasan=off" for a normal ENG build only, which is insufficent.

Test: _fullmte userdebug/eng: "sanitizer-status mte" shows MTE enabled.
Test: _fullmte userdebug/eng: "kasan=off" IS NOT present in /proc/cmdline
Test: !_fullmte userdebug: "sanitizer-status mte" shows MTE disabled.
Test: !_fullmte eng: "sanitizer-status mte" shows MTE enabled
Test: !_fullmte userdebug/eng: "kasan=off" IS present in /proc/cmdline
Change-Id: Idd61747156daa135e919ce71fd63bfab1f4d9239
Bug: 381940217
Flag: EXEMPT bugfix
2024-12-03 10:33:59 -08:00
Xin Li
7fd5197191 [automerger skipped] Merge ab/AP4A.241205.013 into aosp-main-future am: e589918368 -s ours
am skip reason: Merged-In I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced with SHA-1 a6c71987d5 is already in history

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

Change-Id: I49afe6d3367ef8da752021f4e6cf39a44d89de07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-03 18:22:10 +00:00
Chaohui Wang
e9866ccdbf 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: I3bd290c8839ac510a0b11c70a7aaa55d58591964
2024-12-03 17:30:34 +08:00
Juan Yescas
a8a6c8ff28 16kb: zuma: Filter out unnecessary modules from 16k mode
The 16k mode does not use these modules.

Bug: 378293897
Bug: 379704287 
Change-Id: I237fd9cf7ca2f7972fafa08a3df65c0472e1ef03
Test: Built husky-trunk_staging target and tested
      4kb and 16kb mode.
Flag: EXEMPT bugfix
2024-12-03 04:41:56 +00:00
Treehugger Robot
4bc8926b8f Merge "Add hardware/google/graphics/zuma/libhwc2.1 to PRODUCT_SOONG_NAMESPACES" into main 2024-11-28 02:07:55 +00:00
Xin Li
e589918368 Merge ab/AP4A.241205.013 into aosp-main-future
Bug: 370570306
Merged-In: I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced
Change-Id: Ie5037f28c6b829fc7915f48fb9e787865a0e9a11
2024-11-27 12:53:10 -08:00
Jenhao Chen
730daed470 Merge "init: zuma: move sched rate limit to late init" into main 2024-11-27 14:58:17 +00:00
Will Song
ff7717d54c init: zuma: 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: I20d38e481d43d1068a6faebec298446929812ffb
2024-11-27 02:46:28 -08:00
Nelson Li
d1cf23e6f7 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma
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: I2912cbc905ff0ee716c293021c29061e3b6d3dca
2024-11-27 06:27:58 +00:00
Treehugger Robot
d2151ffde1 Merge "Add soong config use_google_qns in zuma" into main 2024-11-27 02:04:32 +00:00
Kelvin Zhang
fbfb744edd Merge "Allow metadata to be formatted as ext4" into main 2024-11-25 18:39:33 +00:00
Bill Yang
1f92d2a96e Add hardware/google/graphics/zuma/libhwc2.1 to PRODUCT_SOONG_NAMESPACES
For zumapro it shares the same libacryl_plugins in zuma but for
libexynosdisplay it still has different version between zuma and
zumapro. In ag/30508311 it already split
hardware/google/graphics/zuma/libhwc2.1 to it's own soong_namespace
which need to add it to product config for zuma.

Bug: 357500180
Test: lunch aosp_husky-trunk_staging-userdebug; \
      m libexynosdisplay
Flag: EXEMPT refactor
Change-Id: I8adc95085067456aa2a29822e89f9777ece241f3
2024-11-23 23:52:52 +00:00
Kelvin Zhang
2908e979a6 Allow metadata to be formatted as ext4
This does not convert /metadata to ext4, the default is still f2fs.
EXT4 would only be used if we are on 16KB mode

Flag: EXEMPT bugfix
Bug: 379759696

Change-Id: I91c114f476b6894361523a5bc8b66930df9f49a5
2024-11-22 18:10:52 +00:00
Roy Luo
74ccf54701 Enable usb state update via udc sysfs
Bug: 339241080
Test: tested on Shiba
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: I1e741ab5e857dd706346967773eb0e17550eaaba
2024-11-21 22:37:56 +00:00
kellyhung
43c6cf5ada Add soong config use_google_qns in zuma
Bug: 360757079
Test: Presubmits
Flag: EXEMPT bugfix
Change-Id: Ic3dcfbbeb62f5c152f0d43c9182e98a5b2bc74f0
2024-11-19 10:01:29 +00:00
Herbert Xue
d827c45f63 Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
Flag: EXEMPT bugfix
Bug: 375111251
Test: m libExynosC2H263Dec libExynosC2H263Enc
Change-Id: I7926d494df871bda7e7572a4743b4b04343e8b7e
2024-11-19 15:14:46 +08:00
Herbert Xue
2047505a62 Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
Flag: EXEMPT bugfix
Bug: 375522783
Test: m libExynosVideoCodec
Change-Id: Ida44710eb53376d12f3e26b8bf55b26ade49cd07
2024-11-14 12:35:47 +08:00
Xin Li
977c5514f0 [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: d3c951fe56 -s ours
am skip reason: Merged-In I3977722564241817575d94b2d2023eac6939ce1c with SHA-1 f42925e978 is already in history

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

Change-Id: Icd021cbd1b5384ff22e2913d053fb96006fbd4bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 02:02:58 +00:00
Spade Lee
1512f42354 Merge "dump_power: zuma: correct dump path" into main 2024-11-13 17:00:10 +00:00
Spade Lee
bc4963632b dump_power: zuma: correct dump path
- add pca9468 logbuffer
- move fg registers dump from debugfs to sysfs
- remove dual fg path
- remove max77779fg path
- remove maxfg history path
- remove unused ln8411 path

Bug: 377895720
Flag: EXEMPT bugfix
Change-Id: I6aab8119e029ccc45f5da827a119249b07aed8dd
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-12 16:49:30 +00:00
Treehugger Robot
6f8fb2f094 Merge "Move video_codec soong config variables into board config" into main 2024-11-08 03:29:59 +00:00
Allen Jiang
1172ae7a1b Merge "bcl: fix ocp_gpu_lvl in init.zuma.rc" into main 2024-11-06 22:53:09 +00:00
Xin Li
d3c951fe56 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I3977722564241817575d94b2d2023eac6939ce1c
Change-Id: Ifdc2acba1138fd79b5f26ffc07e7024149440872
2024-11-06 11:05:05 -08:00
Herbert Xue
ca66ae1b2a Move video_codec soong config variables into board config
Flag: EXEMPT bugfix
Bug: 370663515
Test: m libExynosC2OSAL
Change-Id: I76847c362ab1b257b90c610c84b00221c2a4ce84
2024-11-06 11:10:40 +08:00
Allen Jiang
cc52939a8a bcl: fix ocp_gpu_lvl in init.zuma.rc
Bug: 377376692
Flag: EXEMPT bugfix
Test: Manually
Change-Id: I9fcf505572cced516628bdaf34bfde23fa950b8c
Signed-off-by: Allen Jiang <alljiang@google.com>
2024-11-05 00:15:16 +00:00
Daniel Rosenberg
8873769456 Reland "Add detailed error log to efs test"
Corrected order of Assert Equals, and moved awk parsing into the
java code. executeShellV2Command does not handle single quoted awk
strings well.

Flag: TEST_ONLY
Bug: 376164007
Test: atest CopyEfsTest
Change-Id: Idea19467ec2f08b1365a2389a1dd3b1db8d429e4
2024-10-31 14:04:49 -07:00
Daniel Rosenberg
820c3750ac Merge "Revert "Add detailed error log to efs test"" into main 2024-10-31 01:40:53 +00:00
Daniel Rosenberg
42abd953a8 Revert "Add detailed error log to efs test"
This reverts commit b7cc955763.

Reason for revert: Breaks CopyEfsTest

Change-Id: I2522ceeda3f4e77c1102c50a6c0110aca814a4d8
Bug: 376164007
2024-10-30 22:01:11 +00:00
Roy Luo
ad7fee2f13 Merge "Revert^3 "Enable usb state update via udc sysfs"" into main 2024-10-30 18:51:30 +00:00
Priyanka Advani (xWF)
0ca2ed53c5 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: I25cf72f9acbfcce57182aeb8f95a5711af9899b4
2024-10-30 16:32:55 +00:00
chenkris
082fc23cbd Add IGoodixFingerprintDaemon aidl interface
Flag: EXEMPT NDK
Bug: 370671685
Test: authenticate fingerprint.
Change-Id: I3612ab313a2b9d330da3d39f09073f3ff9eebcd6
2024-10-30 02:52:05 +00:00
Roy Luo
d0bdf1d61b Revert^3 "Enable usb state update via udc sysfs"
13756199db

Bug: 339241080
Change-Id: Id040eb4fd0ff7f70a9f7872f383fbc37fc0742ea
2024-10-29 21:36:21 +00:00
Bill Yang
af7eb3fa7f Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: 32b6825bf1 am: eb26e6bf3b
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3288011

Change-Id: Id1d4dfb8a5b28ce88a7f0c1b392b0c9356f11bc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 03:12:00 +00:00
Bill Yang
eb26e6bf3b Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: 32b6825bf1
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3288011

Change-Id: Idb52ede4f32cffeecd805f3c8690779e74bdf96c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 02:50:15 +00:00
Nick Kralevich
d37a6e5050 Merge "Enable MTE in -eng builds on zuma devices." into main 2024-10-28 17:52:11 +00:00
Jeff Chang
5d474b0c3d Merge "Update display dim configuration" into main 2024-10-28 15:45:09 +00:00
Nick Kralevich
2676f4bf00 Enable MTE in -eng builds on zuma devices.
MTE is a low overhead tool which enables detection of memory
safety bugs in interactive workloads. See
https://source.android.com/docs/security/test/memory-safety/arm-mte
for background and information.

This change enables MTE by default on -eng builds on zuma
builds.

Co-authored-by: Evgenii Stepanov <eugenis@google.com>
Test: Device boots and no MTE crashes
Test: sanitizer-status mte
Bug: 316398899
Change-Id: Iff5ab9d7031d8b97bf762d85f6760a092631e121
2024-10-25 15:45:21 -07:00
Bill Yang
32b6825bf1 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_shiba-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I253ce1254450385e83ecaa75acbee5e70df3a930
2024-10-25 03:37:18 +00:00
Richard Chang
bb0ccb1c08 Merge "zuma: MCP: Set the vendor customized max cached processes to 1024." into main 2024-10-24 00:50:20 +00:00
Kelvin Zhang
b7cc955763 Add detailed error log to efs test
Flag: TEST_ONLY
Bug: 374502267
Test: th
Change-Id: I15fea97417331b34a4e5ae9861d169b29ef932a9
2024-10-23 14:14:35 -07:00
Richard Chang
03b2a5a84f zuma: MCP: Set the vendor customized max cached processes to 1024.
Bug: 374891496
Change-Id: I00f8758197836dedc94755ce60e6f97b2de1190a
Test: adb shell dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Flag: EXEMPT config XML change
2024-10-23 04:11:20 +00:00
Jeff Chang
4170eb8b55 Update display dim configuration
Revert the configuration from I79939290b6a355cf for benchmark
regression.

Flag: EXEMPT bug fix
Bug: 357187828
Test: presubmit
Change-Id: I214689dd98248cbe460ea84ac8f5affde3b8ad20
2024-10-22 09:06:58 +00:00
Robin Peng
c730cbb2ba [automerger skipped] 16k: Ignore 16k kernel settings if 16kb folder doesn't exist am: 9e1bb10e89 am: edd87c421e -s ours
am skip reason: Merged-In I2f6c1f3365f624502366b883dbcd1066ed166cdb with SHA-1 8cd5a64cd7 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3313596

Change-Id: I1b21593ad06460ec23201fe6a8a782061649294c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:16 +00:00
Vilas Bhat
cf9990784c [automerger skipped] 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk am: fbedb6f26f am: 399ba7d977 -s ours
am skip reason: Merged-In Ibd060eae8f4e97ae8ff800f765e2310c984e5796 with SHA-1 354b984c0d is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3313595

Change-Id: Ic0b905682b77dbd0eafe3bb2d15b21e0e6a74752
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:13 +00:00
Juan Yescas
d90423cf24 [automerger skipped] 16kb: Use TARGET_BOOTS_16K to select the efs config files am: e192e6f56e am: bf8283c053 -s ours
am skip reason: Merged-In I1e0bea52de09fe3c9ee2f52b0803882456943833 with SHA-1 bf9f082f67 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3312654

Change-Id: I57cdaca2cfcf165bc19e4cca72b37567f6b63039
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:10 +00:00