Home
last modified time | relevance | path

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

/frameworks/base/mime/java/android/content/type/
DDefaultMimeMapFactory.java88 int endIdx = line.indexOf(' ', startIdx); in parseTypes() local
89 if (endIdx < 0) { in parseTypes()
90 endIdx = line.length(); in parseTypes()
92 String spec = line.substring(startIdx, endIdx); in parseTypes()
97 startIdx = endIdx + 1; // skip over the space in parseTypes()
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DCpuWakeupStats.java278 final int endIdx = mWakeupEvents.lastIndexOnOrBefore( in attemptAttributionWith() local
281 for (int wakeupIdx = startIdx; wakeupIdx <= endIdx; wakeupIdx++) { in attemptAttributionWith()
438 final int endIdx = wakingActivity.lastIndexOnOrBefore( in recordActivity() local
440 for (int i = endIdx; i >= 0; i--) { in recordActivity()
452 final int endIdx = activityForSubsystem.lastIndexOnOrBefore(endElapsed); in removeBetween() local
453 for (int i = endIdx; i >= startIdx; i--) { in removeBetween()
462 for (int i = endIdx; i >= startIdx; i--) { in removeBetween()
/frameworks/base/core/java/com/android/internal/os/
DKernelSingleUidTimeReader.java240 final int endIdx = mLastUidCpuTimeMs.indexOfKey(endUid); in removeUidsInRange() local
241 mLastUidCpuTimeMs.removeAtRange(startIdx, endIdx - startIdx + 1); in removeUidsInRange()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java224 int endIdx = text.indexOf("here is some text3"); in testCursorDrag_diagonal_thresholdConfig() local
225 onView(withId(R.id.textview)).perform(dragOnText(startIdx, endIdx)); in testCursorDrag_diagonal_thresholdConfig()
231 onView(withId(R.id.textview)).perform(dragOnText(startIdx, endIdx)); in testCursorDrag_diagonal_thresholdConfig()
232 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(endIdx)); in testCursorDrag_diagonal_thresholdConfig()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java3038 int endIdx = startIdx + 1;
3039 while (endIdx < procs.size() && procs.get(endIdx).first.uid == uid) ++endIdx;
3040 return procs.subList(startIdx, endIdx);
/frameworks/base/tools/aapt/
DResourceTable.cpp1056 ssize_t endIdx = block.indexOfAttribute(NULL, "end"); in compileResourceFile() local
1057 if (endIdx >= 0) { in compileResourceFile()
1058 const char16_t* endStr = block.getAttributeStringValue(endIdx, &len); in compileResourceFile()
1062 String8(block.getAttributeStringValue(endIdx, &len)).c_str()); in compileResourceFile()