Searched refs:startIndex (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/net/src/android/net/cts/ |
D | TunUtils.java | 103 private byte[] getFirstMatchingPacket(Predicate<byte[]> verifier, int startIndex) { in getFirstMatchingPacket() argument 105 for (int i = startIndex; i < mPackets.size(); i++) { in getFirstMatchingPacket() 123 public boolean hasPlaintextPacket(byte[] plaintext, int startIndex) { in hasPlaintextPacket() argument 129 return getFirstMatchingPacket(verifier, startIndex) != null; in hasPlaintextPacket() 132 public byte[] getEspPacket(int spi, boolean encap, int startIndex) { in getEspPacket() argument 137 startIndex); in getEspPacket() field in TunUtils 143 int startIndex = 0; in awaitEspPacketNoPlaintext() local 147 byte[] espPkt = getEspPacket(spi, useEncap, startIndex); in awaitEspPacketNoPlaintext() 157 startIndex = mPackets.size(); in awaitEspPacketNoPlaintext()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | Poc17_05.java | 42 int startIndex = line.indexOf(pattern); in testPocCVE_2017_0630() 43 if (startIndex == -1) { in testPocCVE_2017_0630() 46 return line.substring(startIndex + pattern.length()); in testPocCVE_2017_0630()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | OverlayHostTest.java | 82 int startIndex = result.indexOf(overlayPackage + ":"); in getStateForOverlay() local 83 if (startIndex < 0) { in getStateForOverlay() 87 int endIndex = result.indexOf('}', startIndex); in getStateForOverlay() 88 assertTrue(endIndex > startIndex); in getStateForOverlay() 90 int stateIndex = result.indexOf("mState", startIndex); in getStateForOverlay() 91 assertTrue(startIndex < stateIndex && stateIndex < endIndex); 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/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/widget/src/android/widget/cts/ |
D | TextViewTest.java | 8067 int startIndex = text.indexOf("president"); in testSmartSelection() local 8068 int endIndex = startIndex + "president".length(); in testSmartSelection() 8072 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection() 8091 int startIndex = text.indexOf("is coming to town"); in testSmartSelection_dragSelection() local 8092 int endIndex = startIndex + "is coming to town".length(); in testSmartSelection_dragSelection() 8095 Point start = getCenterPositionOfTextAt(mTextView, startIndex, startIndex); in testSmartSelection_dragSelection() 8108 assertEquals(startIndex, mTextView.getSelectionStart()); in testSmartSelection_dragSelection() 8116 int startIndex = text.indexOf("president"); in testSmartSelection_resetSelection() local 8117 int endIndex = startIndex + "president".length(); in testSmartSelection_resetSelection() 8121 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection_resetSelection() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 2567 int startIndex, in testSetCustomTextClassifier() argument 2576 int startIndex, in testSetCustomTextClassifier() argument
|