Home
last modified time | relevance | path

Searched refs:cfgKey (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/cmds/statsd/tests/e2e/
DWakelockDuration_e2e_test.cpp119 ConfigKey cfgKey; in TEST() local
124 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
130 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs - 1, false, true, in TEST()
156 ConfigKey cfgKey; in TEST() local
161 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
167 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, in TEST()
193 ConfigKey cfgKey; in TEST() local
198 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
218 processor->onDumpReport(cfgKey, bucketStartTimeNs + 6 * bucketSizeNs + 1, false, true, in TEST()
240 ConfigKey cfgKey; in TEST() local
[all …]
DDurationMetric_e2e_test.cpp56 ConfigKey cfgKey(uid, cfgId); in TEST() local
58 auto processor = CreateStatsLogProcessor(baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
90 processor->onDumpReport(cfgKey, configAddedTimeNs + bucketSizeNs + 1 * NS_PER_SEC, false, true, in TEST()
139 ConfigKey cfgKey(uid, cfgId); in TEST() local
141 auto processor = CreateStatsLogProcessor(baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
173 …processor->onDumpReport(cfgKey, configAddedTimeNs + 2 * bucketSizeNs + 1 * NS_PER_SEC, false, true, in TEST()
231 ConfigKey cfgKey(uid, cfgId); in TEST() local
252 processor.OnConfigUpdated(bucketStartTimeNs, cfgKey, config); // 0:00 in TEST()
342 processor.onDumpReport(cfgKey, bucketStartTimeNs + bucketSizeNs + 1 * NS_PER_SEC, false, true, in TEST()
388 ConfigKey cfgKey; in TEST() local
[all …]
DValueMetric_pull_e2e_test.cpp71 ConfigKey cfgKey; in TEST() local
73 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
127 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
175 ConfigKey cfgKey; in TEST() local
177 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
235 processor->onDumpReport(cfgKey, configAddedTimeNs + 9 * bucketSizeNs + 10, false, true, in TEST()
287 ConfigKey cfgKey; in TEST() local
289 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
338 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
DGaugeMetric_e2e_pull_test.cpp71 ConfigKey cfgKey; in TEST() local
73 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
132 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
216 ConfigKey cfgKey; in TEST() local
218 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
255 processor->onDumpReport(cfgKey, configAddedTimeNs + 8 * bucketSizeNs + 10, false, true, in TEST()
317 ConfigKey cfgKey; in TEST() local
319 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
359 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
426 ConfigKey cfgKey; in TEST() local
[all …]
DAlarm_e2e_test.cpp53 ConfigKey cfgKey; in TEST() local
54 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
DMetricConditionLink_e2e_test.cpp108 ConfigKey cfgKey; in TEST() local
109 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
202 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs - 1, false, true, in TEST()
229 ConfigKey cfgKey; in TEST() local
231 bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
321 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, in TEST()
DAnomaly_count_e2e_test.cpp67 ConfigKey cfgKey; in TEST() local
68 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
170 ConfigKey cfgKey; in TEST() local
171 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
DConfigTtl_e2e_test.cpp70 ConfigKey cfgKey; in TEST() local
71 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
DAttribution_e2e_test.cpp64 ConfigKey cfgKey; in TEST() local
65 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
149 processor->onDumpReport(cfgKey, bucketStartTimeNs + 4 * bucketSizeNs + 1, false, true, in TEST()
212 ConfigKey cfgKey; in TEST() local
213 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
297 processor->onDumpReport(cfgKey, bucketStartTimeNs + 4 * bucketSizeNs + 1, false, true, in TEST()
DDimensionInCondition_e2e_combination_OR_cond_test.cpp72 ConfigKey cfgKey; in TEST() local
78 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
133 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, in TEST()
284 ConfigKey cfgKey; in TEST() local
290 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
349 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, in TEST()
470 ConfigKey cfgKey; in TEST() local
477 bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
533 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, in TEST()
676 ConfigKey cfgKey; in TEST() local
[all …]
DAnomaly_duration_sum_e2e_test.cpp103 ConfigKey cfgKey; in TEST() local
104 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
280 ConfigKey cfgKey; in TEST() local
281 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
393 ConfigKey cfgKey; in TEST() local
394 auto processor = CreateStatsLogProcessor(bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
DDimensionInCondition_e2e_simple_cond_test.cpp75 ConfigKey cfgKey; in TEST() local
83 bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
145 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, in TEST()
361 ConfigKey cfgKey; in TEST() local
369 bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
440 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, in TEST()
583 ConfigKey cfgKey; in TEST() local
591 bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
661 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, true, in TEST()
DDimensionInCondition_e2e_combination_AND_cond_test.cpp116 ConfigKey cfgKey; in TEST() local
126 bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
214 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, in TEST()
457 ConfigKey cfgKey; in TEST() local
465 bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
550 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, in TEST()
706 ConfigKey cfgKey; in TEST() local
715 bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
800 processor->onDumpReport(cfgKey, bucketStartTimeNs + 2 * bucketSizeNs + 1, false, in TEST()
DGaugeMetric_e2e_push_test.cpp98 ConfigKey cfgKey; in TEST() local
100 bucketStartTimeNs, bucketStartTimeNs, config, cfgKey); in TEST()
152 processor->onDumpReport(cfgKey, bucketStartTimeNs + 3 * bucketSizeNs, false, true, in TEST()
DMetricActivation_e2e_test.cpp245 ConfigKey cfgKey(uid, cfgId); in TEST() local
267 processor.OnConfigUpdated(bucketStartTimeNs, cfgKey, config); in TEST()
386 processor.onDumpReport(cfgKey, bucketStartTimeNs + NS_PER_SEC * 60 * 15 + 1, false, true, in TEST()
459 ConfigKey cfgKey(uid, cfgId); in TEST() local
481 processor.OnConfigUpdated(bucketStartTimeNs, cfgKey, config); in TEST()
696 processor.onDumpReport(cfgKey, bucketStartTimeNs + NS_PER_SEC * 60 * 15 + 1, false, true, in TEST()
782 ConfigKey cfgKey(uid, cfgId); in TEST() local
804 processor.OnConfigUpdated(bucketStartTimeNs, cfgKey, config); in TEST()
1031 processor.onDumpReport(cfgKey, bucketStartTimeNs + NS_PER_SEC * 60 * 15 + 1, false, true, in TEST()
1117 ConfigKey cfgKey(uid, cfgId); in TEST() local
[all …]
/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp133 ConfigKey cfgKey; in BM_DurationMetricNoLink() local
215 bucketStartTimeNs / NS_PER_SEC, config, cfgKey); in BM_DurationMetricNoLink()
226 ConfigKey cfgKey; in BM_DurationMetricLink() local
309 bucketStartTimeNs / NS_PER_SEC, config, cfgKey); in BM_DurationMetricLink()
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp264 ConfigKey cfgKey; in TEST() local
265 sp<StatsLogProcessor> processor = CreateStatsLogProcessor(1, 1, config, cfgKey); in TEST()
275 … processor->onDumpReport(cfgKey, 3, true, false /* Do NOT erase data. */, ADB_DUMP, FAST, &bytes); in TEST()
282 processor->onDumpReport(cfgKey, 4, true, true /* DO erase data. */, ADB_DUMP, FAST, &bytes); in TEST()
289 processor->onDumpReport(cfgKey, 5, true, true /* DO erase data. */, ADB_DUMP, FAST, &bytes); in TEST()