Searched refs:kApp1 (Results 1 – 2 of 2) sorted by relevance
/packages/modules/StatsD/statsd/tests/ |
D | UidMap_test.cpp | 39 const string kApp1 = "app1.sharing.1"; variable 79 apps.push_back(String16(kApp1.c_str())); in TEST() 84 EXPECT_TRUE(m.hasApp(1000, kApp1)); in TEST() 90 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 111 apps.push_back(String16(kApp1.c_str())); in TEST() 119 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 123 m.updateApp(2, String16(kApp1.c_str()), 1000, 40, String16("v40"), String16("")); in TEST() 124 EXPECT_EQ(40, m.getAppVersion(1000, kApp1)); in TEST() 128 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 131 m.removeApp(3, String16(kApp1.c_str()), 1000); in TEST() [all …]
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 35 const string kApp1 = "app1.sharing.1"; variable 144 service->mUidMap->updateApp(start + 2, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 159 service->mUidMap->updateMap(start, {1}, {1}, {String16("v1")}, {String16(kApp1.c_str())}, in TEST() 164 service->mUidMap->updateApp(start + 2, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 193 service->mUidMap->updateMap(start, {1}, {1}, {String16("v1")}, {String16(kApp1.c_str())}, in TEST() 198 service->mUidMap->removeApp(start + 2, String16(kApp1.c_str()), 1); in TEST() 256 service->mUidMap->updateApp(1, String16(kApp1.c_str()), 1, 1, String16("v1"), String16("")); in TEST() 263 service->mUidMap->updateApp(appUpgradeTimeNs, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 286 service->mUidMap->updateApp(1, String16(kApp1.c_str()), 1, 1, String16("v1"), String16("")); in TEST() 293 service->mUidMap->updateApp(endSkipped, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() [all …]
|