pixelstats: add ams_rate sysfs for ATOM of VendorAudioHardwareStatsReported

Bug: 239508478
Test: manually test passed

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I94b57a757ec8c75ef62b5aa3c516002b905f6f15
This commit is contained in:
Roger Fang 2022-08-19 16:07:31 +08:00
parent 0d14937aef
commit 7447cd3664

View file

@ -57,6 +57,7 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
UFS_ERR_PATH(auto_hibern8_err_count) UFS_ERR_PATH(auto_hibern8_err_count)
}, },
.BlockStatsLength = BLOCK_STATS_LENGTH, .BlockStatsLength = BLOCK_STATS_LENGTH,
.AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once",
}; };
const struct UeventListener::UeventPaths ueventPaths = { const struct UeventListener::UeventPaths ueventPaths = {