Home
last modified time | relevance | path

Searched refs:lastIdx (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp235 size_t lastIdx = 0; in runMemoryLatencyTest() local
239 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()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java412 int lastIdx = 1; in javaReadNetworkStatsDetail() local
422 if (idx != lastIdx + 1) { in javaReadNetworkStatsDetail()
424 "inconsistent idx=" + idx + " after lastIdx=" + lastIdx); in javaReadNetworkStatsDetail()
426 lastIdx = idx; in javaReadNetworkStatsDetail()
/frameworks/base/services/core/jni/
Dcom_android_server_net_NetworkStatsFactory.cpp104 int lastIdx = 1; in legacyReadNetworkStatsDetail() local
120 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()
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java435 int lastIdx = (mStartIndex + mSize - 1) % ATTENTION_CACHE_BUFFER_SIZE; in getLast() local
436 return mSize == 0 ? null : mQueue[lastIdx]; in getLast()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java405 final int lastIdx = Math.max(0, timestamps.size() - 100); in dump() local
406 for (int j = timestamps.size() - 1; j >= lastIdx; j--) { in dump()