Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java1165 int oldestIndex = -1; in findOrCreateTag() local
1180 oldestIndex = i; in findOrCreateTag()
1197 Slog.d(TAG, "Removing tag index: " + oldestIndex + " = " + oldest); in findOrCreateTag()
1199 mCallback.onIndexRemoved(oldestIndex); in findOrCreateTag()
1201 setToIndex(tag, firstAvailable != -1 ? firstAvailable : oldestIndex); in findOrCreateTag()
/frameworks/native/libs/input/
DVelocityTracker.cpp939 uint32_t oldestIndex = mIndex; in getEstimator() local
942 uint32_t nextOldestIndex = (oldestIndex == 0 ? HISTORY_SIZE : oldestIndex) - 1; in getEstimator()
948 oldestIndex = nextOldestIndex; in getEstimator()
964 uint32_t index = oldestIndex; in getEstimator()
966 const Movement& oldestMovement = mMovements[oldestIndex]; in getEstimator()
/frameworks/base/services/core/java/com/android/server/am/
DAppExitInfoTracker.java1280 int oldestIndex = -1; in addExitInfoLocked() local
1286 oldestIndex = i; in addExitInfoLocked()
1289 if (oldestIndex >= 0) { in addExitInfoLocked()
1290 final File traceFile = mInfos.valueAt(oldestIndex).getTraceFile(); in addExitInfoLocked()
1294 mInfos.removeAt(oldestIndex); in addExitInfoLocked()