Commit graph

6473 commits

Author SHA1 Message Date
Android Build Coastguard Worker
add8366336 Snap for 11533280 from a43fedce4e to 24Q3-release
Change-Id: I1d978c0244655952db4445e76506b5caa43a6fe6
2024-03-06 00:02:03 +00:00
Daniel Chapin
a43fedce4e Revert "Add betterbug mk to gs101"
Revert submission 26348985-bb-sepolicy-poc

Reason for revert: Droidfood blocking bug: b/327991669

Bug: b/327991669

Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc

Change-Id: I88a445da895c373c0a53c8a2f08726582c27be77
2024-03-05 20:38:07 +00:00
Barry
3c31047ecf BT: set system property for Bluetooth Auto On
Set bluetooth.server.automatic_turn_on true for Bluetooth Auto On
feature.
The feature will be enabled with both system property and flag set.

Bug: 328168526
Test: check system property value
Change-Id: If7e9c3bab450dead2cfd46dddc55d293ccab3d92
2024-03-05 11:48:09 +00:00
Wonsik Kim
def43cc017 Add AIDL media.c2 fragments
Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: I3a0a38f71421a8673038f63764250f7a1a88c730
2024-03-05 06:16:54 +00:00
Mark Chang
9ad27501e4 Add sepolicy include to gs101.
Bug: 325422902
Test: Manual, system booted without sepolicy denied error.

Change-Id: I2149188a925cc94aea077e9b6fb78cc850660dd7
Signed-off-by: Mark Chang <changmark@google.com>
2024-03-05 05:31:39 +00:00
Devika Krishnadas
f2d8196441 Move Gralloc packages to gs-common
Bug: 275906497
Test: Boot succeeds

Change-Id: I879a5ef8365abe018c501cdb0b06c9753e0e5902
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2024-03-04 22:13:50 +00:00
Android Build Coastguard Worker
f2d71c70b9 Snap for 11520864 from 49ae2f663b to 24Q3-release
Change-Id: I2427325c1bab2561490d3548d8f3f72841296f57
2024-03-02 02:02:26 +00:00
Jenny Ho
49ae2f663b pixelstats: added multiple GMSR paths
support different project paths

Bug: 308364170
Change-Id: I4ef71192ad2b2717c515164bd65463759320b32a
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-03-01 03:14:37 +00:00
Hongyang Jiao
7e12c967fb Add betterbug mk to gs101
Bug: 322543833
Test: local test, recorded in http://shortn/_iEz9DTCHgo
Change-Id: Id10b95f2c0169f036f759a513cf16703d5f4e732
2024-03-01 01:10:43 +00:00
Android Build Coastguard Worker
8c97b6476f Snap for 11504269 from 4d1085e4a2 to 24Q3-release
Change-Id: I997629736fc25e9fec703352b7d8b17ac7b5bdd6
2024-02-28 00:02:49 +00:00
Jenny Ho
4d1085e4a2 pixelstats: gs101: add Learning/Update/ModelLoad path
Upload more FG data to analyze its trends

Bug: 317827237
Change-Id: Idf59bbe47b17de52592a1cc8fd33296c027930ba
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-02-27 04:06:14 +00:00
Android Build Coastguard Worker
8036c73688 Snap for 11486189 from 91bda4797a to 24Q3-release
Change-Id: I32ef404dff5cf0ac9708231394399e2497fd79ce
2024-02-23 00:02:43 +00:00
Will McVicker
91bda4797a Update tcpm-source-psy i2c name
Use a regex to accomodate for the new and old name.

Bug: 315190967
Bug: 323447554
Change-Id: I41c4882fdccdbc3f98eedf6fc518d04b73ee92a0
2024-02-22 17:54:36 +00:00
Android Build Coastguard Worker
a20b149870 Snap for 11479750 from 536524e4cd to 24Q3-release
Change-Id: If044597c58d65451ca45f8db4651c2002b4b2f11
2024-02-22 00:03:00 +00:00
Daniel Okazaki
536524e4cd dumpstate: moving charger nodes to user build
Bug: 323415060
Test: adb bugreport
Change-Id: I757d17f45f0cb302ec186ec5c1467e158c04a81a
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2024-02-21 00:11:20 +00:00
Android Build Coastguard Worker
2f1bbe49e4 Snap for 11472972 from 908d73a76a to 24Q3-release
Change-Id: Ie41e37680239d8ace0d1ddd1ea9a0173f26de702
2024-02-21 00:03:04 +00:00
Lei Ju
b87b77a43a [gs101] Enable Multiclient HAL
Test: 1) complile and flash a gs101 device, passed PTS and CHQTS;
      2) checked logs to make sure no sepolicy violations

