Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java329 int curPos = 0; in mergeBatchLocked() local
332 while (lastPos < mLastEvents.size() && curPos < newLogs.size()) { in mergeBatchLocked()
333 final SecurityEvent curEvent = newLogs.get(curPos); in mergeBatchLocked()
346 curPos++; in mergeBatchLocked()
362 curPos++; in mergeBatchLocked()
366 List<SecurityEvent> idLogs = newLogs.subList(curPos, newLogs.size()); in mergeBatchLocked()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp806 jint curPos = 0; in android_os_Process_getPids() local
820 if (curPos >= curCount) { in android_os_Process_getPids()
838 curData[curPos] = pid; in android_os_Process_getPids()
839 curPos++; in android_os_Process_getPids()
844 if (curData != NULL && curPos > 0) { in android_os_Process_getPids()
845 qsort(curData, curPos, sizeof(jint), pid_compare); in android_os_Process_getPids()
848 while (curPos < curCount) { in android_os_Process_getPids()
849 curData[curPos] = -1; in android_os_Process_getPids()
850 curPos++; in android_os_Process_getPids()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java651 final PointF curPos = touchState.getLastTouchPosition();
655 ? curPos.x <= mMovementBounds.left + mTmpBounds.width()
656 : curPos.x >= mMovementBounds.right;
660 mMovementWithinDismiss = curPos.y >= mMovementBounds.bottom;
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java13604 int curPos = in.dataPosition(); in readHistory() local
13613 + " bytes at " + curPos); in readHistory()
13614 mHistoryBuffer.appendFrom(in, curPos, bufSize); in readHistory()
13615 in.setDataPosition(curPos + bufSize); in readHistory()