Lines Matching refs:mMetricsManagers
461 EXPECT_EQ(1, p.mMetricsManagers.size()); in TEST()
462 EXPECT_NE(p.mMetricsManagers.find(key), p.mMetricsManagers.end()); in TEST()
472 EXPECT_EQ(0, p.mMetricsManagers.size()); in TEST()
601 ASSERT_EQ(3, processor.mMetricsManagers.size()); in TEST()
604 auto it = processor.mMetricsManagers.find(cfgKey1); in TEST()
605 EXPECT_TRUE(it != processor.mMetricsManagers.end()); in TEST()
630 it = processor.mMetricsManagers.find(cfgKey2); in TEST()
631 EXPECT_TRUE(it != processor.mMetricsManagers.end()); in TEST()
656 it = processor.mMetricsManagers.find(cfgKey3); in TEST()
657 EXPECT_TRUE(it != processor.mMetricsManagers.end()); in TEST()
723 ASSERT_EQ(3, processor2->mMetricsManagers.size()); in TEST()
726 it = processor2->mMetricsManagers.find(cfgKey1); in TEST()
727 EXPECT_TRUE(it != processor2->mMetricsManagers.end()); in TEST()
752 it = processor2->mMetricsManagers.find(cfgKey2); in TEST()
753 EXPECT_TRUE(it != processor2->mMetricsManagers.end()); in TEST()
778 it = processor2->mMetricsManagers.find(cfgKey3); in TEST()
779 EXPECT_TRUE(it != processor2->mMetricsManagers.end()); in TEST()
864 ASSERT_EQ(1, processor->mMetricsManagers.size()); in TEST()
865 auto it = processor->mMetricsManagers.find(cfgKey1); in TEST()
866 EXPECT_TRUE(it != processor->mMetricsManagers.end()); in TEST()
914 ASSERT_EQ(1, processor2->mMetricsManagers.size()); in TEST()
915 it = processor2->mMetricsManagers.find(cfgKey1); in TEST()
916 EXPECT_TRUE(it != processor2->mMetricsManagers.end()); in TEST()
996 ASSERT_EQ(1, processor->mMetricsManagers.size()); in TEST()
997 auto it = processor->mMetricsManagers.find(cfgKey1); in TEST()
998 EXPECT_TRUE(it != processor->mMetricsManagers.end()); in TEST()
1081 ASSERT_EQ(1, processor2->mMetricsManagers.size()); in TEST()
1082 it = processor2->mMetricsManagers.find(cfgKey1); in TEST()
1083 EXPECT_TRUE(it != processor2->mMetricsManagers.end()); in TEST()
1182 ASSERT_EQ(1, processor3->mMetricsManagers.size()); in TEST()
1183 it = processor3->mMetricsManagers.find(cfgKey1); in TEST()
1184 EXPECT_TRUE(it != processor3->mMetricsManagers.end()); in TEST()
1284 ASSERT_EQ(1, processor4->mMetricsManagers.size()); in TEST()
1285 it = processor4->mMetricsManagers.find(cfgKey1); in TEST()
1286 EXPECT_TRUE(it != processor4->mMetricsManagers.end()); in TEST()
1397 ASSERT_EQ(1, processor1->mMetricsManagers.size()); in TEST()
1398 auto it = processor1->mMetricsManagers.find(cfgKey1); in TEST()
1399 EXPECT_TRUE(it != processor1->mMetricsManagers.end()); in TEST()
1463 ASSERT_EQ(1, processor2->mMetricsManagers.size()); in TEST()
1464 it = processor2->mMetricsManagers.find(cfgKey1); in TEST()
1465 EXPECT_TRUE(it != processor2->mMetricsManagers.end()); in TEST()
1547 ASSERT_EQ(1, processor3->mMetricsManagers.size()); in TEST()
1548 it = processor3->mMetricsManagers.find(cfgKey1); in TEST()
1549 EXPECT_TRUE(it != processor3->mMetricsManagers.end()); in TEST()
1692 ASSERT_EQ(1, processor->mMetricsManagers.size()); in TEST()
1693 auto it = processor->mMetricsManagers.find(cfgKey1); in TEST()
1694 EXPECT_TRUE(it != processor->mMetricsManagers.end()); in TEST()
1789 ASSERT_EQ(1, processor->mMetricsManagers.size()); in TEST()
1790 it = processor->mMetricsManagers.find(cfgKey1); in TEST()
1791 EXPECT_TRUE(it != processor->mMetricsManagers.end()); in TEST()
2212 EXPECT_EQ(1, p.mMetricsManagers.size()); in TEST_F()
2213 EXPECT_NE(p.mMetricsManagers.find(key), p.mMetricsManagers.end()); in TEST_F()
2214 sp<MetricsManager> oldMetricsManager = p.mMetricsManagers.find(key)->second; in TEST_F()
2220 ASSERT_NE(p.mMetricsManagers.find(key)->second, oldMetricsManager); in TEST_F()
2230 processor->mMetricsManagers[mConfigKey] = metricsManager; in TEST_F()
2231 EXPECT_FALSE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2245 processor->mMetricsManagers[mConfigKey] = metricsManager; in TEST_F()
2246 EXPECT_TRUE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2261 processor->mMetricsManagers[mConfigKey] = metricsManager; in TEST_F()
2262 EXPECT_TRUE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2281 processor->mMetricsManagers[mConfigKey] = metricsManager; in TEST_F()
2282 EXPECT_TRUE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2297 processor->mMetricsManagers[mConfigKey] = metricsManager; in TEST_F()
2298 EXPECT_TRUE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2309 processor->mMetricsManagers[mConfigKey] = metricsManager; in TEST_F()
2310 EXPECT_FALSE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()