Commit graph

4925 commits

Author SHA1 Message Date
Kyle Tso
cb51a640f4 usb: Log for retry on role switch
Add a log for the retry. Also define the sleep time in the header file.

Bug: 341996696
Change-Id: Ib3cc0c6ad576e7cda26b7f50cdc61d52e6349c78
Signed-off-by: Kyle Tso <kyletso@google.com>
(cherry picked from commit d17fdff5f81cff76adaa75d50f26318be8048123)
2024-06-13 17:09:11 +08:00
Kyle Tso
d8fffffda4 usb: Add retry on role switch
Bug: 341996696
Change-Id: I8caa65288af1588d24fea4aa6c5768d45d69bbd5
Signed-off-by: Kyle Tso <kyletso@google.com>
(cherry picked from commit ef5856a4474002cc35a51377adffddd4cb239796)
2024-06-13 17:07:23 +08:00
David Drysdale
76de5fed8d Reapply "Enable Secretkeeper HAL service on gs201"
(This reverts commit 9922a0fc12, ag/26704327.)

This requires that prebuilts on `main` have been updated to include the
April updates to the Secretkeeper TA (which includes fixes needed to
cope with larger and more realistic DICE chains).  Relevant devices:
- pantah
- felix
- lynx
- tangorpro

Bug: 291228655
Bug: 306364873
Bug: 341708664
Test: VtsSecretkeeperTargetTest on cheetah
Flag: build.RELEASE_AVF_ENABLE_LLPVM_CHANGES
Change-Id: I251a14221915fa8b2aaf3f1611c8c9f698596552
2024-06-12 11:28:57 +00:00
Jerry Huang
724b28eebf gs201: update c2.android.vp8.decoder performance point
Align performance point with the Pixel family of devices.

Bug: 343004271
Test: run cts -m MctsMediaDecoderTestCases
-t android.media.decoder.cts.VideoDecoderPerfTest
Change-Id: I06abe0d6d2387792a1492a4fd551549ca3bdfa49

Change-Id: Ib98ea9116e7280cd420502a2f1968e46faa26066
2024-06-12 06:54:20 +00:00
chenkris
c3eec0f7de gs201: build fingerprint dump
Bug: 346450599
Test: adb bugreport
Change-Id: I988649841bf915b9af12a1b628930dc0ee80f186
2024-06-12 04:39:27 +00:00
Leo Chen
f3985dc52f Update IDisplay to V12
Test: trigger test build
Bug: 309897479
Change-Id: I86b6117e10249165b6c2b8c534b86cd7f3549fb0
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-06-12 03:20:53 +00:00
Dennis Shen
cab0d60115 switch over to use new storage read api instead of
server_configurable_flags, this new read api lib will be needed for new
codegened aconfig flag lib.

Bug: 321077378
Test m and avd

