Commit graph

4925 commits

Author SHA1 Message Date
Will McVicker
e877784aa7 [automerger skipped] fstab: allow unlocked devices to boot with AVB test key am: 47ca5891c8 -s ours
am skip reason: Merged-In I11edf6e50411a05c6723f7523f3672a9a8116d7a with SHA-1 a9ba6b344f is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2794142

Change-Id: I2cc67b57702ee6289bf055be54b0aceadd665d6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-09 17:40:59 +00:00
Herbert Xue
ce1e182fab Remove unused Android.mk under device/google/gs201
Remove these two Android.mk that is no longer used.

Bug: 309921036
Test: NA
Change-Id: Ib8703a3ace3eed7b13f4b851dc0eb2aef1d70c55
2023-11-09 18:56:29 +08:00
Devika Krishnadas
4217a458ba Revert^2 "Use graphics allocator 2"
d2adab192e
Bug: 287353739
Test: VtsHalGraphicsMapperV4_0TargetTest

Change-Id: I8e43a268441416af28631777f560352bc56b2773
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2023-11-08 23:21:06 +00:00
Will McVicker
47ca5891c8 fstab: allow unlocked devices to boot with AVB test key
Set `avb_keys=no_such_key` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel. This allows a few things:

1) Dogfooders can flash a custom kernel without wiping their device.
   This can help developers track down hard-to-reproduce bugs without
   rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
   device or packaging the kernel with an Android platform build.

Note: we are using "no_such_key" to ensure an AVB keys file doesn't
accidentally get created.

Test: Flash CI build. Then flash custom kernel on top.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
Merged-In: I11edf6e50411a05c6723f7523f3672a9a8116d7a
2023-11-08 19:22:01 +00:00
Will McVicker
b438a64948 fstab: allow unlocked devices to boot with AVB test key am: a9ba6b344f am: eac65ae6df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25300418

Change-Id: Ic74fa4b1ed490e4046bbd9799b767627741e98ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 10:13:14 +00:00
Will McVicker
eac65ae6df fstab: allow unlocked devices to boot with AVB test key am: a9ba6b344f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25300418

Change-Id: Ia9ce83dd6084b4ef1cbc021b8e26655ffa501ff7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 09:29:18 +00:00
Will McVicker
a9ba6b344f fstab: allow unlocked devices to boot with AVB test key
Set `avb_keys=no_such_key` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel. This allows a few things:

1) Dogfooders can flash a custom kernel without wiping their device.
   This can help developers track down hard-to-reproduce bugs without
   rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
   device or packaging the kernel with an Android platform build.

Note: we are using "no_such_key" to ensure an AVB keys file doesn't
accidentally get created.

Test: Flash CI build. Then flash custom kernel on top.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
2023-11-07 09:58:35 -08:00
Jeff Chang
5187b301cb Update default allow list for VRR small dirty detection
The feature will be enabled by the feature flag

Bug: 308742727
Test: Build
Change-Id: Iff7cfbe3ebc2e6acbfafc0b44b57dc446cca1f89
2023-11-02 10:48:19 +00:00
Jasmine Cha
2f628f5fd2 audio: remove prescale for BT absolute volume
Bug: 302553525
Test: build pass

Change-Id: I55ed6d8f96ccfca74317b70bc9b5a2ff28bbba50
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-11-01 06:02:04 +00:00
George Lee
6c78c45aae pixelstats: Add brownout detection path
Bug: 307392882
Test: Local generate brownout for data upload
Change-Id: I06b846b9a0a9d8eb4edd5e1636248a44940f0683
Signed-off-by: George Lee <geolee@google.com>
2023-10-31 17:05:58 +00:00
mincheli
96a9ee2a18 gs201 includes TTS voice packs from gs-common/device.mk
Bug: 140145973
Test: manual test
Change-Id: I8207ccc370e1f8d811273f0773851f42b945ccd4
2023-10-31 06:17:07 +00:00
Will Song
39337da9be PREUPLOAD: Enforce jsonlint in preupload
Checks syntax and simple brace balances for all JSON files.

