Home
last modified time | relevance | path

Searched refs:audioAnalytics (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/mediametrics/
DAudioAnalytics.h139 explicit DeviceUse(AudioAnalytics &audioAnalytics) : mAudioAnalytics{audioAnalytics} {} in DeviceUse() argument
156 explicit DeviceConnection(AudioAnalytics &audioAnalytics) in DeviceConnection() argument
157 : mAudioAnalytics{audioAnalytics} {} in DeviceConnection()
202 explicit AAudioStreamInfo(AudioAnalytics &audioAnalytics) in AAudioStreamInfo() argument
203 : mAudioAnalytics(audioAnalytics) {} in AAudioStreamInfo()
DAudioPowerUsage.h33 AudioPowerUsage(AudioAnalytics *audioAnalytics, const std::shared_ptr<StatsdLog>& statsdLog);
DAudioPowerUsage.cpp376 AudioAnalytics *audioAnalytics, const std::shared_ptr<StatsdLog>& statsdLog) in AudioPowerUsage() argument
377 : mAudioAnalytics(audioAnalytics) in AudioPowerUsage()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp814 android::mediametrics::AudioAnalytics audioAnalytics{statsdLog}; in TEST() local
817 ASSERT_EQ(PERMISSION_DENIED, audioAnalytics.submit(item, false /* isTrusted */)); in TEST()
818 ASSERT_EQ(PERMISSION_DENIED, audioAnalytics.submit(item2, false /* isTrusted */)); in TEST()
822 ASSERT_EQ(10, audioAnalytics.dump(1000).second /* lines */); in TEST()
824 ASSERT_EQ(NO_ERROR, audioAnalytics.submit(item, true /* isTrusted */)); in TEST()
826 ASSERT_EQ(NO_ERROR, audioAnalytics.submit(item2, false /* isTrusted */)); in TEST()
829 ASSERT_LT(9, audioAnalytics.dump(1000).second /* lines */); in TEST()
852 android::mediametrics::AudioAnalytics audioAnalytics{statsdLog}; in TEST() local
855 ASSERT_EQ(PERMISSION_DENIED, audioAnalytics.submit(item, false /* isTrusted */)); in TEST()
856 ASSERT_EQ(PERMISSION_DENIED, audioAnalytics.submit(item2, false /* isTrusted */)); in TEST()
[all …]
/frameworks/av/services/mediametrics/fuzzer/
Dmediametrics_service_fuzzer.cpp325 android::mediametrics::AudioAnalytics audioAnalytics{statsdLog}; in invokeAudioAnalytics() local
336 audioAnalytics.submit(item, fdp.ConsumeBool()); in invokeAudioAnalytics()
339 audioAnalytics.dump(1000); in invokeAudioAnalytics()