Change-Id: I908ccf51b59ef4f475d8680003cb4aec61bdd12c
2024-06-07 14:16:50 +00:00
Xin Li
0a6360ec13 [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: d85477e3f3 -s ours
am skip reason: Merged-In Ib57dbaf32c2198e755e123cd894514bce5fb212e with SHA-1 1d318e584a is already in history

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

Change-Id: Ide86a79783cbfb2b8d91b516bc2749af7bf4c1b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:23 +00:00
Xin Li
d85477e3f3 Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: Ib57dbaf32c2198e755e123cd894514bce5fb212e
Change-Id: I16dcd1267407af7e9f899de1cb665e0ad7c25a47
2024-06-06 20:51:05 +00:00
Treehugger Robot
6d16ee061c Merge "explicit 'user root'" into main am: dd4d390489 am: d7434d32a3
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3102021

Change-Id: I12a342d536edfedc1284dfa33aa742ae8a96beed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 18:46:31 +00:00
Treehugger Robot
d7434d32a3 Merge "explicit 'user root'" into main am: dd4d390489
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3102021

Change-Id: I2dfb059b1e680237fe402c53410299efa0089863
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 18:23:22 +00:00
Treehugger Robot
dd4d390489 Merge "explicit 'user root'" into main 2024-06-06 18:01:55 +00:00
Utku Utkan
0a14f4d4aa Remove ACCESS_FINE_LOCATION permission pregrant for PCS on G2
FLAG: EXEMPT Cleanup of obsolete permission pregrant

Bug: 345021501
Test: m && flashall
Change-Id: I856f2d84eedf70bfa007a66c141b09c1f3c2930a
2024-06-06 17:36:57 +00:00
Jim Tang
cdb406e1b6 Make SUPPORT_MULTI_SIM recognizable in bp am: 10cd38d16e am: acfcabc8e9
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3115563

Change-Id: I675023e60a3b8e343f27fdb82f56caa872183416
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:35:35 +00:00
Jim Tang
acfcabc8e9 Make SUPPORT_MULTI_SIM recognizable in bp am: 10cd38d16e
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3115563

Change-Id: Iad9f16ed55040555187d8d05039b615a72b8add7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:16:02 +00:00
Jim Tang
10cd38d16e Make SUPPORT_MULTI_SIM recognizable in bp
This commit establishes a soong config variable `sim_count` for
easier converting Android.mk to Android.bp when dealing with multiple
SIMs.

Bug: 343823190
Test: presubmit
Change-Id: Idbd52236b95e8d69516226a71a848d591f181d94
2024-06-06 15:00:28 +08:00
jiangzining
2a0c178a14 [Scone] add BLUETOOTH_CONNECT to SCONE default permission
MBA Approval: b/330640278
Bug: b/343608940
Test: Build and Flash

Change-Id: I5fd9306599e58e9adb51aeea62b5de11c9147217
2024-05-30 08:58:50 +00:00
Cyan_Hsieh
b6cdb99079 Switch makefile owners to MK_OWNERS am: 702e14bdcf am: 294b00117e
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3107249

Change-Id: Ifc8f04b7a43161b98f39bf2fc2d527d9e7809afd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 22:00:00 +00:00
Xin Li
da3c13f4e2 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 64fedf02c7 -s ours
am skip reason: Merged-In I065f8e844d13d1d6d36c36ef689ff6c34b3e3fa6 with SHA-1 85b26e93cc is already in history

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

Change-Id: Ie32740f5ff12809c39fe3aa5eacc8d4aba21eb8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:49:11 +00:00
Cyan_Hsieh
294b00117e Switch makefile owners to MK_OWNERS am: 702e14bdcf
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3107249

Change-Id: If2200e9a5f35fe64ee76e5a26e27ca2481ae67bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 14:29:14 +00:00
Cyan_Hsieh
702e14bdcf Switch makefile owners to MK_OWNERS
Bug: 278167548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e72b281d89f769d2cf5000538cd6e9f3793b983c)
Merged-In: I6259f2fb9e561ce0ee5a61c9b6abbb745ace9d25
Change-Id: I6259f2fb9e561ce0ee5a61c9b6abbb745ace9d25
2024-05-29 10:00:19 +00:00
Steven Moreland
8ba12e3caa explicit 'user root'
Bug: 340953047
Test: N/A
Change-Id: I3cfa4844916973c12ed9cff54361070cc091551f
2024-05-25 00:38:44 +00:00
Sungtak Lee
17975d9a6b Remove codec2 hidl fragments
Bug: 321808716
Change-Id: Ibf440b28881e2e51e142299bd07ba2e19322883e
2024-05-17 06:25:24 +00:00
Jerry Huang
a75c6750da gs201: update performance point based on AP3A.240513.001
Bug: 335350051
Test: CtsMediaDecoderTestCases android.media.decoder.cts.VideoDecoderPerfTest
Change-Id: I06abe0d6d2387792a1492a4fd551549ca3bdfa49
2024-05-14 09:25:05 +00:00
Jörg Wagner
23691f7a02 Use 2024-03-01 deqp levels for GLES and Vulkan
Bug: 327589279
Change-Id: I68aa5d2ee438739c80f2e7b3e54ad96f435d515a
2024-05-14 08:55:03 +00:00
Edgar Arriaga
03c2cdb7ae Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: Ieed912786ce51f420da9b0e96ea5d93c22244176
2024-05-13 23:05:16 +00:00
Leo Chen
3cabae8619 Update IDisplay to V11-V12
V12 is not frozen yet. We should still allow V11 for `next` build.

