Commit graph

358 commits

Author SHA1 Message Date
Treehugger Robot
1f85e5697e Merge "Add hardware/google/graphics/zumapro/libhwc2.1 to PRODUCT_SOONG_NAMESPACES" into main 2024-11-28 02:07:55 +00:00
Treehugger Robot
634e2e4116 Merge "Add soong config use_google_qns in zumapro" into main 2024-11-27 02:04:32 +00:00
Bill Yang
343c37a63f Add hardware/google/graphics/zumapro/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. Add zumapro's own libexynosdisplay for zumapro.

Bug: 357500180
Test: lunch aosp_caiman-trunk_staging-userdebug; \
      m libexynosdisplay
Flag: EXEMPT refactor
Change-Id: Iaf07baa8bb93ee6cd3da01e4b50231b7f5023fe9
2024-11-23 23:51:26 +00:00
Noelle Scobie
0d8d3fc154 Merge "Opt zumapro into RE-Graphite aconfig-based preview rollout" into main 2024-11-22 20:35:26 +00:00
Noelle Scobie
675c35badc Opt zumapro into RE-Graphite aconfig-based preview rollout
This will only enable RE-Graphite for stages where the rollout aconfig
flag introduced in I30a59986d1da2dc8355c2b3cf2da436c6cc64120 is also
enabled (and if the force_compile_renderengine_graphite read-only flag
is also enabled.)

Rollout proposal discussed w/ Pixel Graphics leads out of band.

Bug: 380460068
Test: manual validation that RE-Graphite is only enabled w/ aconfig flag
Flag: com.android.graphics.surfaceflinger.flags.graphite_renderengine_preview_rollout
Change-Id: I29bade2e024771b2800ab23236ddab4b12d9425b
2024-11-22 18:40:04 +00:00
Steven Liu
7d1e64dc96 opt in bt channel sounding for p24
Flag: build.RELEASE_RANGING_STACK
Bug: 331206299
Bug: 371095923
Test: build
Change-Id: Iacb2e99a14bc4cef515953eca6aac60ec33acc35
2024-11-20 20:06:29 +00:00
kellyhung
e1c5eb3a13 Add soong config use_google_qns in zumapro
Bug: 360757079
Test: Presubmits
Flag: EXEMPT bugfix
Change-Id: Ia8cc0a058d6facffac8422d266a9d1decffb90ef
2024-11-19 10:07:38 +00:00
Kai Hsieh
5e054052e1 Fixes issue where GIA keep crashing on next release builds.
Since our feature is not ready, we utilize build flag we applied for this project to project this undone feature built accidentally on other targets.

