Home
last modified time | relevance | path

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

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DCachedFrameManager.java123 int oldest = mAvailableFrames.firstKey(); in dropOldestFrame() local
124 Frame frame = mAvailableFrames.get(oldest); in dropOldestFrame()
127 mAvailableFrames.remove(oldest); in dropOldestFrame()
/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java1249 TagData oldest = null; in findOrCreateTag() local
1264 if (oldest == null || current.lastUsedTime < oldest.lastUsedTime) { in findOrCreateTag()
1266 oldest = current; in findOrCreateTag()
1282 Slog.d(TAG, "Removing tag index: " + oldestIndex + " = " + oldest); in findOrCreateTag()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp272 auto const oldest = *std::min_element(mTimestamps.begin(), mTimestamps.end()); in snapToVsync() local
275 auto const zeroPoint = oldest + intercept; in snapToVsync()
277 auto const prediction = (ordinalRequest * slope) + intercept + oldest; in snapToVsync()
287 << "oldestTS: " << oldest << " ordinal: " << ordinalRequest; in snapToVsync()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java746 Instant oldest = null;
758 } else if (oldest == null || oldest.isAfter(rollbackTimestamp)) {
759 oldest = rollbackTimestamp;
763 if (oldest != null) {
765 oldest.plusMillis(mRollbackLifetimeDurationInMillis), ChronoUnit.MILLIS);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleData.java805 Bubble oldest = mOverflowBubbles.get(mOverflowBubbles.size() - 1); in overflowBubble() local
806 ProtoLog.d(WM_SHELL_BUBBLES, "overflow full, remove=%s", oldest.getKey()); in overflowBubble()
807 mStateChange.bubbleRemoved(oldest, Bubbles.DISMISS_OVERFLOW_MAX_REACHED); in overflowBubble()
809 mOverflowBubbles.remove(oldest); in overflowBubble()
810 mStateChange.removedOverflowBubble = oldest; in overflowBubble()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java496 BatteryHistoryFile oldest = mHistoryFiles.remove(0); in cleanup() local
497 oldest.atomicFile.delete(); in cleanup()
504 BatteryHistoryFile oldest = mHistoryFiles.get(0); in cleanup() local
505 oldest.atomicFile.delete(); in cleanup()
/frameworks/av/media/libstagefright/
DACodec.cpp1533 BufferInfo *oldest = NULL; in dequeueBufferFromNativeWindow() local
1538 (oldest == NULL || in dequeueBufferFromNativeWindow()
1541 mDequeueCounter - oldest->mDequeuedAt)) { in dequeueBufferFromNativeWindow()
1542 oldest = info; in dequeueBufferFromNativeWindow()
1547 CHECK(oldest != NULL); in dequeueBufferFromNativeWindow()
1553 oldest->mGraphicBuffer = GraphicBuffer::from(buf); in dequeueBufferFromNativeWindow()
1554 oldest->mNewGraphicBuffer = true; in dequeueBufferFromNativeWindow()
1555 oldest->mStatus = BufferInfo::OWNED_BY_US; in dequeueBufferFromNativeWindow()
1556 oldest->setWriteFence(fenceFd, "dequeueBufferFromNativeWindow for oldest"); in dequeueBufferFromNativeWindow()
1559 (unsigned)(oldest - &mBuffers[kPortIndexOutput][0]), in dequeueBufferFromNativeWindow()
[all …]
/frameworks/native/services/inputflinger/docs/
Danr.md18 …esponsive. To determine whether an app is not responding, we look at the oldest entry in the `wait…