Test: Edit any json and try upload
Bug: 127794899
Change-Id: I12e5ca0a0fe249f7d93adbd540d4964cafb09249
2023-10-29 06:14:31 +00:00
Android Build Coastguard Worker
80d7e99173 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25159378'] into udc-qpr1-release.
Change-Id: I85f3aed1536fcb97785f040aca47e3f837165850
2023-10-27 03:36:07 +00:00
Paul Lawrence
fbfc56b8aa Run fsck to resolve possible data corruption
Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs

See b/305658663 for context

Bug: 305658663
Test: Make sure fsck run after first boot and not after second
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e4a81c0e8f9f8d89f0e42e8fd7ec40cec6b887ed)
Merged-In: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
2023-10-27 03:32:02 +00:00
Paul Lawrence
c0b7446f14 Run fsck to resolve possible data corruption am: e4a81c0e8f am: 5af53f9a60 am: 288ad23091 am: b182dc0c50
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25159378

Change-Id: I015ff47587f7d7740af9948171202dfb375dfb80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 21:00:19 +00:00
Paul Lawrence
b182dc0c50 Run fsck to resolve possible data corruption am: e4a81c0e8f am: 5af53f9a60 am: 288ad23091
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25159378

Change-Id: I8c6497260856f4789ba6138323c2792665920e62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 20:31:19 +00:00
Paul Lawrence
288ad23091 Run fsck to resolve possible data corruption am: e4a81c0e8f am: 5af53f9a60
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25159378

Change-Id: If7eb853cdfc35f00225629365bb202521cf62406
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 20:07:14 +00:00
Paul Lawrence
704aa588cb Run fsck to resolve possible data corruption am: e4a81c0e8f am: b6504003e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25159378

Change-Id: Idd812def29fe18a8464c9b8ca3a1dadd1ea6e0aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 20:04:56 +00:00
Paul Lawrence
7961392f6c Run fsck to resolve possible data corruption am: e4a81c0e8f am: 2d512d7bf9 am: 9e3d13100b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25159378

Change-Id: Ic49bda2c1d346b773be23ebd965bf8c5e831a621
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 20:04:10 +00:00
Paul Lawrence
5af53f9a60 Run fsck to resolve possible data corruption am: e4a81c0e8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25159378

Change-Id: Ib529340822a9fc0386dc4c2a33885a2bf40d1f54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 19:34:15 +00:00
Paul Lawrence
9e3d13100b Run fsck to resolve possible data corruption am: e4a81c0e8f am: 2d512d7bf9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25159378

Change-Id: Icad12c75255fd9e4e4c0f8b7721597fcbf695b4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 19:34:05 +00:00
Paul Lawrence
b6504003e4 Run fsck to resolve possible data corruption am: e4a81c0e8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25159378

Change-Id: I5e6dee96f65fae4b4a678ba6ed3e2f39208a69f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 19:32:25 +00:00
Paul Lawrence
2d512d7bf9 Run fsck to resolve possible data corruption am: e4a81c0e8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25159378

Change-Id: If504cd1fcf3828ed48aef14336a6262a9490d43f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 19:31:44 +00:00
Paul Lawrence
e4a81c0e8f Run fsck to resolve possible data corruption
Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs

See b/305658663 for context

Bug: 305658663
Test: Make sure fsck run after first boot and not after second
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
2023-10-26 01:00:50 +00:00
Jenny Ho
d9437fa21f pixelstats: add gmsr path
Bug: 300590097
Change-Id: I585de78116d750fdea7e310c62ce91f98c0b9540
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-10-25 15:14:06 +08:00
Leo Chen
8135bd2ba4 Update IDisplay to V10
Test: Build pass
Bug: 299410182
Change-Id: Ic4ffb1139861fc805283421b3e6fa48cb3f30f4a
Signed-off-by: Leo Chen <yinchiuan@google.com>
2023-10-24 02:40:44 +00:00
Xin Li
000cf085d1 [automerger skipped] Merge 10952656 am: 3e1b44b391 -s ours am: 52021a3379 -s ours
am skip reason: Merged-In Iaf4ad9cdd9f6b2127547d2c116f966413011009b with SHA-1 c04e26a280 is already in history

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

Change-Id: Icd4c3465d5fc2c1be81c1c744a64c1d8d4f976e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 23:54:54 +00:00
Xin Li
52021a3379 [automerger skipped] Merge 10952656 am: 3e1b44b391 -s ours
am skip reason: Merged-In Iaf4ad9cdd9f6b2127547d2c116f966413011009b with SHA-1 c04e26a280 is already in history

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

Change-Id: Ib0255f9b4dd1c648e3384071343f25219823d64e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 18:48:08 +00:00
William McVicker
c88501a606 Revert "fstab: allow unlocked devices to boot with AVB test key"
This reverts commit c13cd03ccf.

Reason for revert: Let's go through a proper security review for this.

Bug: 306264015
Change-Id: I51fe3f32f8a4ec92cb2d38869568a51dc2522bb4
2023-10-19 17:02:25 +00:00
Will McVicker
c13cd03ccf fstab: allow unlocked devices to boot with AVB test key
Set `avb_keys=/avb` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel that is signed using a test key.
This allows a few things:

1) Dogfooders can flash a custom kernel without wiping their device.
   This can help developers track down hard-to-reproduce bugs without
   rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
   device or packaging the kernel with an Android platform build.

Test: flash production userdebug build, then flash custom kernel.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
2023-10-18 19:46:02 +00:00
Bruno BELANYI
131a635fe9 Enable HDR shader priming in SurfaceFlinger
Bug: 295257834
Test: manual - check that HDR shaders are generated after applying
Change-Id: Icf67e64500aa8982dae0cf4a5540389da62cbf26
2023-10-18 12:44:02 +00:00
Xin Li
3e1b44b391 Merge 10952656
Merged-In: Iaf4ad9cdd9f6b2127547d2c116f966413011009b
Change-Id: I9dbfd58b177653ad8bf2e7bba4e1ac4f719be1c6
2023-10-17 10:06:29 -07:00
Jasmine Cha
cc794e617c audio: fix typo
Bug: 305838207
Test: build pass/ recording runtime tuning

Change-Id: I1d0bb63910b2b3e249809e89ff1408f28976855b
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-10-17 15:12:10 +08:00
guibing
7b8a531469 init: gs201: update vendor_sched procfs paths
Vendor sched procfs path hierarchy gets updated in kernel.
Update the paths in init rc file and task profiles to match the change.

Bug: 289151587
Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases
      -t com.google.android.perfwbs.pts.SchedulerTest
Change-Id: I94f17627f913e20323f9fe111a34fcc666f38a72
2023-10-13 17:18:24 +00:00
Minchan Kim
66608337b7 gs201: change swap_free_low_percentage to 10
Since LMKD introduced aggressive kill for cached apps, we can change the
swap_free_low_percentage back to 10.

Bug: 300660611
Change-Id: I0a37a3bb9470884c0522bc471704031ccaba4247
Signed-off-by: Minchan Kim <minchan@google.com>
2023-10-11 20:44:43 -07:00
Xin Li
338aaa1572 [automerger skipped] Merge Android 14 am: 9cce39b482 -s ours am: 30817a576a -s ours am: c8a8b0a6f7 -s ours am: 2c97fadac6 -s ours am: c04e26a280 -s ours
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021

Change-Id: I3c630cbc0e48922d883ca2db7381fdd1b5f4836f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-07 00:20:35 +00:00
Xin Li
c04e26a280 [automerger skipped] Merge Android 14 am: 9cce39b482 -s ours am: 30817a576a -s ours am: c8a8b0a6f7 -s ours am: 2c97fadac6 -s ours
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021

