Home
last modified time | relevance | path

Searched refs:PullResult (Results 1 – 9 of 9) sorted by relevance

/packages/modules/StatsD/statsd/src/external/
DPullDataReceiver.h27 enum PullResult { PULL_RESULT_SUCCESS = 1, PULL_RESULT_FAIL = 2, PULL_NOT_NEEDED = 3 }; enum
39 PullResult pullResult, int64_t originalPullTimeNs) = 0;
DStatsPullerManager.cpp242 receiverPtr->onDataPulled({}, PullResult::PULL_NOT_NEEDED, elapsedTimeNs); in OnAlarmFired()
258 PullResult pullResult = in OnAlarmFired()
260 ? PullResult::PULL_RESULT_SUCCESS in OnAlarmFired()
261 : PullResult::PULL_RESULT_FAIL; in OnAlarmFired()
262 if (pullResult == PullResult::PULL_RESULT_FAIL) { in OnAlarmFired()
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp317 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket2StartTimeNs); in TEST()
331 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket3StartTimeNs); in TEST()
346 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket4StartTimeNs); in TEST()
393 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket2StartTimeNs); in TEST_P()
442 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket2StartTimeNs); in TEST()
456 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket3StartTimeNs); in TEST()
463 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket4StartTimeNs); in TEST()
493 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket2StartTimeNs); in TEST()
507 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket3StartTimeNs); in TEST()
519 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket4StartTimeNs); in TEST()
[all …]
DGaugeMetricProducer_test.cpp156 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket2StartTimeNs); in TEST()
174 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket3StartTimeNs); in TEST()
341 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucketStartTimeNs); in TEST_P()
371 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, in TEST_P()
412 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucketStartTimeNs); in TEST()
477 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket2StartTimeNs); in TEST()
568 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket2StartTimeNs); in TEST()
617 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucketStartTimeNs); in TEST()
630 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, in TEST()
643 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, in TEST()
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DNumericValueMetricProducer.cpp190 PullResult pullResult, int64_t originalPullTimeNs) { in onDataPulled()
194 if (pullResult == PullResult::PULL_RESULT_FAIL) { in onDataPulled()
196 } else if (pullResult == PullResult::PULL_RESULT_SUCCESS) { in onDataPulled()
DGaugeMetricProducer.h79 void onDataPulled(const std::vector<std::shared_ptr<LogEvent>>& data, PullResult pullResult,
DGaugeMetricProducer.cpp502 PullResult pullResult, int64_t originalPullTimeNs) { in onDataPulled()
504 if (pullResult != PullResult::PULL_RESULT_SUCCESS || allData.size() == 0) { in onDataPulled()
DNumericValueMetricProducer.h43 void onDataPulled(const std::vector<std::shared_ptr<LogEvent>>& allData, PullResult pullResult,
DValueMetricProducer.h122 PullResult pullResult, int64_t originalPullTimeNs) override { in onDataPulled()