Commit graph

1579 commits

Author SHA1 Message Date
Wen Chang Liu
e0e5b17335 Add dynamic color aspects support for vp8 decoder
All decoders for compression technologies that were introduced
after 2002 must support dynamic color aspects feature on CHIPSETs
that set ro.board.first_api_level to V or higher.

Bug: 376412691
Flag: EXEMPT resource only update
Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.CodecInfoTest
Change-Id: I0edc9eb80ac0478499e5d50c982f9893131c184d
2024-11-04 14:30:11 +00:00
Richard Chang
c61d1d0f9e Add p24 perf setup script
Bug: 374151514
Change-Id: I3afcdd7197fd010e9e2a2aa04b0038812a9f5c17
Test: Build
Flag: EXEMPT only update script for testing
2024-11-01 05:13:08 +00:00
Kai Hsieh
a419a7b54b Add GIA (Google Input interface Abstraction layer) for zumapro devices.
Bug: 367881686
Test: Manually, build and flash the ROM and use `service list` to make sure the service is up.
Flag: build.RELEASE_PIXEL_GIA_ENABLED
Change-Id: Icfeb3d1707ead79f38e355d4502c24f1b5493a26
Signed-off-by: Kai Hsieh <kaihsieh@google.com>
2024-10-31 01:02:08 +00:00
Juan Yescas
ab4b51ee5e 16kb: zumapro: Verify that zumapro prebuilts are 16kb elf aligned
Set the product flag PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE to
verify that zumapro prebuilts are 16kb compatible.

See: https://source.android.com/docs/core/architecture/16kb-page-size/16kb#verify-16kb-alignment

Bug: 342466032
Bug: 363170018
Change-Id: Ib60842dc090c16822bc727a6d7442951b7b45aa2
Test: Build target
Flag: EXEMPT bugfix
2024-10-30 18:44:08 +00:00
Priyanka Advani (xWF)
267f5b0e79 Merge "Revert "Add IGoodixFingerprintDaemon aidl interface"" into main 2024-10-30 17:49:12 +00:00
Priyanka Advani (xWF)
b625b7f751 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: Ie2f794f6d072740705419ee3997e498bc268a520
2024-10-30 16:33:05 +00:00
KRIS CHEN
44ab2cd9f8 Merge "Add IGoodixFingerprintDaemon aidl interface" into main 2024-10-30 08:45:35 +00:00
chenkris
fd73068e3e Add IGoodixFingerprintDaemon aidl interface
Flag: EXEMPT NDK
Bug: 370671685
Test: authenticate fingerprint.
Change-Id: I6aa1c7df2e1704899af8adef0c388820e4716333
2024-10-30 02:51:58 +00:00
Sungcheol Ahn
09797648aa Merge "[Satellite] Changed start of satellite non-emergency mode in hidden menu to send intent instead of directly invoking satellite manager" into main 2024-10-30 01:24:12 +00:00
Roy Luo
ec4c96ddf1 Merge "usb: report compliance warning to framework" into main 2024-10-29 21:11:35 +00:00
Nick Kralevich
ab0b600939 Merge "Enable MTE in -eng builds on zumapro devices." into main 2024-10-29 17:09:41 +00:00
Sungcheol Ahn
473b1746b2 [Satellite] Changed start of satellite non-emergency mode in hidden menu to send intent instead of directly invoking satellite manager
Bug: 376117071
Test: Manual
Flag: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn
Change-Id: I89e728a92163da56dc12dde1d6ff6509cb0adedc
2024-10-29 16:35:43 +00:00
Bill Yang
983761b39f Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: 41b27fe6f9 am: 047dfdb2b9
Original change: https://android-review.googlesource.com/c/device/google/zumapro/+/3316751

Change-Id: Ie196b0c32e78bec2afc01c92516f8bc631a9fea9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 03:12:00 +00:00
Bill Yang
047dfdb2b9 Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: 41b27fe6f9
Original change: https://android-review.googlesource.com/c/device/google/zumapro/+/3316751

Change-Id: I0097bd58d7fab7d920bfc66d632397d2695882fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 02:50:15 +00:00
Nick Kralevich
2bf5d31904 Enable MTE in -eng builds on zumapro 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. See
go/mte-eng for more information.

Co-authored-by: Evgenii Stepanov <eugenis@google.com>
Test: Device boots and no MTE crashes
Bug: 316398899
Flag: EXEMPT only affects eng builds, not shipping code
Change-Id: I8be52af4f0349907651ae661972c85ea46e2aa72
2024-10-28 11:59:41 -07:00
Jeff Chang
81243890ae Merge "Update display dim configuration" into main 2024-10-28 15:45:09 +00:00
Rick Yiu
a976f027c6 Merge changes I2512cad0,Ic4eccc64 into main
* changes:
  Set permission for sched qos nodes.
  Enable sched qos for vendor groups
