Searched refs:PullResult (Results 1 – 9 of 9) sorted by relevance
/packages/modules/StatsD/statsd/src/external/ |
D | PullDataReceiver.h | 27 enum PullResult { PULL_RESULT_SUCCESS = 1, PULL_RESULT_FAIL = 2, PULL_NOT_NEEDED = 3 }; enum 39 PullResult pullResult, int64_t originalPullTimeNs) = 0;
|
D | StatsPullerManager.cpp | 242 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/ |
D | NumericValueMetricProducer_test.cpp | 317 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 …]
|
D | GaugeMetricProducer_test.cpp | 156 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/ |
D | NumericValueMetricProducer.cpp | 190 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()
|
D | GaugeMetricProducer.h | 79 void onDataPulled(const std::vector<std::shared_ptr<LogEvent>>& data, PullResult pullResult,
|
D | GaugeMetricProducer.cpp | 502 PullResult pullResult, int64_t originalPullTimeNs) { in onDataPulled() 504 if (pullResult != PullResult::PULL_RESULT_SUCCESS || allData.size() == 0) { in onDataPulled()
|
D | NumericValueMetricProducer.h | 43 void onDataPulled(const std::vector<std::shared_ptr<LogEvent>>& allData, PullResult pullResult,
|
D | ValueMetricProducer.h | 122 PullResult pullResult, int64_t originalPullTimeNs) override { in onDataPulled()
|