Home
last modified time | relevance | path

Searched refs:name_set (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/tests/
DUidMap_test.cpp94 std::set<string> name_set = m.getAppNamesFromUid(1000u, true /* returnNormalized */); in TEST() local
95 EXPECT_EQ(name_set.size(), 2u); in TEST()
96 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST()
97 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()
99 name_set = m.getAppNamesFromUid(12345, true /* returnNormalized */); in TEST()
100 EXPECT_TRUE(name_set.empty()); in TEST()
123 std::set<string> name_set = m.getAppNamesFromUid(1000, true /* returnNormalized */); in TEST() local
124 EXPECT_EQ(name_set.size(), 2u); in TEST()
125 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST()
126 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST()
[all …]
/frameworks/base/cmds/statsd/src/socket/
DStatsSocketListener.cpp52 static bool name_set; in onDataAvailable() local
53 if (!name_set) { in onDataAvailable()
55 name_set = true; in onDataAvailable()