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
Treehugger Robot
bc4af7cd50
Merge "Remove unused Android.mk under device/google/gs201" into main am: e23a8f2638 am: 5231856db3 am: d1a0918a6c
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2823753
Change-Id: I9d1a9732503b6b811a031391017b627dacd485ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-10 07:46:03 +00:00
Treehugger Robot
63ad4f8b7a
Merge "Remove unused Android.mk under device/google/gs201" into main am: e23a8f2638 am: fa5e418afe am: 32b82b2c30
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2823753
Change-Id: I01c6c129b281983bcd2485ef6d49a86ced1905e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-10 07:44:26 +00:00
Treehugger Robot
d1a0918a6c
Merge "Remove unused Android.mk under device/google/gs201" into main am: e23a8f2638 am: 5231856db3
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2823753
Change-Id: I0f501870a7209328402372313ff0d3d710f663b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-10 07:13:36 +00:00
Treehugger Robot
32b82b2c30
Merge "Remove unused Android.mk under device/google/gs201" into main am: e23a8f2638 am: fa5e418afe
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2823753
Change-Id: I0660fa5f3c01d9e1c1029d573c897d2c67cdc739
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-10 07:11:44 +00:00
Treehugger Robot
fa5e418afe
Merge "Remove unused Android.mk under device/google/gs201" into main am: e23a8f2638
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2823753
Change-Id: Ib4470a2985734a7e8dde2e808f2993816806713a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-10 06:23:35 +00:00
Treehugger Robot
5231856db3
Merge "Remove unused Android.mk under device/google/gs201" into main am: e23a8f2638
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2823753
Change-Id: I83666f34043f62cc3c008f233219106a5e83787e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-10 06:23:35 +00:00
Treehugger Robot
e23a8f2638
Merge "Remove unused Android.mk under device/google/gs201" into main
2023-11-10 05:55:52 +00:00
Roy Luo
91c045df5b
usb: update incompatible charger warning reason
...
Report COMPLIANCE_WARNING_INPUT_POWER_LIMITED instead of
COMPLIANCE_WARNING_OTHER to flag incompatible chargers. The underlying
logic that generates the warning remains the same, what's changed is
the enum that's being used.
The purpose of the change is to have a warning type that better
represents what actually happens and free up COMPLIANCE_WARNING_OTHER
that was intended to act as a fallback reason code.
The flag enable_input_power_limited_warning controls whether to switch
to the new enum, while the flag enable_usb_data_compliance_warning
controls the new enums that are added as FlaggedApi in the framework.
Both flags need to be on to enable the change.
Bug: 308700954
Test: manual tests with local flag override
Change-Id: I6595706d1b83d533fc2d3e29086773270e045ede
2023-11-09 22:55:07 +00:00
Will McVicker
757c5f81ee
[automerger skipped] fstab: allow unlocked devices to boot with AVB test key am: 47ca5891c8 am: d0927073f6 -s ours am: b7e64e1a9c -s ours
...
am skip reason: Merged-In I11edf6e50411a05c6723f7523f3672a9a8116d7a with SHA-1 a9ba6b344f is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2794142
Change-Id: I392c9fef8f8f8e92b8e441733edde8cc9137424b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-09 19:39:05 +00:00
Will McVicker
cd886cac89
[automerger skipped] fstab: allow unlocked devices to boot with AVB test key am: 47ca5891c8 -s ours am: e877784aa7 -s ours am: 0336b944d1 -s ours
...
am skip reason: Merged-In I11edf6e50411a05c6723f7523f3672a9a8116d7a with SHA-1 a9ba6b344f is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2794142
Change-Id: I405cb08e29f9ef7e17525d0b104dfdc73aa3542c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-09 19:38:24 +00:00
Will McVicker
b7e64e1a9c
[automerger skipped] fstab: allow unlocked devices to boot with AVB test key am: 47ca5891c8 am: d0927073f6 -s ours
...
am skip reason: Merged-In I11edf6e50411a05c6723f7523f3672a9a8116d7a with SHA-1 a9ba6b344f is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2794142
Change-Id: Ia010473ea85fa3e68e402ef8a5bc2ab1dc2de9fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-09 18:53:16 +00:00
Will McVicker
0336b944d1
[automerger skipped] fstab: allow unlocked devices to boot with AVB test key am: 47ca5891c8 -s ours am: e877784aa7 -s ours
...
am skip reason: Merged-In I11edf6e50411a05c6723f7523f3672a9a8116d7a with SHA-1 a9ba6b344f is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2794142
Change-Id: I2be8c638af351e60a54ed22d915f1bf81b681ce9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-09 18:50:20 +00:00
Will McVicker
d0927073f6
fstab: allow unlocked devices to boot with AVB test key am: 47ca5891c8
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2794142
Change-Id: I96995e86bb8e32b3ef5632709dee2c572d19aa9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-09 17:43:49 +00:00
Will McVicker
e877784aa7
[automerger skipped] fstab: allow unlocked devices to boot with AVB test key am: 47ca5891c8 -s ours
...
am skip reason: Merged-In I11edf6e50411a05c6723f7523f3672a9a8116d7a with SHA-1 a9ba6b344f is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2794142
Change-Id: I2cc67b57702ee6289bf055be54b0aceadd665d6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-09 17:40:59 +00:00
Herbert Xue
ce1e182fab
Remove unused Android.mk under device/google/gs201
...
Remove these two Android.mk that is no longer used.
Bug: 309921036
Test: NA
Change-Id: Ib8703a3ace3eed7b13f4b851dc0eb2aef1d70c55
2023-11-09 18:56:29 +08:00
Devika Krishnadas
4217a458ba
Revert^2 "Use graphics allocator 2"
...
d2adab192e
Bug: 287353739
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I8e43a268441416af28631777f560352bc56b2773
Signed-off-by: Devika Krishnadas <kdevika@google.com >
2023-11-08 23:21:06 +00:00
Will McVicker
47ca5891c8
fstab: allow unlocked devices to boot with AVB test key
...
Set `avb_keys=no_such_key` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel. This allows a few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Note: we are using "no_such_key" to ensure an AVB keys file doesn't
accidentally get created.
Test: Flash CI build. Then flash custom kernel on top.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
Merged-In: I11edf6e50411a05c6723f7523f3672a9a8116d7a
2023-11-08 19:22:01 +00:00
Will McVicker
b438a64948
fstab: allow unlocked devices to boot with AVB test key am: a9ba6b344f am: eac65ae6df
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25300418
Change-Id: Ic74fa4b1ed490e4046bbd9799b767627741e98ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-08 10:13:14 +00:00
Will McVicker
eac65ae6df
fstab: allow unlocked devices to boot with AVB test key am: a9ba6b344f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25300418
Change-Id: Ia9ce83dd6084b4ef1cbc021b8e26655ffa501ff7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-08 09:29:18 +00:00
Will McVicker
a9ba6b344f
fstab: allow unlocked devices to boot with AVB test key
...
Set `avb_keys=no_such_key` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel. This allows a few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Note: we are using "no_such_key" to ensure an AVB keys file doesn't
accidentally get created.
Test: Flash CI build. Then flash custom kernel on top.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
2023-11-07 09:58:35 -08:00
Jeff Chang
5187b301cb
Update default allow list for VRR small dirty detection
...
The feature will be enabled by the feature flag
Bug: 308742727
Test: Build
Change-Id: Iff7cfbe3ebc2e6acbfafc0b44b57dc446cca1f89
2023-11-02 10:48:19 +00:00
Jasmine Cha
2f628f5fd2
audio: remove prescale for BT absolute volume
...
Bug: 302553525
Test: build pass
Change-Id: I55ed6d8f96ccfca74317b70bc9b5a2ff28bbba50
Signed-off-by: Jasmine Cha <chajasmine@google.com >
2023-11-01 06:02:04 +00:00
George Lee
6c78c45aae
pixelstats: Add brownout detection path
...
Bug: 307392882
Test: Local generate brownout for data upload
Change-Id: I06b846b9a0a9d8eb4edd5e1636248a44940f0683
Signed-off-by: George Lee <geolee@google.com >
2023-10-31 17:05:58 +00:00
mincheli
96a9ee2a18
gs201 includes TTS voice packs from gs-common/device.mk
...
Bug: 140145973
Test: manual test
Change-Id: I8207ccc370e1f8d811273f0773851f42b945ccd4
2023-10-31 06:17:07 +00:00
Will Song
39337da9be
PREUPLOAD: Enforce jsonlint in preupload
...
Checks syntax and simple brace balances for all JSON files.
Test: Edit any json and try upload
Bug: 127794899
Change-Id: I12e5ca0a0fe249f7d93adbd540d4964cafb09249
2023-10-29 06:14:31 +00:00
Android Build Coastguard Worker
80d7e99173
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25159378'] into udc-qpr1-release.
...
Change-Id: I85f3aed1536fcb97785f040aca47e3f837165850
2023-10-27 03:36:07 +00:00