From b955c56c4a1e14653306e6f85f8758013dc03b03 Mon Sep 17 00:00:00 2001 From: rogerfang Date: Mon, 13 Jan 2020 10:30:19 +0800 Subject: 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 --- pixelstats/service.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pixelstats') 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"; -- cgit v1.2.3