Home
last modified time | relevance | path

Searched refs:kCallingUid (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/
DStatsService_test.cpp72 const int kCallingUid = 123; in TEST() local
77 EXPECT_TRUE(service->addConfigurationChecked(kCallingUid, kConfigKey, in TEST()
79 service->removeConfiguration(kConfigKey, kCallingUid); in TEST()
80 ConfigKey configKey(kCallingUid, kConfigKey); in TEST()
92 const int kCallingUid = 123; in TEST() local
93 EXPECT_TRUE(service->addConfigurationChecked(kCallingUid, kConfigKey, in TEST()
95 service->removeConfiguration(kConfigKey, kCallingUid); in TEST()
96 ConfigKey configKey(kCallingUid, kConfigKey); in TEST()
183 ConfigKey configKey(kCallingUid, kConfigKey); in TEST_F()
Dstatsd_test_util.h130 const int kCallingUid = 10100; // Randomly chosen variable
135 ConfigKey configKey(kCallingUid, kConfigKey); in SetUp()
136 service->removeConfiguration(kConfigKey, kCallingUid); in SetUp()
144 ConfigKey configKey(kCallingUid, kConfigKey); in TearDown()
145 service->removeConfiguration(kConfigKey, kCallingUid); in TearDown()
Dstatsd_test_util.cpp40 return service->addConfiguration(kConfigKey, configAsVec, kCallingUid).isOk(); in sendConfig()
46 ConfigKey configKey(kCallingUid, kConfigKey); in getReports()
/packages/modules/StatsD/statsd/tests/e2e/
DRestrictedConfig_e2e_test.cpp73 const ConfigKey configKey = ConfigKey(kCallingUid, kConfigKey);
113 *uidData.add_app_info() = createApplicationInfo(kCallingUid, 1, "v2", configPackageName); in SetUp()
162 ConfigKey configKey(kCallingUid, kConfigKey); in TEST_F()
163 service->getData(kConfigKey, kCallingUid, &output); in TEST_F()
194 EXPECT_FALSE(StorageManager::hasConfigMetricsReport(ConfigKey(kCallingUid, kConfigKey))); in TEST_F()
208 EXPECT_TRUE(StorageManager::hasConfigMetricsReport(ConfigKey(kCallingUid, kConfigKey))); in TEST_F()
223 EXPECT_FALSE(StorageManager::hasConfigMetricsReport(ConfigKey(kCallingUid, kConfigKey))); in TEST_F()
237 EXPECT_TRUE(StorageManager::hasConfigMetricsReport(ConfigKey(kCallingUid, kConfigKey))); in TEST_F()
349 service->removeConfiguration(kConfigKey, kCallingUid); in TEST_F()
360 service->informOnePackage(configPackageName2, kCallingUid, 0, "", "", {}); in TEST_F()
[all …]