Commit graph

4925 commits

Author SHA1 Message Date
Richard Hsu
0e6bc4fd5c [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: Ib3835ee3976dcfa86df999d0a32398bf8ec9a2cb
2024-02-09 21:55:09 +00:00
Android Build Coastguard Worker
f275ab0a63 Snap for 11426397 from bef1509d6c to 24Q2-release
Change-Id: I73b5bf4c32e0279a8c51895a5816028980125c21
2024-02-09 00:02:33 +00:00
Android Build Coastguard Worker
b0b2a4f90d Snap for 11420186 from 8548e9b2be to 24Q2-release
Change-Id: Ic5a40d6d20d8f66467e4da0d3e6bb4b41e9ef4d6
2024-02-08 00:02:43 +00:00
Yong Zhang
bef1509d6c Add Youtube back in MRR Small Area Detection Allowlist
Bug: 324132231
Test: Make Pixel builds to verify Allowlist
Change-Id: I5b8f96acfd701887307d0f19566a1489b1ad594d
2024-02-07 16:51:36 +00:00
Jacky Liu
8548e9b2be 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: Id3f0fccd39b70d247c0d7a17a1944223619ec40e
2024-02-07 04:00:46 +00:00
Jacky Liu
21dc8acdaa Revert "usb: Select usb-service rc files based on kernel versions"
This reverts commit 2371ea7920.

Use the same i2c device paths across all kernel versions.

Bug: 323447554
Change-Id: I0f970347a09e01f272a54fc7c940ea576a9e510b
Signed-off-by: Jacky Liu <qsliu@google.com>
2024-02-06 16:18:27 +00:00
Android Build Coastguard Worker
74af346541 Snap for 11406759 from 0873870552 to 24Q2-release
Change-Id: I58449c130c77b5ca538e8a970655019d92fac817
2024-02-06 00:07:14 +00:00
Joen Chen
0873870552 gs201: 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:02 +00:00
Android Build Coastguard Worker
647ef6ae6c Snap for 11401641 from 2371ea7920 to 24Q2-release
Change-Id: Ic7e5efbc521b1d9222747d606e91928a4fd866bf
2024-02-03 22:01:59 +00:00
Android Build Coastguard Worker
031ba2c961 Snap for 11399958 from 7d2aafad34 to 24Q2-release
Change-Id: I8f45a8dff4dd01da489d2cde1470a107cee3d350
2024-02-03 02:02:27 +00:00
Kyle Tso
2371ea7920 usb: Select usb-service rc files based on kernel versions
The sysfs paths in the rc file differ across kernel versions or build
targets. Given that the path is static in the newer kernels (6.1+),
modify the paths for newer kernels in the original rc file and create
another rc file for older kernels (i.e kernel 5.10). Put the correct rc
file to the vendor partition based on kernel versions.

Bug: 317946158
Change-Id: Ie313664ee14c837bc9f33113e9341f6e06192401
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-02-03 01:14:43 +00:00
Kyle Tso
9bafd5f134 usb: Runtime search the i2c path
The paths of sysfs nodes are different on multiple build targets and are
also different between the old kernel (5.10) and newer kernel (6.1).
Since usb HAL code is shared by those targets and different kernel
versions, Runtime search the correct paths.

Bug: 317946158
Change-Id: I676455145232fd71db1578bb7a9801fed7bb327f
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-02-03 01:14:43 +00:00
Leon Scroggins III
7d2aafad34 gs201: 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: Id05d31e3c058d3bfe961d90e37a0c6992d823605
2024-02-02 14:29:25 +00:00
Android Build Coastguard Worker
a71668469e Snap for 11386701 from 4418833d9b to 24Q2-release
Change-Id: I26fd0e26e04ee593938966cccbb47dad232c85ed
2024-02-01 00:02:01 +00:00
Xin Li
4418833d9b [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: 25172cefce -s ours
am skip reason: Merged-In Ibd7816b717d2fbcb038a7c0ff703b7fab7d2a46c with SHA-1 8412883458 is already in history

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

Change-Id: I153247ab42c2a09ea35bd6d30bec9919508dca51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:03:34 +00:00
Android Build Coastguard Worker
1c9cd67cc3 Snap for 11380007 from 55257cbde8 to 24Q2-release
Change-Id: I438f21f9fdf6bdec65ee17e93f866f1418ff6280
2024-01-31 00:02:16 +00:00
Joe Onorato
55257cbde8 remove build log spam
Test: m
Change-Id: I5bd60de66b31c7c5df43240161350d0f5d4da29f
2024-01-29 18:49:40 -08:00
Android Build Coastguard Worker
cd83f6e9ad Snap for 11373247 from ff196ef65a to 24Q2-release
Change-Id: I9473ef3c07c0cbeb8cd8de87a2b04566381e9e1b
2024-01-30 02:02:40 +00:00
Darren Hsu
ff196ef65a powerstats: expose display MRR state residency data provider
Bug: 317767775
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I72037cc9d5b35a47ae0173d52bbc57708a593936
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-29 05:59:52 +00:00
kierancyphus
0eb7d38545 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: I7fb10e4013da59f42cff47da6d104deed9b4bb71
2024-01-29 05:58:40 +00:00
Android Build Coastguard Worker
603a0bad5f Snap for 11367679 from c67150d613 to 24Q2-release
Change-Id: I65427c5eabed0e10915e2d02d0821fe687e4dadf
2024-01-27 02:02:30 +00:00
Robin Peng
c6d819462e Support system_dlkm modules.blocklist from kernel side
assign system_dlkm.modules.blocklist to BOARD_SYSTEM_KERNEL_MODULES_BLOCKLIST_FILE
located from kernel prebuilts folder

Bug: 267429528
Bug: 322457552
Change-Id: I912f1a8e0df12e4614c74b870921ca0b47b8383e
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-01-26 13:38:14 +00:00
Robin Peng
975145cc52 Assign system_dlkm.modules.load to BOARD_SYSTEM_KERNEL_MODULES_LOAD
- BOARD_SYSTEM_KERNEL_MODULES_LOAD is for GKI modules
- BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD should not contains GKI modules

Bug: 267429528
Bug: 322457552
Change-Id: Ib5da01f861a34edec07e2a958f153c876e5cef10
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-01-26 13:09:10 +00:00
Jerry Huang
c67150d613 gs201: 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: If4912322095ec112507c2e7f37e5bc1506d8c17a
2024-01-25 11:03:11 +00:00
Android Build Coastguard Worker
12a146f26b Snap for 11355999 from df3f348d3b to 24Q2-release
Change-Id: I00bf89d89a368010eaf7c5d9c5c7e28eebc6c424
2024-01-25 02:33:21 +00:00
Spade Lee
df3f348d3b dumpstate: add SoC residency dump
Bug: 319536756
Change-Id: If12b04cca0b5f426709d4f0a8e4c6937d7abc7e2
Signed-off-by: Spade Lee <spadelee@google.com>
2024-01-22 16:50:25 +00:00
Android Build Coastguard Worker
9101469e55 Snap for 11336776 from c1a79afe2d to 24Q2-release
Change-Id: I7e2e13b7b21ad83e1dd8d376690d9228ddf0aeef
2024-01-20 02:02:54 +00:00
Wayne Lin
c1a79afe2d gps: add new certificate
Bug: 319329399
Bug: 319329247
Test: confirm certificate is included
Change-Id: Iafdbb7ad53da68c7f14fa94c1458f56016f70680
2024-01-19 06:36:07 +00:00
Android Build Coastguard Worker
821bfa642a Snap for 11330025 from 84e6e2b491 to 24Q2-release
Change-Id: I4dfcb30688d2357503c26cf719d33aea3a5b61ba
2024-01-19 00:02:46 +00:00
Kyle Tso
84e6e2b491 dumpstate: Fix wrong path for tcpm psy uevent
Bug: 320605646
Change-Id: I24ee174bdb5f9bb8127f5ae158c55a8738d852e3
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-01-18 15:12:23 +00:00
Xin Li
25172cefce Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: Ibd7816b717d2fbcb038a7c0ff703b7fab7d2a46c
Change-Id: I6d87c71b72050405370a19801b9e49ef46c5d3e0
2024-01-17 22:12:36 -08:00
Midas Chien
6a34636f89 display: allow hwcomposer to access allow_wakeup_by_state_change
Bug: 311495944
Test: check permission
Change-Id: Id41872449035e16e7abc7f5111cdf95a7914f846
2024-01-17 07:53:09 +00:00
Android Build Coastguard Worker
0f2111f0ae Snap for 11308440 from 6afe88fbce to 24Q2-release
Change-Id: I8ff8bab393c644b97c8d2384d9ac0b10efe68fe7
2024-01-13 02:08:06 +00:00
Utku Utkan
6afe88fbce Pregrant ACCESS_FINE_LOCATION as default permission to PCS on G2
Bug: 309676824
Test: m && flashall + pair & connect to remote device Wi-Fi AP
Change-Id: Ic40efe2d77b6d69ec97888fd421a5d0bda51860b
2024-01-12 16:51:42 +00:00
Mahesh Kallelil
9366c5117a 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: Ic7c64f942985596d9a5d919dfd3ca2127de881d0
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
2024-01-12 06:36:47 +00:00
Android Build Coastguard Worker
34bd272a7f Snap for 11302939 from 58dc835539 to 24Q2-release
Change-Id: I4cae0c49f9b85833205a0f7cdeba89352a673ac4
2024-01-12 01:10:37 +00:00
Devika Krishnadas
58dc835539 Revert^3 "Use graphics allocator 2"
4217a458ba

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

Bug: 310046460
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I322cdf9452a80e5da87f1808b324ac2e499fe9cd
2024-01-11 20:58:19 +00:00
Android Build Coastguard Worker
a5c478157b Snap for 11297328 from fc280685ca to 24Q2-release
Change-Id: I6fb3dce2ffcf44bae5cef447a95a5feccaa8550b
2024-01-11 00:05:21 +00:00
Roy Luo
fc280685ca 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:02 +00:00
Android Build Coastguard Worker
0670c99267 Snap for 11292102 from 59ed5b77f5 to 24Q2-release
Change-Id: Icec366c7f91e28017275c2df618824a1e513179c
2024-01-10 00:03:10 +00:00
wenchangliu
59ed5b77f5 gs201: 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: I1f947d2eb75bd4d75d9db1d39b0b083d32f8032f
2024-01-09 14:49:56 +00:00
Android Build Coastguard Worker
dfa59e2025 Snap for 11270238 from 4305bf7cd0 to 24Q2-release
Change-Id: I2c5e52e9c87c8097914627aacd6320e2b0cb0e6a
2024-01-04 00:03:06 +00:00
Limon Mia
4305bf7cd0 Packed vendor log to bugreport for P22
Bug: 316071157
Test: enable vendor log and take bugreport
Change-Id: If9497810763d813e97a893d736bfbdeaf208c904
2024-01-03 02:11:04 +00:00
Android Build Coastguard Worker
42fb3e2826 Snap for 11257657 from 5e14ba01be to 24Q2-release
Change-Id: I43696ab3accd73fef8b394c82dba6b41345c7168
2023-12-28 00:02:35 +00:00
Roy Luo
5e14ba01be 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
2023-12-26 21:49:19 +00:00
Android Build Coastguard Worker
ea1680199c Snap for 11251507 from 42020dc458 to 24Q2-release
Change-Id: If4111cc3d3a669c39cc4d02dec92e2568ba0fa3e
2023-12-23 02:02:32 +00:00
Roy Luo
42020dc458 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
2023-12-22 03:05:06 +00:00
Android Build Coastguard Worker
3534d81a26 Snap for 11248037 from a04e12983b to 24Q2-release
Change-Id: I23eee0e16d386117a3e6ba1b7a642ddee603678d
2023-12-22 00:04:40 +00:00
Jaegeuk Kim
a04e12983b 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:22:34 -08:00
Android Build Coastguard Worker
8ac6c4fcec Snap for 11237490 from 9ffdaf1c94 to 24Q2-release
Change-Id: Iaf5589ae17aecbc0fd05f6c0300b75fd8dd07c93
2023-12-20 00:05:13 +00:00