Test: Run test `UpdatableCrashingBootTest` on caiman `trunk_staging`, `trunk_food` and `next` targets with go/forrest (https://android-build.corp.google.com/builds/abtd/run/L28000030007788752, https://android-build.corp.google.com/builds/abtd/run/L64100030007774323).
Test: Build and flash caiman with `trunk_staging` as target, GIA is up and running.
Flag: build.RELEASE_PIXEL_GIA_ENABLED
Bug: 378865024
Change-Id: Iffa7f11659ece8c0210023630568cdc45132840f
Signed-off-by: Kai Hsieh <kaihsieh@google.com>
2024-11-15 03:29:32 +00:00
Kai Hsieh
8f762b99b1 Revert^2 "Add GIA (Google Input interface Abstraction laye..."
Revert submission 30378113-revert-29512389-gia-PMLMEKURMT

Reason for revert: Revert to fix the issue that GIA cannot be started in caimen-next-userdbg

Reverted changes: /q/submissionid:30378113-revert-29512389-gia-PMLMEKURMT
Bug: 367881686
Change-Id: I74a61360d09f85a2404d884090fd2bedb1be4030
2024-11-15 01:51:54 +00:00
Kai Hsieh
8eb2b92150 Merge "Revert "Add GIA (Google Input interface Abstraction layer) for z..."" into main 2024-11-13 14:42:35 +00:00
ELIYAZ MOMIN (xWF)
a404117e7e Revert "Add GIA (Google Input interface Abstraction layer) for z..."
Revert submission 29512389-gia

Reason for revert: <Potential culprit for b/378865024  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Reverted changes: /q/submissionid:29512389-gia

Change-Id: Ic00760e1dfa0c23f76b1539b717aa2db2a552971
2024-11-13 14:06:14 +00:00
Kai Hsieh
4aac0629ae Merge "Fixes issue where ripcurrentpro devices ROM build will fail with GIA" into main 2024-11-13 10:12:42 +00:00
Kai Hsieh
3b4a0bed51 Fixes issue where ripcurrentpro devices ROM build will fail with GIA
Root casue: there is no GTI built on ripcurrentpro devices. Solution: Add GTI for ripcurrentpro devices.

Test: go/forrest can successfully build for ripcurrentpro and on CM devices: https://android-build.corp.google.com/builds/abtd/run/L56200030007746343.
Bug: 378811601
Flag: build.RELEASE_PIXEL_GIA_ENABLED
Change-Id: If8a248b1f8f9a9cd82ea1a26aeb5244ec1de12bc
Signed-off-by: Kai Hsieh <kaihsieh@google.com>
2024-11-13 08:37:39 +00:00
Shikha Panwar
1676ce11cf Enable Secretkeeper HAL service on zumapro am: 7b57770786 am: 9792f38ba4
Original change: https://android-review.googlesource.com/c/device/google/zumapro/+/3340804

Change-Id: I3f7d62c1c82bb5764fee942881cbde59f6371982
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-13 08:11:41 +00:00
Kai Hsieh
9ca5dc93b7 Merge "Add GIA (Google Input interface Abstraction layer) for zumapro devices." into main 2024-11-13 07:05:58 +00:00
Shikha Panwar
7b57770786 Enable Secretkeeper HAL service on zumapro
The HAL service is needed for Updatable pVMs

Bug: 376015522
Test: get_build_var SECRETKEEPER_ENABLED
Test: VtsSecretkeeperTargetTest
Test: #UpgradedPackageIsAcceptedWithSecretkeeper
Change-Id: Ic1993de0f82feba0979e0403472ed4da79676137
2024-11-12 12:30:28 +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
Cyan Hsieh
36ea89ca92 Merge "Add manifest for VINTF target FCM level 202404" into main 2024-10-23 11:26:54 +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
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
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
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
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
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
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
Herbert Xue
92b2e67e82 Control the "init_dpm.sh" to be built in zumapro devices
Flag: EXEMPT bugfix
Bug: 364510147
Test: lunch comet-trunk_staging-eng && m init_dpm.sh
Change-Id: I43e7614e1ec0d8b62b35af6ae6774340e9248577
2024-09-18 09:21:51 +08:00
Herbert Xue
959bd67210 Control the modules built from vendor/google_devices/zumapro/prebuilts/gpu
For PDK build, the "vendor/arm" path doesn't exist. The modules will be
built from vendor/google_devices/zumapro/prebuilts/gpu.

Flag: EXEMPT bugfix
Bug: 364491703
Test: 1. lunch comet-trunk_staging-eng
      2. m libGLES_mali vulkan.mali libOpenCL libgpudataproducer
Change-Id: Ie58b2707fb9774f4a3552561b809c3c15d3803ef
2024-09-13 15:31:08 +08:00
Treehugger Robot
2ec8fd56a5 Merge "Revert "Revert "Move PRODUCT_SHIPPING_API_LEVEL to defined by de..."" into main 2024-09-13 05:54:07 +00:00
Cyan Hsieh
d52c3bc6b2 Revert "Revert "Move PRODUCT_SHIPPING_API_LEVEL to defined by de..."
7efa373263a34047b58202cdd90c4bd673936ea7

Bug: 312876454
Change-Id: Ifedf3d3a98845830ff4d2b42e333a384926bc266
2024-09-13 03:43:34 +00:00
Treehugger Robot
2b08e414d0 Merge "Control GoogleDialer built from zumapro/proprietary/GoogleDialer" into main 2024-09-12 01:50:20 +00:00
Juan Yescas
7e4d66612d 16kb: Select proper fstab for targets that only boot 16kb kernels
The 16kb kernels need to select the fstab that has this configurations:

- data partition:     fstab
- metadata partition: ext4

Bug: 350101696
Test: Built zumapro target and checked mounted partitions
Flag: EXEMPT bugfix
Change-Id: I2fc82946cdbadee7af0b3f6fc026b846fa79a146
2024-09-11 23:56:46 +00:00
Chia-Chi Teng
ac5e8f3b81 Merge "Deprecate preloaded_nanoapps.json" into main 2024-09-11 18:41:22 +00:00
Chia-Chi Teng
147b6373f4 Deprecate preloaded_nanoapps.json
Flag: EXEMPT resource only update
Bug: 350102369
Test: on device and presubmit
Change-Id: I8056d46ef653b3cb6b498b02c5aee18ca22a53d0
2024-09-10 01:49:19 +00:00
Herbert Xue
c0aab4a5f1 Control GoogleDialer built from zumapro/proprietary/GoogleDialer
For PDK build, the "vendor/unbundled_google" path doesn't exist.
"GoogleDialer" will be built from vendor/google_devices/zumapro/proprietary/GoogleDialer.

Flag: EXEMPT bugfix
Bug: 364510147
Test: export USES_GOOGLE_DIALER_CARRIER_SETTINGS=true; m GoogleDialer
Change-Id: I5c6796036627a5ae208dfda3ea19ead550a55c9a
2024-09-09 13:51:29 +08:00
Yixuan Jiang
c0257a0f66 Add pixellogger with non radio
Flag: EXEMPT bugfix
Bug: 353117906
Change-Id: I9223021c1fd0af8b868b5a8c40cc7c9b620ff0aa
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-09-09 12:32:09 +08:00
Charlie Yang
9d2f2f20cc Merge "Revert "Add soong config use_google_qns in device/google/zumapro..."" into main 2024-09-04 13:05:40 +00:00
Charlie Yang
86dc4ddddd Revert "Add soong config use_google_qns in device/google/zumapro..."
Revert submission 28947244-grilservice

Reason for revert: b/363911795

Reverted changes: /q/submissionid:28947244-grilservice

Change-Id: Ib13bc42b054a627271c55d06f1190912c824d03d
2024-09-04 11:03:29 +00:00
Jason Chiu
27a8298d1a Merge "Revert "16kb: Verify that zumapro prebuilts are 16kb compatible"" into main 2024-09-02 00:55:30 +00:00
Pindar Yang
56e949cdce Revert "16kb: Verify that zumapro prebuilts are 16kb compatible"
This reverts commit a5372bac75.

Reason for revert: Build break. Bug: 363170018

Bug: 363170018
Bug: 363816648
Change-Id: I1a0d7ad852b375e77aa6c8fff0112e9c1014a56e
2024-09-02 00:27:04 +00:00
Treehugger Robot
a164bd2210 Merge "Add soong config use_google_qns in device/google/zumapro/device.mk" into main 2024-08-30 07:22:56 +00:00
kellyhung
cd60c30bef Add soong config use_google_qns in device/google/zumapro/device.mk
Bug: 360757079
Test: lunch r11-trunk_staging-userdebug; m grilservice
Flag: EXEMPT bugfix
Change-Id: I3254d83d0aadc403cb6ce6470e601cf336957319
2024-08-30 06:39:41 +00:00
Treehugger Robot
a695b0f4a1 Merge "audio: set util_clamp_min for s/w spatializer to avoid glitches" into main 2024-08-29 09:02:42 +00:00
Treehugger Robot
6089bd06de Merge "16kb: Verify that zumapro prebuilts are 16kb compatible" into main 2024-08-29 02:01:48 +00:00
David Li
ffb6a0852e audio: set util_clamp_min for s/w spatializer to avoid glitches
- power measurement result is on b/262803152#comment5

Bug: 355912013
Test: spatial audio
Flag: EXEMPT bugfix
Change-Id: I1b0712254875bbecc89cd2355a3eac18d3789666
2024-08-28 07:56:52 +00:00
Juan Yescas
14e4154b5e Rename fstab.persist to fstab.rw.persist for zumaproe devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I457f169f14a937d96d8c1a7022455c58b9240b07
2024-08-27 01:28:17 +00:00
Juan Yescas
a5372bac75 16kb: Verify that zumapro prebuilts are 16kb compatible
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
Test: Build target
Flag: EXEMPT bugfix
Change-Id: I026a3094fc84234777f7885e0fec0c12efcd3079
2024-08-23 16:19:55 +00:00
Vadym Omelnytskyi
fbbc2544ea Merge "display: remove zumapro color data protobuf" into main 2024-08-20 15:32:13 +00:00
Treehugger Robot
6932c8276c Merge "persist.sys.hdcp_checking: make default drm-only" into main 2024-08-16 15:39:06 +00:00
Ji Soo Shin
cfd26f0431 persist.sys.hdcp_checking: make default drm-only
In case of always, we always enable hdcp regardless of drm status.

Bug: 359951297
Flag: EXEMPT bugfix
Change-Id: I477f5c0cfa1350c295c3722a35ab42fb7a9a73e6
Signed-off-by: Ji Soo Shin <jisshin@google.com>
2024-08-16 11:18:21 +00:00