Home
last modified time | relevance | path

Searched refs:GetUid (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/cmds/statsd/src/config/
DConfigManager.cpp81 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()
DConfigKey.h40 inline int GetUid() const { in GetUid() function
85 return (7 * key.GetUid()) ^ ((hash<long long>()(key.GetId())));
/frameworks/base/cmds/statsd/src/subscriber/
DIncidentdReporter.cpp35 configKey.GetUid(), (long long) configKey.GetId()); in GenerateIncidentReport()
43 header.mutable_config_key()->set_uid(configKey.GetUid()); in GenerateIncidentReport()
DSubscriberReporter.cpp112 configKey.GetUid(), in sendBroadcastLocked()
/frameworks/base/cmds/statsd/src/metrics/
DMetricsManager.cpp250 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()
DCountMetricProducer.cpp74 TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()) * 1000000; in CountMetricProducer()
DValueMetricProducer.cpp95 bucketSizeMills = TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()); in ValueMetricProducer()
DGaugeMetricProducer.cpp93 bucketSizeMills = TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()); in GaugeMetricProducer()
DDurationMetricProducer.cpp84 TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()) * 1000000; in DurationMetricProducer()
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp170 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/
DPerfetto.cpp56 snprintf(configUid, sizeof(configUid), "%d", configKey.GetUid()); in CollectPerfettoTraceAndUploadToDropbox()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.h85 inline uint32_t GetUid() const { in GetUid() function
/frameworks/base/cmds/statsd/tests/
DConfigManager_test.cpp56 return arg.GetUid() == uid && (long long)arg.GetId() == (long long)id;
/frameworks/base/cmds/statsd/src/anomaly/
DAnomalyTracker.cpp234 android::util::stats_write(android::util::ANOMALY_DETECTED, mConfigKey.GetUid(), in declareAnomaly()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp318 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/
DStatsdStats.cpp136 configStats->uid = key.GetUid(); in noteConfigReceived()