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.java293 int curPos = 0; in mergeBatchLocked() local
296 while (lastPos < mLastEvents.size() && curPos < newLogs.size()) { in mergeBatchLocked()
297 final SecurityEvent curEvent = newLogs.get(curPos); in mergeBatchLocked()
309 curPos++; in mergeBatchLocked()
324 curPos++; in mergeBatchLocked()
328 mPendingLogs.addAll(newLogs.subList(curPos, newLogs.size())); in mergeBatchLocked()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp804 jint curPos = 0; in android_os_Process_getPids() local
818 if (curPos >= curCount) { in android_os_Process_getPids()
836 curData[curPos] = pid; in android_os_Process_getPids()
837 curPos++; in android_os_Process_getPids()
842 if (curData != NULL && curPos > 0) { in android_os_Process_getPids()
843 qsort(curData, curPos, sizeof(jint), pid_compare); in android_os_Process_getPids()
846 while (curPos < curCount) { in android_os_Process_getPids()
847 curData[curPos] = -1; in android_os_Process_getPids()
848 curPos++; in android_os_Process_getPids()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java601 final PointF curPos = touchState.getLastTouchPosition();
605 ? curPos.x <= mMovementBounds.left + mTmpBounds.width()
606 : curPos.x >= mMovementBounds.right;
610 mMovementWithinDismiss = curPos.y >= mMovementBounds.bottom;
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11214 int curPos = in.dataPosition(); in readHistory() local
11223 + " bytes at " + curPos); in readHistory()
11224 mHistoryBuffer.appendFrom(in, curPos, bufSize); in readHistory()
11225 in.setDataPosition(curPos + bufSize); in readHistory()