Bug: 247124878
Change-Id: I77925374dee75076de1820227cc8879a053af09b
2024-02-20 21:12:15 +00:00
Qais Yousef
908d73a76a init.gs101.rc: Increase uclamp_min at boot time by 1.25
With uclamp changes against margins, we need to bump this value by 1.25
to retain previous boost.

Bug: 314123492
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I0b001772116bdbc2285e942b5795451dee925eda
2024-02-19 18:29:07 +00:00
Android Build Coastguard Worker
39af0c7b93 Merge "Snap for 11455877 from e3ec636b99 to 24Q3-release" into 24Q3-release 2024-02-16 01:24:28 +00:00
Android Build Coastguard Worker
f5bd1f4a9e Snap for 11455877 from e3ec636b99 to 24Q3-release
Change-Id: Ia3bd0e415c0017b7b83cd9c183efc436b610d0b1
2024-02-16 00:23:15 +00:00
Android Build Coastguard Worker
3ea8b2185e Snap for 11455651 from e3ec636b99 to 24Q3-release
Change-Id: I149d3ff6ad2bff64071c59d0b14378dcb2a7b524
2024-02-16 00:14:08 +00:00
George Lee
e3ec636b99 bcl: Adjust GPU clk divider ratio
Revert GPU clk divider ratios.

Bug: 324534203
Test: Confirm no DATA_INVALID_FAULT while running GFXBench under stress
Change-Id: I9379988d68665924de72441bc0ea24f5fc12be4d
Signed-off-by: George Lee <geolee@google.com>
2024-02-15 18:39:33 +00:00
Android Build Coastguard Worker
264e3df160 Snap for 11438798 from 76895c0293 to 24Q3-release
Change-Id: If9de4faabd922a4120974715b3b83c9307f6a6bf
2024-02-13 00:03:16 +00:00
Mark Chang
76895c0293 Move manifest entries to gs-common.
Bug: 322914403
Bug: 324214410
Test: build succeeds on all devices, failing tests pass.
Change-Id: I69b1cb9118b077d8594a6dcd5bc8643ffd417820
Signed-off-by: Mark Chang <changmark@google.com>
2024-02-11 23:03:52 +00:00
Android Build Coastguard Worker
9c3b8e51b4 Snap for 11434705 from 4bf2e493a8 to 24Q3-release
Change-Id: I401585f3ff3c71ca7cf23ce688da3d9883222abb
2024-02-10 22:02:23 +00:00
Richard Hsu
4bf2e493a8 [Refactor] Include edgetpu targets in final image
Make the EdgeTPU targets defined in <soc>/proprietary visible by product packages included in edgetpu.mk.

Bug: 323601370

Tested:
No functionality change. Edgetpu services still work.

Change-Id: Ic1acd66301f7eefc3f5282545f612721c59e6e23
2024-02-09 21:55:09 +00:00
Android Build Coastguard Worker
b09640b8c1 Snap for 11426397 from 8f8ce29d46 to 24Q3-release
Change-Id: Ieb4dfdd90a9cd57d044aca92663561a17b1a149f
2024-02-09 00:03:02 +00:00
Yong Zhang
8f8ce29d46 Add Youtube back in MRR Small Area Detection Allowlist
Bug: 324132231
Test: Make Pixel builds to verify Allowlist
Change-Id: I5bdaee773d517a3fbd2e41c04192db30bb002b1a
2024-02-07 16:37:42 +00:00
Jacky Liu
06501969ec Update i2c device paths
Update i2c device paths with static bus numbers.
Also remove some redundant paths.

