Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp42 void MetricProducer::onMatchedLogEventLocked(const size_t matcherIndex, const LogEvent& event) { in onMatchedLogEventLocked()
88 bool MetricProducer::evaluateActiveStateLocked(int64_t elapsedTimestampNs) { in evaluateActiveStateLocked()
102 void MetricProducer::flushIfExpire(int64_t elapsedTimestampNs) { in flushIfExpire()
113 void MetricProducer::addActivation(int activationTrackerIndex, const ActivationType& activationType, in addActivation()
131 void MetricProducer::activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activateLocked()
153 void MetricProducer::cancelEventActivationLocked(int deactivationTrackerIndex) { in cancelEventActivationLocked()
163 void MetricProducer::loadActiveMetricLocked(const ActiveMetric& activeMetric, in loadActiveMetricLocked()
191 void MetricProducer::writeActiveMetricToProtoOutputStream( in writeActiveMetricToProtoOutputStream()
Dmetrics_manager_util.cpp294 vector<sp<MetricProducer>>& allMetricProducers, in initMetrics()
339 sp<MetricProducer> countProducer = in initMetrics()
408 sp<MetricProducer> durationMetric = new DurationMetricProducer( in initMetrics()
445 sp<MetricProducer> eventMetric = in initMetrics()
502 sp<MetricProducer> valueProducer = new ValueMetricProducer( in initMetrics()
588 sp<MetricProducer> gaugeProducer = new GaugeMetricProducer( in initMetrics()
608 vector<sp<MetricProducer>>& allMetricProducers, in initAlerts()
629 sp<MetricProducer> metric = allMetricProducers[metricIndex]; in initAlerts()
710 vector<sp<MetricProducer>>& allMetricProducers, in initMetricActivations()
727 const sp<MetricProducer>& metric = allMetricProducers[metricTrackerIndex]; in initMetricActivations()
[all …]
Dmetrics_manager_util.h90 std::vector<sp<MetricProducer>>& allMetricProducers,
104 std::vector<sp<MetricProducer>>& allMetricProducers,
DMetricProducer.h74 class MetricProducer : public virtual android::RefBase {
76 MetricProducer(const int64_t& metricId, const ConfigKey& key, const int64_t timeBaseNs, in MetricProducer() function
94 virtual ~MetricProducer(){}; in ~MetricProducer()
DEventMetricProducer.h34 class EventMetricProducer : public MetricProducer {
DCountMetricProducer.h41 class CountMetricProducer : public MetricProducer {
DDurationMetricProducer.h39 class DurationMetricProducer : public MetricProducer {
DGaugeMetricProducer.h57 class GaugeMetricProducer : public virtual MetricProducer, public virtual PullDataReceiver {
DEventMetricProducer.cpp58 : MetricProducer(metric.id(), key, startTimeNs, conditionIndex, wizard) { in EventMetricProducer()
DMetricsManager.cpp371 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
409 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
DMetricsManager.h197 std::vector<sp<MetricProducer>> mAllMetricProducers;
DGaugeMetricProducer.cpp75 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, wizard), in GaugeMetricProducer()
361 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
DValueMetricProducer.h51 class ValueMetricProducer : public virtual MetricProducer, public virtual PullDataReceiver {
DCountMetricProducer.cpp72 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, wizard) { in CountMetricProducer()
DDurationMetricProducer.cpp73 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, wizard), in DurationMetricProducer()
444 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
DValueMetricProducer.cpp81 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, conditionWizard), in ValueMetricProducer()
378 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp279 vector<sp<MetricProducer>> allMetricProducers; in TEST()
311 vector<sp<MetricProducer>> allMetricProducers; in TEST()
340 vector<sp<MetricProducer>> allMetricProducers; in TEST()
369 vector<sp<MetricProducer>> allMetricProducers; in TEST()
397 vector<sp<MetricProducer>> allMetricProducers; in TEST()
425 vector<sp<MetricProducer>> allMetricProducers; in TEST()
454 vector<sp<MetricProducer>> allMetricProducers; in TEST()
/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp64 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
147 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
258 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
397 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
496 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
605 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
DMetricActivation_e2e_test.cpp273 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
487 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
810 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1145 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1342 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1345 sp<MetricProducer> metricProducer2 = metricsManager->mAllMetricProducers[1]; in TEST()
/frameworks/base/cmds/statsd/
DAndroid.bp91 "src/metrics/MetricProducer.cpp",