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
diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp
index 5c381eb..5695971 100644
--- a/pixelstats/service.cpp
+++ b/pixelstats/service.cpp
@@ -36,6 +36,8 @@
.UFSLifetimeC = UFSHC_PATH(health_descriptor/life_time_estimation_c),
.UFSHostResetPath = UFSHC_PATH(err_stats/dev_reset_count),
.F2fsStatsPath = "/sys/fs/f2fs/",
+ .ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
+ .CodecPath = "/sys/devices/platform/audiometrics/codec_state",
};
int main() {