Home
last modified time | relevance | path

Searched refs:substring (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/frameworks/base/core/java/com/android/internal/os/
DZygoteArguments.java268 arg.substring(arg.indexOf('=') + 1)); in parseArgs()
276 arg.substring(arg.indexOf('=') + 1)); in parseArgs()
284 arg.substring(arg.indexOf('=') + 1)); in parseArgs()
289 arg.substring(arg.indexOf('=') + 1)); in parseArgs()
296 mSeInfo = arg.substring(arg.indexOf('=') + 1); in parseArgs()
303 String capString = arg.substring(arg.indexOf('=') + 1); in parseArgs()
316 String[] limitStrings = arg.substring(arg.indexOf('=') + 1).split(","); in parseArgs()
339 String[] params = arg.substring(arg.indexOf('=') + 1).split(","); in parseArgs()
362 mNiceName = arg.substring(arg.indexOf('=') + 1); in parseArgs()
382 mInstructionSet = arg.substring(arg.indexOf('=') + 1); in parseArgs()
[all …]
DChildZygoteInit.java36 return arg.substring(Zygote.CHILD_ZYGOTE_SOCKET_NAME_ARG.length()); in parseSocketNameFromArgs()
46 return arg.substring(Zygote.CHILD_ZYGOTE_ABI_LIST_ARG.length()); in parseAbiListFromArgs()
57 String valueStr = arg.substring(arg.indexOf('=') + 1); in parseIntFromArg()
/frameworks/base/core/java/android/webkit/
DURLUtil.java68 inUrl = inUrl.substring(0, inUrl.length() - 1); in guessUrl()
98 buffer.append(template.substring(0, placeHolderIndex)); in composeSearchUrl()
107 buffer.append(template.substring( in composeSearchUrl()
237 url.substring(0, 7).equalsIgnoreCase("http://"); in isHttpUrl()
246 url.substring(0, 8).equalsIgnoreCase("https://"); in isHttpsUrl()
290 return url.substring(0, anchorIndex); in stripAnchor()
318 filename = filename.substring(index); in guessFileName()
330 decodedUrl = decodedUrl.substring(0, queryIndex); in guessFileName()
335 filename = decodedUrl.substring(index); in guessFileName()
373 filename.substring(lastDotIndex + 1)); in guessFileName()
[all …]
DMimeTypeMap.java50 url = url.substring(0, fragment); in getFileExtensionFromUrl()
55 url = url.substring(0, query); in getFileExtensionFromUrl()
60 0 <= filenamePos ? url.substring(filenamePos + 1) : url; in getFileExtensionFromUrl()
68 return filename.substring(dotPos + 1); in getFileExtensionFromUrl()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsParser.java66 String eventType = smsBody.substring(prefixEnd + 1, eventTypeEnd); in parse()
67 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1)); in parse()
108 String key = entry.substring(0, separatorIndex); in parseSmsBody()
109 String value = entry.substring(separatorIndex + 1); in parseSmsBody()
131 String eventType = smsBody.substring(0, eventTypeEnd); in parseAlternativeFormat()
135 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1)); in parseAlternativeFormat()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockTarget.java43 return pre.substring(0, pre.lastIndexOf('.')); in getPreOwner()
47 return pre.substring(pre.lastIndexOf('.') + 1); in getPreMethod()
55 return post.substring(0, post.lastIndexOf('.')); in getPostOwner()
59 return post.substring(post.lastIndexOf('.') + 1); in getPostMethod()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java160 return networkPortionNumber.substring(1); in formatNumber()
170 return PLUS_SIGN + networkPortionNumber.substring(iddLength); in formatNumber()
174 return networkPortionNumber.substring(iddLength); in formatNumber()
187 returnNumber = networkPortionNumber.substring(1); in formatNumber()
193 returnNumber = NANP_IDD + networkPortionNumber.substring(1); in formatNumber()
200 returnNumber = NANP_IDD + networkPortionNumber.substring(iddLength); in formatNumber()
225 returnNumber = networkPortionNumber.substring(1); in formatNumber()
228 returnNumber = NANP_IDD + networkPortionNumber.substring(1); in formatNumber()
333 number = number.substring(1); in checkNANP()
343 number = number.substring(3); in checkNANP()
[all …]
/frameworks/base/tools/preload/
DRecord.java125 line = line.substring(1); in Record()
152 String before = result.substring(0, offset); in decode()
153 String escaped = result.substring(offset+2, offset+6); in decode()
154 String after = result.substring(offset+6); in decode()
179 typeName = typeName.substring(1, typeName.length() - 1); in vmTypeToLanguage()
/frameworks/base/core/java/android/net/
DNetworkUtils.java333 addrHexString.substring(0,4), addrHexString.substring(4,8), in hexToInet6Address()
334 addrHexString.substring(8,12), addrHexString.substring(12,16), in hexToInet6Address()
335 addrHexString.substring(16,20), addrHexString.substring(20,24), in hexToInet6Address()
336 addrHexString.substring(24,28), addrHexString.substring(28,32))); in hexToInet6Address()
DUri.java567 return ssi == NOT_FOUND ? null : uriString.substring(0, ssi); in parseScheme()
590 ? uriString.substring(ssi + 1) in parseSsp()
591 : uriString.substring(ssi + 1, fsi); in parseSsp()
681 return uriString.substring(qsi + 1); in parseQuery()
689 return uriString.substring(qsi + 1, fsi); in parseQuery()
709 return fsi == NOT_FOUND ? null : uriString.substring(fsi + 1); in parseFragment()
754 return uriString.substring(ssi + 3, end); in parseAuthority()
809 return uriString.substring(pathStart, pathEnd); in parsePath()
1098 return end == NOT_FOUND ? null : authority.substring(0, end); in parseUserInfo()
1124 ? authority.substring(userInfoSeparator + 1) in parseHost()
[all …]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DRenameClassAdapter.java49 mOldBase = mOldName.substring(0, pos); in RenameClassAdapter()
53 mNewBase = mNewName.substring(0, pos); in RenameClassAdapter()
82 return mNewBase + type.substring(pos); in renameInternalType()
/frameworks/base/core/java/com/android/internal/alsa/
DAlsaCardsParser.java88 mCardNum = Integer.parseInt(line.substring(tokenIndex, delimIndex)); in parse()
91 + ": " + line.substring(tokenIndex, delimIndex)); in parse()
98 mField1 = line.substring(tokenIndex, delimIndex); in parse()
102 mCardName = line.substring(tokenIndex); in parse()
111 mCardDescription = line.substring(tokenIndex, keyIndex - 1); in parse()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupRestore.java253 majorVersion = Integer.parseInt(versionStr.substring(0, separatorPos)); in retrieveConfigurationsFromBackupData()
254 minorVersion = Integer.parseInt(versionStr.substring(separatorPos + 1)); in retrieveConfigurationsFromBackupData()
586 configuration.SSID = mParsedSSIDLine.substring(mParsedSSIDLine.indexOf('=') + 1); in createWifiConfiguration()
591 Integer.parseInt(mParsedHiddenLine.substring( in createWifiConfiguration()
602 mParsedKeyMgmtLine.substring(mParsedKeyMgmtLine.indexOf('=') + 1); in createWifiConfiguration()
627 mParsedPskLine.substring(mParsedPskLine.indexOf('=') + 1); in createWifiConfiguration()
631 mParsedWepKeyLines[0].substring(mParsedWepKeyLines[0].indexOf('=') + 1); in createWifiConfiguration()
635 mParsedWepKeyLines[1].substring(mParsedWepKeyLines[1].indexOf('=') + 1); in createWifiConfiguration()
639 mParsedWepKeyLines[2].substring(mParsedWepKeyLines[2].indexOf('=') + 1); in createWifiConfiguration()
643 mParsedWepKeyLines[3].substring(mParsedWepKeyLines[3].indexOf('=') + 1); in createWifiConfiguration()
[all …]
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java111 String[] pieces = param.substring(8).split("\\+"); in parseOptions()
125 options.maxMoratoriumMillis = parseSeconds(param.substring(4)); in parseOptions()
127 options.minTriggerMillis = parseSeconds(param.substring(4)); in parseOptions()
129 options.periodicIntervalMillis = parseSeconds(param.substring(7)); in parseOptions()
362 out.append(" ").append(key.substring(PREFIX.length(), key.length() - 10)); in toString()
365 out.append(" ").append(key.substring(PREFIX.length())); in toString()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSimpleSessionDescription.java92 String[] parts = line.substring(2).split(" ", 4); in SimpleSessionDescription()
411 return (slash < 0) ? parts[2] : parts[2].substring(0, slash); in getAddress()
435 return (colon == -1) ? encryption : encryption.substring(0, colon); in getEncryptionMethod()
447 return (colon == -1) ? null : encryption.substring(0, colon + 1); in getEncryptionKey()
542 set(line.substring(0, i), delimiter, line.substring(i + 1)); in parse()
558 names[length] = line.substring(prefix.length(), i); in cut()
610 return (line.length() == length) ? "" : line.substring(length + 1); in get()
/frameworks/base/media/java/android/media/
DUtils.java242 Integer.parseInt(s.substring(0, ix), 10),
243 Integer.parseInt(s.substring(ix + 1), 10));
263 Long.parseLong(s.substring(0, ix), 10),
264 Long.parseLong(s.substring(ix + 1), 10));
284 Rational.parseRational(s.substring(0, ix)),
285 Rational.parseRational(s.substring(ix + 1)));
305 Size.parseSize(s.substring(0, ix)),
306 Size.parseSize(s.substring(ix + 1)));
DWebVttRenderer.java196 mData.append(mLine.substring(mHandledLen, pos)); in replaceEscape()
224 mData.append(mLine.substring(mHandledLen, end)); in tokenize()
253 parts = mLine.substring(mHandledLen).split(">"); in tokenize()
255 parts = mLine.substring(mHandledLen).split("[\t\f >]"); in tokenize()
257 String part = mLine.substring( in tokenize()
279 mListener.onEnd(mName.substring(1)); in yield_tag()
291 mAnnotation = mAnnotation.substring(1); in yield_tag()
294 mAnnotation = mAnnotation.substring(0, mAnnotation.length() - 1); in yield_tag()
300 classes = mName.substring(dotAt + 1).split("\\."); in yield_tag()
301 mName = mName.substring(0, dotAt); in yield_tag()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java35 domain = domain.substring(0, domain.length() - 1); in splitDomain()
38 domain = domain.substring(at + 1); in splitDomain()
97 String prefix = domain.get(2).substring(3) + domain.get(3).substring(3); in getMccMnc()
126 String mcc = mccmnc.substring(0, 3); in getRealmForMccMnc()
127 String mnc = mccmnc.substring(3); in getRealmForMccMnc()
327 return s.substring(1, s.length()-1); in unquote()
/frameworks/base/test-base/src/junit/framework/
DComparisonCompactor.java40 String result= DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; in compactString()
68 …return (fPrefix > fContextLength ? ELLIPSIS : "") + fExpected.substring(Math.max(0, fPrefix - fCon… in computeCommonPrefix()
73 …return fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix … in computeCommonSuffix()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java78 int i = Integer.parseInt(relpath.substring(0, slash)); in onRestoreFile()
80 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); in onRestoreFile()
86 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash)); in onRestoreFile()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V21.java382 final String propertyName = line.substring(nameIndex, i); in constructPropertyData()
384 propertyData.setRawValue( i < length - 1 ? line.substring(i + 1) : ""); in constructPropertyData()
387 final String groupName = line.substring(nameIndex, i); in constructPropertyData()
395 final String propertyName = line.substring(nameIndex, i); in constructPropertyData()
411 handleParams(propertyData, line.substring(nameIndex, i)); in constructPropertyData()
414 handleParams(propertyData, line.substring(nameIndex, i)); in constructPropertyData()
415 propertyData.setRawValue(i < length - 1 ? line.substring(i + 1) : ""); in constructPropertyData()
678 builder.append(nextLine.substring(1));
773 builder.append(firstString.substring(0, pos + 1));
786 builder.append(line.substring(0, pos + 1));
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatLog.java33 Rlog.d("CAT", className.substring(className.lastIndexOf('.') + 1) + ": " in d()
48 Rlog.e("CAT", className.substring(className.lastIndexOf('.') + 1) + ": " in e()
/frameworks/base/core/java/android/util/
DDebugUtils.java88 pair[0].substring(0, 1).toUpperCase(Locale.ROOT) + in isObjectSelected()
89 pair[0].substring(1), in isObjectSelected()
124 simpleName = simpleName.substring(end+1); in buildShortClassTag()
271 return field.getName().substring(prefix.length()); in constNameWithoutPrefix()
DSize.java134 return new Size(Integer.parseInt(string.substring(0, sep_ix)), in parseSize()
135 Integer.parseInt(string.substring(sep_ix + 1))); in parseSize()
/frameworks/base/services/core/java/com/android/server/pm/
DCompilerStats.java105 return codePath.substring(lastSlash + 1); in getStoredPathFromCodePath()
218 versionLine.substring(COMPILER_STATS_VERSION_HEADER.length())); in read()
236 String codePath = s.substring(1, colonIndex); in read()
237 long time = Long.parseLong(s.substring(colonIndex + 1)); in read()

12345678910>>...18