Home
last modified time | relevance | path

Searched refs:eventStartTimeNs (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DOringDurationTracker_test.cpp62 int64_t eventStartTimeNs = bucketStartTimeNs + 1; in TEST() local
69 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST()
70 EXPECT_EQ((long long)eventStartTimeNs, tracker.mLastStartTime); in TEST()
71 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 10, ConditionKey()); // overlapping wl in TEST()
72 EXPECT_EQ((long long)eventStartTimeNs, tracker.mLastStartTime); in TEST()
74 tracker.noteStop(kEventKey1, eventStartTimeNs + durationTimeNs, false); in TEST()
75 tracker.flushIfNeeded(eventStartTimeNs + bucketSizeNs + 1, &buckets); in TEST()
95 int64_t eventStartTimeNs = bucketStartTimeNs + 1; in TEST() local
101 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST()
102 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 10, ConditionKey()); // overlapping wl in TEST()
[all …]
DMaxDurationTracker_test.cpp218 int64_t eventStartTimeNs = bucketStartTimeNs + 1 * NS_PER_SEC; in TEST() local
231 tracker.noteStart(key1, false, eventStartTimeNs, conditionKey1); in TEST()
262 int64_t eventStartTimeNs = 13000000000; in TEST() local
280 tracker.noteStart(key1, true, eventStartTimeNs, conditionKey1); in TEST()
285 tracker.noteConditionChanged(key1, false, eventStartTimeNs + 15 * NS_PER_SEC); in TEST()
289 tracker.noteConditionChanged(key1, true, eventStartTimeNs + 25 * NS_PER_SEC); in TEST()
319 int64_t eventStartTimeNs = bucketStartTimeNs + 5 * NS_PER_SEC; // Condition is off at start. in TEST() local
340 tracker.noteStart(key1, false, eventStartTimeNs, conditionKey1); in TEST()
DEventMetricProducer_test.cpp40 int64_t eventStartTimeNs = bucketStartTimeNs + 1; in TEST() local
63 int64_t eventStartTimeNs = bucketStartTimeNs + 1; in TEST() local