Searched refs:kApp1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/cmds/statsd/tests/ |
D | UidMap_test.cpp | 39 const string kApp1 = "app1.sharing.1"; variable 85 apps.push_back(String16(kApp1.c_str())); in TEST() 90 EXPECT_TRUE(m.hasApp(1000, kApp1)); in TEST() 96 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 117 apps.push_back(String16(kApp1.c_str())); in TEST() 125 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 129 m.updateApp(2, String16(kApp1.c_str()), 1000, 40, String16("v40"), String16("")); in TEST() 130 EXPECT_EQ(40, m.getAppVersion(1000, kApp1)); in TEST() 134 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 137 m.removeApp(3, String16(kApp1.c_str()), 1000); in TEST() [all …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 32 const string kApp1 = "app1.sharing.1"; variable 138 service.mUidMap->updateApp(start + 2, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 153 service.mUidMap->updateMap(start, {1}, {1}, {String16("v1")}, {String16(kApp1.c_str())}, in TEST() 158 service.mUidMap->updateApp(start + 2, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 181 service.mUidMap->updateMap(start, {1}, {1}, {String16("v1")}, {String16(kApp1.c_str())}, in TEST() 186 service.mUidMap->removeApp(start + 2, String16(kApp1.c_str()), 1); in TEST() 206 service.mUidMap->updateApp(1, String16(kApp1.c_str()), 1, 1, String16("v1"), String16("")); in TEST() 212 service.mUidMap->updateApp(5 * 60 * NS_PER_SEC + start + 2, String16(kApp1.c_str()), 1, 2, in TEST() 224 service.mUidMap->updateApp(1, String16(kApp1.c_str()), 1, 1, String16("v1"), String16("")); in TEST() 231 service.mUidMap->updateApp(endSkipped, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() [all …]
|