Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java297 int curPos = p.dataPosition(); in getNextParcel() local
298 mCurrentParcelEnd = curPos + bufSize; in getNextParcel()
300 if (curPos < mCurrentParcelEnd) { in getNextParcel()
317 final int curPos = p.dataPosition(); in getNextParcel() local
318 mCurrentParcelEnd = curPos + bufSize; in getNextParcel()
320 if (curPos < mCurrentParcelEnd) { in getNextParcel()
DBatteryStatsImpl.java15054 int curPos = in.dataPosition(); in readHistoryBuffer() local
15063 + " bytes at " + curPos); in readHistoryBuffer()
15064 mHistoryBuffer.appendFrom(in, curPos, bufSize); in readHistoryBuffer()
15065 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.cpp859 jint curPos = 0; in android_os_Process_getPids() local
873 if (curPos >= curCount) { in android_os_Process_getPids()
891 curData[curPos] = pid; in android_os_Process_getPids()
892 curPos++; in android_os_Process_getPids()
897 if (curData != NULL && curPos > 0) { in android_os_Process_getPids()
898 qsort(curData, curPos, sizeof(jint), pid_compare); in android_os_Process_getPids()
901 while (curPos < curCount) { in android_os_Process_getPids()
902 curData[curPos] = -1; in android_os_Process_getPids()
903 curPos++; in android_os_Process_getPids()
/frameworks/base/tools/aapt/
DCommand.cpp1103 ResXMLParser::ResXMLPosition curPos; in doDump() local
1118 tree.getPosition(&curPos); in doDump()
1119 usesSdkTagPositions.emplace_back(curPos); in doDump()
1247 ResXMLParser::ResXMLPosition curPos; in doDump() local
1248 tree.getPosition(&curPos); in doDump()
1249 if (std::find(tagsToSkip.begin(), tagsToSkip.end(), curPos) != tagsToSkip.end()) { in doDump()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchHandler.java846 final PointF curPos = touchState.getLastTouchPosition(); in onMove() local
849 mMovementWithinDismiss = curPos.y >= mPipBoundsState.getMovementBounds().bottom; in onMove()