From 424eff53802ca2c15a27930c56fcd645d84e1510 Mon Sep 17 00:00:00 2001 From: Poomarin Phloyphisut Date: Wed, 28 Jun 2023 10:30:13 +0000 Subject: [PATCH] pixelstats: add pcm_latency and pcm_count sysfs for VendorAudioPcmStatsReported Bug: 280248990 Test: Local Test Change-Id: I0b476417bd14972681c7ea7fb18ddff2aa8ed4ee --- pixelstats/service.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index e63ba0f5..d5adf94d 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -91,7 +91,10 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = { .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" + .AdaptedInfoDurationPath = "/sys/devices/platform/audiometrics/adapted_info_active_duration", + .CCARatePath = "/sys/devices/platform/audiometrics/cca_rate_read_once", + .PcmLatencyPath = "/sys/devices/platform/audiometrics/pcm_latency", + .PcmCountPath = "/sys/devices/platform/audiometrics/pcm_count" }; const struct UeventListener::UeventPaths ueventPaths = {