/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricProducer.cpp | 42 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()
|
D | metrics_manager_util.cpp | 294 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 …]
|
D | metrics_manager_util.h | 90 std::vector<sp<MetricProducer>>& allMetricProducers, 104 std::vector<sp<MetricProducer>>& allMetricProducers,
|
D | MetricProducer.h | 74 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()
|
D | EventMetricProducer.h | 34 class EventMetricProducer : public MetricProducer {
|
D | CountMetricProducer.h | 41 class CountMetricProducer : public MetricProducer {
|
D | DurationMetricProducer.h | 39 class DurationMetricProducer : public MetricProducer {
|
D | GaugeMetricProducer.h | 57 class GaugeMetricProducer : public virtual MetricProducer, public virtual PullDataReceiver {
|
D | EventMetricProducer.cpp | 58 : MetricProducer(metric.id(), key, startTimeNs, conditionIndex, wizard) { in EventMetricProducer()
|
D | MetricsManager.cpp | 371 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent() 409 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
|
D | MetricsManager.h | 197 std::vector<sp<MetricProducer>> mAllMetricProducers;
|
D | GaugeMetricProducer.cpp | 75 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, wizard), in GaugeMetricProducer() 361 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
|
D | ValueMetricProducer.h | 51 class ValueMetricProducer : public virtual MetricProducer, public virtual PullDataReceiver {
|
D | CountMetricProducer.cpp | 72 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, wizard) { in CountMetricProducer()
|
D | DurationMetricProducer.cpp | 73 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, wizard), in DurationMetricProducer() 444 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
|
D | ValueMetricProducer.cpp | 81 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, conditionWizard), in ValueMetricProducer() 378 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
|
/frameworks/base/cmds/statsd/tests/ |
D | MetricsManager_test.cpp | 279 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/ |
D | DurationMetric_e2e_test.cpp | 64 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()
|
D | MetricActivation_e2e_test.cpp | 273 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/ |
D | Android.bp | 91 "src/metrics/MetricProducer.cpp",
|