Home
last modified time | relevance | path

Searched refs:onDumpReport (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/StatsD/statsd/tests/metrics/
DKllMetricProducer_test.cpp100 StatsLogReport onDumpReport(sp<KllMetricProducer>& producer, int64_t dumpTimeNs, in onDumpReport() function
104 producer->onDumpReport(dumpTimeNs, includeCurrentBucket, true /*erase data*/, FAST, nullptr, in onDumpReport()
326 onDumpReport(kllProducer, dumpReportTimeNs, true /* include current bucket */); in TEST()
360 onDumpReport(kllProducer, dumpReportTimeNs, true /* include current bucket */); in TEST()
388 onDumpReport(kllProducer, dumpReportTimeNs, true /* include current bucket */); in TEST()
420 onDumpReport(kllProducer, dumpReportTimeNs, false /* include current bucket */); in TEST()
466 StatsLogReport report = onDumpReport(kllProducer, bucketStartTimeNs + 50, in TEST()
475 StatsLogReport report = onDumpReport(kllProducer, bucketStartTimeNs + 150, in TEST()
487 StatsLogReport report = onDumpReport(kllProducer, bucketStartTimeNs + 250, in TEST()
506 StatsLogReport report = onDumpReport(kllProducer, bucketStartTimeNs + 50, in TEST()
[all …]
DEventMetricProducer_test.cpp56 StatsLogReport onDumpReport(EventMetricProducer& producer, int64_t dumpTimeNs) { in onDumpReport() function
59 producer.onDumpReport(dumpTimeNs, true /*include current partial bucket*/, true /*erase data*/, in onDumpReport()
100 StatsLogReport report = onDumpReport(eventProducer, bucketStartTimeNs + 20); in TEST_F()
138 StatsLogReport report = onDumpReport(eventProducer, bucketStartTimeNs + 20); in TEST_F()
187 StatsLogReport report = onDumpReport(eventProducer, bucketStartTimeNs + 20); in TEST_F()
222 StatsLogReport report = onDumpReport(eventProducer, bucketStartTimeNs + 50); in TEST_F()
270 StatsLogReport report = onDumpReport(eventProducer, bucketStartTimeNs + 50); in TEST_F()
314 StatsLogReport report = onDumpReport(eventProducer, bucketStartTimeNs + 50); in TEST_F()
360 StatsLogReport report = onDumpReport(eventProducer, bucketStartTimeNs + 50); in TEST_F()
386 StatsLogReport report = onDumpReport(eventProducer, bucketStartTimeNs + 150); in TEST_F()
[all …]
DCountMetricProducer_test.cpp63 StatsLogReport onDumpReport(CountMetricProducer& producer, int64_t dumpTimeNs) { in onDumpReport() function
66 producer.onDumpReport(dumpTimeNs, true /*include current partial bucket*/, true /*erase data*/, in onDumpReport()
578 StatsLogReport report = onDumpReport(countProducer, bucketStartTimeNs + 50); in TEST()
586 StatsLogReport report = onDumpReport(countProducer, bucketStartTimeNs + 150); in TEST()
597 StatsLogReport report = onDumpReport(countProducer, bucketStartTimeNs + 250); in TEST()
621 StatsLogReport report = onDumpReport(countProducer, bucketStartTimeNs + 50); in TEST()
629 StatsLogReport report = onDumpReport(countProducer, bucketStartTimeNs + 150); in TEST()
653 StatsLogReport report = onDumpReport(countProducer, bucketStartTimeNs + 50); in TEST()
660 StatsLogReport report = onDumpReport(countProducer, bucketStartTimeNs + 150); in TEST()
DDurationMetricProducer_test.cpp57 StatsLogReport onDumpReport(DurationMetricProducer& producer, int64_t dumpTimeNs) { in onDumpReport() function
60 producer.onDumpReport(dumpTimeNs, true /*include current partial bucket*/, true /*erase data*/, in onDumpReport()
658 StatsLogReport report = onDumpReport(durationProducer, bucketStartTimeNs + 50); in TEST()
666 StatsLogReport report = onDumpReport(durationProducer, bucketStartTimeNs + 150); in TEST()
694 StatsLogReport report = onDumpReport(durationProducer, bucketStartTimeNs + 50); in TEST()
702 StatsLogReport report = onDumpReport(durationProducer, bucketStartTimeNs + 150); in TEST()
729 StatsLogReport report = onDumpReport(durationProducer, bucketStartTimeNs + 50); in TEST()
736 StatsLogReport report = onDumpReport(durationProducer, bucketStartTimeNs + 150); in TEST()
DGaugeMetricProducer_test.cpp74 StatsLogReport onDumpReport(GaugeMetricProducer& producer, int64_t dumpTimeNs, in onDumpReport() function
78 producer.onDumpReport(dumpTimeNs, true /*include current partial bucket*/, true /*erase data*/, in onDumpReport()
919 StatsLogReport report = onDumpReport(gaugeProducer, bucketStartTimeNs + 9000000); in TEST()
996 StatsLogReport report = onDumpReport(gaugeProducer, dumpReportTimeNs, NO_TIME_CONSTRAINTS); in TEST()
1045 StatsLogReport report = onDumpReport(gaugeProducer, bucketStartTimeNs + 50); in TEST()
1053 StatsLogReport report = onDumpReport(gaugeProducer, bucketStartTimeNs + 150); in TEST()
1064 StatsLogReport report = onDumpReport(gaugeProducer, bucketStartTimeNs + 250); in TEST()
1096 StatsLogReport report = onDumpReport(gaugeProducer, bucketStartTimeNs + 50); in TEST()
1104 StatsLogReport report = onDumpReport(gaugeProducer, bucketStartTimeNs + 150); in TEST()
1115 StatsLogReport report = onDumpReport(gaugeProducer, bucketStartTimeNs + 250); in TEST()
[all …]
DNumericValueMetricProducer_test.cpp105 StatsLogReport onDumpReport(sp<NumericValueMetricProducer>& producer, int64_t dumpTimeNs, in onDumpReport() function
109 producer->onDumpReport(dumpTimeNs, includeCurrentBucket, true /*erase data*/, dumpLatency, in onDumpReport()
892 StatsLogReport report = onDumpReport(valueProducer, bucket2StartTimeNs + 10000, in TEST()
962 StatsLogReport report = onDumpReport(valueProducer, bucket2StartTimeNs + 10000, in TEST()
2198 StatsLogReport report = onDumpReport(valueProducer, bucket2StartTimeNs + 10, in TEST()
2256 StatsLogReport report = onDumpReport(valueProducer, bucket2StartTimeNs + 10000, in TEST()
2330 StatsLogReport report = onDumpReport(valueProducer, bucket2StartTimeNs + 10000, in TEST()
2402 StatsLogReport report = onDumpReport(valueProducer, bucket2StartTimeNs + 10000, in TEST()
2985 StatsLogReport report = onDumpReport(valueProducer, bucket4StartTimeNs, in TEST()
3022 StatsLogReport report = onDumpReport(valueProducer, bucketStartTimeNs + 10, in TEST()
[all …]
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_ab_test.cpp90 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P()
131 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P()
161 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P()
180 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P()
186 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P()
197 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P()
203 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P()
233 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P()
258 processor->onDumpReport(cfgKey, baseTimeNs + 1001, true, true, ADB_DUMP, FAST, &buffer); in TEST_P()
273 processor->onDumpReport(cfgKey, baseTimeNs + 3000, true, true, ADB_DUMP, FAST, &buffer); in TEST_P()
[all …]
DWakelockDuration_e2e_test.cpp128 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs - 1, false, true, ADB_DUMP, in TEST()
165 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
217 processor->onDumpReport(cfgKey, bucketStartTimeNs + 6 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
250 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs - 1, false, true, ADB_DUMP, in TEST()
280 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
326 processor->onDumpReport(cfgKey, bucketStartTimeNs + 6 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
DEventMetric_e2e_test.cpp83 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
155 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F_GUARDED()
238 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F_GUARDED()
282 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
290 processor->onDumpReport(key, dumpTimeNs + 100, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
332 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
415 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
534 processor->onDumpReport(key, dumpTimeNs, false, true, ADB_DUMP, FAST, &buffer); in TEST_F()
662 processor->onDumpReport(key, dumpTimeNs, false, true, ADB_DUMP, FAST, &buffer); in TEST_F()
806 processor->onDumpReport(key, dumpTimeNs, false, true, ADB_DUMP, FAST, &buffer); in TEST_F()
[all …]
DStringReplace_e2e_test.cpp113 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
210 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
272 processor->onDumpReport(cfgKey, configAddedTimeNs + 3 * bucketSizeNs + 10, false, true, in TEST()
339 processor->onDumpReport(cfgKey, configAddedTimeNs + 3 * bucketSizeNs + 10, false, true, in TEST()
437 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
577 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
657 processor->onDumpReport(cfgKey, configAddedTimeNs + 3 * bucketSizeNs + 10, false, true, in TEST()
DKllMetric_e2e_test.cpp83 processor->onDumpReport(key, dumpTimeNs, /*include_current_bucket*/ false, true, ADB_DUMP, FAST, in TEST_F()
136 processor->onDumpReport(key, dumpTimeNs, /*include_current_bucket*/ false, true, ADB_DUMP, FAST, in TEST_F()
262 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST_F()
DGaugeMetric_e2e_pull_test.cpp137 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
284 processor->onDumpReport(cfgKey, configAddedTimeNs + (4 * bucketSizeNs) + 10, false, true, in TEST()
379 processor->onDumpReport(cfgKey, configAddedTimeNs + 8 * bucketSizeNs + 10, false, true, in TEST()
480 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
588 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST()
640 processor->onDumpReport(cfgKey, configAddedTimeNs + 6 * bucketSizeNs + 10, in TEST()
697 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST()
825 processor->onDumpReport(cfgKey, configAddedTimeNs + 4 * bucketSizeNs + 10, in TEST()
907 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
1000 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
[all …]
DGaugeMetric_e2e_push_test.cpp190 processor->onDumpReport(cfgKey, bucketStartTimeNs + 3 * bucketSizeNs, false, true, ADB_DUMP, in TEST_F()
362 processor->onDumpReport(cfgKey, bucketStartTimeNs + 3 * bucketSizeNs, false, true, ADB_DUMP, in TEST_F_GUARDED()
474 processor->onDumpReport(cfgKey, configAddedTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST_F()
549 processor->onDumpReport(cfgKey, configAddedTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST_F()
645 processor->onDumpReport(cfgKey, configAddedTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST_F()
742 processor->onDumpReport(cfgKey, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
870 processor->onDumpReport(cfgKey, dumpTimeNs, false, true, ADB_DUMP, FAST, &buffer); in TEST_F()
996 processor->onDumpReport(cfgKey, dumpTimeNs, false, true, ADB_DUMP, FAST, &buffer); in TEST_F()
DValueMetric_pull_e2e_test.cpp267 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
393 processor->onDumpReport(cfgKey, configAddedTimeNs + 9 * bucketSizeNs + 10, false, true, in TEST()
505 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST()
528 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST()
540 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST()
594 processor->onDumpReport(cfgKey, dumpReportTimeNs, false /* include_current_partial_bucket */, in TEST()
636 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST()
DCountMetric_e2e_test.cpp245 processor->onDumpReport(cfgKey, dumpReportTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST()
375 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST()
557 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST()
738 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST()
982 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST()
1132 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
1202 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST_GUARDED()
1267 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST_GUARDED()
1333 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST_GUARDED()
1418 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST_GUARDED()
[all …]
DDurationMetric_e2e_test.cpp89 processor->onDumpReport(cfgKey, configAddedTimeNs + bucketSizeNs + 1 * NS_PER_SEC, false, true, in TEST()
172 processor->onDumpReport(cfgKey, configAddedTimeNs + 2 * bucketSizeNs + 1 * NS_PER_SEC, false, in TEST()
350 processor.onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1 * NS_PER_SEC, false, true, in TEST()
443 processor->onDumpReport(cfgKey, dumpReportTimeNs, true, true, ADB_DUMP, FAST, &buffer); // 5:40 in TEST()
542 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
702 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
823 processor->onDumpReport(cfgKey, bucketStartTimeNs + 360 * NS_PER_SEC, in TEST()
984 processor->onDumpReport(cfgKey, bucketStartTimeNs + 410 * NS_PER_SEC, in TEST()
1141 processor->onDumpReport(cfgKey, bucketStartTimeNs + 490 * NS_PER_SEC, in TEST()
1336 processor->onDumpReport(cfgKey, bucketStartTimeNs + 320 * NS_PER_SEC, in TEST()
[all …]
DConfigTtl_e2e_test.cpp103 processor->onDumpReport(cfgKey, bucketStartTimeNs + 25 * bucketSizeNs + 3, false, true, in TEST()
DMetricConditionLink_e2e_test.cpp199 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs - 1, false, true, ADB_DUMP, in TEST()
319 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
DAttribution_e2e_test.cpp150 processor->onDumpReport(cfgKey, bucketStartTimeNs + 4 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
260 processor->onDumpReport(cfgKey, bucketStartTimeNs + 4 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
/packages/modules/StatsD/statsd/tests/
DStatsService_test.cpp81 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in TEST()
97 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in TEST()
184 service->mProcessor->onDumpReport(configKey, dumpReportTsNanos, in TEST_F()
DStatsLogProcessor_test.cpp74 MOCK_METHOD(void, onDumpReport,
214 MOCK_METHOD(void, onDumpReport,
256 p.onDumpReport(key, 1, false, true, ADB_DUMP, FAST, &bytes); in TEST()
299 p.onDumpReport(key, 1, false, true, ADB_DUMP, FAST, &bytes); in TEST()
339 p.onDumpReport(key, 1, false, true, ADB_DUMP, FAST, &bytes); in TEST()
374 processor->onDumpReport(cfgKey, 3, true, false /* Do NOT erase data. */, ADB_DUMP, FAST, in TEST()
382 processor->onDumpReport(cfgKey, 4, true, true /* DO erase data. */, ADB_DUMP, FAST, &bytes); in TEST()
389 processor->onDumpReport(cfgKey, 5, true, true /* DO erase data. */, ADB_DUMP, FAST, &bytes); in TEST()
1848 processor->onDumpReport(cfgKey1, configAddedTimeNs + NS_PER_SEC, false, true, ADB_DUMP, FAST, in TEST()
1852 service->mProcessor->onDumpReport(cfgKey1, getElapsedRealtimeNs(), in TEST()
[all …]
DUidMap_test.cpp750 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in getUidMapping()
989 p->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, NO_TIME_CONSTRAINTS, &buffer); in TEST()
1009 p->onDumpReport(key, dumpTimeNs + 20, true, false, ADB_DUMP, FAST, &buffer); in TEST()
1154 p->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, NO_TIME_CONSTRAINTS, &buffer); in TEST()
1174 p->onDumpReport(key, dumpTimeNs + 20, true, false, ADB_DUMP, FAST, &buffer); in TEST()
/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.h65 void onDumpReport(const ConfigKey& key, int64_t dumpTimeNs, int64_t wallClockNs,
69 void onDumpReport(const ConfigKey& key, int64_t dumpTimeNs, int64_t wallClockNs,
74 void onDumpReport(const ConfigKey& key, int64_t dumpTimeNs,
DStatsLogProcessor.cpp670 void StatsLogProcessor::onDumpReport(const ConfigKey& key, const int64_t dumpTimeStampNs, in onDumpReport() function in android::os::statsd::StatsLogProcessor
733 void StatsLogProcessor::onDumpReport(const ConfigKey& key, const int64_t dumpTimeStampNs, in onDumpReport() function in android::os::statsd::StatsLogProcessor
739 onDumpReport(key, dumpTimeStampNs, wallClockNs, include_current_partial_bucket, erase_data, in onDumpReport()
752 void StatsLogProcessor::onDumpReport(const ConfigKey& key, const int64_t dumpTimeStampNs, in onDumpReport() function in android::os::statsd::StatsLogProcessor
756 onDumpReport(key, dumpTimeStampNs, getWallClockNs(), include_current_partial_bucket, erase_data, in onDumpReport()
797 it->second->onDumpReport(dumpTimeStampNs, wallClockNs, include_current_partial_bucket, in onConfigMetricsReportLocked()
/packages/modules/StatsD/statsd/benchmark/
Dtex_metric_benchmark.cpp117 processor->onDumpReport(cfgKey, elevenMinutesInNanos, true, false, ADB_DUMP, FAST, &buffer); in testScenario()

12