Home
last modified time | relevance | path

Searched refs:MetricProducer (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp46 MetricProducer::MetricProducer( in MetricProducer() function in android::os::statsd::MetricProducer
74 void MetricProducer::onMatchedLogEventLocked(const size_t matcherIndex, const LogEvent& event) { in onMatchedLogEventLocked()
141 bool MetricProducer::evaluateActiveStateLocked(int64_t elapsedTimestampNs) { in evaluateActiveStateLocked()
155 void MetricProducer::flushIfExpire(int64_t elapsedTimestampNs) { in flushIfExpire()
166 void MetricProducer::activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activateLocked()
188 void MetricProducer::cancelEventActivationLocked(int deactivationTrackerIndex) { in cancelEventActivationLocked()
198 void MetricProducer::loadActiveMetricLocked(const ActiveMetric& activeMetric, in loadActiveMetricLocked()
226 void MetricProducer::writeActiveMetricToProtoOutputStream( in writeActiveMetricToProtoOutputStream()
269 void MetricProducer::queryStateValue(const int32_t atomId, const HashableDimensionKey& queryKey, in queryStateValue()
279 void MetricProducer::mapStateValue(const int32_t atomId, FieldValue* value) { in mapStateValue()
[all …]
Dmetrics_manager_util.h109 std::vector<sp<MetricProducer>>& allMetricProducers,
126 std::vector<sp<MetricProducer>>& allMetricProducers,
Dmetrics_manager_util.cpp365 vector<sp<MetricProducer>>& allMetricProducers, in initMetrics()
447 sp<MetricProducer> countProducer = in initMetrics()
553 sp<MetricProducer> durationMetric = new DurationMetricProducer( in initMetrics()
600 sp<MetricProducer> eventMetric = in initMetrics()
689 sp<MetricProducer> valueProducer = new ValueMetricProducer( in initMetrics()
784 sp<MetricProducer> gaugeProducer = new GaugeMetricProducer( in initMetrics()
820 vector<sp<MetricProducer>>& allMetricProducers, in initAlerts()
840 sp<MetricProducer> metric = allMetricProducers[metricIndex]; in initAlerts()
924 vector<sp<MetricProducer>>& allMetricProducers, in initStatsdConfig()
DMetricProducer.h129 class MetricProducer : public virtual android::RefBase, public virtual StateListener {
131 MetricProducer(const int64_t& metricId, const ConfigKey& key, const int64_t timeBaseNs,
140 virtual ~MetricProducer(){}; in ~MetricProducer()
DEventMetricProducer.h34 class EventMetricProducer : public MetricProducer {
DCountMetricProducer.h42 class CountMetricProducer : public MetricProducer {
DDurationMetricProducer.h39 class DurationMetricProducer : public MetricProducer {
DGaugeMetricProducer.h57 class GaugeMetricProducer : public virtual MetricProducer, public virtual PullDataReceiver {
DEventMetricProducer.cpp63 : MetricProducer(metric.id(), key, startTimeNs, conditionIndex, initialConditionCache, wizard, in EventMetricProducer()
DDurationMetricProducer.cpp75 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in DurationMetricProducer()
302 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
DMetricsManager.cpp471 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
509 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
DGaugeMetricProducer.cpp79 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in GaugeMetricProducer()
347 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
DMetricsManager.h230 std::vector<sp<MetricProducer>> mAllMetricProducers;
DValueMetricProducer.h51 class ValueMetricProducer : public virtual MetricProducer, public virtual PullDataReceiver {
DCountMetricProducer.cpp77 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in CountMetricProducer()
DValueMetricProducer.cpp89 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, in ValueMetricProducer()
434 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp391 vector<sp<MetricProducer>> allMetricProducers; in TEST()
439 vector<sp<MetricProducer>> allMetricProducers; in TEST()
476 vector<sp<MetricProducer>> allMetricProducers; in TEST()
507 vector<sp<MetricProducer>> allMetricProducers; in TEST()
538 vector<sp<MetricProducer>> allMetricProducers; in TEST()
568 vector<sp<MetricProducer>> allMetricProducers; in TEST()
597 vector<sp<MetricProducer>> allMetricProducers; in TEST()
628 vector<sp<MetricProducer>> allMetricProducers; in TEST()
/frameworks/base/cmds/statsd/tests/e2e/
DCountMetric_e2e_test.cpp91 sp<MetricProducer> metricProducer1 = metricsManager->mAllMetricProducers[0]; in TEST()
92 sp<MetricProducer> metricProducer2 = metricsManager->mAllMetricProducers[1]; in TEST()
158 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
313 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
497 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
692 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
DDurationMetric_e2e_test.cpp64 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
147 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
260 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
400 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
504 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
615 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
761 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
910 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1068 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1269 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
DValueMetric_pull_e2e_test.cpp171 sp<MetricProducer> metricProducer1 = metricsManager->mAllMetricProducers[0]; in TEST()
173 sp<MetricProducer> metricProducer2 = metricsManager->mAllMetricProducers[2]; in TEST()
558 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
618 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
DMetricActivation_e2e_test.cpp274 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
485 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
806 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1139 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1336 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1339 sp<MetricProducer> metricProducer2 = metricsManager->mAllMetricProducers[1]; in TEST()
/frameworks/base/cmds/statsd/
DAndroid.bp87 "src/metrics/MetricProducer.cpp",
/frameworks/base/cmds/statsd/src/
Dstats_log.proto201 // Keep this in sync with BucketDropReason enum in MetricProducer.h.