Commit graph

309 commits

Author SHA1 Message Date
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
Vadym Omelnytskyi
c9f09aaf7e display: remove zumapro color data protobuf
Remove color data protobuf and command that put protobuf to the Android
filesystem

Bug: 309149099
Flag: EXEMPT refactor

Test: adb shell ls /vendor/etc/display_colordata_cal0.pb
Test: change color mode in Display Settings and confirm the same colors
Change-Id: I2727e9aa1baa35d814e5909c31b1c22f55885e61
2024-08-14 20:20:27 +00:00
Terry Huang
7a2d14c2e9 Optional building Vendor Telephony proprietary by flag
Bug: 359410792
Change-Id: I0edcdc1a9103741c603e01c58fe55e8e8c3c060a
Test: Build pass
Flag: EXEMPT bugfix
2024-08-14 05:56:41 +00:00
Gary Jian
09a87fd404 Merge "Use new format of sit_net_radio_access_specifier" into main 2024-08-07 06:11:08 +00:00
Juan Yescas
a1d5c9b4f3 Rename fstab.postinstall to fstab.ro.postinstall for zumapro devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I762f8d757739e8c9685df73b7e39f10b4ce25d34
2024-08-06 23:41:48 +00:00
Treehugger Robot
0e6653cecc Merge "Rename fstab.modem to fstab.ro.modem for zumapro devices" into main 2024-08-06 20:43:48 +00:00
Juan Yescas
e7b5c5ba0b 16kb: Set PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO in zumapro devices
The PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO flag makes sure that the bionic's
PAGE_SIZE macro is not used.

Bug: 346873199
Test: Built targets
      $ get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
      true
Flag: EXEMPT bugfix
Change-Id: I267363a23c28edc564b61074f53f223fafdcc2b2
2024-08-06 03:55:20 +00:00
Juan Yescas
970dfcb4ee Rename fstab.modem to fstab.ro.modem for zumapro devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I72d7d4138b23457ba23422e59d7745ab2e2017e0
2024-08-05 23:57:59 +00:00
Juan Yescas
82e7a82825 16kb: Config rw filesystem based on TARGET_RW_FILE_SYSTEM_TYPE
The TARGET_RW_FILE_SYSTEM_TYPE will contain the rw filesystem
to use. The rw filesystem for the devices can be f2fs or ext4.

If TARGET_RW_FILE_SYSTEM_TYPE is not defined, the default
fs will be f2fs.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Ib087a06a98525ca449253dffce9df470a05432d3
2024-08-01 10:44:17 -07:00
Juan Yescas
a17b16ccbd 16kb: Move efs rw partitions to its own fstab file
The efs read/write partitions will be part of the fstab.rw.efs
file and will have their own RC file to mount them.

This change allows us to identify the different partitions and
their types. It will also make easier to select different
RC files depending on the page size.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I3eb877ecc3ccf435110ee0da4a949b44729b3bdb
2024-08-01 08:55:04 -07:00
Gary Jian
80a5a81d07 Use new format of sit_net_radio_access_specifier
Bug: 353545247
Test: manual
Flag: NONE, Vendor change does not support flags
Change-Id: I50c5aad2f414d2cef9cb0ead9fd7374bd7639705
2024-08-01 13:10:47 +00:00
Treehugger Robot
d606a584ec Merge "audio: set flag of speaker post-processing prebuilt" into main 2024-08-01 05:51:12 +00:00
Jasmine Cha
8011433e1c audio: set flag of speaker post-processing prebuilt
Flag: EXEMPT refactor
Bug: 352461861
Test: build pass

Change-Id: I85a2d2cfa58921d0c89cf31ead9dae82edb7a08f
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-07-31 02:11:35 +00:00
Treehugger Robot
9930142240 Merge "Add soong config variable for PowerAnomalySitril" into main 2024-07-26 02:57:19 +00:00
Jerry Huang
629562c19f Merge "zumapro: video: change to use c2 "default" AIDL service" into main 2024-07-18 07:08:55 +00:00
Herbert Xue
9ada8fb5e4 Add soong config variable for PowerAnomalySitril
Set the variable is true when USE_LASSEN_OEMHOOK is true and
BOARD_WITHOUT_RADIO is not true.

