/cts/hostsidetests/packagemanager/parsing/processing/ |
D | ApkGenerator.py | 58 startIndex = text.index(TRIPLE_QUOTE, annotationIndex) variable 59 if startIndex < 0: 62 endIndex = text.index(TRIPLE_QUOTE, startIndex + len(TRIPLE_QUOTE)) 66 string = text[startIndex + len(TRIPLE_QUOTE): endIndex]
|
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/ |
D | OverlayTargetTest.java | 151 final int startIndex = result.indexOf(overlayPackageForCurrentUser); in getStateForOverlay() local 152 assertWithMessage(errorMsg).that(startIndex).isAtLeast(0); in getStateForOverlay() 154 final int endIndex = result.indexOf('}', startIndex); in getStateForOverlay() 155 assertWithMessage(errorMsg).that(endIndex).isGreaterThan(startIndex); in getStateForOverlay() 157 final int stateIndex = result.indexOf("mState", startIndex); in getStateForOverlay() 158 assertWithMessage(errorMsg).that(startIndex).isLessThan(stateIndex); in getStateForOverlay()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutLineBreakingTest.java | 203 int startIndex = text.indexOf('<'); in spanify() local 204 if (startIndex < 0) return text; in spanify() 211 text = text.substring(0, startIndex) + text.substring(startIndex + 1, endIndex) in spanify() 214 sSpanStarts[spanCount] = startIndex; in spanify() 218 startIndex = text.indexOf('<'); in spanify() 219 } while (startIndex >= 0); in spanify()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | OverlayHostTest.java | 95 int startIndex = result.indexOf(overlayPackageForCurrentUser); in getStateForOverlay() local 96 if (startIndex < 0) { in getStateForOverlay() 100 int endIndex = result.indexOf('}', startIndex); in getStateForOverlay() 101 assertTrue(endIndex > startIndex); in getStateForOverlay() 103 int stateIndex = result.indexOf("mState", startIndex); in getStateForOverlay() 104 assertTrue(startIndex < stateIndex && stateIndex < endIndex); in getStateForOverlay()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Util.java | 123 public static int findMaxIndex(double[] data, int startIndex, int endIndex) { in findMaxIndex() argument 124 int maxIndex = startIndex; in findMaxIndex() 125 for (int i = startIndex + 1; i <= endIndex; i++) { in findMaxIndex()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarRotaryImeTest.java | 172 int startIndex = dumpsysOutput.indexOf(key) + key.length() + 1; in getStringValueFromDumpsys() local 173 int endIndex = dumpsysOutput.indexOf('\n', startIndex); in getStringValueFromDumpsys() 174 String value = dumpsysOutput.substring(startIndex, endIndex); in getStringValueFromDumpsys()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/view/ |
D | DisplayHelperTest.java | 134 int startIndex = DISPLAY_ID_PREFIX_LOCAL.length(); in getPhysicalPortFromId() local 135 long physicalDisplayId = Long.parseLong(displayUniqueId.substring(startIndex)); in getPhysicalPortFromId()
|
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/ |
D | LatencyAnalyzer.h | 262 int startIndex = std::max(0, peakIndex - margin); in measureLatencyFromPulse() 264 for (int index = startIndex; index < endIndex; index++) { in measureLatencyFromPulse()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 8846 int startIndex = text.indexOf("president"); in testSmartSelection() local 8847 int endIndex = startIndex + "president".length(); in testSmartSelection() 8851 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection() 8870 int startIndex = text.indexOf("is coming to town"); in testSmartSelection_dragSelection() local 8871 int endIndex = startIndex + "is coming to town".length(); in testSmartSelection_dragSelection() 8874 Point start = getCenterPositionOfTextAt(mTextView, startIndex, startIndex); in testSmartSelection_dragSelection() 8887 assertEquals(startIndex, mTextView.getSelectionStart()); in testSmartSelection_dragSelection() 8895 int startIndex = text.indexOf("president"); in testSmartSelection_resetSelection() local 8896 int endIndex = startIndex + "president".length(); in testSmartSelection_resetSelection() 8900 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection_resetSelection() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 2567 CharSequence text, int startIndex, int endIndex, LocaleList defaultLocales) { in testSetCustomTextClassifier() argument 2573 CharSequence text, int startIndex, int endIndex, LocaleList defaultLocales) { in testSetCustomTextClassifier() argument
|