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.java287 int curPos = p.dataPosition(); in getNextParcel() local
288 mCurrentParcelEnd = curPos + bufSize; in getNextParcel()
290 if (curPos < mCurrentParcelEnd) { in getNextParcel()
307 final int curPos = p.dataPosition(); in getNextParcel() local
308 mCurrentParcelEnd = curPos + bufSize; in getNextParcel()
310 if (curPos < mCurrentParcelEnd) { in getNextParcel()
DBatteryStatsImpl.java13413 int curPos = in.dataPosition(); in readHistoryBuffer() local
13422 + " bytes at " + curPos); in readHistoryBuffer()
13423 mHistoryBuffer.appendFrom(in, curPos, bufSize); in readHistoryBuffer()
13424 in.setDataPosition(curPos + bufSize); in readHistoryBuffer()
/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.cpp793 jint curPos = 0; in android_os_Process_getPids() local
807 if (curPos >= curCount) { in android_os_Process_getPids()
825 curData[curPos] = pid; in android_os_Process_getPids()
826 curPos++; in android_os_Process_getPids()
831 if (curData != NULL && curPos > 0) { in android_os_Process_getPids()
832 qsort(curData, curPos, sizeof(jint), pid_compare); in android_os_Process_getPids()
835 while (curPos < curCount) { in android_os_Process_getPids()
836 curData[curPos] = -1; in android_os_Process_getPids()
837 curPos++; in android_os_Process_getPids()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java659 final PointF curPos = touchState.getLastTouchPosition();
663 ? curPos.x <= mMovementBounds.left + mTmpBounds.width()
664 : curPos.x >= mMovementBounds.right;
668 mMovementWithinDismiss = curPos.y >= mMovementBounds.bottom;