Flag: EXEMPT bugfix
Bug: 325857852
Test: m ConnectivityMonitor
Change-Id: I3526c27ea9f48455891c2839fb37bf9a95bd78e0
2024-07-16 14:31:21 +08:00
Aaron Tsai
9b2b5a8cb0 Remove USE_WHI_GRIL_RECOVERY flag
- move to gril.mk

Bug: 343012301
Test: build pass
Flag: EXEMPT bugfix

Change-Id: I6882625c5bfde2d496eb844f7f08566cad89874c
2024-07-12 03:17:14 +00:00
Treehugger Robot
2dd209f31b Merge "Allow camera configurations with no flash light" into main 2024-07-11 15:48:03 +00:00
Joerg Wagner
b360d01a75 Merge "Increase the max core index for protected TLS allocations to 4" into main 2024-07-11 12:07:57 +00:00
Jörg Wagner
4618cbe15c Increase the max core index for protected TLS allocations to 4
Pixel has removed unnecessary allocation padding, and we now pass
dEQP with a maximum physical core index setting of 4, which allows
the driver to utilize 2 GPU cores (1001b) in the extreme tests.

Bug: 221255664
Test: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.protected_memory.*'
Flag: EXEMPT bugfix
Change-Id: Ie4f0b6427bc3cfbb6ab1e8b11910c88dab76eb9a
2024-07-11 11:20:01 +00:00
Jeremy Kemp
0207cbbb83 Merge "Add Mali OpenCL ICD to PRODUCT_PACKAGES" into main 2024-07-09 10:51:44 +00:00
Jeremy Kemp
9b61db2e86 Add Mali OpenCL ICD to PRODUCT_PACKAGES
Bug: 324057328
Test: clpeak
Change-Id: I864331b449315d53f8da11a374f2816c599e4e6d
2024-07-08 15:39:50 +01:00
Boon Jun
bef0cb7c8d Allow camera configurations with no flash light
Let clients determine the configuration of camera flash
features. Copy the rule by conditions:
- android.hardware.camera.autofocus.xml for devices with no flash
- android.hardware.camera.flash-autofocus.xml for devices with flash

Bug: 350371742
Test: adb shell pm list features
Flag: EXEMPT build file change
Change-Id: If4c9b73f2ca934374c4870db3954702f3522b9a0
2024-07-05 02:56:33 +00:00
Mike McTernan
4ec8dfa1c7 APC/TUI: remove support for APC
Flag: EXEMPT build file change
Bug: 351151445
Test: m && test on device
Change-Id: I09ab55ed5e5e1cafc3cdc3ce7df8c75124d14281
2024-07-04 14:55:53 +00:00
Kah Xuan Lim
62e82d5678 Disable modemml-tflite-service
The service is causing CTS test failure as it has Kotlin files which are not allowed for system services. It's safe to disable the service temporarily as we don't have any user depending on it for now.

Bug: 349263931
Test: Manually flashed device with go/ab/P76995945, no errors observed
Flag: EXEMPT bugfix
Change-Id: I087a147d6b111c5ea1e89a3ea48961adef733c57
2024-07-02 08:13:09 +00:00
Tim Lin
e116a1fba4 Include ril.mk after DEVICE_MANIFEST_FILE is reset
Bug: 348631842
Flag: EXEMPT bugfix
Test: check carrier ID property is set correctly

