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/core/java/com/android/internal/os/
DBatteryStatsHistory.java208 int oldest = mFileNumbers.remove(0); in startNextFile() local
209 getFile(oldest).delete(); in startNextFile()
215 int oldest = mFileNumbers.get(0); in startNextFile() local
216 getFile(oldest).delete(); in startNextFile()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp214 auto const oldest = *std::min_element(mTimestamps.begin(), mTimestamps.end()); in nextAnticipatedVSyncTimeFromLocked() local
217 auto const zeroPoint = oldest + intercept; in nextAnticipatedVSyncTimeFromLocked()
219 auto const prediction = (ordinalRequest * slope) + intercept + oldest; in nextAnticipatedVSyncTimeFromLocked()
229 << "oldestTS: " << oldest << " ordinal: " << ordinalRequest; in nextAnticipatedVSyncTimeFromLocked()
/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java1150 TagData oldest = null; in findOrCreateTag() local
1165 if (oldest == null || current.lastUsedTime < oldest.lastUsedTime) { in findOrCreateTag()
1167 oldest = current; in findOrCreateTag()
1183 Slog.d(TAG, "Removing tag index: " + oldestIndex + " = " + oldest); in findOrCreateTag()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleData.java613 Bubble oldest = mOverflowBubbles.get(mOverflowBubbles.size() - 1); in overflowBubble() local
615 Log.d(TAG, "Overflow full. Remove: " + oldest); in overflowBubble()
617 mStateChange.bubbleRemoved(oldest, Bubbles.DISMISS_OVERFLOW_MAX_REACHED); in overflowBubble()
619 mOverflowBubbles.remove(oldest); in overflowBubble()
620 mStateChange.removedOverflowBubble = oldest; in overflowBubble()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java717 Instant oldest = null;
729 } else if (oldest == null || oldest.isAfter(rollbackTimestamp)) {
730 oldest = rollbackTimestamp;
734 if (oldest != null) {
736 oldest.plusMillis(mRollbackLifetimeDurationInMillis), ChronoUnit.MILLIS);
/frameworks/av/media/libstagefright/
DACodec.cpp1549 BufferInfo *oldest = NULL; in dequeueBufferFromNativeWindow() local
1555 (oldest == NULL || in dequeueBufferFromNativeWindow()
1558 mDequeueCounter - oldest->mDequeuedAt)) { in dequeueBufferFromNativeWindow()
1559 oldest = info; in dequeueBufferFromNativeWindow()
1564 CHECK(oldest != NULL); in dequeueBufferFromNativeWindow()
1570 oldest->mGraphicBuffer = GraphicBuffer::from(buf); in dequeueBufferFromNativeWindow()
1571 oldest->mNewGraphicBuffer = true; in dequeueBufferFromNativeWindow()
1572 oldest->mStatus = BufferInfo::OWNED_BY_US; in dequeueBufferFromNativeWindow()
1573 oldest->setWriteFence(fenceFd, "dequeueBufferFromNativeWindow for oldest"); in dequeueBufferFromNativeWindow()
1574 mRenderTracker.untrackFrame(oldest->mRenderInfo); 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…