/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricProducer.cpp | 46 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 …]
|
D | metrics_manager_util.h | 109 std::vector<sp<MetricProducer>>& allMetricProducers, 126 std::vector<sp<MetricProducer>>& allMetricProducers,
|
D | metrics_manager_util.cpp | 365 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()
|
D | MetricProducer.h | 129 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()
|
D | EventMetricProducer.h | 34 class EventMetricProducer : public MetricProducer {
|
D | CountMetricProducer.h | 42 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 | 63 : MetricProducer(metric.id(), key, startTimeNs, conditionIndex, initialConditionCache, wizard, in EventMetricProducer()
|
D | DurationMetricProducer.cpp | 75 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in DurationMetricProducer() 302 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
|
D | MetricsManager.cpp | 471 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent() 509 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
|
D | GaugeMetricProducer.cpp | 79 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in GaugeMetricProducer() 347 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
|
D | MetricsManager.h | 230 std::vector<sp<MetricProducer>> mAllMetricProducers;
|
D | ValueMetricProducer.h | 51 class ValueMetricProducer : public virtual MetricProducer, public virtual PullDataReceiver {
|
D | CountMetricProducer.cpp | 77 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in CountMetricProducer()
|
D | ValueMetricProducer.cpp | 89 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, in ValueMetricProducer() 434 MetricProducer::onActiveStateChangedLocked(eventTimeNs); in onActiveStateChangedLocked()
|
/frameworks/base/cmds/statsd/tests/ |
D | MetricsManager_test.cpp | 391 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/ |
D | CountMetric_e2e_test.cpp | 91 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()
|
D | DurationMetric_e2e_test.cpp | 64 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()
|
D | ValueMetric_pull_e2e_test.cpp | 171 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()
|
D | MetricActivation_e2e_test.cpp | 274 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/ |
D | Android.bp | 87 "src/metrics/MetricProducer.cpp",
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log.proto | 201 // Keep this in sync with BucketDropReason enum in MetricProducer.h.
|