Change-Id: Iaf4ad9cdd9f6b2127547d2c116f966413011009b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 11:01:05 +00:00
Xin Li
2c97fadac6 [automerger skipped] Merge Android 14 am: 9cce39b482 -s ours am: 30817a576a -s ours am: c8a8b0a6f7 -s ours
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021

Change-Id: I942a135279b6108d56f5b471649d51a8ad46273e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 09:51:15 +00:00
Xin Li
c8a8b0a6f7 [automerger skipped] Merge Android 14 am: 9cce39b482 -s ours am: 30817a576a -s ours
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021

Change-Id: I7c7af286c7b76518930fcd7266f4454da74ea735
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 08:59:35 +00:00
Xin Li
30817a576a [automerger skipped] Merge Android 14 am: 9cce39b482 -s ours
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021

Change-Id: I3eda5ba99136a9727bd622eedb88c5bf48982e97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 07:52:34 +00:00
Roy Luo
26abdf4ee2 Usb: capture and upload Suez metric VendorUsbDataSessionEvent
Upload metrics for the last data session that just ends upon
data role changes. The change is purely metric collection and
does not change any business logic.
This is a direct CP from ag/24816727

Bug: 297224564
Test: Trigger metric upload for both host and device mode and
      verify it by statsd_testdrive
Change-Id: I823ae8712b7914cfc7f6c6379acb3749d13c0974
(cherry picked from commit ccb35c81ff0bbfb013136bae7a572280b196bd1a)
2023-10-05 23:50:03 +00:00
Xin Li
9cce39b482 Merge Android 14
Bug: 298295554
Merged-In: I6f85889399c989a9a65ab7e7178fd02f89e7847f
Change-Id: Iba298169eab2a1765b463753769afdc52a3d8c92
2023-10-05 16:24:22 -07:00
Arthur Hung
d6af0eeb28 Add default allow list for VRR small dirty detection
The feature will be enabled by the feature flag

Bug: 283055450
Test: Build
Change-Id: Ic774b550f897e349cce0804851d4aca1ad38ee02
2023-10-04 08:06:14 +00:00
Roy Luo
99c4d0f276 usb: upgrade stats AIDL to v2
Upgrade stats AIDL to v2 following pixelstats lib.

Bug: 297224564
Test: Build
Change-Id: Ib40d1366402f06feeb853f3d6141f1595a1113ce
2023-10-03 20:49:32 +00:00
Midas Chien
6116a993a4 display: allow hwcomposer to access DRM module debug file
Change the owner and group of the DRM module debug file to system to
grant permission for hwcomposer.

Bug: 301599195
Test: check HWC can access it
Change-Id: Ife250a1a4984f94cc52bc1b3e52deeffbc5b5410
2023-10-02 01:52:28 +00:00
Snehal
076b774f9e Add trusty code coverage controller daemon
Bug: 289523068

Change-Id: Ia385a7d4173f72cfefcd69c61455ea89b6d1e879
2023-09-29 09:13:25 +00:00
Maciej Żenczykowski
050b892544 OWNERS: master -> main
Change-Id: Ie3e910539cca4bb85f00cc9a67971b95d6f5e919
2023-09-28 00:30:07 +00:00
Android Build Coastguard Worker
2097946299 Snap for 10865315 from ac76fcf025 to udc-qpr1-release
Change-Id: I1ccf0f7464ea39906a2a70df04e458f59a5f3800
2023-09-26 23:02:36 +00:00
Ian Elliott
fc6c1c9837 Revert "gs201: Enable SkiaVk as RenderEngine backend" am: ac76fcf025 am: 8aa21312f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24864821

Change-Id: I829c2f4e38b69a33ffab2fe3644f77c88e8334bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 19:16:08 +00:00
Ian Elliott
8aa21312f5 Revert "gs201: Enable SkiaVk as RenderEngine backend" am: ac76fcf025
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24864821

Change-Id: I75ee999893328ad08b0921fdb6d1194995092913
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 18:19:03 +00:00