Commit graph

2998 commits

Author SHA1 Message Date
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
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
Juan Yescas
520360dfe6 [automerger skipped] 16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab am: 0420e6dfff am: c03be2441d -s ours
am skip reason: Merged-In I4dba20518925a176f1e1e66596e2bb1e8ade7c26 with SHA-1 98f2222e27 is already in history

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

Change-Id: I3c24c5efd189d3b7b499719137e40fbfeaacf85b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:06 +00:00
Robin Peng
edd87c421e 16k: Ignore 16k kernel settings if 16kb folder doesn't exist am: 9e1bb10e89
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3313596

Change-Id: Ib075b276396597229c654a1c55bd5bcfa7d2d3d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:29 +00:00
Vilas Bhat
399ba7d977 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk am: fbedb6f26f
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3313595

Change-Id: I9b1ea72ed2253ed68608e2a64b98a5705fd7df4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:26 +00:00
Juan Yescas
bf8283c053 16kb: Use TARGET_BOOTS_16K to select the efs config files am: e192e6f56e
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3312654

Change-Id: I476a3217cc8f10d3786eb21fa45c3b3aa8dc80ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:23 +00:00
Juan Yescas
c03be2441d 16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab am: 0420e6dfff
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3312653

Change-Id: I9f5abbdd5f6432e0430d300fe120526e99b6200b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:15 +00:00
Robin Peng
9e1bb10e89 16k: Ignore 16k kernel settings if 16kb folder doesn't exist
to avoid build breakage with test kernel prebuilts (e.g. ag/28525733)
that doesn't have 16kb artifacts in it.

Bug: 370842132
Bug: 349877551
Flag: EXEMPT bugfix
Change-Id: I2f6c1f3365f624502366b883dbcd1066ed166cdb
Merged-In: I2f6c1f3365f624502366b883dbcd1066ed166cdb
2024-10-17 23:28:59 +00:00
Vilas Bhat
fbedb6f26f 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk
The makefile logic in device/google/shusky/BoardConfig-shusky-common.mk
is identical to the logic required for akita. Hence, this logic is
moved to device/google/zuma/BoardConfig-16k-common.mk to avoid
duplicating the file for akita.

Bug: 370842132
Bug: 349877551
Test: Built and booted up `aosp_shiba` and and `aosp_shiba-pgagnostic` targets
Flag: EXEMPT bugfix
Change-Id: Ibd060eae8f4e97ae8ff800f765e2310c984e5796
Merged-In: Ibd060eae8f4e97ae8ff800f765e2310c984e5796
2024-10-17 23:28:48 +00:00
Juan Yescas
e192e6f56e 16kb: Use TARGET_BOOTS_16K to select the efs config files
Test: Build and test pgagnostic targets
Bug: 370842132
Bug: 350529323
Bug: 346868433
Flag: EXEMPT bugfix
Change-Id: I1e0bea52de09fe3c9ee2f52b0803882456943833
Merged-In: I1e0bea52de09fe3c9ee2f52b0803882456943833
2024-10-17 23:28:34 +00:00
Juan Yescas
0420e6dfff 16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab
The build flag PRODUCT_BOOTS_16K will be used to select
the proper efs rc file and fstab:

- When PRODUCT_BOOTS_16K := true, 16k rc files and fstab will be used.
- When PRODUCT_BOOTS_16K := false, 4k rc files and fstab will be used.

