Commit graph

25 commits

Author SHA1 Message Date
Spade Lee
a4f232b4a6 pixelstats: gs101: add all logbuffer paths
Bug: 335934710
Change-Id: I573317a5da547eef4cbec22822d37bfb06f910d0
Signed-off-by: Spade Lee <spadelee@google.com>
2024-04-29 01:42:03 +00:00
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
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
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
Jenny Ho
235d2894de pixelstats: add gmsr path
Bug: 300590097
Change-Id: I189cbbea37b621d7f17231413f8667edbbfc27e4
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-10-25 15:15:23 +08:00
Ziyi Cui
eb0c71135f gs101: Add path reading for StormIRQ
Bug: 279486693
Test: Verified the existence of atom and correctness of atom stats
adb shell
cmd stats print-logs && logcat -b all | grep -i 105043
Change-Id: I7b0f7c7226474622f51beb3a6ec9bb0670405b4f
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-08-08 03:11:40 +00:00
sashwinbalaji
755241a5ff thermal: Update path reading for temperature residency metrics
Add temperature residency reset path
chown to system to reset from pixelstats

Bug: 193833982
Test: Local build and verify statsD logs
adb shell cmd stats print-logs && adb logcat -b all | grep -i 105045
Change-Id: Id73badfb8f8ff97a1a75b0544d3e1457ad0e2f84
2023-05-25 05:28:45 +00:00
Ziyi Cui
607ea7aaa7 gs101: Update path reading for temperature residency metrics
Bug: 260915419

Test: Verified the existence of atom

adb shell cmd stats print-stats | grep 105045

Change-Id: I1e5cf8e27ccaca196fe7f208cccd8475ffca7647
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-02-07 02:05:39 +00:00
Denny cylee
d625683aaf Pixelstats: wireless charging metrics phase out
Not set the wireless charging uevent struct field

Bug: 260974677
Test: no abnormal pixelstat logcat found
Change-Id: I66f6f4993534bd3a981e302f82e157eee1ca0b91
Signed-off-by: Denny cylee <dennycylee@google.com>
2022-12-26 01:54:08 +00:00
Ziyi Cui
cf6265fb32 gs101: pixelstats: add pixel perf stats paths
Add pixel perf metrics paths in sysfs paths list for gs101

Bug: 232541623
Test: Tested resume latency metrics
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I0c4b363e93a9ee651cedc35e2e1e09a691244828
2022-11-29 01:02:45 +00:00
Ziyi Cui
e7a2571a72 gs101: pixelstats: add pixel temperature residency stats paths
Add pixel temperature residency metrics paths in sysfs paths list for gs101

Bug: 246799997
Test: Verified the existence of atom and correctness of atom stats
Change-Id: I7fbf563aa3da258f72ddac2e4383af732de1c6d8
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-11-23 23:37:19 +00:00
Roger Fang
78e92a8146 pixelstats: add ams_rate sysfs for ATOM of VendorAudioHardwareStatsReported
Bug: 239508478
Test: manually test passed

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I33ef881cb6b48d7a53a4f0b61124a838cd16a189
2022-08-30 04:36:20 +00:00
Ocean Chen
40448dc03b Pixelstats: add block layer stats length
The block layer stats format is changing
time by time. This can pass the correct
length by project.

Bug: 219860725
Test: reboot and check log
Change-Id: I760cf211e87fe7cc6069a2379193e61cf323ebb3
2022-06-24 09:31:10 +00:00
Badhri Jagan Sridharan
a25b4d683b pixelstats: Filter "PRODUCT_TYPE" uevent for reporting VID/PID
gs101 has the kernel changes to report "PRODUCT_TYPE" upon plug-in.

Bug: 196104058
Test: adb shell cmd stats print-logs; adb logcat | grep 105011
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: Ia61a3b2a693d4f2b630409dd786342743e330ef2
2021-10-26 00:29:14 +00:00
Ocean Chen
dd652a2ccd Pixelstats: add more UFS error count paths
The UFS resume flow also increase the reset count.
It makes the reset count cannot represent the real
error count. So we use other count instead of reset count

Bug: 199459367
Test: run storage-qa pixel/022
Change-Id: I853bd5da410b78a0f9a76beee2e4745f68ddba59
Merged-In: I853bd5da410b78a0f9a76beee2e4745f68ddba59
Signed-off-by: Ocean Chen <oceanchen@google.com>
2021-09-14 17:46:22 +00:00
Roger Fang
a555dec81e device: gs101: add speaker health stats
Add the sysfs that required by the new ATOM of VendorSpeakerStatsReported.

Bug: 175736081
Test: Manually test with ATOM

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I61a47ff963d7c9ed75d9c636b171c791f7ae7c38
2021-09-07 03:19:32 +00:00
George Lee
99e853801e pixelstats: enable mitigation stats for gs101
Corresponding change to reflect changes that enable mitigation stats.

Bug: 186806028
Test: Local Test.
$>cmd stats print-logs
$>logcat | grep <atom id>

Signed-off-by: George Lee <geolee@google.com>
Change-Id: If4b7185345145c6f25444ed88ef1e4f24becde86
2021-07-22 17:03:32 +00:00
Denny cy Lee
f2227732cb PixelStat: Suez: Porting wireless charging
Wireless ptmc uevent is not supported,
replace it with reading file node

Bug: 171853251
Test: manually, do wirelees charge, check logcat

Signed-off-by: Denny cy Lee <dennycylee@google.com>
Change-Id: I8d4bbff09826fb76b0bce4321e9b5081a1487435
2021-06-29 01:16:34 +00:00
Denny cy Lee
8101fbcec0 Pixestat: add battery info
Bug: 171947164
Test: manually, no read fail found
Change-Id: I35bbca1aec39e6fb6133386b96efd727a9f74099
Signed-off-by: Denny cy Lee <dennycylee@google.com>
2021-06-23 08:22:41 +00:00
Roger Fang
d351a65154 gs101: add audio uevent to report mic status for pixelstats
ACTION=change
  DEVPATH=/devices/virtual/amcs/amcs
  MIC_BREAK_STATUS=1

Bug: 174994440
Test: Manually test passed
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I2a478167960ea9b2e8cbe732e030fa38757204d7
2021-05-07 08:48:18 +00:00
Roger Fang
1d6c433572 gs101: add audio suez devices
ACTION_SPEAKER_IMPEDANCE
ACTION_HARDWARE_FAILED

Bug: 171854614
Test: manually test
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I9c4bbde93edb22e65a092cb4a1f1f2eb9839d926
2021-04-28 08:50:40 +00:00
Stephane Lee
33a1ce7421 Add UeventListener to pixelstats in gs101
Bug: 171793497
Test: Ensure that uevent listener reports data to statsd
Change-Id: I9e90f8483298934a78320f37dbf5eb1ac38e8f97
2021-03-23 17:23:03 +00:00
Ocean Chen
91262dd631 pixelstats: add ufs host reset count
Add path for new atom, UFS_RESET_COUNT

bug: 176740886
Change-Id: Icae0b5b104674be078854193048c3fc49f7bf527
2021-03-08 17:49:36 +08:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00