Change-Id: I40160c14f65d5193962dd3f1e2862d129c8404b6
2024-06-30 12:56:24 +00:00
liangjlee
b56737bc8b zumapro: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Change-Id: I219168dd67835647fc4fc0a2f35484b634b94b8f
Signed-off-by: liangjlee <liangjlee@google.com>
2024-06-27 02:17:51 +08:00
Rick Chen
ef6c3c593d Scale the flexibility for sensor features settings
Flag: EXEMPT bugfix
Bug: 345660192
Bug: 345662463
Test: adb shell pm list features
Change-Id: I882d13f988b20628e6f6fe47d55f0ea6ad54e7ab
Signed-off-by: Rick Chen <rickctchen@google.com>
2024-06-25 18:04:28 +08:00
Jerry Huang
f04b28dc41 zumapro: video: change to use c2 "default" AIDL service
Bug: 322920559
Change-Id: Ia2e6cac052bc0ee417e179f61804eada9ae87bf5
2024-06-17 08:05:46 +00:00
KRIS CHEN
4021b0a973 Merge "zumapro: build fingerprint dump" into main 2024-06-12 04:39:32 +00:00
Cathy Hsu
931d5dc163 Remove display related warnings
Bug: 338548109
Bug: 340971451
Bug: 340971442
Test: No display warnings show
Change-Id: I38ae75b67ce2779cd908ab31ef4fb1a61e00e45e
2024-06-11 11:22:42 +00:00
Hsiu-Chang Chen
3f2b22c54c wifi: Move WIFI_BRCM_OPEN_SOURCE_MULTI_AKM to project-specific folder
Since not all projects on this platform support open source multiple
akm, move WIFI_BRCM_OPEN_SOURCE_MULTI_AKM to project-specific folder.

Bug: 345118973
Test: Build Pass
Change-Id: I80cf83e06eb1199dd4a9b702a9dec7f2af0463ec
2024-06-11 07:43:26 +00:00
Salmax Chang
ad22d456bf Merge "Revert "Add modemml-tflite-service to system_ext"" into main 2024-06-11 03:43:30 +00:00
Kah Xuan Lim
77e5ba0426 Revert "Add modemml-tflite-service to system_ext"
Revert submission 27728915-modemml-tflite-system-ext

Reason for revert: Build breakage at ab/11950917
Reverted changes: /q/submissionid:27728915-modemml-tflite-system-ext

Change-Id: I4b6318df2c29c3cd71e4925a50328c5e3902f543
2024-06-11 03:19:55 +00:00
chenkris
fae17e2f41 zumapro: build fingerprint dump
Bug: 346450599
Test: adb bugreport
Change-Id: Ic623a7b69110e1bb9c69544945d6180fbae2d30f
2024-06-11 02:51:42 +00:00
Kah Xuan Lim
c5832c7902 Merge "Add modemml-tflite-service to system_ext" into main 2024-06-11 02:49:36 +00:00
Treehugger Robot
ee295f8029 Merge "Add property for PDK ROM" into main 2024-06-07 10:32:44 +00:00
Kah Xuan Lim
5e28bfad5e Add modemml-tflite-service to system_ext
Bug: 343367700
Test: Build pass
Change-Id: I2dc03a4f253a53db536a38041bc2714960577b41
2024-06-07 05:40:30 +00:00
Xiaofan Jiang
91126e3fd1 shamp: enable only for board with modem
Bug: 341164599
Change-Id: I6e6575f7ba98a293dafd51a4825cdf9d335fbb14
2024-06-06 07:55:12 +00:00
Kah Xuan Lim
548d6a1166 Merge "Disable modemml-tflite-service for aosp build" into main 2024-06-05 07:50:58 +00:00
Kah Xuan Lim
6f9888658d Disable modemml-tflite-service for aosp build
For aosp build, the vendor module `modemml-tflite-service` is not included so it shouldn't be added as a system_server jar.

Bug: 343341492
Bug: 343367700
Test: Build with target non-aosp targets in presubmit and aosp targets following the reproduce steps in b/343341492
Change-Id: Ib32ec2c31570eb3566c80de4ed510f17ec9e9a39
2024-06-05 03:27:48 +00:00
Richard Chou
66af5950c1 zumapro: add build include for Recorder app in gs-common
Test: build pass
Bug: 338879856
Change-Id: I76ebf9f6d99857906dc3708274932898519e7b38
2024-06-04 11:53:43 +08:00
Terry Huang
c20df78db9 Add property for PDK ROM
The property would be used to check if the ROM is PDK.

Bug: 331725606
Change-Id: I0e1fa3366effb546a60b89c8bcf14fcd74dcb51f
Test: Check the property in PDK build
2024-05-30 09:42:41 +00:00