Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/e2e/
DMetricConditionLink_e2e_test.cpp114 auto crashEvent1 = CreateAppCrashEvent(bucketStartTimeNs + 1, appUid); in TEST()
115 auto crashEvent2 = CreateAppCrashEvent(bucketStartTimeNs + 201, appUid); in TEST()
116 auto crashEvent3 = CreateAppCrashEvent(bucketStartTimeNs + 2 * bucketSizeNs - 101, appUid); in TEST()
118 auto crashEvent4 = CreateAppCrashEvent(bucketStartTimeNs + 51, appUid); in TEST()
119 auto crashEvent5 = CreateAppCrashEvent(bucketStartTimeNs + bucketSizeNs + 299, appUid); in TEST()
120 auto crashEvent6 = CreateAppCrashEvent(bucketStartTimeNs + bucketSizeNs + 2001, appUid); in TEST()
122 auto crashEvent7 = CreateAppCrashEvent(bucketStartTimeNs + 16, appUid); in TEST()
123 auto crashEvent8 = CreateAppCrashEvent(bucketStartTimeNs + bucketSizeNs + 249, appUid); in TEST()
125 auto crashEvent9 = CreateAppCrashEvent(bucketStartTimeNs + bucketSizeNs + 351, appUid); in TEST()
126 auto crashEvent10 = CreateAppCrashEvent(bucketStartTimeNs + 2 * bucketSizeNs - 2, appUid); in TEST()
[all …]
DMetricActivation_e2e_test.cpp293 event = CreateAppCrashEvent(bucketStartTimeNs + 5, 111); in TEST()
315 event = CreateAppCrashEvent(bucketStartTimeNs + 15, 222); in TEST()
332 event = CreateAppCrashEvent(bucketStartTimeNs + NS_PER_SEC * 60 * 2 + 25, 333); in TEST()
346 event = CreateAppCrashEvent(bucketStartTimeNs + NS_PER_SEC * 60 * 5 + 25, 444); in TEST()
350 event = CreateAppCrashEvent(bucketStartTimeNs + NS_PER_SEC * 60 * 8, 555); in TEST()
381 event = CreateAppCrashEvent(bucketStartTimeNs + NS_PER_SEC * 60 * 11 + 1, 666); in TEST()
509 event = CreateAppCrashEvent(bucketStartTimeNs + 5, 111); in TEST()
532 event = CreateAppCrashEvent(bucketStartTimeNs + 15, 222); in TEST()
550 event = CreateAppCrashEvent(bucketStartTimeNs + NS_PER_SEC * 60 * 2 + 25, 333); in TEST()
565 event = CreateAppCrashEvent(bucketStartTimeNs + NS_PER_SEC * 60 * 5 + 25, 444); in TEST()
[all …]
DPartialBucket_e2e_test.cpp125 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + 1, 100).get()); in TEST()
126 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + 2, 100).get()); in TEST()
141 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + 1, 100).get()); in TEST()
147 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + 3, 100).get()); in TEST()
163 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + 1, 100).get()); in TEST()
167 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + 3, 100).get()); in TEST()
197 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + 1, 100).get()); in TEST()
200 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + 3, 100).get()); in TEST()
228 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + NS_PER_SEC, 100).get()); in TEST()
232 service->mProcessor->OnLogEvent(CreateAppCrashEvent(start + 3 * NS_PER_SEC, 100).get()); in TEST()
DDurationMetric_e2e_test.cpp287 event = CreateAppCrashEvent(activationStartNs, 111); in TEST()
331 event = CreateAppCrashEvent(activation2StartNs, 211); in TEST()
657 event = CreateAppCrashEvent(durationEndNs, 333); in TEST()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h332 std::unique_ptr<LogEvent> CreateAppCrashEvent(uint64_t timestampNs, const int uid);
Dstatsd_test_util.cpp970 std::unique_ptr<LogEvent> CreateAppCrashEvent(uint64_t timestampNs, const int uid) { in CreateAppCrashEvent() function