Searched refs:GetUid (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 81 auto uidIt = mConfigs.find(key.GetUid()); in UpdateConfig() 87 ALOGE("ConfigManager: uid %d has exceeded the config count limit", key.GetUid()); in UpdateConfig() 107 mConfigs[key.GetUid()].insert(key); in UpdateConfig() 136 auto uidIt = mConfigs.find(key.GetUid()); in RemoveConfig() 162 string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId()); in remove_saved_configs() 260 fprintf(out, " %6d %lld\n", it->GetUid(), (long long)it->GetId()); in Dump() 278 key.GetUid(), (long long)key.GetId()); in update_saved_configs_locked()
|
D | ConfigKey.h | 40 inline int GetUid() const { in GetUid() function 85 return (7 * key.GetUid()) ^ ((hash<long long>()(key.GetId())));
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | IncidentdReporter.cpp | 35 configKey.GetUid(), (long long) configKey.GetId()); in GenerateIncidentReport() 43 header.mutable_config_key()->set_uid(configKey.GetUid()); in GenerateIncidentReport()
|
D | SubscriberReporter.cpp | 112 configKey.GetUid(), in sendBroadcastLocked()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricsManager.cpp | 250 int32_t loggerUid = event.GetUid(); in onLogEvent() 277 int32_t loggerUid = event.GetUid(); in onLogEvent() 294 if (mAllowedLogSources.find(event.GetUid()) == mAllowedLogSources.end()) { in onLogEvent() 295 VLOG("log source %d not on the whitelist", event.GetUid()); in onLogEvent()
|
D | CountMetricProducer.cpp | 74 TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()) * 1000000; in CountMetricProducer()
|
D | ValueMetricProducer.cpp | 95 bucketSizeMills = TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()); in ValueMetricProducer()
|
D | GaugeMetricProducer.cpp | 93 bucketSizeMills = TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()); in GaugeMetricProducer()
|
D | DurationMetricProducer.cpp | 84 TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()) * 1000000; in DurationMetricProducer()
|
/frameworks/base/cmds/statsd/src/storage/ |
D | StorageManager.cpp | 170 string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId()); in hasConfigMetricsReport() 198 string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId()); in appendConfigMetricsReport() 297 string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId()); in readConfigFromDisk()
|
/frameworks/base/cmds/statsd/src/external/ |
D | Perfetto.cpp | 56 snprintf(configUid, sizeof(configUid), "%d", configKey.GetUid()); in CollectPerfettoTraceAndUploadToDropbox()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.h | 85 inline uint32_t GetUid() const { in GetUid() function
|
/frameworks/base/cmds/statsd/tests/ |
D | ConfigManager_test.cpp | 56 return arg.GetUid() == uid && (long long)arg.GetId() == (long long)id;
|
/frameworks/base/cmds/statsd/src/anomaly/ |
D | AnomalyTracker.cpp | 234 android::util::stats_write(android::util::ANOMALY_DETECTED, mConfigKey.GetUid(), in declareAnomaly()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 318 proto.write(FIELD_TYPE_INT32 | FIELD_ID_UID, key.GetUid()); in onDumpReport() 515 (long)getWallClockSec(), key.GetUid(), (long long)key.GetId()); in WriteDataToDiskLocked()
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.cpp | 136 configStats->uid = key.GetUid(); in noteConfigReceived()
|