Searched refs:name_set (Results 1 – 2 of 2) sorted by relevance
88 std::set<string> name_set = m.getAppNamesFromUid(1000u, true /* returnNormalized */); in TEST() local89 ASSERT_EQ(name_set.size(), 2u); in TEST()90 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST()91 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()93 name_set = m.getAppNamesFromUid(12345, true /* returnNormalized */); in TEST()94 EXPECT_TRUE(name_set.empty()); in TEST()117 std::set<string> name_set = m.getAppNamesFromUid(1000, true /* returnNormalized */); in TEST() local118 ASSERT_EQ(name_set.size(), 2u); in TEST()119 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST()120 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()[all …]
47 static bool name_set; in onDataAvailable() local48 if (!name_set) { in onDataAvailable()50 name_set = true; in onDataAvailable()