Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java430 int curPos = 0; in mergeBatchLocked() local
433 while (lastPos < mLastEvents.size() && curPos < newLogs.size()) { in mergeBatchLocked()
434 final SecurityEvent curEvent = newLogs.get(curPos); in mergeBatchLocked()
446 curPos++; in mergeBatchLocked()
461 curPos++; in mergeBatchLocked()
465 dedupedLogs.addAll(newLogs.subList(curPos, newLogs.size())); in mergeBatchLocked()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp835 jint curPos = 0; in android_os_Process_getPids() local
849 if (curPos >= curCount) { in android_os_Process_getPids()
867 curData[curPos] = pid; in android_os_Process_getPids()
868 curPos++; in android_os_Process_getPids()
873 if (curData != NULL && curPos > 0) { in android_os_Process_getPids()
874 qsort(curData, curPos, sizeof(jint), pid_compare); in android_os_Process_getPids()
877 while (curPos < curCount) { in android_os_Process_getPids()
878 curData[curPos] = -1; in android_os_Process_getPids()
879 curPos++; in android_os_Process_getPids()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java887 int curPos = p.dataPosition(); in getNextParcel() local
888 mCurrentParcelEnd = curPos + bufSize; in getNextParcel()
890 if (curPos < mCurrentParcelEnd) { in getNextParcel()
913 final int curPos = p.dataPosition(); in getNextParcel() local
914 mCurrentParcelEnd = curPos + bufSize; in getNextParcel()
916 if (curPos < mCurrentParcelEnd) { in getNextParcel()
2347 int curPos = in.dataPosition(); in readHistoryBuffer() local
2357 + " bytes at " + curPos); in readHistoryBuffer()
2359 mHistoryBuffer.appendFrom(in, curPos, bufSize); in readHistoryBuffer()
2360 in.setDataPosition(curPos + bufSize); in readHistoryBuffer()
/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.java863 final PointF curPos = touchState.getLastTouchPosition(); in onMove() local
866 mMovementWithinDismiss = curPos.y >= mPipBoundsState.getMovementBounds().bottom; in onMove()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchHandler.java872 final PointF curPos = touchState.getLastTouchPosition(); in onMove() local
875 mMovementWithinDismiss = curPos.y >= mPipBoundsState.getMovementBounds().bottom; in onMove()