Home
last modified time | relevance | path

Searched refs:indexOf (Results 1 – 25 of 137) sorted by relevance

123456

/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DStringTest.java223 result = str.indexOf(str1) > 0; in testStringindexOf()
224 result = str.indexOf(str1) > 0; in testStringindexOf()
225 result = str.indexOf(str1) > 0; in testStringindexOf()
226 result = str.indexOf(str1) > 0; in testStringindexOf()
227 result = str.indexOf(str1) > 0; in testStringindexOf()
228 result = str.indexOf(str1) > 0; in testStringindexOf()
229 result = str.indexOf(str1) > 0; in testStringindexOf()
230 result = str.indexOf(str1) > 0; in testStringindexOf()
231 result = str.indexOf(str1) > 0; in testStringindexOf()
232 result = str.indexOf(str1) > 0; in testStringindexOf()
[all …]
DArrayListTest.java184 index = mList.indexOf(0); in testArrayListIndexOf()
185 index = mList.indexOf(0); in testArrayListIndexOf()
186 index = mList.indexOf(0); in testArrayListIndexOf()
187 index = mList.indexOf(0); in testArrayListIndexOf()
188 index = mList.indexOf(0); in testArrayListIndexOf()
189 index = mList.indexOf(0); in testArrayListIndexOf()
190 index = mList.indexOf(0); in testArrayListIndexOf()
191 index = mList.indexOf(0); in testArrayListIndexOf()
192 index = mList.indexOf(0); in testArrayListIndexOf()
193 index = mList.indexOf(0); in testArrayListIndexOf()
DLinkedListTest.java187 index = list.indexOf(0); in testLinkedListIndexOf()
188 index = list.indexOf(0); in testLinkedListIndexOf()
189 index = list.indexOf(0); in testLinkedListIndexOf()
190 index = list.indexOf(0); in testLinkedListIndexOf()
191 index = list.indexOf(0); in testLinkedListIndexOf()
192 index = list.indexOf(0); in testLinkedListIndexOf()
193 index = list.indexOf(0); in testLinkedListIndexOf()
194 index = list.indexOf(0); in testLinkedListIndexOf()
195 index = list.indexOf(0); in testLinkedListIndexOf()
196 index = list.indexOf(0); in testLinkedListIndexOf()
DVectorTest.java196 index = vector.indexOf(value); in testVectorIndexOf()
197 index = vector.indexOf(value); in testVectorIndexOf()
198 index = vector.indexOf(value); in testVectorIndexOf()
199 index = vector.indexOf(value); in testVectorIndexOf()
200 index = vector.indexOf(value); in testVectorIndexOf()
201 index = vector.indexOf(value); in testVectorIndexOf()
202 index = vector.indexOf(value); in testVectorIndexOf()
203 index = vector.indexOf(value); in testVectorIndexOf()
204 index = vector.indexOf(value); in testVectorIndexOf()
205 index = vector.indexOf(value); in testVectorIndexOf()
/frameworks/base/tests/CoreTests/android/core/
DArrayListTest.java53 assertEquals(0, array.indexOf(new Integer(1))); in testArrayList()
55 assertTrue(array.indexOf(new Integer(5)) < 0); in testArrayList()
70 assertEquals(0, array.indexOf(new Integer(1))); in testArrayList()
72 assertTrue(array.indexOf(new Integer(5)) < 0); in testArrayList()
79 assertTrue(array.indexOf(new Integer(5)) < 0); in testArrayList()
/frameworks/base/docs/html/sdk/
Ddownload.jd12 if (location.indexOf('?v=') != -1) {
13 var filename = location.substring(location.indexOf('=')+1,location.length);
45 if (loc.indexOf('?v=') != -1) {
46 var filename = loc.substring(loc.indexOf('=')+1,loc.length);
69 var filename = loc.substring(loc.indexOf('=')+1,loc.length);
70 version = filename.substring(filename.indexOf('.')-1,filename.lastIndexOf('.'));
/frameworks/base/test-runner/junit/runner/
DSimpleTestCollector.java18 classFileName.indexOf('$') < 0 && in isTestClass()
19 classFileName.indexOf("Test") > 0; in isTestClass()
DClassPathTestCollector.java69 classFileName.indexOf('$') < 0 && in isTestClass()
70 classFileName.indexOf("Test") > 0; in isTestClass()
/frameworks/base/core/java/android/webkit/
DURLUtil.java71 if (webAddress.mHost.indexOf('.') == -1) { in guessUrl()
80 int placeHolderIndex = template.indexOf(queryPlaceHolder); in composeSearchUrl()
138 int index = url.indexOf('%'); in verifyURLEncoding()
150 index = url.indexOf('%', index + 1); in verifyURLEncoding()
266 int anchorIndex = url.indexOf('#'); in stripAnchor()
305 int queryIndex = decodedUrl.indexOf('?'); in guessFileName()
326 int dotIndex = filename.indexOf('.'); in guessFileName()
DCookieManager.java678 int index = ret[0].indexOf(PERIOD); in getHostAndPath()
705 index = ret[1].indexOf(QUESTION_MARK); in getHostAndPath()
722 int nextIndex = host.indexOf(PERIOD); in getBaseDomain()
726 nextIndex = host.indexOf(PERIOD, startIndex); in getBaseDomain()
778 int semicolonIndex = cookieString.indexOf(SEMICOLON, index); in parseCookie()
779 int equalIndex = cookieString.indexOf(EQUAL, index); in parseCookie()
791 index = cookieString.indexOf(QUOTATION, equalIndex + 2); in parseCookie()
797 semicolonIndex = cookieString.indexOf(SEMICOLON, index); in parseCookie()
858 equalIndex = cookieString.indexOf(EQUAL, index); in parseCookie()
863 int comaIndex = cookieString.indexOf(COMMA, equalIndex); in parseCookie()
[all …]
DJWebCoreJavaBridge.java151 int ir = value.indexOf('\r', i); in setCookies()
152 int in = value.indexOf('\n', i); in setCookies()
/frameworks/base/wifi/java/android/net/wifi/
DWifiMonitor.java159 if (Config.LOGD && eventStr.indexOf(scanResultsEvent) == -1) { in run()
163 … if (eventStr.startsWith(wpaEventPrefix) && 0 < eventStr.indexOf(passwordKeyMayBeIncorrectEvent)) { in run()
170 int nameEnd = eventName.indexOf(' '); in run()
203 int ind = eventStr.indexOf(" "); in run()
208 int ind = eventStr.indexOf(" - "); in run()
/frameworks/base/core/java/android/os/
DUEventObserver.java54 int equals = message.indexOf('=', offset); in UEvent()
55 int at = message.indexOf(0, offset); in UEvent()
107 if (bufferStr.indexOf((String)mObservers.get(i)) != -1) { in run()
/frameworks/base/core/java/android/net/
DUri.java445 ? cachedSsi = uriString.indexOf(':') in findSchemeSeparator()
455 ? cachedFsi = uriString.indexOf('#', findSchemeSeparator()) in findFragmentSeparator()
597 int qsi = uriString.indexOf('?', findSchemeSeparator()); in parseQuery()
1013 int end = authority.indexOf('@'); in parseUserInfo()
1037 int userInfoSeparator = authority.indexOf('@'); in parseHost()
1038 int portSeparator = authority.indexOf(':', userInfoSeparator); in parseHost()
1061 int userInfoSeparator = authority.indexOf('@'); in parsePort()
1062 int portSeparator = authority.indexOf(':', userInfoSeparator); in parsePort()
1530 start = query.indexOf(prefix, start); in getQueryParameters()
1541 int end = query.indexOf('&', start); in getQueryParameters()
[all …]
DProxy.java53 int i = host.indexOf(':'); in getHost()
77 int i = host.indexOf(':'); in getPort()
DUrlQuerySanitizer.java597 int queryIndex = url.indexOf('?'); in parseUrl()
622 int assignmentIndex = attributeValuePair.indexOf('='); in parseQuery()
841 int firstEscape = string.indexOf('%'); in unescape()
843 firstEscape = string.indexOf('+'); in unescape()
/frameworks/base/tools/preload/
DRecord.java103 int offset = result.indexOf("\\u"); in decode()
112 offset = result.indexOf("\\u", offset + 1); in decode()
/frameworks/base/core/java/android/net/http/
DHttpAuthHeader.java285 int i = header.indexOf(' '); in parseScheme()
319 i = parameters.indexOf(','); in parseParameters()
338 int i = parameter.indexOf('='); in parseParameter()
/frameworks/base/media/java/android/media/
DExifInterface.java143 int ptr = attrStr.indexOf(' '); in loadAttributes()
150 int equalPos = attrStr.indexOf('=', ptr); in loadAttributes()
155 int lenPos = attrStr.indexOf(' ', ptr); in loadAttributes()
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java355 arg.substring(arg.indexOf('=') + 1)); in parseArgs()
363 arg.substring(arg.indexOf('=') + 1)); in parseArgs()
380 String capString = arg.substring(arg.indexOf('=')+1); in parseArgs()
394 = arg.substring(arg.indexOf('=')+1).split(","); in parseArgs()
429 = arg.substring(arg.indexOf('=') + 1).split(","); in parseArgs()
/frameworks/base/core/java/android/content/res/
DStringBlock.java238 for (int t = tag.indexOf(';'); t < len; t = next) { in applyStyles()
239 int eq = tag.indexOf('=', t); in applyStyles()
244 next = tag.indexOf(';', eq); in applyStyles()
293 int start = full.indexOf(attribute); in subtag()
299 int end = full.indexOf(';', start); in subtag()
/frameworks/base/core/java/android/text/
DTextUtils.java76 public static int indexOf(CharSequence s, char ch) { in indexOf() method in TextUtils
77 return indexOf(s, ch, 0); in indexOf()
80 public static int indexOf(CharSequence s, char ch, int start) { in indexOf() method in TextUtils
84 return ((String) s).indexOf(ch, start); in indexOf()
86 return indexOf(s, ch, start, s.length()); in indexOf()
89 public static int indexOf(CharSequence s, char ch, int start, int end) { in indexOf() method in TextUtils
184 public static int indexOf(CharSequence s, CharSequence needle) { in indexOf() method in TextUtils
185 return indexOf(s, needle, 0, s.length()); in indexOf()
188 public static int indexOf(CharSequence s, CharSequence needle, int start) { in indexOf() method in TextUtils
189 return indexOf(s, needle, start, s.length()); in indexOf()
[all …]
/frameworks/base/libs/utils/
DAssetDir.cpp39 return pVector->indexOf(tmpInfo); in findEntry()
/frameworks/base/core/java/android/database/
DObservable.java62 int index = mObservers.indexOf(observer); in unregisterObserver()
/frameworks/base/opengl/tools/glgen/src/
DJType.java121 return baseType.indexOf("Buffer") != -1; in isBuffer()
126 (baseType.indexOf("Buffer") != -1); in isTypedBuffer()

123456