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
Signed-off-by: Ocean Chen <oceanchen@google.com>
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>
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
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
Bug: 171947164
Test: manually, no read fail found
Change-Id: I35bbca1aec39e6fb6133386b96efd727a9f74099
Signed-off-by: Denny cy Lee <dennycylee@google.com>
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
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
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