Ziyi Cui
afd02b35ff
[automerger skipped] gs201: pixelstats: add pixel temperature residency stats paths am: 980362e77d
am: a53b4e6b88
-s ours
...
am skip reason: Merged-In Ib0788756eb77490e257145bd90c9b8041149ede0 with SHA-1 68cf879bb1
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20429745
Change-Id: Ic8910d40cc0c4ff4fdc1e8f03923af73c07b55f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 07:28:30 +00:00
Ziyi Cui
a53b4e6b88
gs201: pixelstats: add pixel temperature residency stats paths am: 980362e77d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20429745
Change-Id: I3a53a5f52bfa9aaa83325e77c338a0d620ffda2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 06:59:37 +00:00
Ziyi Cui
980362e77d
gs201: pixelstats: add pixel temperature residency stats paths
...
Add pixel temperature residency metrics paths in sysfs paths list for gs201
Bug: 246799997
Test: Tested temperature residency metrics
Signed-off-by: Ziyi Cui <ziyic@google.com>
Merged-In: Ib0788756eb77490e257145bd90c9b8041149ede0
Change-Id: Ib0788756eb77490e257145bd90c9b8041149ede0
2022-12-01 06:27:22 +00:00
Mason Wang
16dc8a2f68
[automerger skipped] Dumpstate: Filter not used dumps of touch node. [DO NOT MERGE] am: 758d4f22fe
am: e394da1a62
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20585803
Change-Id: I4a020c5237170e2e3108bab5b05a6860efad5478
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 00:19:58 +00:00
Mason Wang
e394da1a62
Dumpstate: Filter not used dumps of touch node. [DO NOT MERGE] am: 758d4f22fe
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20585803
Change-Id: Ied9169de78ce5cf906b77ef6d66ad2c792351711
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 23:50:22 +00:00
Mason Wang
758d4f22fe
Dumpstate: Filter not used dumps of touch node. [DO NOT MERGE]
...
Bug: 226475119
Test: Dumps of outer panel is in bugreport.
Change-Id: I1e6e59e1709715306671df9536685d9b3a9e34d6
2022-11-30 23:04:01 +00:00
Gabriel Biren
60d255a641
Update gs201 compatibility matrix to use the
...
AIDL wifi_ext service.
Bug: 205044134
Test: Presubmit tests
Change-Id: Iedb220ec749664c2e529b704f8dfccdce45aaf8c
2022-11-30 22:47:08 +00:00
Wasb Liu
ce5f36cfa7
init: add battery persist folder am: a573337875
am: ab7efdbdbb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20473347
Change-Id: Ie6197d8f9a879c7dfcddc57d887321ea7660f167
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 10:31:38 +00:00
Wasb Liu
ab7efdbdbb
init: add battery persist folder am: a573337875
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20473347
Change-Id: Idb29c38ddfa36a59029e07776e98a46bfe395274
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 09:59:32 +00:00
Wasb Liu
a573337875
init: add battery persist folder
...
add persist battery folder for BatteryDefender
Bug: 258535661
Test: confirm the BatteryDefenter feature works fine
Change-Id: I5e2925d4fe188e0a104f2b20e7b230d60d7f8039
Signed-off-by: Wasb Liu <wasbliu@google.com>
2022-11-30 09:44:34 +00:00
Mason Wang
88d6fccbd1
[automerger skipped] Dumpstate: Avoid to dumps on invalid file node [DO NOT MERGE] am: 0cdf324421
am: aecc127679
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20400885
Change-Id: Ib55fe3fbdb163b6b722e65805b486e7788bdbaa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 08:39:04 +00:00
Mason Wang
aecc127679
Dumpstate: Avoid to dumps on invalid file node [DO NOT MERGE] am: 0cdf324421
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20400885
Change-Id: I761f6de142652d33925a18ae1efd049c41ba25ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 08:06:53 +00:00
Adam Shih
5382b6adb3
move touch dump to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: Ic13dc189eccd1a5f4f204326b1e93303b9492f69
2022-11-29 04:47:15 +00:00
Ziyi Cui
f96a1b8ad0
gs201:use gs-common pixel_metrics dump
...
Bug: 227809911
Bug: 232541623
Test: Test: "adb bugreport" includes metrics capture.
Change-Id: Ie1e6078713a969c490cba67ad64aac8328ac62df
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-11-29 01:02:45 +00:00
Ziyi Cui
a67765d834
gs201: pixelstats: add pixel perf stats paths
...
Add pixel perf metrics paths in sysfs paths list
Bug: 232541623
Test: Tested resume latency metrics
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I7301e3ba53497906ad523dd9f02ccfe796b5c2de
2022-11-29 01:02:45 +00:00
Mason Wang
0cdf324421
Dumpstate: Avoid to dumps on invalid file node [DO NOT MERGE]
...
Bug: 226475119
Test: Verify pass by touch dump data in bugreport.
Change-Id: I9088ca44a9111ae36462f340da57dfe27d4b86ec
2022-11-28 11:51:37 +08:00
Nicole Lee
5e4a977ba3
Update pixel stability logging mask am: ef3195940e
am: bb6391f06b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20567678
Change-Id: If0b2e35022991e7babd44042ceeb2e4931f6fff6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 02:51:53 +00:00
Nicole Lee
bb6391f06b
Update pixel stability logging mask am: ef3195940e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20567678
Change-Id: I2db00135ba10b3dcb4144a57132a4d5ca6051350
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 02:23:22 +00:00
Nicole Lee
ef3195940e
Update pixel stability logging mask
...
- Enable COMMON_HAL, PAL_PWR
Bug: 260304925
Change-Id: I7a78616ee045aadece5cac370839c7544e39f240
2022-11-25 17:30:16 +08:00
Puma Hsu
6c7e5cc70c
usb: modify the initial_descriptor_timeout to 500ms am: 0c3dc78fb9
am: 360258f4c0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20543177
Change-Id: Ifcd90540366282cf936add885f8567eed145583a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-25 02:47:45 +00:00
Kieran Cyphus
a7abfe801b
Dumpstate: include LoggingMaskHistory.csv
on bugreport am: fef314ea8a
am: be98ee5556
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20335689
Change-Id: I5755190c4644be3b321fcbde163e11f1d0b2293e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-25 02:47:26 +00:00
Puma Hsu
360258f4c0
usb: modify the initial_descriptor_timeout to 500ms am: 0c3dc78fb9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20543177
Change-Id: I632cdcbff310653d210cf81f910265d229ac33ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-24 14:10:52 +00:00
Puma Hsu
0c3dc78fb9
usb: modify the initial_descriptor_timeout to 500ms
...
Since retry times of kernel driver are 24 during USB enumeration,
the total time of bad USB enumeration will waste 48 seconds.
This patch will reduce the timeout from 2 seconds to 500ms, so the
total time is changed to 12 seconds.
(cherry-pick from commit dd9bb5578cd197b44f32c0c19aca79610b5bdd54)
Bug: 256100001
Test: the timeout value is 500
Change-Id: I6c30e3c9168242f5c22443cbd5622892617e0520
Signed-off-by: Puma Hsu <pumahsu@google.com>
2022-11-24 13:34:14 +00:00
Ziyi Cui
68cf879bb1
gs201: pixelstats: add pixel temperature residency stats paths
...
Add pixel temperature residency metrics paths in sysfs paths list for gs201
Bug: 246799997
Test: Verified the existence of atom and correctness of atom stats
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: Ib0788756eb77490e257145bd90c9b8041149ede0
2022-11-24 00:11:30 +00:00
Kieran Cyphus
be98ee5556
Dumpstate: include LoggingMaskHistory.csv
on bugreport am: fef314ea8a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20335689
Change-Id: Idd9b5560df3a01dfdbf22bc1d73061d4306ff2bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23 07:58:09 +00:00
Kieran Cyphus
fef314ea8a
Dumpstate: include LoggingMaskHistory.csv
on bugreport
...
Bug: 241739027
Test: trigger bugreport with `adb bugreport` and inspect the
logs to to make sure it is copying over LoggingMaskHistory and
including it in the tar file at the end.
Change-Id: I93ad2655193c57a0782c1535dc1cde3d0db1aeec
2022-11-23 07:27:30 +00:00
Adam Shih
4b1a772fa3
use gs-common thermal dump
...
Bug: 257880034
Test: adb bugreport
Change-Id: Ie4855d54999266b4a33b80b2e44f5f956438b99c
2022-11-23 14:35:57 +08:00
Adam Shih
76ce23c5d2
move gti0 dump to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: I17aeb8cf5065a24cbacea73b65e0bc53aa0c498d
2022-11-23 05:30:53 +00:00
Vaibhav Devmurari
0f9dcda519
Allow system server to access sysfs node of led lights.
...
To support input device lights manager feature in frameworks, provide
sysfs node access to system server process.
DD: go/pk_backlight_control (For keyboard backlight control for external
keyboards)
Similar CL: ag/20102346
Kernel provides a standardized LED interface to expose LED controls
over sysfs: https://docs.kernel.org/leds/leds-class.html
The feature will be provided for devices with kernel sysfs class led
support and vendor kernel driver for input controllers that do have
lights. The kernel sysfs class led support is a kernel config option
(LEDS_CLASS), and an input device driver will create the sysfs class
node interface.
By giving system_server the access to these sysfs nodes, the feature
will work on devices with the kernel option and kernel input/hid driver
support. We do use CTS tests to enforce the kernel options and the
input device drivers.
What's already supported:
- We already expose paths for UHID based LED nodes which covers all
bluetooth based peripherals that have custom vendor drivers to expose
LED sysfs nodes. (see CL aosp/1546377)
What's included in this CL:
- Exposing paths for sysfs nodes for external USB based devices that
expose LED nodes using vendor specific drivers using standard LED
interface provided by Kernel
- We are using specific paths for USB devices instead of
/sys/class/leds to avoid giving access to system LED nodes that would
also appear under /sys/class/leds (see discussion in aosp/1546377)
NOTE: Light HAL should never touch the HID device sysfs light, as the
light HAL only defines a number of lights supported
(https://android.googlesource.com/platform/hardware/interfaces/+/master/light/2.0/types.hal )
but not include input device lights, so we shouldn't have conflict
for managing these lights.
NOTE: External keyboard backlight is different for HAL light type
KEYBOARD which is for devices with attached keyboards.
Test: manual
Bug: 245506418
Change-Id: I17031179b7c1e56b0e841d4047859006d005fd21
2022-11-22 15:14:57 +00:00
Cynthia Wasonga
4e3f62823d
Prevent preinstallation of AOSP apps on gs201 for clone profile
...
Bug: 238970256
Test: build
Change-Id: Ie275257ce334d914437125afdc4a7e9350208266
2022-11-22 13:39:04 +00:00
Hua Cheng
9b16140c57
Revert "[Steadiface] Disable landmark inference dsp usage." am: 945f9e6cd5
am: 7cb4c9e728
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20456650
Change-Id: Ic0902e3deb827cb39e7c8a8c2a201667bd39ee76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 07:52:50 +00:00
Hua Cheng
7cb4c9e728
Revert "[Steadiface] Disable landmark inference dsp usage." am: 945f9e6cd5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20456650
Change-Id: I1ec4757d0eb4644a065e8c57f9221cb6accbc5a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 07:17:25 +00:00
Hua Cheng
945f9e6cd5
Revert "[Steadiface] Disable landmark inference dsp usage."
...
This reverts commit f7f4d8e84f
.
Reason for revert: The issue b/255244818 caused by cl/476717338 is fixed in cl/477452462 on QPR2.
Bug: 257660234
Test: CTS
Test: Check DSP-TPU landmark is enabled.
Change-Id: I122b3d786cf670515fc471baa043fdd4ccdf0d72
2022-11-22 07:00:30 +00:00
Adam Shih
3303ba1a10
remove panther touch dump
...
Bug: 256521567
Test: adb bugreport
Change-Id: If56e6edad81ac16f8570d40668e6b1d6579c8cb6
2022-11-21 02:45:42 +00:00
Wayne Lin
891c3b97a1
[automerger skipped] DO NOT MERGE gps: update gps driver 147.20.23.554803 am: 1d398c55be
am: 8f9e541ac3
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20456649
Change-Id: I9987e661dca74c59b3ce34b9e1b59a5873a63060
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 08:41:48 +00:00
Wayne Lin
8f9e541ac3
DO NOT MERGE gps: update gps driver 147.20.23.554803 am: 1d398c55be
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20456649
Change-Id: I62b831e6f6ba5a83292bba571a639a0fe7528612
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 08:13:43 +00:00
Wayne Lin
1d398c55be
DO NOT MERGE gps: update gps driver 147.20.23.554803
...
- Fix GLONASS Notch Filter Center issue
- Support RILC_UNSOL_GPS_LOCK_MODE to send GPS LOCK MODE to CP
- Fix IGnssMeasurement#setCallback twice issue
- Fix the issues related to LTE filter
Bug: 210132268
Bug: 241880444
Bug: 254195220
Bug: 254202512
Verify test: b/259015778
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I7c4c92b16a176c86c7239db3381cf246169ebbe1
2022-11-17 07:45:19 +00:00
Adam Shih
96e1ee4f25
move cheetah touch dump to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: I87f223d78b64bd69a092299fe41c96820e5ce446
2022-11-17 10:34:23 +08:00
Christopher Ferris
3a2abe3626
Merge "Switch to IGNORE_PREFER32_ON_DEVICE." am: 9c2cdd2219
am: 566efdc77c
am: 9bb722f0a2
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2303576
Change-Id: I0f5140bc7e6a68ae645b91626fed7172ef9f5154
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 23:49:35 +00:00
Christopher Ferris
9bb722f0a2
Merge "Switch to IGNORE_PREFER32_ON_DEVICE." am: 9c2cdd2219
am: 566efdc77c
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2303576
Change-Id: Iccbffa5eefffbec4eacc995140fc2753760446e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 23:02:47 +00:00
Christopher Ferris
566efdc77c
Merge "Switch to IGNORE_PREFER32_ON_DEVICE." am: 9c2cdd2219
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2303576
Change-Id: Ie362b2c64fd8fe8fc27aac9e0e547357392b3339
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 21:45:46 +00:00
Christopher Ferris
9c2cdd2219
Merge "Switch to IGNORE_PREFER32_ON_DEVICE."
2022-11-16 20:54:16 +00:00
George Lee
af6680dec5
[automerger skipped] battery_mitigation: Add BrownoutDetection app [DO NOT MERGE] am: d0d71a7ce8
am: f09c0017be
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20468986
Change-Id: Idefb21ae88fb651cbb97f1c355196011362ecb18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 19:53:13 +00:00
George Lee
f09c0017be
battery_mitigation: Add BrownoutDetection app [DO NOT MERGE] am: d0d71a7ce8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20468986
Change-Id: I28683ff582e0dc2b13ff0846d7f23eacbbba3204
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 18:34:53 +00:00
George Lee
d0d71a7ce8
battery_mitigation: Add BrownoutDetection app [DO NOT MERGE]
...
This app files bugreport for user-debug build with reboot reason = ocp
or uvlo. Removed the dependency on BetterBug.
Bug: 237287659
Test: Ensure bugreport is generated under user-debug build with reboot
reason = ocp or uvlo.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I267f077e9c6c856b038b008397c0b465d209d9c3
2022-11-16 18:20:57 +00:00
Adam Shih
eed4e34113
remove raven touch dump
...
Bug: 256521567
Test: adb bugreport
Change-Id: If7d45e4bb4c78101bf5221ee858cbea15ba6327d
2022-11-16 07:42:22 +00:00
Christopher Ferris
7a257f0090
Switch to IGNORE_PREFER32_ON_DEVICE.
...
In aosp, the name of the variable changed from
FORCE_MULTILIB_FIRST_ON_DEVICE to IGNORE_PREFER32_ON_DEVICE.
So actually modify this so the new devices don't have 32 bit
servers.
Test: Verified that drmserver/mediaserver are 64 bit processes.
Change-Id: I282f5129bcc91d99e924f514b01fc4e7e37e9ea9
2022-11-15 18:49:05 -08:00
Sophia Wang
54eea43433
Revert "gs201:conf Add memlat CPU idle awareness settings"
...
This reverts commit 0b1a579e9b
.
Reason for revert: High perf regression
Change-Id: I626b353bf4fd8f85e648112f45d6c818a67d193c
2022-11-15 21:20:52 +00:00
Roger Fang
9c967743a2
pixelstats: add cca_rate sysfs for VendorAudioHardwareStatsReported
...
Bug: 249225148
Test: manually test passed
Change-Id: I797016922e63f368a7e9944da619615b2034a4ce
Signed-off-by: Roger Fang <rogerfang@google.com>
2022-11-15 10:20:41 +00:00
Minchan Kim
b5ae9d29fa
dumpstate: Dump pixel specific trace events at bugreport am: 31883f3edc
am: a206af9907
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20413970
Change-Id: Ibfa19e668a916893915ef96073d23d317ed8726c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-14 19:52:49 +00:00