Commit graph

1321 commits

Author SHA1 Message Date
Juan Yescas
a24d3877e1 16kb: Config fstab for targets that only boot 16kb kernels
The zumapro targets that only boot with 16kb kernels will
have this filesystem setup for data and metadata partitions:

- data partition:     f2fs
- metadata partition: ext4

Important: For the HW file encryption to work in the data partition in 16kb kernels the `dusize_4k` parameter has to be set:

```
fileencryption=:aes-256-hctr2:inlinecrypt_optimized+wrappedkey_v0+dusize_4k
```

Bug: 350101696
Test: built pgagnostic target and checked the fs for mounted
      partitions.
Flag: EXEMPT bugfix
Change-Id: I566618e6fa1db2ff4463e00e8d091e7226ba0399
2024-09-11 23:55:31 +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
Treehugger Robot
9fdb22a36a Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main 2024-09-09 18:10:32 +00:00
Krzysztof Kosiński
fc85b23b29 Delete PRODUCT_FULL_TREBLE_OVERRIDE.
This variable doesn't do anything for devices launching with
API level 26 or later, and the initial zumapro devices (Pixel 9)
launched with API level 34.

Bug: 307369186
Test: presubmit
Flag: EXEMPT trivial build cleanup
Change-Id: If23568e7e1fc0dff05467e6b4fc97376c06c2233
2024-09-09 17:11:06 +00: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
Xin Li
6677617140 [automerger skipped] Merge 24Q3 to aosp-main-future am: 6bbbcd5877 -s ours am: 277183f3cf -s ours
am skip reason: Merged-In I2cdbd8126e5684891b6424d262aa505d2aa641b7 with SHA-1 9c87f41357 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/29215643

Change-Id: I3c436e9b5391ee217318c2b263e16977159f27e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 04:18:43 +00:00
Xin Li
277183f3cf [automerger skipped] Merge 24Q3 to aosp-main-future am: 6bbbcd5877 -s ours
am skip reason: Merged-In I2cdbd8126e5684891b6424d262aa505d2aa641b7 with SHA-1 9c87f41357 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/29215643

Change-Id: Ia34ee40e9ee2f35da01833a8d1929421a3723743
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:59:06 +00:00
Xin Li
6bbbcd5877 Merge 24Q3 to aosp-main-future
Bug: 357762254
Merged-In: I2cdbd8126e5684891b6424d262aa505d2aa641b7
Change-Id: I8c43a5249c27aa2bba31aa6714d386f275e7d127
2024-09-06 13:48:39 -07:00
Neo Yu
e652762f7e Merge "Move define of hidl radioext to gs-common" into main 2024-09-06 01:41:13 +00:00
Carmen Yip
3136f05434 Merge "extended_log: update directory permissions for zumapro" into main 2024-09-05 04:02:12 +00:00
carmenyip
e7925e4638 extended_log: update directory permissions for zumapro
Bug: 336638376

Test: verify with `ls -la` on directory
Flag: NONE changing directory permissions only
Change-Id: Ic978ae7af017a49564507865641db4d9892449cc
2024-09-05 02:59:26 +00: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
Neo Yu
c9f3f6d8a1 Move define of hidl radioext to gs-common
Bug: 283064367
Test: verify with test ROMs
Flag: EXEMPT HAL interface change
Change-Id: Ia587c3dbca175e8129acd863909ca68e5df1dd87
2024-09-02 15:36:56 +08:00
Treehugger Robot
480651ab83 Merge changes I8e4aa0b2,I09499642 into main
* changes:
  Rename enable_usb dev node to move_data_to_usb
  Usb: Update UsbDataStatus while being docked
2024-09-02 02:39:37 +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
83ccb2a768 Merge "Delete mapper4 manifest" into main 2024-08-30 01:30:01 +00:00
KRIS CHEN
1a6e5bb135 Merge "Set permission for local_hbm_delay_frames" into main 2024-08-30 01:19:49 +00:00
Rick Yiu
53452df2c5 Restore preferred_idle_mask to the default setting
The preferred_idle_mask is changed during boot time, but it does not
restore to the default setitng as in powerhint, so some node may keep
the wrong value when framework restarts.

Bug: 248621289
Test: build pass
Flag: NONE init rc file change does not support flags
Change-Id: Ib11681b9a751b1d67d02e9788d888e515d5a3519
2024-08-30 00:06:56 +00:00
Badhri Jagan Sridharan
f16ad49244 Rename enable_usb dev node to move_data_to_usb
kernel dev attribute has now been renamed from enable_usb
to move_data_to_usb. Update the same.

Bug: 251381400
Bug: 357028350
Flag: EXEMPT bugfix
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I8e4aa0b2e09bfef807f0169eabb79e2fa2e4d2c7
(ported from ag/20309232)
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-08-29 14:28:52 +00:00
Badhri Jagan Sridharan
7ebbf913ef Usb: Update UsbDataStatus while being docked
Bug: 275150939
Bug: 357028350
Change-Id: I09499642012c7e95bb5a5fef1ac6eb7b8c4e6832
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
(ported from ag/22273065)
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-08-29 14:02:06 +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
Ankit Goyal
ee8b790ce0 Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: I8bc3af1f566e649373aefd12de82ae1195681eb5
2024-08-28 22:56:42 -07:00
chenkris
bcf7f4be23 Set permission for local_hbm_delay_frames
Bug: 362149568
Test: enroll and authenticate fingerprint
Change-Id: I84555689be95f0e0e8d8f1b8b154be438a9483f1
2024-08-29 04:53:40 +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
Amit Sunil Dhamne
686df57c05 Merge changes I1bc87291,Id3ae7e7a into main
* changes:
  usb: Modify sdp enumeration timeout value in charger mode
  UsbGadget: Update SDP enum timeout when gadget is pulled up
