Home
last modified time | relevance | path

Searched refs:CreateAppCrashEvent (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/statsd/tests/e2e/
DMetricConditionLink_e2e_test.cpp114 auto crashEvent1 = CreateAppCrashEvent(appUid, bucketStartTimeNs + 1); in TEST()
115 auto crashEvent2 = CreateAppCrashEvent(appUid, bucketStartTimeNs + 201); in TEST()
116 auto crashEvent3= CreateAppCrashEvent(appUid, bucketStartTimeNs + 2 * bucketSizeNs - 101); in TEST()
118 auto crashEvent4 = CreateAppCrashEvent(appUid, bucketStartTimeNs + 51); in TEST()
119 auto crashEvent5 = CreateAppCrashEvent(appUid, bucketStartTimeNs + bucketSizeNs + 299); in TEST()
120 auto crashEvent6 = CreateAppCrashEvent(appUid, bucketStartTimeNs + bucketSizeNs + 2001); in TEST()
122 auto crashEvent7 = CreateAppCrashEvent(appUid, bucketStartTimeNs + 16); in TEST()
123 auto crashEvent8 = CreateAppCrashEvent(appUid, bucketStartTimeNs + bucketSizeNs + 249); in TEST()
125 auto crashEvent9 = CreateAppCrashEvent(appUid, bucketStartTimeNs + bucketSizeNs + 351); in TEST()
126 auto crashEvent10 = CreateAppCrashEvent(appUid, bucketStartTimeNs + 2 * bucketSizeNs - 2); in TEST()
[all …]
DPartialBucket_e2e_test.cpp119 service.mProcessor->OnLogEvent(CreateAppCrashEvent(100, start + 1).get()); in TEST()
120 service.mProcessor->OnLogEvent(CreateAppCrashEvent(100, start + 2).get()); in TEST()
135 service.mProcessor->OnLogEvent(CreateAppCrashEvent(100, start + 1).get()); in TEST()
141 service.mProcessor->OnLogEvent(CreateAppCrashEvent(100, start + 3).get()); in TEST()
157 service.mProcessor->OnLogEvent(CreateAppCrashEvent(100, start + 1).get()); in TEST()
161 service.mProcessor->OnLogEvent(CreateAppCrashEvent(100, start + 3).get()); in TEST()
185 service.mProcessor->OnLogEvent(CreateAppCrashEvent(100, start + 1).get()); in TEST()
188 service.mProcessor->OnLogEvent(CreateAppCrashEvent(100, start + 3).get()); in TEST()
DMetricActivation_e2e_test.cpp292 event = CreateAppCrashEvent(111, bucketStartTimeNs + 5); in TEST()
314 event = CreateAppCrashEvent(222, bucketStartTimeNs + 15); in TEST()
332 event = CreateAppCrashEvent(333, bucketStartTimeNs + NS_PER_SEC * 60 * 2 + 25); in TEST()
346 event = CreateAppCrashEvent(444, bucketStartTimeNs + NS_PER_SEC * 60 * 5 + 25); in TEST()
350 event = CreateAppCrashEvent(555, bucketStartTimeNs + NS_PER_SEC * 60 * 8); in TEST()
381 event = CreateAppCrashEvent(666, bucketStartTimeNs + NS_PER_SEC * 60 * 11 + 1); in TEST()
511 event = CreateAppCrashEvent(111, bucketStartTimeNs + 5); in TEST()
534 event = CreateAppCrashEvent(222, bucketStartTimeNs + 15); in TEST()
553 event = CreateAppCrashEvent(333, bucketStartTimeNs + NS_PER_SEC * 60 * 2 + 25); in TEST()
568 event = CreateAppCrashEvent(444, bucketStartTimeNs + NS_PER_SEC * 60 * 5 + 25); in TEST()
[all …]
DDimensionInCondition_e2e_combination_OR_cond_test.cpp303 events.push_back(CreateAppCrashEvent(111, bucketStartTimeNs + 11)); in TEST()
304 events.push_back(CreateAppCrashEvent(111, bucketStartTimeNs + 101)); in TEST()
305 events.push_back(CreateAppCrashEvent(222, bucketStartTimeNs + 101)); in TEST()
307 events.push_back(CreateAppCrashEvent(222, bucketStartTimeNs + 201)); in TEST()
308 events.push_back(CreateAppCrashEvent(111, bucketStartTimeNs + 211)); in TEST()
309 events.push_back(CreateAppCrashEvent(333, bucketStartTimeNs + 211)); in TEST()
311 events.push_back(CreateAppCrashEvent(111, bucketStartTimeNs + 401)); in TEST()
312 events.push_back(CreateAppCrashEvent(333, bucketStartTimeNs + 401)); in TEST()
313 events.push_back(CreateAppCrashEvent(555, bucketStartTimeNs + 401)); in TEST()
315 events.push_back(CreateAppCrashEvent(111, bucketStartTimeNs + bucketSizeNs + 301)); in TEST()
[all …]
DDurationMetric_e2e_test.cpp285 event = CreateAppCrashEvent(111, activationStartNs); in TEST()
329 event = CreateAppCrashEvent(211, activation2StartNs); in TEST()
646 event = CreateAppCrashEvent(333, durationEndNs); in TEST()
/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.h130 std::unique_ptr<LogEvent> CreateAppCrashEvent(
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.h161 std::unique_ptr<LogEvent> CreateAppCrashEvent(
Dstatsd_test_util.cpp436 std::unique_ptr<LogEvent> CreateAppCrashEvent(const int uid, uint64_t timestampNs) { in CreateAppCrashEvent() function