Home
last modified time | relevance | path

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

12

/packages/modules/StatsD/statsd/tests/metrics/
DEventMetricProducer_test.cpp369 MetricProducer::DataCorruptionSeverity::kNone); in TEST_F()
371 MetricProducer::DataCorruptionSeverity::kNone); in TEST_F()
373 MetricProducer::LostAtomType::kWhat); in TEST_F()
375 MetricProducer::DataCorruptionSeverity::kResetOnDump); in TEST_F()
377 MetricProducer::DataCorruptionSeverity::kNone); in TEST_F()
391 MetricProducer::DataCorruptionSeverity::kNone); in TEST_F()
393 MetricProducer::DataCorruptionSeverity::kNone); in TEST_F()
398 MetricProducer::DataCorruptionSeverity::kNone); in TEST_F()
400 MetricProducer::DataCorruptionSeverity::kNone); in TEST_F()
402 MetricProducer::LostAtomType::kWhat); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.cpp46 MetricProducer::MetricProducer( in MetricProducer() function in android::os::statsd::MetricProducer
85 optional<InvalidConfigReason> MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked()
118 void MetricProducer::onMatchedLogEventLocked(const size_t matcherIndex, const LogEvent& event) { in onMatchedLogEventLocked()
194 void MetricProducer::onMatchedLogEventLostLocked(int32_t /*atomId*/, DataCorruptedReason reason, in onMatchedLogEventLostLocked()
211 void MetricProducer::resetDataCorruptionFlagsLocked() { in resetDataCorruptionFlagsLocked()
220 bool MetricProducer::evaluateActiveStateLocked(int64_t elapsedTimestampNs) { in evaluateActiveStateLocked()
234 void MetricProducer::flushIfExpire(int64_t elapsedTimestampNs) { in flushIfExpire()
249 void MetricProducer::activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activateLocked()
273 void MetricProducer::cancelEventActivationLocked(int deactivationTrackerIndex) { in cancelEventActivationLocked()
283 void MetricProducer::loadActiveMetricLocked(const ActiveMetric& activeMetric, in loadActiveMetricLocked()
[all …]
DEventMetricProducer.cpp71 : MetricProducer(metric.id(), key, startTimeNs, conditionIndex, initialConditionCache, wizard, in EventMetricProducer()
108 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked()
260 MetricProducer::DataCorruptionSeverity EventMetricProducer::determineCorruptionSeverity( in determineCorruptionSeverity()
DCountMetricProducer.cpp82 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in CountMetricProducer()
154 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked()
531 MetricProducer::computeBucketSizeLocked(isFullBucket, dimKey, isFirstBucket); in computeBucketSizeLocked()
546 MetricProducer::onActiveStateChangedLocked(eventTimeNs, isActive); in onActiveStateChangedLocked()
DValueMetricProducer.cpp82 : MetricProducer(metricId, key, bucketOptions.timeBaseNs, conditionOptions.conditionIndex, in ValueMetricProducer()
195 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked()
233 MetricProducer::computeBucketSizeLocked(isFullBucket, dimKey, isFirstBucket); in computeValueBucketSizeLocked()
522 MetricProducer::onActiveStateChangedLocked(eventTimeNs, isActive); in onActiveStateChangedLocked()
537 MetricProducer::onActiveStateChangedLocked(eventTimeNs, isActive); in onActiveStateChangedLocked()
DMetricsManager.cpp155 vector<sp<MetricProducer>> newMetricProducers; in updateConfig()
580 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
632 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
770 lostAtomId, reason, MetricProducer::LostAtomType::kWhat); in notifyMetricsAboutLostAtom()
785 lostAtomId, reason, MetricProducer::LostAtomType::kCondition); in notifyMetricsAboutLostAtom()
DGaugeMetricProducer.cpp88 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in GaugeMetricProducer()
175 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked()
434 MetricProducer::onActiveStateChangedLocked(eventTimeNs, isActive); in onActiveStateChangedLocked()
725 MetricProducer::computeBucketSizeLocked(isFullBucket, dimKey, isFirstBucket); in computeGaugeBucketSizeLocked()
DMetricProducer.h132 class MetricProducer : public virtual RefBase, public virtual StateListener {
134 MetricProducer(int64_t metricId, const ConfigKey& key, int64_t timeBaseNs,
145 virtual ~MetricProducer(){}; in ~MetricProducer()
DDurationMetricProducer.cpp82 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in DurationMetricProducer()
195 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked()
458 MetricProducer::onActiveStateChangedLocked(eventTimeNs, isActive); in onActiveStateChangedLocked()
855 MetricProducer::computeBucketSizeLocked(isFullBucket, dimKey, isFirstBucket); in computeBucketSizeLocked()
DEventMetricProducer.h35 class EventMetricProducer : public MetricProducer {
DCountMetricProducer.h44 class CountMetricProducer : public MetricProducer {
DDurationMetricProducer.h39 class DurationMetricProducer : public MetricProducer {
DGaugeMetricProducer.h60 class GaugeMetricProducer : public MetricProducer, public virtual PullDataReceiver {
DValueMetricProducer.h68 class ValueMetricProducer : public MetricProducer, public virtual PullDataReceiver {
DMetricsManager.h278 std::vector<sp<MetricProducer>> mAllMetricProducers;
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dconfig_update_utils.h142 const vector<sp<MetricProducer>>& oldMetricProducers,
182 const std::vector<sp<MetricProducer>>& oldMetricProducers,
185 std::vector<sp<MetricProducer>>& newMetricProducers,
230 std::vector<sp<MetricProducer>>& allMetricProducers,
245 const std::vector<sp<MetricProducer>>& oldMetricProducers,
256 std::vector<sp<MetricProducer>>& newMetricProducers,
Dmetrics_manager_util.h100 optional<sp<MetricProducer>> createCountMetricProducerAndUpdateMetadata(
120 optional<sp<MetricProducer>> createDurationMetricProducerAndUpdateMetadata(
140 optional<sp<MetricProducer>> createEventMetricProducerAndUpdateMetadata(
158 optional<sp<MetricProducer>> createNumericValueMetricProducerAndUpdateMetadata(
180 optional<sp<MetricProducer>> createGaugeMetricProducerAndUpdateMetadata(
200 optional<sp<MetricProducer>> createKllMetricProducerAndUpdateMetadata(
226 std::vector<sp<MetricProducer>>& allMetricProducers,
352 std::vector<sp<MetricProducer>>& allMetricProducers,
380 std::vector<sp<MetricProducer>>& allMetricProducers,
Dconfig_update_utils.cpp505 const vector<sp<MetricProducer>>& oldMetricProducers, in determineMetricUpdateStatus()
523 const sp<MetricProducer>& oldMetricProducer = oldMetricProducers[oldMetricProducerIt->second]; in determineMetricUpdateStatus()
573 const vector<sp<MetricProducer>>& oldMetricProducers, in determineAllMetricUpdateStatuses()
680 optional<sp<MetricProducer>> updateMetric( in updateMetric()
689 const vector<sp<MetricProducer>>& oldMetricProducers, in updateMetric()
706 sp<MetricProducer> producer = oldMetricProducers[oldIndex]; in updateMetric()
732 const vector<sp<MetricProducer>>& oldMetricProducers, in updateMetrics()
735 vector<sp<MetricProducer>>& newMetricProducers, in updateMetrics()
782 optional<sp<MetricProducer>> producer; in updateMetrics()
824 optional<sp<MetricProducer>> producer; in updateMetrics()
[all …]
Dmetrics_manager_util.cpp497 optional<sp<MetricProducer>> createCountMetricProducerAndUpdateMetadata( in createCountMetricProducerAndUpdateMetadata()
601 sp<MetricProducer> metricProducer = new CountMetricProducer( in createCountMetricProducerAndUpdateMetadata()
619 optional<sp<MetricProducer>> createDurationMetricProducerAndUpdateMetadata( in createDurationMetricProducerAndUpdateMetadata()
780 sp<MetricProducer> metricProducer = new DurationMetricProducer( in createDurationMetricProducerAndUpdateMetadata()
805 optional<sp<MetricProducer>> createEventMetricProducerAndUpdateMetadata( in createEventMetricProducerAndUpdateMetadata()
882 optional<sp<MetricProducer>> createNumericValueMetricProducerAndUpdateMetadata( in createNumericValueMetricProducerAndUpdateMetadata()
1042 sp<MetricProducer> metricProducer = new NumericValueMetricProducer( in createNumericValueMetricProducerAndUpdateMetadata()
1066 optional<sp<MetricProducer>> createKllMetricProducerAndUpdateMetadata( in createKllMetricProducerAndUpdateMetadata()
1197 sp<MetricProducer> metricProducer = new KllMetricProducer( in createKllMetricProducerAndUpdateMetadata()
1226 optional<sp<MetricProducer>> createGaugeMetricProducerAndUpdateMetadata( in createGaugeMetricProducerAndUpdateMetadata()
[all …]
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp69 vector<sp<MetricProducer>> allMetricProducers;
1520 vector<sp<MetricProducer>> metricProducers; in TEST_F()
1543 vector<sp<MetricProducer>> metricProducers( in TEST_F()
1568 vector<sp<MetricProducer>> metricProducers( in TEST_F()
1594 vector<sp<MetricProducer>> metricProducers( in TEST_F()
1621 vector<sp<MetricProducer>> metricProducers({new DurationMetricProducer( in TEST_F()
1783 sp<MetricProducer> sampledCountMetricProducer = metricsManager->mAllMetricProducers[0]; in TEST_F()
1784 sp<MetricProducer> unsampledCountMetricProducer = metricsManager->mAllMetricProducers[1]; in TEST_F()
1785 sp<MetricProducer> sampledDurationMetricProducer = metricsManager->mAllMetricProducers[2]; in TEST_F()
1786 sp<MetricProducer> unsampledDurationMetricProducer = metricsManager->mAllMetricProducers[3]; in TEST_F()
[all …]
Dconfig_update_utils_test.cpp73 vector<sp<MetricProducer>> oldMetricProducers;
1971 vector<sp<MetricProducer>> newMetricProducers; in TEST_F()
2205 vector<sp<MetricProducer>> newMetricProducers; in TEST_F()
2419 vector<sp<MetricProducer>> newMetricProducers; in TEST_F()
2743 vector<sp<MetricProducer>> newMetricProducers; in TEST_F()
3012 vector<sp<MetricProducer>> newMetricProducers; in TEST_F()
3230 vector<sp<MetricProducer>> newMetricProducers; in TEST_F()
3404 vector<sp<MetricProducer>> newMetricProducers; in TEST_F()
3437 sp<MetricProducer> producer = newMetricProducers[0]; in TEST_F()
3567 vector<sp<MetricProducer>> newMetricProducers; in TEST_F()
[all …]
/packages/modules/StatsD/statsd/tests/
DDataCorruptionReason_test.cpp200 MetricProducer::DataCorruptionSeverity::kNone); in TEST_P()
216 MetricProducer::DataCorruptionSeverity::kNone, in TEST_P()
221 MetricProducer::DataCorruptionSeverity::kNone); in TEST_P()
/packages/modules/StatsD/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp171 sp<MetricProducer> metricProducer1 = metricsManager->mAllMetricProducers[0]; in TEST()
173 sp<MetricProducer> metricProducer2 = metricsManager->mAllMetricProducers[2]; in TEST()
692 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
751 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
869 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
910 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
DDurationMetric_e2e_test.cpp63 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
146 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
266 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
405 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
515 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
625 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
770 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
918 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1075 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
1277 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
[all …]
DCountMetric_e2e_test.cpp90 sp<MetricProducer> metricProducer1 = metricsManager->mAllMetricProducers[0]; in TEST()
91 sp<MetricProducer> metricProducer2 = metricsManager->mAllMetricProducers[1]; in TEST()
314 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
468 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
653 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
863 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()

12