Searched refs:flushIfNeeded (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | MaxDurationTracker_test.cpp | 80 tracker.flushIfNeeded(bucketStartTimeNs + bucketSizeNs + 1, &buckets); in TEST() 110 tracker.flushIfNeeded(bucketStartTimeNs + bucketSizeNs + 40, &buckets); in TEST() 115 tracker.flushIfNeeded(bucketStartTimeNs + 3 * bucketSizeNs + 40, &buckets); in TEST() 152 tracker.flushIfNeeded(bucketStartTimeNs + (3 * bucketSizeNs) + 20, &buckets); in TEST() 157 tracker.flushIfNeeded(bucketStartTimeNs + 4 * bucketSizeNs, &buckets); in TEST() 189 tracker.flushIfNeeded(bucketStartTimeNs + (2 * bucketSizeNs) + 1, &buckets); in TEST() 196 tracker.flushIfNeeded(bucketStartTimeNs + (3 * bucketSizeNs) + 1, &buckets); in TEST() 235 tracker.flushIfNeeded(bucketStartTimeNs + bucketSizeNs + 1, &buckets); in TEST() 241 tracker.flushIfNeeded(bucketStartTimeNs + 2 * bucketSizeNs + 1, &buckets); in TEST()
|
D | OringDurationTracker_test.cpp | 75 tracker.flushIfNeeded(eventStartTimeNs + bucketSizeNs + 1, &buckets); in TEST() 107 tracker.flushIfNeeded(bucketStartTimeNs + bucketSizeNs + 1, &buckets); in TEST() 139 tracker.flushIfNeeded(bucketStartTimeNs + bucketSizeNs + 1, &buckets); in TEST() 167 tracker.flushIfNeeded(eventStartTimeNs + 2 * bucketSizeNs, &buckets); in TEST() 177 tracker.flushIfNeeded(eventStartTimeNs + 2 * bucketSizeNs + 12, &buckets); in TEST() 216 tracker.flushIfNeeded(bucketStartTimeNs + bucketSizeNs + 1, &buckets); in TEST() 258 tracker.flushIfNeeded(bucketStartTimeNs + bucketSizeNs + 1, &buckets); in TEST() 298 tracker.flushIfNeeded(bucketStartTimeNs + bucketSizeNs + 1, &buckets); in TEST() 346 tracker.flushIfNeeded(event1StopTimeNs, &buckets); in TEST() 513 tracker.flushIfNeeded(eventStartTimeNs + 2 * bucketSizeNs + 25, &buckets); in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | MaxDurationTracker.h | 49 bool flushIfNeeded(
|
D | OringDurationTracker.h | 53 bool flushIfNeeded(
|
D | DurationTracker.h | 99 virtual bool flushIfNeeded(
|
D | MaxDurationTracker.cpp | 240 bool MaxDurationTracker::flushIfNeeded( in flushIfNeeded() function in android::os::statsd::MaxDurationTracker
|
D | OringDurationTracker.cpp | 209 bool OringDurationTracker::flushIfNeeded( in flushIfNeeded() function in android::os::statsd::OringDurationTracker
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | MainContentCaptureSession.java | 449 mHandler.postDelayed(() -> flushIfNeeded(reason), MSG_FLUSH, flushFrequencyMs); in scheduleFlush() 453 private void flushIfNeeded(@FlushReason int reason) { in flushIfNeeded() method in MainContentCaptureSession
|