diff options
author | rogerfang <rogerfang@google.com> | 2020-01-13 10:30:19 +0800 |
---|---|---|
committer | rogerfang <rogerfang@google.com> | 2020-01-13 10:32:21 +0800 |
commit | b955c56c4a1e14653306e6f85f8758013dc03b03 (patch) | |
tree | 374939e92888cf29d078ba786362d4b39e789ee3 /pixelstats | |
parent | 8903a4de6e8272d5f43fbde1d00678f96407b183 (diff) | |
download | sunfish-b955c56c4a1e14653306e6f85f8758013dc03b03.tar.gz |
Pixelstat: add audio suez devices
ACTION_SPEAKER_IMPEDANCE
ACTION_HARDWARE_FAILED
speech_dsp_stat_reported
Bug:144900113
Test: manually test
Change-Id: Ib249d8fc179d09779c40db9ed7fd2df06033d206
Signed-off-by: rogerfang <rogerfang@google.com>
Diffstat (limited to 'pixelstats')
-rw-r--r-- | pixelstats/service.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index 01564c3e..b2b1b5b3 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -35,8 +35,10 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = { .SlowioUnmapCntPath = UFSHC_PATH(slowio_unmap_cnt), .SlowioSyncCntPath = UFSHC_PATH(slowio_sync_cnt), .CycleCountBinsPath = "/sys/class/power_supply/battery/cycle_counts", - .ImpedancePath = "/sys/class/misc/msm_cirrus_playback/resistance_left_right", - .CodecPath = "", // b/117976641 + .ImpedancePath = "/sys/devices/platform/codec_detect/resistance_left_right", + .CodecPath = "/sys/devices/platform/codec_detect/codec_state", + .SpeechDspPath = "/sys/devices/platform/codec_detect/wdsp_stat", + .Codec1Path = "/sys/devices/platform/codec_detect/headset_codec_state", }; const char *const kAudioUevent = "/kernel/q6audio/q6voice_uevent"; |