Lines Matching refs:audioAnalytics
814 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()
860 ASSERT_EQ(10, audioAnalytics.dump(1000).second /* lines */); in TEST()
862 ASSERT_EQ(NO_ERROR, audioAnalytics.submit(item, true /* isTrusted */)); in TEST()
864 ASSERT_EQ(NO_ERROR, audioAnalytics.submit(item2, false /* isTrusted */)); in TEST()
867 ASSERT_LT(9, audioAnalytics.dump(1000).second /* lines */); in TEST()
886 android::mediametrics::AudioAnalytics audioAnalytics{statsdLog}; in TEST() local
888 ASSERT_EQ(NO_ERROR, audioAnalytics.submit(item, true /* isTrusted */)); in TEST()
890 ASSERT_EQ(NO_ERROR, audioAnalytics.submit(item2, false /* isTrusted */)); in TEST()
891 ASSERT_EQ(NO_ERROR, audioAnalytics.submit(item3, true /* isTrusted */)); in TEST()
894 auto [string, lines] = audioAnalytics.dump(1000); in TEST()
900 auto [s, l] = audioAnalytics.dump(ll); in TEST()