Searched refs:lastIdx (Results 1 – 5 of 5) sorted by relevance
235 size_t lastIdx = 0; in runMemoryLatencyTest() local239 while ((sp[ni] != NULL) || (ni == lastIdx)) { in runMemoryLatencyTest()247 sp[lastIdx] = &sp[ni]; in runMemoryLatencyTest()248 lastIdx = ni; in runMemoryLatencyTest()250 sp[lastIdx] = 0; in runMemoryLatencyTest()
221 int lastIdx = mWakeupEvents.lastIndexOnOrBefore(elapsedRealtime - retentionDuration); in noteWakeupTimeAndReason() local222 for (int i = lastIdx; i >= 0; i--) { in noteWakeupTimeAndReason()225 lastIdx = mWakeupAttribution.lastIndexOnOrBefore(elapsedRealtime - retentionDuration); in noteWakeupTimeAndReason()226 for (int i = lastIdx; i >= 0; i--) { in noteWakeupTimeAndReason()
568 int lastIdx = (mStartIndex + mSize - 1) % ATTENTION_CACHE_BUFFER_SIZE; in getLast() local569 return mSize == 0 ? null : mQueue[lastIdx]; in getLast()
1178 final int lastIdx = AUTOGROUP_AT_COUNT - 1; in testAutoGrouped_diffIcon_diffColor_removeChild_updateTo_sameIcon_sameColor() local1179 StatusBarNotification newSbn = getSbn(pkg, lastIdx, in testAutoGrouped_diffIcon_diffColor_removeChild_updateTo_sameIcon_sameColor()1180 String.valueOf(lastIdx), UserHandle.SYSTEM, null, mock(Icon.class), in testAutoGrouped_diffIcon_diffColor_removeChild_updateTo_sameIcon_sameColor()1188 mGroupHelper.onNotificationRemoved(notifications.get(lastIdx)); in testAutoGrouped_diffIcon_diffColor_removeChild_updateTo_sameIcon_sameColor()
590 final int lastIdx = Math.max(0, timestamps.size() - 100); in dump() local591 for (int j = timestamps.size() - 1; j >= lastIdx; j--) { in dump()