2024-10-27 06:46:39 +00:00
Rick Yiu
b11e6a1145 Merge "Add sched qos profiles" into main 2024-10-25 11:23:57 +00:00
Rick Yiu
19ab0dfe42 Set permission for sched qos nodes.
Bug: 355612114
Flag: NONE init rc file does not support flag
Test: build pass
Change-Id: I2512cad0e4a6f377af0526816caa4f219c658e98
2024-10-25 08:17:21 +00:00
Rick Yiu
30c7fadda5 Enable sched qos for vendor groups
Enable settings by different groups.

Bug: 355612114
Flag: NONE init rc file does not support flag
Test: build pass
Change-Id: Ic4eccc64797cb6511f5f3c50f9e5a0b8f0791edc
2024-10-25 07:59:18 +00:00
Rick Yiu
c0dae61ea2 Add sched qos profiles
Add profiles for sched qos setting. The original uclamp_fork_reset
will be removed later.

Bug: 355612114
Flag: NONE vendor task_profiles.json does not support flag
Test: build pass
Change-Id: I287547c902f79d3e16c0aab913d7f1004f8df184
2024-10-25 06:57:55 +00:00
Bill Yang
41b27fe6f9 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_caiman-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I21a9cee4a36e1951979481c50bce871a6853504c
2024-10-25 03:39:17 +00:00
Roy Luo
8033193809 usb: report compliance warning to framework
Bug: 375322802
Test: dumpsys usb
Flag: EXEMPT bug fix
Change-Id: I2818491ec896e60eb7b9e70d86c0eddc2479f780
2024-10-24 21:52:00 +00:00
Richard Chang
26f64c74a7 Merge "zumapro: MCP: Set the vendor customized max cached processes to 1024." into main 2024-10-24 00:50:20 +00:00
Cyan Hsieh
36ea89ca92 Merge "Add manifest for VINTF target FCM level 202404" into main 2024-10-23 11:26:54 +00:00
Richard Chang
010569846c zumapro: MCP: Set the vendor customized max cached processes to 1024.
Bug: 374891496
Change-Id: I4e72883a024d3c70d71605073bd1e44a52af0303
Test: adb shell dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Flag: EXEMPT config XML change
2024-10-23 04:25:48 +00:00
Jeff Chang
2b041db208 Update display dim configuration
Revert the configuration from I79939290b6a355cf for benchmark
regression.

Flag: EXEMPT bug fix
Bug: 357187828
Test: presubmit
Change-Id: I9ebd934f8cf862372e089f2d2325f1f3f200b8b5
2024-10-22 09:01:58 +00:00
Megha Patil
b710f75a6f VSS to be removed from Zumapro
VSS support removed from zumapro and made device specific

BUG: 369721391
Flag: EXEMPT refactor(SUPPORT_VENDOR_SATELLITE_SERVICE)
Test: Manual Test(Satellite Basic Test)
Change-Id: I52cb3e36dedecf7fb8dd14135dfe8da400210144
2024-10-18 10:35:00 +00:00
Juan Yescas
3d1451c3a2 Merge "Mount efs and persist partitions at right stage for 4kb and 16kb" into main 2024-10-17 01:38:45 +00:00
Android Build Coastguard Worker
5874177b5a Merge cherrypicks of ['googleplex-android-review.googlesource.com/28985324', 'googleplex-android-review.googlesource.com/29774488'] into 24Q4-release.
Change-Id: Ia05cc8428db4c6d98130f4ec1ff97fbb90d67fac
2024-10-17 00:33:09 +00:00
Rick Yiu
4edd952b94 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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:76b662b189e0ab7a555d93a8390c792631cc0558)
Merged-In: Ica1cc1bcf44205f6ccfb09529a52107b1c5091b3
Change-Id: Ica1cc1bcf44205f6ccfb09529a52107b1c5091b3
2024-10-17 00:28:42 +00:00
Rick Yiu
758649b0b3 Set priority task name
Set task name and boost value for ExoPlayer:Place thread.

Bug: 357956265
Test: build pass
Flag: NONE init rc file change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2e83b04a10be95d45c6996a8ed000cc328d76f10)
Merged-In: I09e79a16b7b6a0675de606b2f65dfbee154ec943
Change-Id: I09e79a16b7b6a0675de606b2f65dfbee154ec943
2024-10-17 00:28:31 +00:00
Juan Yescas
2a8f6806b2 Mount efs and persist partitions at right stage for 4kb and 16kb
Bug: 373455889
Bug: 347108593
Test: Built and flash zumapro device
Flag: EXEMPT bugfix
Change-Id: Ibe8d50d77c47de6fd75df6a22931d4dd0c05399a
2024-10-17 00:13:57 +00:00
Robert Luo
26619e7d14 Merge "[Pixel RR] Apply reviewed default permissions" into main 2024-10-16 08:42:35 +00:00
Cyan Hsieh
cee21e461f Add manifest for VINTF target FCM level 202404
device_framework_matrix_product_202404.xml,
manifest_202404.xml:
  target-level = 202404