Test: trigger test build
Bug: 309897479
Bug: 303162192
Change-Id: Iea9df905efd6bf131d178dcb483e76a0f9d58a14
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-05-08 08:40:39 +00:00
Xin Li
64fedf02c7 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I065f8e844d13d1d6d36c36ef689ff6c34b3e3fa6
Change-Id: I3e04f83e98e907febe6820c0a1f5abd18a3bd91a
2024-05-06 12:09:15 -07:00
Spade Lee
d18c314472 pixelstats: gs201: add all logbuffer paths am: 3ed14a059f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/27121095

Change-Id: If4d6eefac1b106bab3838ac361a28880ce0b954a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 05:24:16 +00:00
SaiChand Duppala
a7a56a898e Disable dumpstate strict-run flag in gs201
The change disables the dumpstate strict-run flag in gs201 devices, which is enabled by default. Disabling this flag increases the timeout for capturing incident report to 120 seconds, from the default 20 seconds. This is done because 20s isn't enough to capture incident report proto in some cases, especially when device is throttling.

Bug: 330400782

Test: Booted a gs201 device with the change. Then manually thermal throttled the device and captured bugreports. In some tests Incident report took a lot more more than 20s, and in all these cases it was succesfully captured.
Change-Id: I177bd4aebc550ade855a8abf46ce261eea94d352
2024-04-29 23:09:07 +00:00
Herbert Xue
fb954bbaab Update USES_LASSEN_MODEM soong config settings for aosp projects. am: 6cef6b07d1 am: c30b81b447
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3038856

Change-Id: Ice4ba90f3b9e5fd722e53d53c01f5c04b084143c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 09:59:33 +00:00
Herbert Xue
c30b81b447 Update USES_LASSEN_MODEM soong config settings for aosp projects. am: 6cef6b07d1
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3038856

Change-Id: I32c470db09c8ee5ff2278816c1020579468dd73f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 09:42:17 +00:00
Herbert Xue
6cef6b07d1 Update USES_LASSEN_MODEM soong config settings for aosp projects.
Add the flag "use_lassen_modem" for bp to do the same checking like
"USES_LASSEN_MODEM" in mk.

Bug: 330654744
Test: 1. lunch aosp_cheetah-trunk_staging-userdebug
      2. m RilConfigService
Change-Id: Icb99b639837237b2afeea858de14669d583bf385
2024-04-29 16:23:22 +08:00
Qian-Hao Huang
a140670b7a gs201: Change the path of prebuilt fips140.ko
Placing the fips140.ko at the same level as other kernel modules makes
it easier for automation tools to handle all of them.

Bug: 331791671
Change-Id: I7d69226d594fe068a6ccb99bb5a29620468f4aed
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-04-29 06:50:18 +00:00
Spade Lee
3ed14a059f pixelstats: gs201: add all logbuffer paths
Bug: 335934710
Change-Id: I20c24578a1e6ed08ad27cd9f4d37a55338ee8f73
Signed-off-by: Spade Lee <spadelee@google.com>
2024-04-29 01:40:51 +00:00
Enzo Liao
6d1c23b2ee [automerger skipped] Apply common SELinux policies related to ramdumps and coredumps to gs201. am: 0e14fcb53e -s ours
am skip reason: Merged-In If0f1f42dfe074bdc211e538f0aa4eb7e7494abe0 with SHA-1 1ae8911a2b is already in history

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

Change-Id: I0c7d04fc2c997141869f042f1464f2f5e4ef4935
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 08:08:35 +00:00
Enzo Liao
0e14fcb53e Apply common SELinux policies related to ramdumps and coredumps to gs201.
Refer: ag/26620507

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1ae8911a2b7444aea0eb1e30564fb67c8bfef661)
Merged-In: If0f1f42dfe074bdc211e538f0aa4eb7e7494abe0
Change-Id: If0f1f42dfe074bdc211e538f0aa4eb7e7494abe0
2024-04-26 07:54:29 +00:00
Spade Lee
5fbe725c85 [automerger skipped] pixelstats: gs201: add history validation path am: 3d06665d25 -s ours
am skip reason: Merged-In I8830d4a7532d8900abdcf78ba7ab1c141b47c1b4 with SHA-1 9a1ff5f804 is already in history

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

