Commit graph

4988 commits

Author SHA1 Message Date
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
Sandeep Dhavale
9ffdaf1c94 Update health AIDL HAL to V3 am: 7bdd0af481 am: cc462adf40 am: c4c2921aad
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2882026

Change-Id: I80d5838d50c521c42404e5ebdd128e2e3daf345b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 09:50:00 +00:00
Sandeep Dhavale
c4c2921aad Update health AIDL HAL to V3 am: 7bdd0af481 am: cc462adf40
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2882026

Change-Id: Ia736dc5ff4339bc96c2f6f0d60465529b688af20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 09:17:36 +00:00
Sandeep Dhavale
cc462adf40 Update health AIDL HAL to V3 am: 7bdd0af481
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2882026

Change-Id: I078b2af55d78f2fc7e3421b5299146fd4e8f2d92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 08:47:14 +00:00
Sandeep Dhavale
7bdd0af481 Update health AIDL HAL to V3
Bug: 316837586
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: Ib4b240cd28df174257105db5bf6eae6accfae26a
Signed-off-by: Sandeep Dhavale <dhavale@google.com>
2023-12-18 23:36:44 -08:00
Jenny Ho
2542b04a24 Adjust bd_state to system for read
Bug: 316432531
Change-Id: I4964217a9c1782cc60011850ea111bd235b91ef6
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-12-19 03:24:22 +00:00
Android Build Coastguard Worker
10e897c9b5 Snap for 11232546 from 7755cc6fde to 24Q2-release
Change-Id: I2db9597271ca7bf3fecbe954fcc4fb9c2c48f2fe
2023-12-19 00:03:44 +00:00
Jenny Ho
7755cc6fde dump_power_gs201: lynx: add battery EEPROM dump path
Bug: 316820830
Change-Id: Ia5833d8980f97335b15e9ebb3a81f28b9019adc9
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-12-18 08:27:05 +00:00
Android Build Coastguard Worker
30cc3f1c56 Snap for 11228795 from b9424d9c59 to 24Q2-release
Change-Id: I5a4a656e995c0ac5e4e6db072dfd1828db65f709
2023-12-16 22:01:51 +00:00
Android Build Coastguard Worker
e5393d3e5a Snap for 11227258 from 8412883458 to 24Q2-release
Change-Id: I537beecffa4ad4059bed94a81452a0f74d0afa80
2023-12-16 02:01:50 +00:00
kierancyphus
b9424d9c59 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: Ib2baeda6a3c81c701e6f813b6c88f561b158e674
2023-12-15 22:46:17 +00:00
Kuen-Han Tsai
8412883458 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: Ibd7816b717d2fbcb038a7c0ff703b7fab7d2a46c
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2023-12-12 08:06:12 +00:00
Hungyen Weng
6fa3ccb524 config: Use carrier config in ROM by default am: 8dbc173f2b am: 26e7f60254
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25616534

Change-Id: Ieb8260a470929777b3fad60cc6c66e480a9ffee0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 05:45:01 +00:00
Hungyen Weng
26e7f60254 config: Use carrier config in ROM by default am: 8dbc173f2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25616534

Change-Id: Icb4bdc42888cbd41d71387574affabc6607f4745
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 05:10:55 +00:00
Poomarin Phloyphisut
2ae9b5a025 pixelstats: Fix access permission by adding total call count and update cca path sysfs
Related changes :
ag/24513108

Bug: 289857250
Test: Local test uploading atoms.
Change-Id: I584af796d03585ba3e27baeb8d006af2cab8c24d
2023-12-12 02:12:37 +00:00
Xin Li
75ebe9dcd3 [automerger skipped] Merge Android 14 QPR1 am: d815a6775f -s ours am: d372ef70ff -s ours am: 31e614038a -s ours
am skip reason: Merged-In I484f4446b915cad1347dd065f2539cc12c75beec with SHA-1 e8cf7e19a1 is already in history

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

Change-Id: I5e8c5e70ff6b013d65d04ca84a1b6c92bd646bc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:57:54 +00:00
Xin Li
31e614038a [automerger skipped] Merge Android 14 QPR1 am: d815a6775f -s ours am: d372ef70ff -s ours
am skip reason: Merged-In I484f4446b915cad1347dd065f2539cc12c75beec with SHA-1 e8cf7e19a1 is already in history

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

Change-Id: I2b868ab3e8999174c3415cb28f2ad7a72f0729b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:02:41 +00:00
Xin Li
d372ef70ff [automerger skipped] Merge Android 14 QPR1 am: d815a6775f -s ours
am skip reason: Merged-In I484f4446b915cad1347dd065f2539cc12c75beec with SHA-1 e8cf7e19a1 is already in history

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

Change-Id: I0a0102fc588322a247feaa366a600807de6f8aac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 21:16:51 +00:00
Hungyen Weng
8dbc173f2b config: Use carrier config in ROM by default
Bug: 314890118

Test: Flash ROM and confirm the carrier config follows the ROM.
Change-Id: Id0407802e2027397ca7a409345c51273b75079e7
2023-12-11 11:23:16 -08:00
Roy Luo
8d10e34fe0 Revert^2 "usb: introduce UsbDataSessionMonitor class"
a9ac5d5869

