/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | BodyDescriptor.java | 73 name = name.trim().toLowerCase(); in addField() 78 value = value.trim().toLowerCase(); in addField() 86 value = value.trim(); in addField() 104 main = main.toLowerCase().trim(); in addField() 108 String type = main.substring(0, index).trim(); in addField() 109 String subtype = main.substring(index + 1).trim(); in addField() 135 c = c.trim(); in addField() 244 paramName.toString().trim().toLowerCase(), in getHeaderParams() 245 paramValue.toString().trim()); in getHeaderParams() 280 paramName.toString().trim().toLowerCase(), in getHeaderParams() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MetadataUtils.java | 98 double degrees = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat() 99 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat() 102 double minutes = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat() 103 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat() 106 double seconds = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat() 107 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastChannelManager.java | 125 String[] pairs = channelRange.substring(colonIndex + 1).trim().split(","); in CellBroadcastChannelRange() 127 pair = pair.trim(); in CellBroadcastChannelRange() 130 String key = tokens[0].trim(); in CellBroadcastChannelRange() 131 String value = tokens[1].trim(); in CellBroadcastChannelRange() 175 channelRange = channelRange.substring(0, colonIndex).trim(); in CellBroadcastChannelRange() 182 mStartId = Integer.decode(channelRange.substring(0, dashIndex).trim()); in CellBroadcastChannelRange() 183 mEndId = Integer.decode(channelRange.substring(dashIndex + 1).trim()); in CellBroadcastChannelRange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 255 line = line.trim(); in parseVcard() 574 if (arg[1].trim().equals("READ")) { in parse() 576 } else if (arg[1].trim().equals("UNREAD")) { in parse() 588 String value = arg[1].trim(); in parse() 596 String value = arg[1].trim(); in parse() 628 folder = arg[1].trim(); in parse() 717 mPartId = Long.parseLong(arg[1].trim()); in parseBody() 727 mEncoding = arg[1].trim(); in parseBody() 735 mCharset = arg[1].trim(); in parseBody() 743 mLanguage = arg[1].trim(); in parseBody() [all …]
|
D | BluetoothMapbMessageMime.java | 569 if (header.trim().isEmpty()) { in parseMimeHeaders() 584 String headerValue = headerParts[1].trim(); in parseMimeHeaders() 625 mBoundary = contentTypeParts[j].split("boundary[\\s]*=", 2)[1].trim(); in parseMimeHeaders() 635 mCharset = contentTypeParts[j].split("charset[\\s]*=", 2)[1].trim(); in parseMimeHeaders() 665 if ((header.length() == 0) || (header.trim().isEmpty()) || header.trim() in parseMimePart() 681 String headerValue = headerParts[1].trim(); in parseMimePart() 689 newPart.mCharsetName = value.split("charset[\\s]*=", 2)[1].trim(); in parseMimePart()
|
D | BluetoothMapConvoListingElement.java | 188 if (value.trim().equalsIgnoreCase("yes")) { in setRead() 308 String attributeName = parser.getAttributeName(i).trim(); in createFromXml() 337 String name = parser.getName().trim(); in createFromXml()
|
D | BluetoothMapFolderElement.java | 377 if (!name.trim().equalsIgnoreCase("folder")) { in readFolders() 386 if (parser.getAttributeName(i).trim().equalsIgnoreCase("name")) { in readFolders() 389 addFolder(parser.getAttributeValue(i).trim()); in readFolders()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ProxySelector.java | 93 String hostname = mHostnameField.getText().toString().trim(); in onCreateDialog() 94 String portStr = mPortField.getText().toString().trim(); in onCreateDialog() 95 String exclList = mExclusionListField.getText().toString().trim(); in onCreateDialog() 213 String hostname = mHostnameField.getText().toString().trim(); in saveToDb() 214 String portStr = mPortField.getText().toString().trim(); in saveToDb() 215 String exclList = mExclusionListField.getText().toString().trim(); in saveToDb()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | ProxySelector.java | 93 String hostname = mHostnameField.getText().toString().trim(); in onCreateDialog() 94 String portStr = mPortField.getText().toString().trim(); in onCreateDialog() 95 String exclList = mExclusionListField.getText().toString().trim(); in onCreateDialog() 213 String hostname = mHostnameField.getText().toString().trim(); in saveToDb() 214 String portStr = mPortField.getText().toString().trim(); in saveToDb() 215 String exclList = mExclusionListField.getText().toString().trim(); in saveToDb()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialog.java | 486 profile.server = mServer.getText().toString().trim(); in getProfile() 489 profile.searchDomains = mSearchDomains.getText().toString().trim(); in getProfile() 490 profile.dnsServers = mDnsServers.getText().toString().trim(); in getProfile() 491 profile.routes = mRoutes.getText().toString().trim(); in getProfile() 493 String proxyHost = mProxyHost.getText().toString().trim(); in getProfile() 494 String proxyPort = mProxyPort.getText().toString().trim(); in getProfile() 544 final String host = mProxyHost.getText().toString().trim(); in validateProxy() 545 final String port = mProxyPort.getText().toString().trim(); in validateProxy()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | ConfigDialog.java | 486 profile.server = mServer.getText().toString().trim(); in getProfile() 489 profile.searchDomains = mSearchDomains.getText().toString().trim(); in getProfile() 490 profile.dnsServers = mDnsServers.getText().toString().trim(); in getProfile() 491 profile.routes = mRoutes.getText().toString().trim(); in getProfile() 493 String proxyHost = mProxyHost.getText().toString().trim(); in getProfile() 494 String proxyPort = mProxyPort.getText().toString().trim(); in getProfile() 544 final String host = mProxyHost.getText().toString().trim(); in validateProxy() 545 final String port = mProxyPort.getText().toString().trim(); in validateProxy()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/ |
D | CaptionWindowLayout.java | 611 SpannableStringBuilder trim = new SpannableStringBuilder(); in updateText() local 612 trim.append(mBuilder); in updateText() 614 trim.delete(end + 1, last + 1); in updateText() 617 trim.delete(0, start); in updateText() 619 mSubtitleView.setPrefixSpaces(getPrefixSpaces(trim)); in updateText() 620 mSubtitleView.setText(trim); in updateText()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | Bpf2Apf.java | 62 String opcode = line.substring(6, 10).trim(); in convertLine() 63 String arg = line.substring(15, Math.min(32, line.length())).trim(); in convertLine() 210 String true_label = line.substring(jt_offset + 2, jf_offset).trim(); in convertLine() 211 String false_label = line.substring(jf_offset + 2).trim(); in convertLine()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupIncomingFragment.java | 429 mCacheLoginCredential = mUsernameView.getText().toString().trim(); in validateFields() 557 final String userName = mUsernameView.getText().toString().trim(); in collectUserInputInternal() 565 final String serverAddress = mServerView.getText().toString().trim(); in collectUserInputInternal() 568 serverPort = Integer.parseInt(mPortView.getText().toString().trim()); in collectUserInputInternal() 577 final String prefix = mImapPathPrefixView.getText().toString().trim(); in collectUserInputInternal() 622 intent.putExtra(CertificateRequestor.EXTRA_HOST, mServerView.getText().toString().trim()); in onCertificateRequested() 625 Integer.parseInt(mPortView.getText().toString().trim())); in onCertificateRequested()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | RecapitalizeStatusTests.java | 40 status.trim(); in testTrim() 46 status.trim(); in testTrim() 52 status.trim(); in testTrim() 58 status.trim(); in testTrim()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | NameConverter.java | 144 sb.append(family.trim()).append(' '); in buildPhoneticName() 147 sb.append(middle.trim()).append(' '); in buildPhoneticName() 150 sb.append(given.trim()).append(' '); in buildPhoneticName()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | ApnSettings.java | 97 apnName = apnName != null ? apnName.trim() : null; in load() 178 return value != null ? value.trim() : null; in trimWithNullCheck() 210 type = type.trim(); in isValidApnType()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 292 line = line.trim(); in readAdapterConfig() 304 adapterConfig.get(section).put(keyValue[0].trim(), in readAdapterConfig() 305 keyValue.length == 1 ? "" : keyValue[1].trim()); in readAdapterConfig()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameSplitter.java | 312 set.add(split[i].trim().toUpperCase()); in convertToSet() 561 prefix = prefix == null ? null: prefix.trim(); in join() 562 part1 = part1 == null ? null: part1.trim(); in join() 563 part2 = part2 == null ? null: part2.trim(); in join() 564 part3 = part3 == null ? null: part3.trim(); in join() 565 suffix = suffix == null ? null: suffix.trim(); in join()
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | SmtpSender.java | 197 executeSimpleCommand("RCPT TO:" + "<" + address.getAddress().trim() + ">"); in sendMessage() 200 executeSimpleCommand("RCPT TO:" + "<" + address.getAddress().trim() + ">"); in sendMessage() 203 executeSimpleCommand("RCPT TO:" + "<" + address.getAddress().trim() + ">"); in sendMessage()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeUtility.java | 188 return parts[0].trim(); in getHeaderParameter() 192 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter() 197 String parameter = parameterParts[1].trim(); in getHeaderParameter()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | DisplayController.java | 265 songTitle = songTitle.trim(); in setDetails() 266 songArtist = songArtist.trim(); in setDetails() 291 mStationName.setText(isEmpty ? null : name.trim()); in setStationName()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 198 return parts[0].trim(); in getHeaderParameter() 202 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter() 207 String parameter = parameterParts[1].trim(); in getHeaderParameter()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | EmailAddress.java | 73 name = Html.fromHtml(name.trim()).toString(); in getEmailAddress() 85 name = tokenizedName != null ? Html.fromHtml(tokenizedName.trim()).toString() : ""; in getEmailAddress()
|
/packages/services/Telephony/tests/src/com/android/phone/ecc/ |
D | EccDataTest.java | 55 assertThat(countryInfo.isoCode).isEqualTo(countryInfo.isoCode.toUpperCase().trim()); in testEccDataContent() 62 assertThat(eccInfo.phoneNumber).isEqualTo(eccInfo.phoneNumber.trim()); in testEccDataContent()
|