Bug: 323447554
Test: Boot to home
Change-Id: I90a723018f6628c825e97ff75a80350843684959
2024-02-06 16:17:25 +00:00
Joen Chen
69fc18eb88 gs101: enable dynamic color mode
Enable dynamic color mode to reduce the power overhead of color space
conversion when GPU composition exists.

Bug: 315787778
Test: check "dumpsys SurfaceFlinger" and state of display color service
when playing SDR/HDR video

Change-Id: Ie9e87091385ab5247141bf956fbaba3275cc6811
2024-02-05 04:26:11 +00:00
Leon Scroggins III
1acd6a2870 gs101: Remove sysprop forcing renderengine to skiaglthreaded
This is already the default, so no need to set via sysprop. Moving
forward, we will set this using flags, unless a particular category
of device needs to override the flag.

Bug: 293371537
Test: NA
Change-Id: Ifd34f14af1948b0d30d0583e4ed71d32680b5c99
2024-02-02 14:28:28 +00:00
Xin Li
723b5aa2c6 [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: 04ea7c073b -s ours
am skip reason: Merged-In I29c352696cd9d31168a8eac8c58d23adb484f5d0 with SHA-1 93d9eb0a8f is already in history

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

Change-Id: I21c965509e48c8eb488c3f466d1ee8b235422932
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:03:43 +00:00
Darren Hsu
9f8d681088 powerstats: expose display MRR state residency data provider
Bug: 321848496
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I967210bef1d33d8bc344ea80e6c31f70a3414604
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-29 06:23:49 +00:00
kierancyphus
34f3ee5073 liboemservice_proxy: Remove service defs
`Liboemservice_proxy` was originally included as a part of the build
target for DMD, which meant that the binder aidl declaration had to be
done on all devices that used DMD (all Lassen devices), even if they
didn't use the service. `Liboemservice_proxy` has now been decoupled
from DMD so it only needs to be included on our target devices now. This
CL removes the outdated service definitions.

Test: Build gs101 and ensure it still builds.
Bug: 321867236
Change-Id: Iefd8a4e563c41ffc5221810e3fb042dbe4a3e733
2024-01-29 05:58:40 +00:00
Robin Peng
d790cec569 Disable stripping vendor_dlkm modules
Need to disable stripping the vendor_dlkm modules to retain the GKI
modules' signature. Fortunately, the kernel build strips the modules for
us.

Bug: 290274601
Bug: 322457552
Change-Id: I4c8ff2196d062dc65a1f707a738f78bc8bfda704
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-01-26 12:56:54 +00:00
Jerry Huang
4f72ae23cc gs101: update c2.android.av1-dav1d.decoder performance point
c2.android.av1-dav1d.decoder performance has been improved with CL
"C2SoftDav1dDec: Fix performance issues in frame parallel multi-threading"
More detail in b/315828433

Bug: 315828433
Test: run cts -m CtsMediaDecoderTestCases -a arm64-v8a -t android.media.decoder.cts.VideoDecoderPerfTest --module-arg CtsMediaDecoderTestCases:instrumentation-arg:codec-prefix:=c2.android.av1-dav1d.decoder
Change-Id: I73a3db45cb58a228ac68408468923101d79322b8
2024-01-25 09:24:24 +00:00
Spade Lee
ad7f854c34 dumpstate: add SoC residency dump
Bug: 319536756
Change-Id: Ied43b9b5bd13a4b36d73399e4dd2fc389ecaa276
Signed-off-by: Spade Lee <spadelee@google.com>
2024-01-22 16:52:23 +00:00
Wayne Lin
aa5fcd6d37 gps: add new certificate
Bug: 319329731
Test: confirm certificate is included
Change-Id: Iafdbb7ad53da68c7f14fa94c1458f56016f70680
2024-01-19 06:36:07 +00:00
Xin Li
04ea7c073b Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I29c352696cd9d31168a8eac8c58d23adb484f5d0
Change-Id: Id43ef0c972cab098f056e418cee940b702a1f251
2024-01-17 22:12:35 -08:00
Midas Chien
8133e314e8 display: allow hwcomposer to access allow_wakeup_by_state_change
Bug: 311495944
Test: check permission
Change-Id: Ie7dc6cdbd2290272cbf8bab820739b234d7c0b3f
2024-01-17 07:50:19 +00:00
Utku Utkan
cf5d0db6b7 Pregrant ACCESS_FINE_LOCATION as default permission to PCS on G1
Bug: 309676824
Test: m && flashall + pair & connect to remote device Wi-Fi AP
Change-Id: Iefda3dd96019aea2022339d180a702315e8951b8
2024-01-12 16:51:42 +00:00
Mahesh Kallelil
0b113f5208 Set owner as system for logbuffer_cpif
Setting the owner of /dev/logbuffer_cpif as system to allow the
dump_modem script to read the logs as part of bugreport

Test: Tested bugreport on device
Bug: 305600375
Change-Id: I20c1a843edadbc4ed2da51af3e242957b5849d6b
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
2024-01-12 06:36:47 +00:00
Devika Krishnadas
9903962c79 Revert^3 "Use graphics allocator 2"
0a894f5d0d

Reverting to comply with the Allocator VTS for 24Q1, do not merge to main.

Bug: 310046460
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I57a9dc98122f312ad98dacbab343d7eb98700cec
2024-01-11 20:58:19 +00:00
Roy Luo
291642b702 usb: dump flag value in the constructor
Dump flag value in the construtor for easier debugging. Feature flags
are not expected to change in runtime, dumping the value once should
be enough.

Bug: 296119135
Test: manual test
Change-Id: Ie5aca2dff23e59704fb306833cde0e592b9f430d
(cherry picked from commit 9164eae7cdee032381d8bf045fbbed33f62b00bf)
2024-01-10 11:47:27 +00:00
wenchangliu
d662abbfbc gs101: uses Codec2 HIDL 1.2 service
- Include mediacodec_samsung setting from gs-common
- Enable Codec2 HIDL 1.2 from BoardConfig and update
manifest hidl version for samsung.hardware.media.c2

Bug: 318793681
Test: run cts -m CtsMediaDecoderTestCases
Test: run cts -m CtsMediaPlayerTestCases
Test: run vts -m vts_treble_vintf_vendor_test
Change-Id: I5679bee76ca0ff7f430797ed261069e0f7fc3937
2024-01-09 14:49:56 +00:00
Limon Mia
2bbde5e0ce Packed vendor log to bugreport for P21 and B3
Bug: 316071157
Test: enable vendor log and take bugreport
Flag: .
Change-Id: I748d2c2bd260b4fcd71f7bb78fe12e43e903555d
2023-12-29 05:35:43 +00:00
Roy Luo
1376a71a65 usb: adjust heuristics for flaky connection warning
The state count requirement is very specific to the case where the
signal integrity is the culprit of flaky connection. However,
there could be other cases such as bad receptacles causing data pins
to disconnect randomly.
Remove the state count requirement to cover more cases.

Bug: 296119135
Test: manually trigger the warnings
Change-Id: Ic2ae376ad6062d9930614381503f44e4a5ac760f
(cherry picked from commit 5e14ba01be9acc31d3df0f506b4287eea0bf9583)
2023-12-26 22:33:58 +00:00
Roy Luo
350dc9f41a usb: implement heuristics to flag data compliance warnings
Support flagging enum failure and flaky connection in device mode,
flagging enum failure and missing data lines in host mode.
No warning would be flagged until 5 secs after the data session
starts to give ample time for the connection to stabilize, a timer
is added to support it.

Bug: 296119135
Test: manually trigger the warnings
Change-Id: I25f08657e328913946add192b5ecb9ee50c3a1a8
(cherry picked from commit 42020dc4585442bd7ca88f183ba29a18834af197)
2023-12-26 22:33:49 +00:00
Isaac Chiou
39980e78f4 wifi: Enable fast scan
Enable fast scan and set the channel cache number to 10

Bug: 317012208
Test: Manual
Change-Id: I38777051ba14d13e1e83396309b36c84589de618
2023-12-25 04:39:46 +00:00
Jaegeuk Kim
eb637fe036 Migrate to gs-common/storage/init.storage.rc
Bug: 311655524
Change-Id: I084717957a3bdf0bcbdca06502867d8e108ac139
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-12-20 10:27:15 -08:00