/packages/modules/StatsD/statsd/tests/e2e/ |
D | ConfigUpdate_e2e_ab_test.cpp | 91 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P() 132 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P() 162 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P() 181 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P() 187 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P() 198 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P() 204 processor->onDumpReport(cfgKey, baseTimeNs + 1001, false, true, ADB_DUMP, FAST, &buffer); in TEST_P() 234 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 …]
|
D | WakelockDuration_e2e_test.cpp | 129 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs - 1, false, true, ADB_DUMP, in TEST() 166 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST() 218 processor->onDumpReport(cfgKey, bucketStartTimeNs + 6 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST() 251 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs - 1, false, true, ADB_DUMP, in TEST() 281 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST() 327 processor->onDumpReport(cfgKey, bucketStartTimeNs + 6 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
|
D | DurationMetric_e2e_test.cpp | 90 processor->onDumpReport(cfgKey, configAddedTimeNs + bucketSizeNs + 1 * NS_PER_SEC, false, true, in TEST() 173 processor->onDumpReport(cfgKey, configAddedTimeNs + 2 * bucketSizeNs + 1 * NS_PER_SEC, false, in TEST() 344 processor.onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1 * NS_PER_SEC, false, true, in TEST() 429 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST() 531 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST() 692 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST() 814 processor->onDumpReport(cfgKey, bucketStartTimeNs + 360 * NS_PER_SEC, in TEST() 976 processor->onDumpReport(cfgKey, bucketStartTimeNs + 410 * NS_PER_SEC, in TEST() 1134 processor->onDumpReport(cfgKey, bucketStartTimeNs + 490 * NS_PER_SEC, in TEST() 1331 processor->onDumpReport(cfgKey, bucketStartTimeNs + 320 * NS_PER_SEC, in TEST() [all …]
|
D | GaugeMetric_e2e_pull_test.cpp | 137 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST() 255 processor->onDumpReport(cfgKey, configAddedTimeNs + 8 * bucketSizeNs + 10, false, true, in TEST() 355 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST() 475 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST() 568 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
|
D | CountMetric_e2e_test.cpp | 219 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST() 402 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST() 582 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST() 811 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs * 2 + 1, false, true, ADB_DUMP, in TEST() 944 processor->onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
|
D | MetricConditionLink_e2e_test.cpp | 200 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs - 1, false, true, ADB_DUMP, in TEST() 320 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
|
D | ValueMetric_pull_e2e_test.cpp | 267 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST() 375 processor->onDumpReport(cfgKey, configAddedTimeNs + 9 * bucketSizeNs + 10, false, true, in TEST() 478 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
|
D | ConfigTtl_e2e_test.cpp | 104 processor->onDumpReport(cfgKey, bucketStartTimeNs + 25 * bucketSizeNs + 3, false, true, in TEST()
|
D | Attribution_e2e_test.cpp | 151 processor->onDumpReport(cfgKey, bucketStartTimeNs + 4 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST() 264 processor->onDumpReport(cfgKey, bucketStartTimeNs + 4 * bucketSizeNs + 1, false, true, ADB_DUMP, in TEST()
|
D | ConfigUpdate_e2e_test.cpp | 195 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 435 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 723 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 1060 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 1420 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 1766 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 2070 processor->onDumpReport(key, bucket2StartTimeNs + 100 * NS_PER_SEC, true, true, ADB_DUMP, FAST, in TEST_F() 2419 processor->onDumpReport(key, bucket2StartTimeNs + 100 * NS_PER_SEC, true, true, ADB_DUMP, FAST, in TEST_F() 2636 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 2728 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() [all …]
|
D | MetricActivation_e2e_test.cpp | 386 processor.onDumpReport(cfgKey, bucketStartTimeNs + NS_PER_SEC * 60 * 15 + 1, false, true, in TEST() 693 processor.onDumpReport(cfgKey, bucketStartTimeNs + NS_PER_SEC * 60 * 15 + 1, false, true, in TEST() 1026 processor.onDumpReport(cfgKey, bucketStartTimeNs + NS_PER_SEC * 60 * 15 + 1, false, true, in TEST() 1249 processor.onDumpReport(cfgKey, bucketStartTimeNs + NS_PER_SEC * 60 * 15 + 1, false, true, in TEST() 1686 processor.onDumpReport(cfgKey, bucketStartTimeNs + NS_PER_SEC * 60 * 15 + 1, false, true, in TEST()
|
D | GaugeMetric_e2e_push_test.cpp | 135 processor->onDumpReport(cfgKey, bucketStartTimeNs + 3 * bucketSizeNs, false, true, ADB_DUMP, in TEST()
|
D | PartialBucket_e2e_test.cpp | 50 processor->onDumpReport(configKey, timestamp, include_current /* include_current_bucket*/, in GetReports()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | EventMetricProducer_test.cpp | 79 eventProducer.onDumpReport(bucketStartTimeNs + 20, true /*include current partial bucket*/, in TEST() 120 eventProducer.onDumpReport(bucketStartTimeNs + 20, true /*include current partial bucket*/, in TEST() 172 eventProducer.onDumpReport(bucketStartTimeNs + 20, true /*include current partial bucket*/, in TEST()
|
D | ValueMetricProducer_test.cpp | 2201 valueProducer->onDumpReport(bucket2StartTimeNs + 10, false /* include partial bucket */, true, in TEST() 2261 valueProducer->onDumpReport(bucket2StartTimeNs + 10000, false /* include recent buckets */, in TEST() 2340 valueProducer->onDumpReport(bucket2StartTimeNs + 10000, false /* include recent buckets */, in TEST() 2419 valueProducer->onDumpReport(bucket2StartTimeNs + 10000, false /* include recent buckets */, in TEST() 2944 valueProducer.onDumpReport(bucketStartTimeNs + 10, true /* include recent buckets */, true, in TEST() 2983 valueProducer.onDumpReport(bucket4StartTimeNs, false /* include recent buckets */, true, FAST, in TEST() 3027 valueProducer.onDumpReport(bucketStartTimeNs + 10, true /* include recent buckets */, true, in TEST() 3220 valueProducer->onDumpReport(bucketStartTimeNs + 40, true /* include recent buckets */, true, in TEST() 3274 valueProducer->onDumpReport(bucket2StartTimeNs + 100, true /* include recent buckets */, true, in TEST() 3344 valueProducer->onDumpReport(bucket2StartTimeNs + 100, true /* include recent buckets */, true, in TEST() [all …]
|
D | GaugeMetricProducer_test.cpp | 806 gaugeProducer.onDumpReport(bucketStartTimeNs + 9000000, true /* include recent buckets */, true, in TEST()
|
/packages/modules/StatsD/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 182 p.onDumpReport(key, 1, false, true, ADB_DUMP, FAST, &bytes); in TEST() 213 p.onDumpReport(key, 1, false, true, ADB_DUMP, FAST, &bytes); in TEST() 244 p.onDumpReport(key, 1, false, true, ADB_DUMP, FAST, &bytes); in TEST() 280 processor->onDumpReport(cfgKey, 3, true, false /* Do NOT erase data. */, ADB_DUMP, FAST, in TEST() 288 processor->onDumpReport(cfgKey, 4, true, true /* DO erase data. */, ADB_DUMP, FAST, &bytes); in TEST() 295 processor->onDumpReport(cfgKey, 5, true, true /* DO erase data. */, ADB_DUMP, FAST, &bytes); in TEST() 1724 processor->onDumpReport(cfgKey1, configAddedTimeNs + NS_PER_SEC, false, true, ADB_DUMP, FAST, in TEST() 1849 processor->onDumpReport(key, dumpTime1Ns, false /* include_current_bucket */, in TEST() 1858 processor->onDumpReport(key, dumpTime2Ns, false /* include_current_bucket */, in TEST() 1868 processor->onDumpReport(key, dumpTime3Ns, false /* include_current_bucket */, in TEST()
|
/packages/modules/StatsD/statsd/src/ |
D | StatsLogProcessor.h | 58 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs, 63 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs,
|
D | StatsLogProcessor.cpp | 591 void StatsLogProcessor::onDumpReport(const ConfigKey& key, const int64_t dumpTimeStampNs, in onDumpReport() function in android::os::statsd::StatsLogProcessor 637 void StatsLogProcessor::onDumpReport(const ConfigKey& key, const int64_t dumpTimeStampNs, in onDumpReport() function in android::os::statsd::StatsLogProcessor 644 onDumpReport(key, dumpTimeStampNs, include_current_partial_bucket, erase_data, in onDumpReport() 677 it->second->onDumpReport(dumpTimeStampNs, include_current_partial_bucket, erase_data, in onConfigMetricsReportLocked()
|
D | StatsService.cpp | 269 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in dumpIncidentSection() 683 mProcessor->onDumpReport(ConfigKey(uid, StrToInt64(name)), getElapsedRealtimeNs(), in cmd_dump_report() 1093 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), false /* include_current_bucket*/, in getData()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricsManager.cpp | 407 void MetricsManager::onDumpReport(const int64_t dumpTimeStampNs, in onDumpReport() function in android::os::statsd::MetricsManager 420 producer->onDumpReport(dumpTimeStampNs, include_current_partial_bucket, erase_data, in onDumpReport() 423 producer->onDumpReport(dumpTimeStampNs, include_current_partial_bucket, erase_data, in onDumpReport()
|
D | MetricsManager.h | 131 virtual void onDumpReport(const int64_t dumpTimeNs,
|
D | MetricProducer.h | 230 void onDumpReport(const int64_t dumpTimeNs, in onDumpReport() function
|