Home
last modified time | relevance | path

Searched refs:delegateUid (Results 1 – 5 of 5) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DRestrictedConfig_e2e_test.cpp30 const int32_t delegateUid = 10200; variable
112 *uidData.add_app_info() = createApplicationInfo(delegateUid, 1, "v2", delegatePackageName); in SetUp()
256 /*callingUid=*/delegateUid); in TEST_F()
285 service->setRestrictedMetricsChangedOperation(kConfigKey, configPackageName, pir, delegateUid, in TEST_F()
327 service->removeRestrictedMetricsChangedOperation(kConfigKey, configPackageName, delegateUid); in TEST_F()
336 service->setRestrictedMetricsChangedOperation(kConfigKey, configPackageName, pir, delegateUid, in TEST_F()
354 service->removeRestrictedMetricsChangedOperation(kConfigKey, configPackageName, delegateUid); in TEST_F()
359 const int32_t delegateUid2 = delegateUid + 1, delegateUid3 = delegateUid + 2; in TEST_F()
393 service->setRestrictedMetricsChangedOperation(kConfigKey, configPackageName, pir, delegateUid, in TEST_F()
430 service->removeRestrictedMetricsChangedOperation(kConfigKey, configPackageName, delegateUid); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/src/config/
DConfigManager.cpp179 const ConfigKeyWithPackage& key, const int32_t delegateUid, in RemoveRestrictedMetricsChangedReceiver() argument
184 const auto& pirIt = it->second.find(delegateUid); in RemoveRestrictedMetricsChangedReceiver()
186 it->second.erase(delegateUid); in RemoveRestrictedMetricsChangedReceiver()
207 for (const auto& [delegateUid, pir] : it->second) { in SendRestrictedMetricsBroadcast()
208 if (delegateUids.find(delegateUid) != delegateUids.end()) { in SendRestrictedMetricsBroadcast()
209 intentsToSend[key][delegateUid] = pir; in SendRestrictedMetricsBroadcast()
218 for (const auto& [delegateUid, pir] : innerMap) { in SendRestrictedMetricsBroadcast()
226 RemoveRestrictedMetricsChangedReceiver(key, delegateUid, pir); in SendRestrictedMetricsBroadcast()
DConfigManager.h209 const int32_t delegateUid,
/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.h170 const int32_t delegateUid, vector<int64_t>* output);
DStatsLogProcessor.cpp1084 const int32_t delegateUid, vector<int64_t>* output) { in fillRestrictedMetrics() argument
1097 delegateUid, configId, configPackageUids, err, invalidQueryReason); in fillRestrictedMetrics()