Home
last modified time | relevance | path

Searched refs:allData (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp229 vector<shared_ptr<LogEvent>> allData; in TEST() local
230 allData.clear(); in TEST()
235 allData.push_back(event); in TEST()
237 valueProducer->onDataPulled(allData, /** succeed */ true, bucket2StartTimeNs); in TEST()
250 allData.clear(); in TEST()
255 allData.push_back(event); in TEST()
256 valueProducer->onDataPulled(allData, /** succeed */ true, bucket3StartTimeNs); in TEST()
272 allData.clear(); in TEST()
277 allData.push_back(event); in TEST()
278 valueProducer->onDataPulled(allData, /** succeed */ true, bucket4StartTimeNs); in TEST()
[all …]
DGaugeMetricProducer_test.cpp131 vector<shared_ptr<LogEvent>> allData; in TEST() local
132 allData.clear(); in TEST()
138 allData.push_back(event); in TEST()
140 gaugeProducer.onDataPulled(allData, /** succeed */ true, bucket2StartTimeNs); in TEST()
151 allData.clear(); in TEST()
157 allData.push_back(event2); in TEST()
158 gaugeProducer.onDataPulled(allData, /** succeed */ true, bucket3StartTimeNs); in TEST()
308 vector<shared_ptr<LogEvent>> allData; in TEST() local
313 allData.push_back(event); in TEST()
314 gaugeProducer.onDataPulled(allData, /** succeed */ true, bucketStartTimeNs); in TEST()
[all …]
/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp458 vector<std::shared_ptr<LogEvent>> allData; in pullAndMatchEventsLocked() local
459 if (!mPullerManager->Pull(mPullTagId, &allData)) { in pullAndMatchEventsLocked()
465 accumulateEvents(allData, timestampNs, timestampNs, condition); in pullAndMatchEventsLocked()
475 void ValueMetricProducer::onDataPulled(const std::vector<std::shared_ptr<LogEvent>>& allData, in onDataPulled() argument
487 accumulateEvents(allData, originalPullTimeNs, originalPullTimeNs, mCondition); in onDataPulled()
501 accumulateEvents(allData, originalPullTimeNs, bucketEndTime, mCondition); in onDataPulled()
511 void ValueMetricProducer::accumulateEvents(const std::vector<std::shared_ptr<LogEvent>>& allData, in accumulateEvents() argument
535 if (allData.size() == 0) { in accumulateEvents()
541 for (const auto& data : allData) { in accumulateEvents()
DGaugeMetricProducer.cpp337 vector<std::shared_ptr<LogEvent>> allData; in pullAndMatchEventsLocked() local
338 if (!mPullerManager->Pull(mPullTagId, &allData)) { in pullAndMatchEventsLocked()
350 for (const auto& data : allData) { in pullAndMatchEventsLocked()
426 void GaugeMetricProducer::onDataPulled(const std::vector<std::shared_ptr<LogEvent>>& allData, in onDataPulled() argument
429 if (!pullSuccess || allData.size() == 0) { in onDataPulled()
432 for (const auto& data : allData) { in onDataPulled()
DValueMetricProducer.h188 void accumulateEvents(const std::vector<std::shared_ptr<LogEvent>>& allData,
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java480 final Data[] allData = toArray(); in reverseDump() local
481 for (int i = allData.length - 1; i >= 0; --i) { in reverseDump()
482 if (allData[i] == null) { in reverseDump()
486 pw.print(formatDate(allData[i].timeStamp)); in reverseDump()
488 pw.println(getContent(allData[i])); in reverseDump()