Home
last modified time | relevance | path

Searched refs:startIdx (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/mime/java/android/content/type/
DDefaultMimeMapFactory.java86 int startIdx = 0; in parseTypes() local
88 int endIdx = line.indexOf(' ', startIdx); in parseTypes()
92 String spec = line.substring(startIdx, endIdx); in parseTypes()
97 startIdx = endIdx + 1; // skip over the space in parseTypes()
98 } while (startIdx < line.length()); in parseTypes()
/frameworks/base/core/java/com/android/internal/os/
DKernelSingleUidTimeReader.java239 final int startIdx = mLastUidCpuTimeMs.indexOfKey(startUid); in removeUidsInRange() local
241 mLastUidCpuTimeMs.removeAtRange(startIdx, endIdx - startIdx + 1); in removeUidsInRange()
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DCpuWakeupStats.java276 final int startIdx = mWakeupEvents.firstIndexOnOrAfter( in attemptAttributionWith() local
281 for (int wakeupIdx = startIdx; wakeupIdx <= endIdx; wakeupIdx++) { in attemptAttributionWith()
451 final int startIdx = activityForSubsystem.firstIndexOnOrAfter(startElapsed); 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/android/os/
DVibratorInfo.java647 int startIdx = MathUtils.constrain( in getMaxAmplitude() local
651 /* amount= */ startIdx + 1, in getMaxAmplitude()
656 mMaxAmplitudes[startIdx], mMaxAmplitudes[nextIdx], in getMaxAmplitude()
657 startIdx * mFrequencyResolutionHz, nextIdx * mFrequencyResolutionHz, in getMaxAmplitude()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java223 int startIdx = text.indexOf("5"); 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()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java3036 List<Pair<ProcessRecord, Boolean>> procs, int startIdx) {
3037 final int uid = procs.get(startIdx).first.uid;
3038 int endIdx = startIdx + 1;
3040 return procs.subList(startIdx, endIdx);
/frameworks/base/tools/aapt/
DResourceTable.cpp1036 ssize_t startIdx = block.indexOfAttribute(NULL, "start"); in compileResourceFile() local
1037 if (startIdx >= 0) { in compileResourceFile()
1038 const char16_t* startStr = block.getAttributeStringValue(startIdx, &len); in compileResourceFile()
1042 String8(block.getAttributeStringValue(startIdx, &len)).c_str()); in compileResourceFile()