Home
last modified time | relevance | path

Searched refs:curPos (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_util_Process.cpp639 jint curPos = 0; in android_os_Process_getPids() local
653 if (curPos >= curCount) { in android_os_Process_getPids()
671 curData[curPos] = pid; in android_os_Process_getPids()
672 curPos++; in android_os_Process_getPids()
677 if (curData != NULL && curPos > 0) { in android_os_Process_getPids()
678 qsort(curData, curPos, sizeof(jint), pid_compare); in android_os_Process_getPids()
681 while (curPos < curCount) { in android_os_Process_getPids()
682 curData[curPos] = -1; in android_os_Process_getPids()
683 curPos++; in android_os_Process_getPids()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java8989 int curPos = in.dataPosition(); in readHistory() local
8998 + " bytes at " + curPos); in readHistory()
8999 mHistoryBuffer.appendFrom(in, curPos, bufSize); in readHistory()
9000 in.setDataPosition(curPos + bufSize); in readHistory()