compatibility_matrix_202404.xml:
  remove "android.hidl.allocator@1.0" per b/205764958

manifest_media_aosp_202404.xml:
  remove codec2 hidl fragments

Flag: EXEMPT NDK
Bug: 312876454
Change-Id: Ic6b867cb55a184803ae41f1b58a4ecc0269c4b87
2024-10-16 07:27:30 +00:00
Treehugger Robot
093381aaf4 Merge "Fix LE Audio sysprops typos in makefiles" into main 2024-10-15 16:56:06 +00:00
Wei Li
07325b3e74 Remove device/google/zumapro/Android.mk which is not needed any more since there are no other Android.mk files in subdirectories. am: 89ab3ca392 am: 73e0953d49
Original change: https://android-review.googlesource.com/c/device/google/zumapro/+/3299237

Change-Id: Iaa105f4105cdf58e628d10e09444e5a33d7320ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-11 17:04:44 +00:00
Wei Li
73e0953d49 Remove device/google/zumapro/Android.mk which is not needed any more since there are no other Android.mk files in subdirectories. am: 89ab3ca392
Original change: https://android-review.googlesource.com/c/device/google/zumapro/+/3299237

Change-Id: Id02ba4c91f5f3c4a9635bcf7c5cf154b9cec584c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-11 16:47:37 +00:00
Robert Luo
fdb10a41a4 [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: I0b9aa93526610c3257b8733eec9c9a75bfaa0cbd
2024-10-11 18:00:51 +08:00
Andrew Cheng
3f62c6b40d 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: I2e9812060733ba6d380a104d79e58867a3e01aa2
2024-10-10 14:05:37 -07:00
Rick Yiu
76b662b189 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: Ica1cc1bcf44205f6ccfb09529a52107b1c5091b3
2024-10-10 08:46:08 +00:00
Treehugger Robot
348defd241 Merge "Usb: Add status check to prevent NPE" into main 2024-10-09 09:43:42 +00:00
Kuen-Han Tsai
e5f8be36ac 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: I4657ab8dbc9bb7e5d2dc46c1a20b66477604ec36
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-10-09 14:50:09 +08:00
Wei Li
89ab3ca392 Remove device/google/zumapro/Android.mk which is not needed any more since there are no other Android.mk files in subdirectories.
Bug: 372291867
Change-Id: I87dce34ae1d1f6587f1b3ad927e710c7dd61b7ca
Test: CIs
2024-10-08 20:15:11 +00:00
Juan Yescas
0c1aa1be86 Merge "Copy files on efs/efs_backup/modem_userdata/persist partitions to /data in 16kb mode" into main 2024-10-08 18:33:28 +00:00
Treehugger Robot
740512e745 Merge "Move setup of the persist partition to init.persist.rc" into main 2024-10-08 18:31:32 +00:00
Juan Yescas
60dc676409 Copy files on efs/efs_backup/modem_userdata/persist partitions to /data in 16kb mode
There are 4 partitions that are flashed at the factory and use F2FS fs with
4kb block size:

- /dev/block/by-name/efs
- /dev/block/by-name/efs_backup
- /dev/block/by-name/modem_userdata
- /dev/block/by-name/persist

These partitions can NOT be mounted by 16kb kernels because F2FS
expects BLOCK_SIZE == PAGE_SIZE.

In order to access the files in these partitions by 16kb kernels,
the dump.f2fs tool is used.

This change will perform these steps at boot time ONLY for 16kb mode. For
every partition (efs/efs_backup/modem_userdata/persist):

1. Use dump.f2fs to copy the content of the partition
to /data/vendor/copied/<partition name>.img.
2. If the copy was succesfull, rename /data/vendor/copied/<partition name>.img
to /data/vendor/copied/<partition name>
3. fsync the content of the directory /data/vendor/copied/<partition name>.

After the content of the partitions is in /data/vendor/copied,
bind-mount the partitions to the directory /mnt/vendor. See conf/fstab.efs.from_data.

Note: This change ONLY applies to 16kb kernels. This change does not modify
the original partitions.

Bug: 347015136
Bug: 362368691
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Idf46a2a3a4f0b2e91ee4a0322a0c469e055684c8
2024-10-07 22:46:49 +00:00
Madhav Iyengar
a2761f3edc Merge "[chre-hal-xport] Give permissions for new xport" into main 2024-10-07 21:45:41 +00:00
Madhav Iyengar
e6525d245f [chre-hal-xport] Give permissions for new xport
Bug: 369883034
Flag: android.chre.flags.refactor_hal_xport_agnostic
Change-Id: Id22ab1352d38a4e8b37bb8414917efb8f6ed75c0
2024-10-07 21:45:23 +00:00
Treehugger Robot
45722a697e Merge "Set priority task name" into main 2024-10-07 15:45:38 +00:00