Commit graph

1554 commits

Author SHA1 Message Date
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
Wen Chang Liu
655b608854 Merge changes from topic "p24_upgrade_mpc15" into main
* changes:
  Support FEATURE_HlgEditing for MPC15
  Support FEATURE_DynamicColorAspect for MPC15
2024-10-07 04:40:02 +00:00
Juan Yescas
49a4d989ad Move setup of the persist partition to init.persist.rc
The setup of the persist partition is moved to init.persist.rc.
This will make easier to configure 16kb targets in follow up
changes.

Bug: 347015136
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Ifd17fc1f25ea8cf73470630e14a38116e0b7b96a
2024-10-04 08:19:22 -07:00
Pawan Wagh
4bac938c20 Merge "Copy fstab from zuma to zumapro for 16kB developer options" into main 2024-10-03 21:17:50 +00:00
Pawan Wagh
9111a59f32 Copy fstab from zuma to zumapro for 16kB developer options
Update fstab used so that both ext4 and f2fs are supported.
Copying previously release config to zumapro to support pixel
9.

Test: atest Enable16KbTest
Flag: build.RELEASE_GOOGLE_CAIMAN_16K_DEVELOPER_OPTION
Bug: 347108593

Change-Id: I8da600ac8e91e61abc20a324762f19dddf846851
2024-10-03 20:05:56 +00:00
Kostia Yarmash
8d8f6f482d Merge "init.zumapro.rc: change permission of SJTAG writable files" into main 2024-10-02 08:28:50 +00:00
Jimmy Shiu
f33d8b228b Merge "[task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile." into main 2024-10-02 03:13:56 +00:00
Kostya Yarmash
1285fd9c56 init.zumapro.rc: change permission of SJTAG writable files
On userdebug & eng builds, change permission of SJTAG writable sysfs files that need to be written to 'system'. This became necessary after HSUM separated main user from the SYSTEM user

Bug: 367918586
Flag: EXEMPT bugfix
Test: Ensure that there is "Privileged Debugging" item in BetterBug settings.

Change-Id: Id433aea05d23841bb5b45b7b9464daa72602269b
Signed-off-by: Kostya Yarmash <kyarmash@google.com>
2024-10-01 13:24:46 +00:00
Jimmy Shiu
562f2de924 [task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile.
Flag: com.android.input.flags.enable_input_policy_profile
Bug: 369574417
Change-Id: I80414f3931b93bb8b427d0d8e1b6b0c4debffea3
2024-10-01 11:42:43 +00:00
Zhengyuan Cui
e344654b63 Merge "Change any use case of folder name api to tachyon_api to avoid api review" into main 2024-09-26 21:00:58 +00:00
Baltazar Ortiz
38544057ee Merge "dumpstate: Use generic dc_mains for all parallel chargers" into main 2024-09-26 20:14:40 +00:00
Wesley Lee
895315964d Merge "set the minimal resolution as 80x80" into main 2024-09-26 01:39:44 +00:00
Baltazar Ortiz
9af16ad5e4 dumpstate: Use generic dc_mains for all parallel chargers
Bug: 360866957
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: If9268d4ac8ec857c3dd9a7f2cae6b6485cfb2e95
Signed-off-by: Baltazar Ortiz <baltazarortiz@google.com>
2024-09-25 23:24:05 +00:00
Yi Shiou (Les) Lee
9d80314496 Merge "wifi: Upgrade vendor hal version" into main 2024-09-25 21:33:48 +00:00
Zhengyuan Cui
cb436afabd Change any use case of folder name api to tachyon_api to avoid api review
Bug: 364390678

Change-Id: Ibf53edb7a1bb9c16967b45b8a2a38575dac8cbda
Flag: EXEMPT refactor
2024-09-24 21:56:08 +00:00
Kyle Tso
ea7bd38c52 usb: Remove project-specific file modification
Bug: 365912852
Test: verified the file owner and permission
Flag: EXEMPT bugfix
Change-Id: I41d4a03c1f38ce332887889eda960acc9625aa2d
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-09-24 08:40:00 +00:00
Android Build Coastguard Worker
d5ef39321c Snap for 12404440 from 29f69dc29c to 24Q4-release
Change-Id: I1086400c8dfff6aa6ac28bad1ac48d887bcabf07
2024-09-23 23:03:44 +00:00
Sungcheol Ahn
29f69dc29c Merge "Force EST loopback for hidden menu testing" into main 2024-09-23 20:01:55 +00:00
Rick Yiu
dcaeaf64cf Change permission of fg_wi file nodes
Bug: 200769420
Test: build pass
Flag: NONE vendor init file does not support flag
Change-Id: I5830f0faa2230aa8bf66d13f64c3156aab0d8379
2024-09-23 13:43:49 +00:00
Android Build Coastguard Worker
7e0ce4da6d Snap for 12397640 from 793ad7feb6 to 24Q4-release
Change-Id: I722e774980f13ab63f4f83368458e7120332e638
2024-09-21 01:03:14 +00:00
Wesley Lee
1a610d10a2 set the minimal resolution as 80x80
Bug: 367425615

Flag: EXEMPT bugfix

Change-Id: I24191f3ead995535a0ee87b47030dbfe2e448740
Signed-off-by: Wesley Lee <szuweilee@google.com>
2024-09-20 16:36:00 -07:00
Krzysztof Kosiński
793ad7feb6 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
Flag: EXEMPT trivially safe build cleanup
Change-Id: Id2934bc0dcbffb85a43ab020a8208fb85f51432a
2024-09-20 19:38:20 +00:00
Android Build Coastguard Worker
e12b774369 Snap for 12391343 from f10e203586 to 24Q4-release
Change-Id: Icce662ac2915daf0f88c50b1d3d771c777221bf3
2024-09-19 23:03:09 +00:00
Jerry Chang
f10e203586 Merge "Add input event profile to mitigate input latency of input threads" into main 2024-09-19 09:02:34 +00:00
Treehugger Robot
a5d399485b Merge "Control the "init_dpm.sh" to be built in zumapro devices" into main 2024-09-19 07:26:52 +00:00
Sungcheol Ahn
26fefc1690 Force EST loopback for hidden menu testing
Test: manual
Bug: b/365556180
Flag: EXEMPT test only

Change-Id: I581257736e12ec1ebd533f9494855f8132a6c5fe
2024-09-19 01:28:58 +00:00