Searched refs:name_set (Results 1 – 2 of 2) sorted by relevance
85 std::set<string> name_set = m.getAppNamesFromUid(1000u, true /* returnNormalized */); in TEST() local86 EXPECT_EQ(name_set.size(), 2u); in TEST()87 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST()88 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()90 name_set = m.getAppNamesFromUid(12345, true /* returnNormalized */); in TEST()91 EXPECT_TRUE(name_set.empty()); in TEST()108 std::set<string> name_set = m.getAppNamesFromUid(1000, true /* returnNormalized */); in TEST() local109 EXPECT_EQ(name_set.size(), 2u); in TEST()110 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST()111 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()[all …]
52 static bool name_set; in onDataAvailable() local53 if (!name_set) { in onDataAvailable()55 name_set = true; in onDataAvailable()