/frameworks/native/services/sensorservice/ |
SensorRecord.cpp | 32 if (mConnections.indexOf(connection) < 0) { 42 ssize_t index = mConnections.indexOf(connection);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
InvalidClassExceptionTest.java | 58 returnedMessage.indexOf(className) >= 0 59 && returnedMessage.indexOf(message) >= 0);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
BackingStoreExceptionTest.java | 44 assertTrue(e.getMessage().indexOf(t.getClass().getName()) >= 0); 45 assertTrue(e.getMessage().indexOf("msg") >= 0);
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
SparseArray.java | 68 return mKeys.indexOf(key); 72 return mValues.indexOf(value);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
QueryParameterUtils.java | 47 index = query.indexOf(parameter, index); 64 int ampIndex = query.indexOf('&', index);
|
/cts/tests/tests/text/src/android/text/util/cts/ |
Rfc822TokenizerTest.java | 40 final int TOKEN_START_POS_1 = text.indexOf(token1); 41 final int TOKEN_START_POS_2 = text.indexOf(token2); 42 final int TOKEN_START_POS_3 = text.indexOf(token3); 43 final int TOKEN_START_POS_4 = text.indexOf(token4); 86 final int TOKEN_END_POS_2 = text2.indexOf(token2) + token2.length(); 87 final int TOKEN_END_POS_4 = text2.indexOf(token4) + token4.length();
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
AppDataDirGuesser.java | 89 index = input.indexOf(']'); 98 int start = input.indexOf("DexPathList") + "DexPathList".length(); 101 int end = trimmed.indexOf(']'); 110 int quoteStart = split[i].indexOf('"'); 145 int dash = potential.indexOf("-"); 168 int end = input.indexOf(',');
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/ |
StringTokenizer.java | 113 if (delimiters.indexOf(string.charAt(i), 0) >= 0) { 156 if (delimiters.indexOf(string.charAt(i), 0) == -1) 190 if (delimiters.indexOf(string.charAt(position), 0) >= 0) 193 if (delimiters.indexOf(string.charAt(position), 0) >= 0) 198 while (i < length && delimiters.indexOf(string.charAt(i), 0) >= 0) 203 if (delimiters.indexOf(string.charAt(position), 0) >= 0)
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
SmaliClassTypeElementTest.java | 54 (SmaliClassTypeElement)file.findReferenceAt(text.indexOf("<ref>")); 85 (SmaliClassTypeElement)file.findReferenceAt(text.indexOf("<ref>")); 107 (SmaliClassTypeElement)file.findReferenceAt(text.indexOf("<ref>")); 131 (SmaliClassTypeElement)file.findReferenceAt(text.indexOf("<ref>")); 143 typeElement = (SmaliClassTypeElement)file.findReferenceAt(text.indexOf("<ref>")); 165 (SmaliClassTypeElement)file.findReferenceAt(text.indexOf("<ref>"));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CoderResultTest.java | 58 assertTrue(CoderResult.OVERFLOW.toString().indexOf("OVERFLOW") != -1); 78 assertTrue(CoderResult.UNDERFLOW.toString().indexOf("UNDERFLOW") != -1); 258 assertTrue(CoderResult.OVERFLOW.toString().indexOf("OVERFLOW") != -1); 259 assertTrue(CoderResult.UNDERFLOW.toString().indexOf("UNDERFLOW") != -1); 261 .indexOf("666") != -1); 262 assertTrue(CoderResult.unmappableForLength(666).toString().indexOf(
|
/external/jdiff/src/jdiff/ |
RootDocToXML.java | 689 if (rct != null && rct.indexOf(excludeTag) != -1) { [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
RealBufferedSource.java | 186 long newline = indexOf((byte) '\n'); 196 long newline = indexOf((byte) '\n'); 299 @Override public long indexOf(byte b) throws IOException { 300 return indexOf(b, 0); 303 @Override public long indexOf(byte b, long fromIndex) throws IOException { 309 while ((index = buffer.indexOf(b, fromIndex)) == -1) { 316 @Override public long indexOf(ByteString bytes) throws IOException { 317 return indexOf(bytes, 0); 320 @Override public long indexOf(ByteString bytes, long fromIndex) throws IOException { 323 fromIndex = indexOf(bytes.getByte(0), fromIndex) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StringBufferTest.java | 532 * {@link java.lang.StringBuffer#indexOf(String, int)} 538 assertEquals(0, sb.indexOf("0")); 539 assertEquals(0, sb.indexOf("012")); 540 assertEquals(-1, sb.indexOf("02")); 541 assertEquals(8, sb.indexOf("89")); 543 assertEquals(0, sb.indexOf("0"), 0); 544 assertEquals(0, sb.indexOf("012"), 0); 545 assertEquals(-1, sb.indexOf("02"), 0); 546 assertEquals(8, sb.indexOf("89"), 0); 548 assertEquals(-1, sb.indexOf("0"), 5) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 160 if (body.indexOf("=?") == -1) { 170 int begin = body.indexOf("=?", previousEnd); 178 int qm1 = body.indexOf('?', begin + 2); 182 int qm2 = body.indexOf('?', qm1 + 1); 186 int end = body.indexOf("?=", qm2 + 1); 219 int qm1 = body.indexOf('?', begin + 2); 223 int qm2 = body.indexOf('?', qm1 + 1);
|
/packages/services/Telephony/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 160 if (body.indexOf("=?") == -1) { 170 int begin = body.indexOf("=?", previousEnd); 178 int qm1 = body.indexOf('?', begin + 2); 182 int qm2 = body.indexOf('?', qm1 + 1); 186 int end = body.indexOf("?=", qm2 + 1); 219 int qm1 = body.indexOf('?', begin + 2); 223 int qm2 = body.indexOf('?', qm1 + 1);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
PKIXNameConstraintValidator.java | 904 String sub = email.substring(email.indexOf('@') + 1); 906 if (constraint.indexOf('@') != -1) 1024 if (email1.indexOf('@') != -1) 1026 String _sub = email1.substring(email1.indexOf('@') + 1); 1028 if (email2.indexOf('@') != -1) 1070 if (email2.indexOf('@') != -1 [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXNameConstraintValidator.java | 637 String sub = email.substring(email.indexOf('@') + 1); 639 if (constraint.indexOf('@') != -1) 761 if (email1.indexOf('@') != -1) 763 String _sub = email1.substring(email1.indexOf('@') + 1); 765 if (email2.indexOf('@') != -1) 807 if (email2.indexOf('@') != -1) 809 String _sub = email2.substring(email1.indexOf('@') + 1); 854 if (email2.indexOf('@') != -1) 856 String _sub = email2.substring(email1.indexOf('@') + 1); 899 if (email1.indexOf('@') != -1 [all...] |
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
SwatDeprecated.java | 204 // int temp = line.indexOf("@deprecated"); 205 int ix = line.indexOf(srcTag); 224 ix = line.indexOf("opyright"); 231 ix = line.indexOf("-200"); 236 ix = line.indexOf("- 200"); 241 ix = line.indexOf("-199"); 246 ix = line.indexOf(copyYear); 250 ix = line.indexOf("200"); 255 ix = line.indexOf("199");
|
/external/ant-glob/src/org/apache/tools/ant/util/ |
FileUtils.java | 133 int nextsep = filename.indexOf(sep, 2); 136 int colon = filename.indexOf(':'); 158 int colon = path.indexOf(':'); 178 int nextsep = path.indexOf(sep, 2); 179 nextsep = path.indexOf(sep, nextsep + 1);
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 79 if(host.indexOf(":") >= 0) 80 if(host.indexOf("[") < 0) 99 int brack = hop.indexOf(']'); 100 int colon = hop.indexOf(':',brack); 101 int slash = hop.indexOf('/',colon);
|
/external/proguard/src/proguard/wtk/ |
default.pro | 72 public int indexOf(int); 73 public int indexOf(int,int); 74 public int indexOf(java.lang.String); 75 public int indexOf(java.lang.String,int); 108 public int indexOf(java.lang.String,int);
|
/external/v8/test/webkit/ |
array-holes-expected.txt | 52 PASS [0, , 2, 3].indexOf() is -1 53 PASS [0, undefined, 2, 3].indexOf() is 1 76 PASS [0, , 2, 3].indexOf() is -1 77 PASS [0, , 2, 3].indexOf('peekaboo') is 1 78 PASS [0, undefined, 2, 3].indexOf() is 1
|
array-holes.js | 100 shouldBe("[0, , 2, 3].indexOf()", "-1"); 101 shouldBe("[0, undefined, 2, 3].indexOf()", "1"); 127 shouldBe("[0, , 2, 3].indexOf()", "-1"); 128 shouldBe("[0, , 2, 3].indexOf('peekaboo')", "1"); 129 shouldBe("[0, undefined, 2, 3].indexOf()", "1");
|
/external/webrtc/webrtc/tools/loopback_test/ |
adapter.js | 70 if (url_parts[0].indexOf('stun') === 0) { 73 } else if (url_parts[0].indexOf('turn') === 0) { 80 turn_url_parts[1].indexOf('transport=udp') === 0) { 146 if (url_parts[0].indexOf('stun') === 0) { 149 } else if (url_parts[0].indexOf('turn') === 0) {
|
/libcore/ojluni/src/main/java/sun/net/www/ |
MimeLauncher.java | 55 int index = launchString.indexOf(' '); 83 while ((argIndex = prefix.indexOf("%s")) >= 0) { 138 while ((inx = c.indexOf("%t")) >= 0) { 144 while ((inx = c.indexOf("%s")) >= 0) { 169 int index = str.indexOf(' ');
|