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.cpp787 jint curPos = 0; in android_os_Process_getPids() local
801 if (curPos >= curCount) { in android_os_Process_getPids()
819 curData[curPos] = pid; in android_os_Process_getPids()
820 curPos++; in android_os_Process_getPids()
825 if (curData != NULL && curPos > 0) { in android_os_Process_getPids()
826 qsort(curData, curPos, sizeof(jint), pid_compare); in android_os_Process_getPids()
829 while (curPos < curCount) { in android_os_Process_getPids()
830 curData[curPos] = -1; in android_os_Process_getPids()
831 curPos++; in android_os_Process_getPids()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java641 final PointF curPos = touchState.getLastTouchPosition();
645 ? curPos.x <= mMovementBounds.left + mTmpBounds.width()
646 : curPos.x >= mMovementBounds.right;
650 mMovementWithinDismiss = curPos.y >= mMovementBounds.bottom;