Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/metrics/
DMaxDurationTracker_test.cpp80 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()
DOringDurationTracker_test.cpp75 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/
DMaxDurationTracker.h49 bool flushIfNeeded(
DOringDurationTracker.h53 bool flushIfNeeded(
DDurationTracker.h99 virtual bool flushIfNeeded(
DMaxDurationTracker.cpp240 bool MaxDurationTracker::flushIfNeeded( in flushIfNeeded() function in android::os::statsd::MaxDurationTracker
DOringDurationTracker.cpp209 bool OringDurationTracker::flushIfNeeded( in flushIfNeeded() function in android::os::statsd::OringDurationTracker
/frameworks/base/core/java/android/view/contentcapture/
DMainContentCaptureSession.java449 mHandler.postDelayed(() -> flushIfNeeded(reason), MSG_FLUSH, flushFrequencyMs); in scheduleFlush()
453 private void flushIfNeeded(@FlushReason int reason) { in flushIfNeeded() method in MainContentCaptureSession