Change-Id: I53936ac14575ef92caf47410dd3c5f837714a26c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 08:20:34 +00:00
Chungro Lee
d04be8fafd [automerger skipped] pixelstats: move learning/model load path to sysfs am: 0d11a6641d -s ours
am skip reason: Merged-In I91039ce3a8ee4630a76113ef7ae6be3bc6908f64 with SHA-1 5dc71cfae1 is already in history

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

Change-Id: I1dbd6163b902fd3222ebeb7455fb70d0ecd4fb44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 08:20:29 +00:00
Spade Lee
3d06665d25 pixelstats: gs201: add history validation path
Bug: 329174074
Signed-off-by: Spade Lee <spadelee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9a1ff5f8041e4532481a1f7c6c168965d813fc53)
Merged-In: I8830d4a7532d8900abdcf78ba7ab1c141b47c1b4
Change-Id: I8830d4a7532d8900abdcf78ba7ab1c141b47c1b4
2024-04-25 06:10:42 +00:00
Chungro Lee
0d11a6641d pixelstats: move learning/model load path to sysfs
Reporting learning(relaxation) and model loading once a day
 * learning and model loading path moved from uevent to
   sysfs collector.

Bug: 329124192
Signed-off-by: Chungro Lee <chungro@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5dc71cfae1304564ccb2861109e9e1451032f0e7)
Merged-In: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
Change-Id: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
2024-04-25 06:10:32 +00:00
Sungtak Lee
396792798c Reapply "Enable AIDL media.c2"
This reverts commit 9517110d28.

Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: If295d690134a6fb28bb865d9f7659343ef2ec50b
2024-04-23 08:36:13 +00:00
Priyanka Advani
9517110d28 Revert "Enable AIDL media.c2"
Revert submission 26384060-c2aidl-pixel-enable

Reason for revert: Culprit for b/335892284. Will be verifying through ABTD for confirmation and before submitting the revert.

Reverted changes: /q/submissionid:26384060-c2aidl-pixel-enable

Change-Id: I4acee85037309e699e82c8f378b72381be7de316
2024-04-19 20:44:25 +00:00
Wonsik Kim
9b76510c86 Enable AIDL media.c2
Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: If3cd57d4ac1e04503015e7c8dd6b69ab3c9163b5
2024-04-19 19:09:49 +00:00
Shashwat Razdan
355b8bd76d Revert "Adding android.software.contextualsearch to gs-201 devices."
Revert submission 26467635-feature_cs

Reason for revert: b/329350496 - Introducing new config with `android.*` namespace is not allowed in 24Q2.

Reverted changes: /q/submissionid:26467635-feature_cs

Change-Id: I36c1408c09a3fa73e2958216e996a8d1e0d94487
2024-04-17 22:44:00 +00:00
Hongyang Jiao
b4ab2815a5 Add betterbug.mk to gs201 am: 5e7a737f11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/26987117

Change-Id: I8bc00ab617bfbaf22970e47de1d18ab3458d8eff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:10:56 +00:00
Daniel Chapin
da826a8393 Revert "Add betterbug mk to gs201" am: 1bd83d8170
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/26631204

Change-Id: Id4d8722efeb9a9bf7ae7be0746eb59553b7f4606
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:08:41 +00:00
Hongyang Jiao
5e7a737f11 Add betterbug.mk to gs201
Test: manual test
Bug: 322543833
Change-Id: Ie1b8157c8687bc4ec9bb00feb47cbcc130d59ee0
2024-04-16 22:57:07 +00:00
Daniel Chapin
1bd83d8170 Revert "Add betterbug mk to gs201"
Revert submission 26348985-bb-sepolicy-poc

Reason for revert: Droidfood blocking bug: b/327991669

Bug: 327991669

Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3f5c12abada31befa0d9f869bf6628d06ee05aa4)
Merged-In: Id77188dd9f6f5acaed1506a9489f5d6f9874dde9
Change-Id: Id77188dd9f6f5acaed1506a9489f5d6f9874dde9
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-04-16 22:47:39 +00:00
Enzo Liao
1ae8911a2b Apply common SELinux policies related to ramdumps and coredumps to gs201.
Refer: ag/26620507

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
Change-Id: If0f1f42dfe074bdc211e538f0aa4eb7e7494abe0
2024-04-11 02:03:11 +00:00