• Home
  • Raw
  • Download

Lines Matching refs:name_set

88     std::set<string> name_set = m.getAppNamesFromUid(1000u, true /* returnNormalized */);  in TEST()  local
89 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() local
118 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()
126 name_set = m.getAppNamesFromUid(1000, true /* returnNormalized */); in TEST()
127 ASSERT_EQ(name_set.size(), 2u); in TEST()
128 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST()
129 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()
134 name_set = m.getAppNamesFromUid(1000, true /* returnNormalized */); in TEST()
135 ASSERT_EQ(name_set.size(), 1u); in TEST()
136 EXPECT_TRUE(name_set.find(kApp1) == name_set.end()); in TEST()
137 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()
143 name_set = m.getAppNamesFromUid(1000, true /* returnNormalized */); in TEST()
144 EXPECT_TRUE(name_set.empty()); in TEST()
151 std::set<string> name_set = m.getAppNamesFromUid(1000, true /* returnNormalized */); in TEST() local
152 ASSERT_EQ(name_set.size(), 2u); in TEST()
153 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST()
154 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()
158 name_set = m.getAppNamesFromUid(1000, true /* returnNormalized */); in TEST()
159 ASSERT_EQ(name_set.size(), 3u); in TEST()
160 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST()
161 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()
162 EXPECT_TRUE(name_set.find("NeW_aPP1_NAmE") == name_set.end()); in TEST()
163 EXPECT_TRUE(name_set.find("new_app1_name") != name_set.end()); in TEST()
167 name_set = m.getAppNamesFromUid(2000, true /* returnNormalized */); in TEST()
168 ASSERT_EQ(name_set.size(), 1u); in TEST()
169 EXPECT_TRUE(name_set.find("NeW_aPP1_NAmE") == name_set.end()); in TEST()
170 EXPECT_TRUE(name_set.find("new_app1_name") != name_set.end()); in TEST()