Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_util_Process.cpp607 jint curPos = 0; in android_os_Process_getPids() local
621 if (curPos >= curCount) { in android_os_Process_getPids()
639 curData[curPos] = pid; in android_os_Process_getPids()
640 curPos++; in android_os_Process_getPids()
645 if (curData != NULL && curPos > 0) { in android_os_Process_getPids()
646 qsort(curData, curPos, sizeof(jint), pid_compare); in android_os_Process_getPids()
649 while (curPos < curCount) { in android_os_Process_getPids()
650 curData[curPos] = -1; in android_os_Process_getPids()
651 curPos++; in android_os_Process_getPids()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4955 int curPos = in.dataPosition(); in readHistory() local
4962 + " bytes at " + curPos); in readHistory()
4963 mHistoryBuffer.appendFrom(in, curPos, bufSize); in readHistory()
4964 in.setDataPosition(curPos + bufSize); in readHistory()