Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp43 void MetricProducer::onMatchedLogEventLocked(const size_t matcherIndex, const LogEvent& event) { in onMatchedLogEventLocked()
89 bool MetricProducer::evaluateActiveStateLocked(int64_t elapsedTimestampNs) { in evaluateActiveStateLocked()
103 void MetricProducer::flushIfExpire(int64_t elapsedTimestampNs) { in flushIfExpire()
114 void MetricProducer::addActivation(int activationTrackerIndex, const ActivationType& activationType, in addActivation()
132 void MetricProducer::activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activateLocked()
154 void MetricProducer::cancelEventActivationLocked(int deactivationTrackerIndex) { in cancelEventActivationLocked()
164 void MetricProducer::loadActiveMetricLocked(const ActiveMetric& activeMetric, in loadActiveMetricLocked()
192 void MetricProducer::writeActiveMetricToProtoOutputStream( in writeActiveMetricToProtoOutputStream()
Dmetrics_manager_util.cpp293 vector<sp<MetricProducer>>& allMetricProducers, in initMetrics()
338 sp<MetricProducer> countProducer = in initMetrics()
407 sp<MetricProducer> durationMetric = new DurationMetricProducer( in initMetrics()
444 sp<MetricProducer> eventMetric = in initMetrics()
501 sp<MetricProducer> valueProducer = new ValueMetricProducer( in initMetrics()
587 sp<MetricProducer> gaugeProducer = new GaugeMetricProducer( in initMetrics()
610 vector<sp<MetricProducer>>& allMetricProducers, in initAlerts()
631 sp<MetricProducer> metric = allMetricProducers[metricIndex]; in initAlerts()
712 vector<sp<MetricProducer>>& allMetricProducers, in initMetricActivations()
729 const sp<MetricProducer>& metric = allMetricProducers[metricTrackerIndex]; in initMetricActivations()
[all …]
Dmetrics_manager_util.h91 std::vector<sp<MetricProducer>>& allMetricProducers,
105 std::vector<sp<MetricProducer>>& allMetricProducers,
DMetricProducer.h76 class MetricProducer : public virtual PackageInfoListener {
78 MetricProducer(const int64_t& metricId, const ConfigKey& key, const int64_t timeBaseNs, in MetricProducer() function
96 virtual ~MetricProducer(){}; in ~MetricProducer()
DEventMetricProducer.h34 class EventMetricProducer : public MetricProducer {
DCountMetricProducer.h41 class CountMetricProducer : public MetricProducer {
DDurationMetricProducer.h39 class DurationMetricProducer : public MetricProducer {
DEventMetricProducer.cpp58 : MetricProducer(metric.id(), key, startTimeNs, conditionIndex, wizard) { in EventMetricProducer()
DGaugeMetricProducer.h57 class GaugeMetricProducer : public virtual MetricProducer, public virtual PullDataReceiver {
DMetricsManager.cpp360 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
398 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
DMetricsManager.h201 std::vector<sp<MetricProducer>> mAllMetricProducers;
DValueMetricProducer.h53 class ValueMetricProducer : public virtual MetricProducer, public virtual PullDataReceiver {
DGaugeMetricProducer.cpp77 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, wizard), in GaugeMetricProducer()
363 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
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.cpp86 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, conditionWizard), in ValueMetricProducer()
383 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.bp90 "src/metrics/MetricProducer.cpp",