Home
last modified time | relevance | path

Searched refs:mConfigKey (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DMetricsManager.cpp66 : mConfigKey(key), in MetricsManager()
146 mPullerManager->RegisterPullUidProvider(mConfigKey, this); in MetricsManager()
193 mPullerManager->UnregisterPullUidProvider(mConfigKey, this); in ~MetricsManager()
311 fprintf(out, "ConfigKey %s, allowed source:", mConfigKey.ToString().c_str()); in dumpStates()
583 StatsdStats::getInstance().noteMatcherMatched(mConfigKey, in onLogEvent()
624 ALOGW("No active metric for config %s", mConfigKey.ToString().c_str()); in loadActiveConfig()
636 StatsdStats::getInstance().noteActiveStatusChanged(mConfigKey, in loadActiveConfig()
647 proto->write(FIELD_TYPE_INT64 | FIELD_ID_ACTIVE_CONFIG_ID, (long long)mConfigKey.GetId()); in writeActiveConfigToProtoOutputStream()
648 proto->write(FIELD_TYPE_INT32 | FIELD_ID_ACTIVE_CONFIG_UID, mConfigKey.GetUid()); in writeActiveConfigToProtoOutputStream()
663 configKey->set_config_id(mConfigKey.GetId()); in writeMetadataToProto()
[all …]
DDurationMetricProducer.cpp156 new DurationAnomalyTracker(alert, mConfigKey, anomalyAlarmMonitor); in addAnomalyTracker()
197 mConfigKey, mMetricId, eventKey, mWizard, mConditionTrackerIndex, mNested, in createDurationTracker()
202 mConfigKey, mMetricId, eventKey, mWizard, mConditionTrackerIndex, mNested, in createDurationTracker()
490 mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked()
DGaugeMetricProducer.cpp137 mPullerManager->RegisterReceiver(mPullTagId, mConfigKey, this, getCurrentBucketEndTimeNs(),
152 mPullerManager->UnRegisterReceiver(mPullTagId, mConfigKey, this); in ~GaugeMetricProducer()
325 if (!mPullerManager->Pull(mPullTagId, mConfigKey, timestampNs, &allData)) { in pullAndMatchEventsLocked()
440 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked()
DMetricProducer.h285 sp<AnomalyTracker> anomalyTracker = new AnomalyTracker(alert, mConfigKey); in addAnomalyTracker()
403 const ConfigKey mConfigKey; variable
DValueMetricProducer.cpp161 mPullerManager->RegisterReceiver(mPullTagId, mConfigKey, this, getCurrentBucketEndTimeNs(), in ValueMetricProducer()
182 mPullerManager->UnRegisterReceiver(mPullTagId, mConfigKey, this); in ~ValueMetricProducer()
530 if (!mPullerManager->Pull(mPullTagId, mConfigKey, timestampNs, &allData)) { in pullAndMatchEventsLocked()
677 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked()
DMetricsManager.h161 const ConfigKey mConfigKey; variable
DMetricProducer.cpp56 mConfigKey(key), in MetricProducer()
DCountMetricProducer.cpp265 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked()
/frameworks/base/cmds/statsd/src/anomaly/
DAnomalyTracker.cpp38 : mAlert(alert), mConfigKey(configKey), mNumOfPastBuckets(mAlert.num_buckets() - 1) { in AnomalyTracker()
237 StatsdStats::getInstance().noteAnomalyDeclared(mConfigKey, mAlert.id()); in declareAnomaly()
240 util::stats_write(util::ANOMALY_DETECTED, mConfigKey.GetUid(), in declareAnomaly()
241 mConfigKey.GetId(), mAlert.id()); in declareAnomaly()
264 triggerSubscribers(mAlert.id(), metric_id, key, metricValue, mConfigKey, mSubscriptions); in informSubscribers()
DAlarmTracker.cpp37 mConfigKey(configKey), in AlarmTracker()
81 0 /* metricValue N/A */, mConfigKey, mSubscriptions); in informAlarmsFired()
DAlarmTracker.h60 const ConfigKey mConfigKey; variable
DAnomalyTracker.h142 const ConfigKey mConfigKey; variable
/frameworks/base/cmds/statsd/src/subscriber/
DSubscriberReporter.cpp33 mConfigKey(configKey), in BroadcastSubscriberDeathCookie()
37 ConfigKey mConfigKey; member
44 ConfigKey& configKey = cookie_->mConfigKey; in broadcastSubscriberDied()
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DDurationTracker.h75 : mConfigKey(key), in DurationTracker()
186 const ConfigKey& mConfigKey; variable
DMaxDurationTracker.cpp48 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mTrackerId, newTupleCount); in hitGuardRail()
DOringDurationTracker.cpp48 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mTrackerId, newTupleCount); in hitGuardRail()
/frameworks/base/cmds/statsd/src/config/
DConfigManager.cpp48 mConfigManager(configManager), mConfigKey(configKey), mPir(pir) { in ConfigReceiverDeathCookie()
52 ConfigKey mConfigKey; member
63 ConfigKey& configKey = cookie_->mConfigKey; in configReceiverDied()
/frameworks/base/cmds/statsd/src/condition/
DSimpleConditionTracker.cpp33 : ConditionTracker(id, index), mConfigKey(key), mContainANYPositionInInternalDimensions(false) { in SimpleConditionTracker()
150 … StatsdStats::getInstance().noteConditionDimensionSize(mConfigKey, mConditionId, newTupleCount); in hitGuardRail()
DSimpleConditionTracker.h93 const ConfigKey mConfigKey;