Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java288 int curPos = p.dataPosition(); in getNextParcel() local
289 mCurrentParcelEnd = curPos + bufSize; in getNextParcel()
291 if (curPos < mCurrentParcelEnd) { in getNextParcel()
308 final int curPos = p.dataPosition(); in getNextParcel() local
309 mCurrentParcelEnd = curPos + bufSize; in getNextParcel()
311 if (curPos < mCurrentParcelEnd) { in getNextParcel()
DBatteryStatsImpl.java13420 int curPos = in.dataPosition(); in readHistoryBuffer() local
13429 + " bytes at " + curPos); in readHistoryBuffer()
13430 mHistoryBuffer.appendFrom(in, curPos, bufSize); in readHistoryBuffer()
13431 in.setDataPosition(curPos + bufSize); in readHistoryBuffer()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java338 int curPos = 0; in mergeBatchLocked() local
341 while (lastPos < mLastEvents.size() && curPos < newLogs.size()) { in mergeBatchLocked()
342 final SecurityEvent curEvent = newLogs.get(curPos); in mergeBatchLocked()
355 curPos++; in mergeBatchLocked()
371 curPos++; in mergeBatchLocked()
375 List<SecurityEvent> idLogs = newLogs.subList(curPos, newLogs.size()); in mergeBatchLocked()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp848 jint curPos = 0; in android_os_Process_getPids() local
862 if (curPos >= curCount) { in android_os_Process_getPids()
880 curData[curPos] = pid; in android_os_Process_getPids()
881 curPos++; in android_os_Process_getPids()
886 if (curData != NULL && curPos > 0) { in android_os_Process_getPids()
887 qsort(curData, curPos, sizeof(jint), pid_compare); in android_os_Process_getPids()
890 while (curPos < curCount) { in android_os_Process_getPids()
891 curData[curPos] = -1; in android_os_Process_getPids()
892 curPos++; in android_os_Process_getPids()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java949 final PointF curPos = touchState.getLastTouchPosition(); in onMove() local
952 mMovementWithinDismiss = curPos.y >= mMovementBounds.bottom; in onMove()