2024-08-21 01:37:21 +00:00
Amit Sunil Dhamne
b171f02f95 usb: Modify sdp enumeration timeout value in charger mode
Write to /sys/class/typec/port<...>/device/update_sdp_enum_timeout
to reduce SDP enumeration timeout value when device is in charger
mode. This will enable faster detection of a DCP port.

Test: Validate (in charger mode) that the sysfs attribute is 1
      (meaning lower sdp timeout value is being used). Read dmesg to
      see print showing timeout value is 5000ms.
Bug: 356685367
Flag: EXEMPT bugfix
Change-Id: I1bc872911d7f1eab26e62fe6f12fba05608e0f83
(porter from commit 3644ca07e87069fd2bed99f9f1fe13862ad43f62)
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2024-08-20 18:36:32 -07:00
Amit Sunil Dhamne
7f688ffd28 UsbGadget: Update SDP enum timeout when gadget is pulled up
Indicate to the kernel that the usb gadget is pulled up
by writing to `update_sdp_enum_timeout` sysfs node. Write
to this node will inform the kernel that it can lower the SDP
timeout alarm value which is used to detect an SDP port
vs a DCP.

Bug:356685367
Test: Check `update_sdp_enum_timeout` is written into after usb
      gadget is pulled up. Verify that the alarm timeout lowers.
Flag: EXEMPT bugfix
Change-Id: Id3ae7e7a20b236cec6604414a7f81860e868bdd0
(ported from commit d8e2a02998fc1db9be00dab69a213378fb3caede)
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2024-08-20 18:36:29 -07:00
Vadym Omelnytskyi
fbbc2544ea Merge "display: remove zumapro color data protobuf" into main 2024-08-20 15:32:13 +00:00
Chinmay Dhodapkar
f1cf42b099 Merge "Fwk timeout for enable/disable should be greater than the max time PSS takes to enable/disable" into main 2024-08-20 00:40:54 +00:00
Sungcheol Ahn
d80ab6d891 Merge "[Satellite] added Demo mode esos questionnaire button" into main 2024-08-19 23:55:01 +00:00
Pechetty Sravani (xWF)
6a2b257817 Merge "Revert "devices: Move cpufreq perf settings to gs-common"" into main 2024-08-19 06:53:10 +00:00
Pechetty Sravani (xWF)
35162f9a7c Revert "devices: Move cpufreq perf settings to gs-common"
Revert submission 28323508-common_perf_init

Reason for revert: Potential culprit for b/360746202- 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:28323508-common_perf_init

Change-Id: Ice26f3451cec999b3b2b3e2f42c0aa06eff68f75
2024-08-19 05:33:45 +00:00
Joen Chen
c85e95a1a2 Merge "init change owners of sysfs nodes frame_interval and expected_present_time" into main 2024-08-19 04:53:58 +00:00
Will Song
d1b0250fd7 devices: Move cpufreq perf settings to gs-common
Moving common cpufreq configurations to gs-common.

Bug: 335874870
Flag: NONE code refactor
Test: boot and check parameters
Change-Id: Ieff1185a09b310924ea60ebc4f2fbf6047e8592f
Signed-off-by: Will Song <jinpengsong@google.com>
2024-08-17 21:18:09 -07:00
Sungcheol Ahn
07028ee765 [Satellite] added Demo mode esos questionnaire button
Test: manual
Bug: 359897259
Flag: EXEMPT test only
Change-Id: Ia4990d8bde587bb5bcbc459539d129cd8e602345
2024-08-17 23:02:11 +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
Rick Yiu
69a77f0305 Add vendor HighPerformanceWI profile
For multi-window foreground app group.

Bug: 200769420
Test: build pass
Flag: NONE vendor task_profiles.json does not support flag
Change-Id: I6fb46c9eca2df2b1ca1b105f50c2cc550bb86db8
2024-08-16 09:01:43 +00:00
Chinmay Dhodapkar
c0c63a3781 Fwk timeout for enable/disable should be greater than the max time PSS takes to enable/disable
Bug: 359928177
Test: basic esos
Change-Id: I2afa1d8115e2b95f48560427882282f8bf805cb0
2024-08-14 23:53:20 +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
Thomas Nguyen
e0f64c3efd Merge "Use US geofence with better fidelity" into main 2024-08-14 18:45:05 +00:00
Thomas Nguyen
3ad1508be9 Use US geofence with better fidelity
Flag: EXEMPT resource only update
Bug: 357888681
Test: Manually verify using satellite S2 lookup tools and system test
with Skylo network
Test: 359574234

Change-Id: I05f9b6bafb1802c2c543ecaa8f66ecff560f50e9
2024-08-14 10:47:29 -07:00