Commit graph

11 commits

Author SHA1 Message Date
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