Lines Matching refs:mediametrics

54   ASSERT_EQ(true, android::mediametrics::startsWith(s, "te"));  in TEST()
55 ASSERT_EQ(true, android::mediametrics::startsWith(s, std::string("tes"))); in TEST()
56 ASSERT_EQ(false, android::mediametrics::startsWith(s, "ts")); in TEST()
57 ASSERT_EQ(false, android::mediametrics::startsWith(s, std::string("est"))); in TEST()
63 android::mediametrics::Defer defer([&] { check = true; }); in TEST()
71 android::mediametrics::SharedPtrWrap<std::string> s("123"); in TEST()
77 const android::mediametrics::SharedPtrWrap<std::string> s2("345"); in TEST()
84 android::mediametrics::SharedPtrWrap<std::string> s3(""); in TEST()
102 android::mediametrics::SharedPtrWrap<Thunk> s4( in TEST()
115 android::mediametrics::LockWrap<std::string> s("123"); in TEST()
121 const android::mediametrics::LockWrap<std::string> s2("345"); in TEST()
125 android::mediametrics::LockWrap<std::string> s3(""); in TEST()
130 android::mediametrics::LockWrap<std::vector<int>> v{std::initializer_list<int>{1, 2}}; in TEST()
160 android::mediametrics::LockWrap<Thunk> s4([&]{ in TEST()
182 android::mediametrics::LockWrap<Accumulator> a{}; // locked accumulator succeeds in TEST()
208 std::unique_ptr<mediametrics::Item> random_key(mediametrics::Item::create("random_key")); in TEST()
218 std::unique_ptr<mediametrics::Item> audiotrack_key(mediametrics::Item::create("audiotrack")); in TEST()
267 mediametrics::Item item("audiorecord"); in TEST()
329 mediametrics::Item item("TheBigOne"); in TEST()
343 mediametrics::Item item("TheOddBigOne"); in TEST()
364 mediametrics::Item item("TheOne"); in TEST()
385 mediametrics::Item item("Alchemist's Stone"); in TEST()
401 mediametrics::Item item; in TEST()
412 mediametrics::Item item2; in TEST()
419 mediametrics::Item item; in TEST()
431 mediametrics::Item item2; in TEST()
442 mediametrics::Item item; in TEST()
491 mediametrics::LogItem<1> item("I"); in TEST()
499 mediametrics::Item item2; in TEST()
540 mediametrics::LogItem<1> item("Bigly"); in TEST()
551 mediametrics::Item item2; in TEST()
566 auto item = std::make_shared<mediametrics::Item>("Key"); in TEST()
574 android::mediametrics::TimeMachine timeMachine; in TEST()
613 auto item = std::make_shared<mediametrics::Item>("Key1"); in TEST()
617 android::mediametrics::TimeMachine timeMachine; in TEST()
620 auto item2 = std::make_shared<mediametrics::Item>("Key2"); in TEST()
627 auto item3 = std::make_shared<mediametrics::Item>("Key2"); in TEST()
663 auto item = std::make_shared<mediametrics::Item>("Key1"); in TEST()
668 android::mediametrics::TimeMachine timeMachine(1, 2); // keep at most 2 keys. in TEST()
676 auto item2 = std::make_shared<mediametrics::Item>("Key2"); in TEST()
686 auto item3 = std::make_shared<mediametrics::Item>("Key3"); in TEST()
714 auto item = std::make_shared<mediametrics::Item>("Key1"); in TEST()
719 android::mediametrics::TransactionLog transactionLog(1, 2); // keep at most 2 items in TEST()
725 auto item2 = std::make_shared<mediametrics::Item>("Key2"); in TEST()
733 auto item3 = std::make_shared<mediametrics::Item>("Key3"); in TEST()
744 mediametrics::AnalyticsActions analyticsActions; in TEST()
754 std::make_shared<mediametrics::AnalyticsActions::Function>( in TEST()
755 [&](const std::shared_ptr<const android::mediametrics::Item> &) { in TEST()
762 std::make_shared<mediametrics::AnalyticsActions::Function>( in TEST()
763 [&](const std::shared_ptr<const android::mediametrics::Item> &) { in TEST()
769 std::make_shared<mediametrics::AnalyticsActions::Function>( in TEST()
770 [&](const std::shared_ptr<const android::mediametrics::Item> &) { in TEST()
776 std::make_shared<mediametrics::AnalyticsActions::Function>( in TEST()
777 [&](const std::shared_ptr<const android::mediametrics::Item> &) { in TEST()
782 auto item = std::make_shared<mediametrics::Item>("audio.flinger"); in TEST()
799 auto item = std::make_shared<mediametrics::Item>("audio.1"); in TEST()
804 auto item2 = std::make_shared<mediametrics::Item>("audio.1"); in TEST()
808 auto item3 = std::make_shared<mediametrics::Item>("audio.2"); in TEST()
812 android::mediametrics::AudioAnalytics audioAnalytics; in TEST()
832 auto item = std::make_shared<mediametrics::Item>("audio.1"); in TEST()
839 auto item2 = std::make_shared<mediametrics::Item>("audio.1"); in TEST()
844 auto item3 = std::make_shared<mediametrics::Item>("audio.2"); in TEST()
848 android::mediametrics::AudioAnalytics audioAnalytics; in TEST()
867 auto item = std::make_shared<mediametrics::Item>("audio.1"); in TEST()
872 auto item2 = std::make_shared<mediametrics::Item>("audio.1"); in TEST()
876 auto item3 = std::make_shared<mediametrics::Item>("audio.2"); in TEST()
880 android::mediametrics::AudioAnalytics audioAnalytics; in TEST()
901 auto devaddr = android::mediametrics::stringutils::getDeviceAddressPairs("(DEVICE, )"); in TEST()
906 devaddr = android::mediametrics::stringutils::getDeviceAddressPairs( in TEST()
914 devaddr = android::mediametrics::stringutils::getDeviceAddressPairs( in TEST()
922 devaddr = android::mediametrics::stringutils::getDeviceAddressPairs( in TEST()
932 android::mediametrics::TimedAction timedAction; in TEST()
944 using namespace android::mediametrics::types; in TEST()
956 using namespace android::mediametrics::types; in TEST()
1008 using namespace android::mediametrics::types; in TEST()
1077 std::unique_ptr<mediametrics::Item> test_key(mediametrics::Item::create("audio.zzz.123"));