summaryrefslogtreecommitdiff
path: root/pixelstats/StatsHelper.cpp
AgeCommit message (Collapse)Author
2022-03-16Remove reverseDomainName from pixel atomsJeffrey Huang
Bug: 224697964 Test: TH Change-Id: I566e23bc818a6d7184202d445eba438f41b5cf5b
2021-09-03Pixelstats: Add VendorSpeakerStatsReported to support Speaker HealthRoger Fang
Add the new ATOM, VendorSpeakerStatsReported to support more speaker health statistics. Eldar: 999001 Bug: 175736081 Test: Manually test. Signed-off-by: Roger Fang <rogerfang@google.com> Change-Id: I1542c51ba1f7776b8dcaff7d9c8e09b6f161f152
2021-04-09Update pixelstats.proto structureJeffrey Huang
Bug: 184885739 Test: TH Change-Id: Ie79231ece35e1779943194a09f89dc421bffc742
2021-04-01Stats: added isDeclared return value cachingVova Sharaienko
- reduces the amount of logcat messages from AServiceManager_isDeclared() Bug: 184056476 Test: build, flash & boot, grep "VINTF manifest" - should be once per app Change-Id: I13d3671f7b530435ecd6be85d4723607175afafc
2021-03-22Stats: Transition HIDL clients to the new AIDL APIsVova Sharaienko
Transition performed for below vendor atoms: - VENDOR_CHARGE_CYCLES - VENDOR_HARDWARE_FAILED - VENDOR_SLOW_IO - VENDOR_SPEECH_DSP_STAT - VENDOR_PHYSICAL_DROP_DETECTED - VENDOR_USB_PORT_OVERHEAT Added StatsHelper class to remove code duplication Removed HIDL Stats service usage Eldar documents: - https://eldar.corp.google.com/assessments/711181187/drafts/524239972 - https://eldar.corp.google.com/assessments/172545515/drafts/387415106 - https://eldar.corp.google.com/assessments/58228256/drafts/670276665 - https://eldar.corp.google.com/assessments/739149551/drafts/409076581 - https://eldar.corp.google.com/assessments/758740529/drafts/537971467 - https://eldar.corp.google.com/assessments/410566721/drafts/146868766 Bug: 179509859 Bug: 182352837 Bug: 181908420 Test: build, flash & boot Test: adb shell cmd stats print-stats for all new atoms IDs Change-Id: Ibe3ddfbb008811f6e1770ebea0c5950adfa20c5e