Bug: 370842132
Bug: 346868433
Test: Built and booted up `aosp_shiba` and and `aosp_shiba-pgagnostic` targets
Flag: EXEMPT bugfix
Change-Id: I4dba20518925a176f1e1e66596e2bb1e8ade7c26
Merged-In: I4dba20518925a176f1e1e66596e2bb1e8ade7c26
2024-10-17 23:28:10 +00:00
Robert Luo
3b75642fc2 Merge "[Pixel RR] Apply reviewed default permissions" into main 2024-10-16 08:42:35 +00:00
Treehugger Robot
41b461c238 Merge "Fix LE Audio sysprops typos in makefiles" into main 2024-10-15 16:56:06 +00:00
Eileen Lai
c07e594a12 Merge "modem_svc: use shared_modem_platform to replace all modem_svc_sit" into main 2024-10-14 07:27:51 +00:00
Robert Luo
d2b83392a7 [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: I96d2fd462172e2e176e5c8e0d4add7e98c36bb84
2024-10-11 17:59:59 +08:00
Andrew Cheng
9106927757 Fix LE Audio sysprops typos in makefiles
Makefile contain the following sysprops

bluetooth.profile.bap.unicast.server.enabled
bluetooth.profile.tbs.server.enabled
bluetooth.profile.vc.server.enabled

However, CS indicates the above sysprops aren't defined anywhere
nor read anywhere? Given how the following LE Audio sysprops are
missing from the makefile, and the similarities in naming, we
suspect there was a typo?

bluetooth.profile.bap.unicast.client.enabled
bluetooth.profile.ccp.server.enabled
bluetooth.profile.vcp.controller.enabled

Bug: 372711861
Test: builds
Flag: EXEMPT bugfix
Change-Id: I3b1be96531ffa6639647e0240dfc0f07ad1843a3
2024-10-10 14:11:43 -07:00
Rick Yiu
a6c71987d5 Set auto prefer idle task name
Set InputDispatche and InputReader prefer idle explicitly, which is a
workaround and should be removed after they become ADPF.

Bug: 366146314
Flag: NONE init rc file change does not support flags
Test: tasks set as expected
Change-Id: I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced
2024-10-10 08:47:15 +00:00
Kuen-Han Tsai
23cee311f9 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: I2cbe70d3b00cb2cf8c28a28d91a18fbf7c326ea7
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-10-09 15:59:20 +08:00
Madhav Iyengar
c730474f5e Merge "[chre-hal-xport] Give permissions for new xport" into main 2024-10-07 21:45:41 +00:00
Madhav Iyengar
1df1b01bdd [chre-hal-xport] Give permissions for new xport
Bug: 369883034
Flag: android.chre.flags.refactor_hal_xport_agnostic
Change-Id: Ibea491792b6539820bc833f4662d84eb68e113ea
2024-10-07 21:45:14 +00:00
Eileen Lai
115208a81c modem_svc: use shared_modem_platform to replace all modem_svc_sit
Bug: 368257019

Flag: NONE local testing only
Change-Id: I3d4007714e48cdabe010b4d740fe472024966270
2024-10-07 08:28:30 +00:00
Jimmy Shiu
72b12b913c Merge "[task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile." into main 2024-10-02 03:13:56 +00:00
Jimmy Shiu
0911e1e72c [task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile.
Flag: com.android.input.flags.enable_input_policy_profile
Bug: 369574417
Change-Id: Iab14bf54c75911fcb48b316f66bc0293d5faf76c
2024-10-01 11:41:45 +00:00
Shikha Panwar
42cb622a74 Zuma: Enable Secretkeeper on aosp targets am: 72946bd429 am: bb3fb6aa85
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3287155

Change-Id: I81a6e406ccf40cf13b65d7c57b88c24fe2101a72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-30 16:08:26 +00:00
Shikha Panwar
bb3fb6aa85 Zuma: Enable Secretkeeper on aosp targets am: 72946bd429
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3287155

Change-Id: I7e161f139f098fb1f2d15569eb93484139cd67a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-30 15:42:59 +00:00
Shikha Panwar
72946bd429 Zuma: Enable Secretkeeper on aosp targets
These are used for testing, enable Secretkeeper on these devices.

Test: get_build_var SECRETKEEPER_ENABLED
Bug: 341708664
Change-Id: I0fd0e3d5a16cab352c79228e89f9d2fdd6f886b7
2024-09-30 12:13:56 +00:00
Zhengyuan Cui
e9f1e61a35 Merge "Change any use case of folder name apis to tachyon_apis to avoid api review" into main 2024-09-26 21:00:59 +00:00
Baltazar Ortiz
8921faa915 Merge "dumpstate: Use generic dc_mains for all parallel chargers" into main 2024-09-26 20:14:40 +00:00
Wesley Lee
ce26f3aab9 Merge "use 80x80 as the minimal resolution" into main 2024-09-26 01:40:26 +00:00
Baltazar Ortiz
7a32e9dcdd dumpstate: Use generic dc_mains for all parallel chargers
Bug: 360866957
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: I00e7a60bfcefb6d68879d0a301cd126134e8b3a1
Signed-off-by: Baltazar Ortiz <baltazarortiz@google.com>
2024-09-25 23:24:12 +00:00
Yi Shiou (Les) Lee
22b71710a1 Merge "wifi: Upgrade vendor hal version" into main 2024-09-25 21:33:48 +00:00