Commit graph

6457 commits

Author SHA1 Message Date
Android Build Coastguard Worker
2f1bbe49e4 Snap for 11472972 from 908d73a76a to 24Q3-release
Change-Id: Ie41e37680239d8ace0d1ddd1ea9a0173f26de702
2024-02-21 00:03:04 +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
Jenny Ho
7766f6743c Adjust bd_state to system for read
Bug: 316432531
Change-Id: I07aa6aa400acc7db718e0201e61fa6a4f8e4eebb
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-12-19 03:24:22 +00:00
kierancyphus
414213dd66 logmasklibrary: update version info and freeze api
The versions were originally not specified in the device manifest and
compatibility matrices. This is changed here to fix the broken vts
tests.

Bug: 310109332
Test: atest vts_treble_vintf_vendor_test -- --abi arm64-v8a
Change-Id: I12751f1d037ee9de477285a56bc411f9c6085752
2023-12-15 22:46:17 +00:00
Kuen-Han Tsai
93d9eb0a8f usb: enable media-presence polling for SD cards
After USB enumeration, some SD card readers do not send signals to the
device when the SD card is inserted or removed.

To support SD card hotplugging, this patch enables in-kernel
media-presence polling, which will check the SD card status every 2
seconds after a SD card reader is attached.

Bug: 186479576
Test: SD card insertion/removal and data copy (see b/301566595)
Change-Id: I29c352696cd9d31168a8eac8c58d23adb484f5d0
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2023-12-12 14:07:27 +08:00
Xin Li
1819593a37 [automerger skipped] Merge Android 14 QPR1 am: 94bc87a6f2 -s ours am: f8305476c5 -s ours am: 60bc6152e2 -s ours
am skip reason: Merged-In I7a1fec0331c5bddabd4f9edabcfda9b137f7a452 with SHA-1 7f9f6cac0b is already in history

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

Change-Id: Ib957f8b989a6b4bc06355a7a2edbdf4f6184fe81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:58:03 +00:00
Xin Li
60bc6152e2 [automerger skipped] Merge Android 14 QPR1 am: 94bc87a6f2 -s ours am: f8305476c5 -s ours
am skip reason: Merged-In I7a1fec0331c5bddabd4f9edabcfda9b137f7a452 with SHA-1 7f9f6cac0b is already in history

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

Change-Id: Ia9d7abe61db0f878fae42ac3d54398c1565fbdf2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:02:50 +00:00
Xin Li
f8305476c5 [automerger skipped] Merge Android 14 QPR1 am: 94bc87a6f2 -s ours
am skip reason: Merged-In I7a1fec0331c5bddabd4f9edabcfda9b137f7a452 with SHA-1 7f9f6cac0b is already in history

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

Change-Id: Ife929c160acf3251b7fd850fffcdbc979ba85351
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 21:17:01 +00:00
Roy Luo
bedb8beca9 Revert^2 "usb: introduce UsbDataSessionMonitor class"
1aad6b6b31

Bug: 297224564
Bug: 296119135
Change-Id: I9ecf85f4e4b22d7d3bf2402c7f7299b38582bde9
2023-12-09 00:22:03 +00:00
Xin Li
94bc87a6f2 Merge Android 14 QPR1
Merged-In: I7a1fec0331c5bddabd4f9edabcfda9b137f7a452
Bug: 315507370
Change-Id: I91520d419d9d0913b5d73b842edde3f375c202b2
2023-12-08 13:13:24 -08:00
Xin Li
008c695964 [automerger skipped] Merge UQ1A.231205.015 am: 7f9f6cac0b -s ours am: 0fa2dbcfc4 -s ours
am skip reason: Merged-In I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe with SHA-1 1bc693d338 is already in history

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

Change-Id: I841ac5f99314ee04c4361cbf8ea167c4d93e5914
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 08:51:04 +00:00
Xin Li
0fa2dbcfc4 [automerger skipped] Merge UQ1A.231205.015 am: 7f9f6cac0b -s ours
am skip reason: Merged-In I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe with SHA-1 1bc693d338 is already in history

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

Change-Id: I16ed09997d031be1351614aea139fc2d728452b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 08:21:16 +00:00
Xin Li
7f9f6cac0b Merge UQ1A.231205.015
Bug: 308969284
Merged-In: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
Change-Id: I7a1fec0331c5bddabd4f9edabcfda9b137f7a452
2023-12-07 15:47:12 -08:00
Jason Chiu
a2074a4363 gs101: use android.hardware.boot aidl interface
Bug: 314215524
Change-Id: Ie66c1d5288cfa363ac41d578fd7c03a95eee361e
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-06 02:48:41 +00:00
Jason Chiu
b1b74c03c2 gs101: update manifest HAL android.hardware.boot from hidl 1.2 to aidl
Bug: 314215524
Change-Id: Iddc2b2822ece025cb915ad39ab52f18cf0d5889a
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-06 02:48:41 +00:00
Qian-Hao Huang
1aad6b6b31 Revert "usb: introduce UsbDataSessionMonitor class"
Revert submission 25524752-usbDataSessionMonitor

Reason for revert: Test for gs101/gs201 boot blocking issue (b/314904288)

Reverted changes: /q/submissionid:25524752-usbDataSessionMonitor

Change-Id: I6070b8bf441cc84e0744e2f0ecf454d4245cb686
2023-12-05 17:13:31 +00:00
Jason Chiu
845ec9cfb5 gs101: include bootctrl_hidl_1.2.mk from gs-common
Bug: 265063384
Change-Id: I53db48880aa384afba9e1e48fb49f04a8af0e1fb
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 02:30:54 +00:00
Jason Chiu
0561656a79 gs101: move bootctrl service declaration to gs-common
Bug: 265063384
Change-Id: I426977fd0a8e0b0e65f74c12c35668cb8c530c31
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 02:30:54 +00:00