Commit graph

17 commits

Author SHA1 Message Date
George Lee
b4bacec8fc pixelstats: enable mitigation stats for gs101 am: dfcbf1ec32 am: 9979984ae9 am: 0aea8bb009
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15146066

Change-Id: I5aaa2e48cb97d5b7bc8b3db96dd3744845dd7cb4
2021-07-22 17:58:01 +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
7e40474ef7 PixelStat: Suez: Porting wireless charging am: 4c3d1f2369 am: 39d43e59fb am: 626a99fea2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881199

Change-Id: Ibe02b486f8e10738d7e97be62808c368ae073fb7
2021-06-29 02:00:40 +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
aeb35cbf24 Pixestat: add battery info am: 1cf072038b am: ee78240150 am: 72fe3ef95b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14617774

Change-Id: I152b0bf39e13224f7b72b7954edab08c3b195d42
2021-06-23 09:17:35 +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
90a74f7ec1 gs101: add audio uevent to report mic status for pixelstats am: d351a65154
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14444595

Change-Id: I5697e6446eeb1f9d8575ce078e9c0011bf191f3b
2021-05-07 08:58:39 +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
84ca577c2c gs101: add audio suez devices am: 1d6c433572
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14205927

Change-Id: Ia22a85328cfcd36ac1cd01d0b5f0c3ffe6d92f21
2021-04-28 08:54:24 +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
Ocean Chen
d91dde1d52 pixelstats: start service on boot completed
Sometimes the init needs to take more time to
change the compr_saved_block and compr_new_inode
from root:root to system:system

Otherwise, pixelstats cannot write these two sysnode

Bug: 173399386
Test: pixel/022
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I35625b94540baf637db07db3147839a79536378c
Merged-In: I35625b94540baf637db07db3147839a79536378c
2021-04-21 11:54:10 +00:00
Ocean Chen
57f56b76c6 pixelstats: start service on boot completed
Sometims the init needs to take more time to
change the compr_saved_block and compr_new_inode
from root:root to system:system

Otherwise, pixelstats cannot write these two sysnode

Bug: 173399386
Test: pixel/022
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I35625b94540baf637db07db3147839a79536378c
2021-04-09 08:18:58 +00:00
Vova Sharaienko
2bd569d2fa Stats: removed extra dependencies after transition to AIDL version
Bug: 182352837
Bug: 178523659
Test: build, falsh & boot, showmap for pixelstats-vendor
Change-Id: I2eeaff18fb2bcd7d55f5bc0207169c9f38424023
2021-03-30 23:15:32 +00:00
Chiawei Wang
f236f66384 pixelstats: add readproc to access process
We would like to collect stime of kswapd0 and kcompactd0.
readproc is required to access /proc/<pid>

Bug: 173101018
Test: build pass
Test: adb shell cmd stats print-logs
      adb logcat | grep 105014
      stime can be collected.
Change-Id: I8594f9e75a998718735503bbd5f2f5086a25c365
2021-03-25 07:55:01 +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