From 09ddcecb8d364edc0a75c77e3911ca02069cf2c2 Mon Sep 17 00:00:00 2001 From: Poomarin Phloyphisut Date: Mon, 22 Jan 2024 04:43:20 +0000 Subject: [PATCH] pixelstats: copy audiometric sysfs_paths from Zuma. Bug: 321610140 Test: Local Test Change-Id: I41e7559e879cd5c7d5e9860088993d70a66cfc06 --- pixelstats/service.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index 9b0794f..e220a04 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -76,7 +76,18 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = { }, .ModemPcieLinkStatsPath = "/sys/devices/platform/12100000.pcie/link_stats", .WifiPcieLinkStatsPath = "/sys/devices/platform/13120000.pcie/link_stats", - .GMSRPath = "/sys/class/power_supply/max77779fg/gmsr" + .GMSRPath = "/sys/class/power_supply/max77779fg/gmsr", + .PDMStatePath = "/sys/devices/platform/audiometrics/pdm_state", + .WavesPath = "/sys/devices/platform/audiometrics/waves", + .AdaptedInfoCountPath = "/sys/devices/platform/audiometrics/adapted_info_active_count", + .AdaptedInfoDurationPath = "/sys/devices/platform/audiometrics/adapted_info_active_duration", + .CCARatePath = "/sys/devices/platform/audiometrics/cca_count_read_once", + .PcmLatencyPath = "/sys/devices/platform/audiometrics/pcm_latency", + .PcmCountPath = "/sys/devices/platform/audiometrics/pcm_count", + .TotalCallCountPath = "/sys/devices/platform/audiometrics/call_count", + .OffloadEffectsIdPath = "/sys/devices/platform/audiometrics/offload_effects_id", + .OffloadEffectsDurationPath = "/sys/devices/platform/audiometrics/offload_effects_duration", + .BluetoothAudioUsagePath = "/sys/devices/platform/audiometrics/bt_usage" }; const struct UeventListener::UeventPaths ueventPaths = {