Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java1250 int oldestIndex = -1; in findOrCreateTag() local
1265 oldestIndex = i; in findOrCreateTag()
1282 Slog.d(TAG, "Removing tag index: " + oldestIndex + " = " + oldest); in findOrCreateTag()
1284 mCallback.onIndexRemoved(oldestIndex); in findOrCreateTag()
1286 setToIndex(tag, firstAvailable != -1 ? firstAvailable : oldestIndex); in findOrCreateTag()
/frameworks/native/libs/input/
DVelocityTracker.cpp861 uint32_t oldestIndex = size - 1; in getVelocity() local
867 oldestIndex = i; in getVelocity()
883 const Movement& oldestMovement = movements[oldestIndex]; in getVelocity()
887 for (size_t i = oldestIndex; i < size; i++) { in getVelocity()
/frameworks/base/services/core/java/com/android/server/am/
DAppStartInfoTracker.java1164 int oldestIndex = -1; in addStartInfoLocked() local
1170 oldestIndex = i; in addStartInfoLocked()
1173 if (oldestIndex >= 0) { in addStartInfoLocked()
1174 mInfos.remove(oldestIndex); in addStartInfoLocked()
DAppExitInfoTracker.java1392 int oldestIndex = -1; in addInfoLocked() local
1398 oldestIndex = i; in addInfoLocked()
1401 if (oldestIndex >= 0) { in addInfoLocked()
1402 final File traceFile = map.valueAt(oldestIndex).getTraceFile(); in addInfoLocked()
1406 map.removeAt(oldestIndex); in addInfoLocked()