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.cpp88 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()
[all …]
/frameworks/base/cmds/statsd/src/socket/
DStatsSocketListener.cpp47 static bool name_set; in onDataAvailable() local
48 if (!name_set) { in onDataAvailable()
50 name_set = true; in onDataAvailable()