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()
412 int lastIdx = 1; in javaReadNetworkStatsDetail() local422 if (idx != lastIdx + 1) { in javaReadNetworkStatsDetail()424 "inconsistent idx=" + idx + " after lastIdx=" + lastIdx); in javaReadNetworkStatsDetail()426 lastIdx = idx; in javaReadNetworkStatsDetail()
104 int lastIdx = 1; in legacyReadNetworkStatsDetail() local120 if (idx != lastIdx + 1) { in legacyReadNetworkStatsDetail()121 ALOGE("inconsistent idx=%d after lastIdx=%d: %s", idx, lastIdx, buffer); in legacyReadNetworkStatsDetail()125 lastIdx = idx; in legacyReadNetworkStatsDetail()
435 int lastIdx = (mStartIndex + mSize - 1) % ATTENTION_CACHE_BUFFER_SIZE; in getLast() local436 return mSize == 0 ? null : mQueue[lastIdx]; in getLast()
405 final int lastIdx = Math.max(0, timestamps.size() - 100); in dump() local406 for (int j = timestamps.size() - 1; j >= lastIdx; j--) { in dump()