diff options
author | Andrew Chant <achant@google.com> | 2018-05-18 10:52:00 -0700 |
---|---|---|
committer | Andrew Chant <achant@google.com> | 2018-05-22 15:55:07 -0700 |
commit | c03bc63a5c26284d987d0c59be411dc36d9707c2 (patch) | |
tree | e0f4c170f7d83e452ec4566963da1649f98becc1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 97abc762ccbf2118ded90d6e796d3db1666f3e6b (diff) |
Add new hardware reliability actions and fields
Add ACTION_BATTERY_CAUSED_SHUTDOWN, ACTION_SLOW_IO,
ACTION_SPEAKER_IMPEDANCE, and associated new fields.
For pre-existing actions, add FIELD_SPEAKER_LOCATION,
FIELD_BATTERY_RESISTANCE_UOHMS, FIELD_BATTERY_CURRENT_UA,
FIELD_HARDWARE_LOCATION.
ACTION_BATTERY_CAUSED_SHUTDOWN
Fired after a boot if the previous boot was detected to be caused
by shutdown due to low battery, this reports the last recorded
low battery voltage.
It uses FIELD_BATTERY_VOLTAGE_UV to report the voltage.
ACTION_SLOW_IO
Daily aggregated count of IO operations that exceed max expected
threshelds, indicating hardware failures.
FIELD_IO_OPERATION_TYPE indicates the type of slow operation, and
FIELD_COUNT indicates how many occured aggregated over 24hrs.
ACTION_SPEAKER_IMPEDANCE
Last recorded speaker impdenace, reported daily.
Uses FIELD_SPEAKER_IMPEDANCE_MILLIOHMS and FIELD_SPEAKER_LOCATION
to report the impedance of each speaker.
Bug: 79996489
Bug: 79881385
Test: Booted and issued ACTIONs via pixelstats HAL.
Change-Id: I95b85fbd38e3a03ebeb146b65ffce17d982d4d6a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions