Searched refs:GetUid (Results 1 – 17 of 17) sorted by relevance
/frameworks/base/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 77 auto uidIt = mConfigs.find(key.GetUid()); in UpdateConfig() 83 ALOGE("ConfigManager: uid %d has exceeded the config count limit", key.GetUid()); in UpdateConfig() 103 mConfigs[key.GetUid()].insert(key); in UpdateConfig() 143 auto uid = key.GetUid(); in RemoveConfig() 179 string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId()); in remove_saved_configs() 294 fprintf(out, " %6d %lld\n", it->GetUid(), (long long)it->GetId()); in Dump() 312 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/metrics/ |
D | MetricsManager.cpp | 281 if (mAllowedLogSources.find(event.GetUid()) == mAllowedLogSources.end()) { in checkLogCredentials() 282 VLOG("log source %d not on the whitelist", event.GetUid()); in checkLogCredentials() 300 int32_t loggerUid = event.GetUid(); in eventSanityCheck() 327 int32_t loggerUid = event.GetUid(); in eventSanityCheck() 548 proto->write(FIELD_TYPE_INT32 | FIELD_ID_ACTIVE_CONFIG_UID, mConfigKey.GetUid()); in writeActiveConfigToProtoOutputStream()
|
D | CountMetricProducer.cpp | 75 TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()) * 1000000; in CountMetricProducer()
|
D | GaugeMetricProducer.cpp | 100 bucketSizeMills = TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()); in GaugeMetricProducer()
|
D | DurationMetricProducer.cpp | 82 TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()) * 1000000; in DurationMetricProducer()
|
D | ValueMetricProducer.cpp | 111 bucketSizeMills = TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), metric.bucket()); in ValueMetricProducer()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 237 int uid = pair.first.GetUid(); in OnLogEvent() 297 if (pair.first.GetUid() == uid && pair.second->isActive()) { in GetActiveConfigsLocked() 364 proto->write(FIELD_TYPE_INT32 | FIELD_ID_UID, key.GetUid()); in onDumpReport() 475 key.GetUid(), key.GetId()); in onConfigMetricsReportLocked() 523 int uid = key.GetUid(); in OnConfigRemoved() 526 if (it.first.GetUid() == uid) { in OnConfigRemoved() 597 StorageManager::getDataFileName((long)getWallClockSec(), key.GetUid(), key.GetId()); in WriteDataToDiskLocked()
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | IncidentdReporter.cpp | 68 headerProto.write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_KEY_UID, configKey.GetUid()); in getProtoData() 141 configKey.GetUid(), (long long)configKey.GetId()); in GenerateIncidentReport()
|
D | SubscriberReporter.cpp | 111 configKey.GetUid(), in sendBroadcastLocked()
|
/frameworks/base/cmds/statsd/src/external/ |
D | Perfetto.cpp | 55 snprintf(configUid, sizeof(configUid), "%d", configKey.GetUid()); in CollectPerfettoTraceAndUploadToDropbox()
|
/frameworks/base/cmds/statsd/tests/ |
D | ConfigManager_test.cpp | 56 return arg.GetUid() == uid && (long long)arg.GetId() == (long long)id;
|
D | LogEvent_test.cpp | 307 EXPECT_EQ((int64_t)10001, event1.GetUid()); in TEST()
|
/frameworks/base/cmds/statsd/src/storage/ |
D | StorageManager.cpp | 386 string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId()); in hasConfigMetricsReport() 424 output.mUid != key.GetUid() || output.mConfigId != key.GetId()) { in appendConfigMetricsReport() 516 string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId()); in readConfigFromDisk()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.h | 124 inline uint32_t GetUid() const { in GetUid() function
|
/frameworks/base/cmds/statsd/src/anomaly/ |
D | AnomalyTracker.cpp | 238 android::util::stats_write(android::util::ANOMALY_DETECTED, mConfigKey.GetUid(), in declareAnomaly()
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.cpp | 150 configStats->uid = key.GetUid(); in noteConfigReceived()
|