Bug: 297224564
Bug: 296119135
Change-Id: I0e15924ff133c8070c923f9072497bfda4370b5b
2023-12-09 00:22:03 +00:00
Xin Li
d815a6775f Merge Android 14 QPR1
Merged-In: I484f4446b915cad1347dd065f2539cc12c75beec
Bug: 315507370
Change-Id: Ib3fcff289774f28e147fe39738f3cf9908a571e4
2023-12-08 13:13:24 -08:00
Xin Li
c0c1b696b3 [automerger skipped] Merge UQ1A.231205.015 am: e8cf7e19a1 -s ours am: 351907775f -s ours
am skip reason: Merged-In I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe with SHA-1 e4a81c0e8f is already in history

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

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

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

Change-Id: I7025d5c373402976626128aa08909c7d0620e95e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 08:21:17 +00:00
Xin Li
e8cf7e19a1 Merge UQ1A.231205.015
Bug: 308969284
Merged-In: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
Change-Id: I484f4446b915cad1347dd065f2539cc12c75beec
2023-12-07 15:47:12 -08:00
Jason Chiu
a509a4b067 gs201: use android.hardware.boot aidl interface
Bug: 314215524
Change-Id: Id6e4083674e8e42572952ea516eae244d4d5e8e7
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-06 02:39:05 +00:00
Jason Chiu
dc7845e89a gs201: update manifest HAL android.hardware.boot from hidl 1.2 to aidl
Bug: 314215524
Change-Id: I59988d13f9bedc3a2067f9ffc49d690048383d66
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-06 02:39:05 +00:00
Qian-Hao Huang
a9ac5d5869 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: I0f762a9ba8345d2963ebfb2d50cb8a7460885221
2023-12-05 17:13:31 +00:00
Jason Chiu
ca538bb2b4 gs201: include bootctrl_hidl_1.2.mk from gs-common
Bug: 265063384
Change-Id: I2e00ddafe970dcda873da691bd64908f5ef1c0f9
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 02:30:54 +00:00
Jason Chiu
2baf1d63eb gs201: move bootctrl service declaration to gs-common
Bug: 265063384
Change-Id: If265211d9b433eef789d0d68df1cae7cc369cfa1
2023-12-05 02:30:54 +00:00
Jason Chiu
fcab3aa32f gs201: move bootctrl hal to gs-common
Bug: 265063384
Change-Id: I11d07835c2785bdcc2a373befc1109bc12e4d11f
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 02:30:54 +00:00
Hiroshi Akiyama
c41e6f519b bcl: adjust heavy clk divider ratio
Bug: 314168856
Test: tbd
Change-Id: If32830eb480a6db99e32b3c1a277a79f058cc43f
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-12-04 21:52:04 +00:00
Roy Luo
3555bbe0a8 usb: introduce UsbDataSessionMonitor class
Migrate the usb data session event functions to the class with the
following additional functionalities;
- Support detecting gadget soft pulldown (usually done during configfs
  function switch) and report usb data session correctly.
- Support reporting usb data compliance warnings to the class USB
  by providing getDataComplianceWarnings call.
- Use boot_clock instead of steady_clock to measure time correctly in
  the case of system suspend.

UsbDataSessionMonitor is self-contained and can be migrated to pixel usb
library after feature maturation.

Bug: 297224564
Bug: 296119135
Test: usb data session upload in device and host mode
Change-Id: Iba001933e193935d64cf5fd0a1257d02a4274fb1
(cherry picked from commit ea65ca11f6fbb6f13b89ef9ed03015f47ec1cedb)
2023-12-01 16:43:41 +00:00
Peter Lin
ad362cf259 Update default color temperature for night light
Bug: 302396607
Test: adb shell dumpsys color_display | grep "Color temp"
Change-Id: I7812dcea6e2d6bceab13d9f103e434e19b6e9477
2023-11-30 07:50:38 +00:00
Edgar Arriaga
baca0e0e4d Add webview pinning for gs201 devices
Bug: 307594624
Change-Id: I13f4c2020b699f68a679fd34f4f6b025c0bfdb98
2023-11-27 18:04:49 +00:00
Ruofei Ma
1ecee14a46 Enable adaptive playback for BigOcean
Bug: 309722491

Change-Id: I8d402be86027ab20b2b633c1a97c6afb8fc13a16
Signed-off-by: Ruofei Ma <ruofeim@google.com>
2023-11-18 05:16:23 +00:00
Jerry Huang
b4cd7bf619 gs201: add c2.android.av1-dav1d.decoder in media_codecs_performance_c2.xml
c2.android.av1-dav1d.decoder is based on dav1d implementation.
This dav1d-based sw av1 decoder provides better decoding throughput
than the default gav1-based av1 decoder on mid-to-low-tier devices.
c2.android.av1.decoder will be deprecate eventually before that we keep
both decoders.

Bug: 309412792
Test: run cts -m CtsMediaDecoderTestCases -t android.media.decoder.cts.VideoDecoderPerfTest --module-arg CtsMediaDecoderTestCases:instrumentation-arg:codec-prefix:=c2.android.av1.decoder
Change-Id: Idc841e76425f333e16cc701869f450f126b2d72d
2023-11-16 12:26:34 +00:00
Roy Luo
a99d48c10e usb: update usb hal version to v3
Bug: 308700954
Test: atest vts_treble_vintf_vendor_test
Change-Id: I13c99d309b925520b529ec2e22a120adc5e834e7
2023-11-14 20:43:36 +00:00
Jack Wu
6d978bc632 gs201: update AIDL IGoogleBattery manifest version to 3
Bug: 309518527
Test: TH
Change-Id: I25f671b2c9cf3998288377c972a490748da0c627
Signed-off-by: Jack Wu <wjack@google.com>
2023-11-11 03:53:13 +00:00