Commit graph

6463 commits

Author SHA1 Message Date
Spade Lee
e4c7fd25a5 pixelstats: gs101: 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:d1dd07e04daf761735c95c4a2e14c108bf1dbcf1)
Merged-In: I1982b772e59df66d143899086450c1e5a807f85a
Change-Id: I1982b772e59df66d143899086450c1e5a807f85a
2024-04-25 06:10:13 +00:00
Chungro Lee
395c89ec05 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:e0d7a249370a93828b128cbffbab7ca9237cad90)
Merged-In: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
Change-Id: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
2024-04-25 06:10:04 +00:00
Hongyang Jiao
7b56585224 Add betterbug.mk to gs101
Test: manual test
Bug: 322543833
Change-Id: Iccf4ceabd1c994b804de9e74b50fa8a0ca936af6
2024-04-16 22:57:07 +00:00
Daniel Chapin
439d541d18 Revert "Add betterbug mk to gs101"
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:a43fedce4ef60251336a86c470250b2dfb8c9f3e)
Merged-In: I88a445da895c373c0a53c8a2f08726582c27be77
Change-Id: I88a445da895c373c0a53c8a2f08726582c27be77
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-04-16 22:47:39 +00:00
Jack Wu
b58ea3f845 Update health AIDL HAL to V3
Bug: 328332299
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:f143d6803bd64b123306788e4e02670a829c3258)
Merged-In: I57ff2ec2758f965a9e13e53f223c735a9d102219
Change-Id: I57ff2ec2758f965a9e13e53f223c735a9d102219
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-04-15 10:06:28 +00:00
Chris Lu
ea4d3ad582 gs101: upgrade IDisplay to V11
Bug: 307787644
Test: build pass
Change-Id: I7d7bd95b04483afde0f53127c896e62f53a78116
2024-03-21 07:30:02 +00:00
Shashwat Razdan
4bb66fedc8 Adding android.software.contextualsearch to gs-101 devices.
Bug: 326143814
Test: Built and tested on device
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4ff9169f2f92191802e70fadb83810d03d2e9952)
Merged-In: Id45a24ec3361caade132836e5e849940efa6ac2c
Change-Id: Id45a24ec3361caade132836e5e849940efa6ac2c
CP feature CLs to 24d1-dev
2024-03-13 23:58:19 +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
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
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
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
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
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
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
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
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