/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 | 143 String[] pairs = channelRange.substring(colonIndex + 1).trim().split(","); in CellBroadcastChannelRange() 145 pair = pair.trim(); in CellBroadcastChannelRange() 148 String key = tokens[0].trim(); in CellBroadcastChannelRange() 149 String value = tokens[1].trim(); in CellBroadcastChannelRange() 205 channelRange = channelRange.substring(0, colonIndex).trim(); in CellBroadcastChannelRange() 212 mStartId = Integer.decode(channelRange.substring(0, dashIndex).trim()); in CellBroadcastChannelRange() 213 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/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/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialog.java | 569 profile.server = mServer.getText().toString().trim(); in getProfile() 576 profile.searchDomains = mSearchDomains.getText().toString().trim(); in getProfile() 577 profile.dnsServers = mDnsServers.getText().toString().trim(); in getProfile() 578 profile.routes = mRoutes.getText().toString().trim(); in getProfile() 584 String proxyHost = mProxyHost.getText().toString().trim(); in getProfile() 585 String proxyPort = mProxyPort.getText().toString().trim(); in getProfile() 638 final String host = mProxyHost.getText().toString().trim(); in validateProxy() 639 final String port = mProxyPort.getText().toString().trim(); in validateProxy()
|
/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/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/apps/TV/tuner/src/com/android/tv/tuner/cc/ |
D | CaptionWindowLayout.java | 692 SpannableStringBuilder trim = new SpannableStringBuilder(); in updateText() local 693 trim.append(mBuilder); in updateText() 695 trim.delete(end + 1, last + 1); in updateText() 698 trim.delete(0, start); in updateText() 700 mSubtitleView.setPrefixSpaces(getPrefixSpaces(trim)); in updateText() 701 mSubtitleView.setText(trim); in updateText()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | ApnSettings.java | 96 apnName = apnName != null ? apnName.trim() : null; in load() 179 return value != null ? value.trim() : null; in trimWithNullCheck() 211 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/apps/Car/Radio/src/com/android/car/radio/ |
D | DisplayController.java | 261 songTitle = songTitle.trim(); in setDetails() 262 songArtist = songArtist.trim(); in setDetails() 287 mStationName.setText(isEmpty ? null : name.trim()); in setStationName()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | AlphabeticIndexCompat.java | 50 String s = Utilities.trim(cs); in computeSectionName() 52 if (Utilities.trim(sectionName).isEmpty() && s.length() > 0) { in computeSectionName()
|
/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/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipTransformation.java | 64 transformations = transformations.trim().toLowerCase(); in BipTransformation() 179 return transformations.trim(); in toString()
|
/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/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()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 245 String pb = args[1].trim(); in handleCpbsCommand() 336 indices[i] = indices[i].replace(';', ' ').trim(); in handleCpbrCommand() 560 name = name.trim(); in processCpbrCommand() 575 number = number.trim(); in processCpbrCommand()
|
/packages/modules/NetworkStack/tests/hostdriven/host/src/com/android/networkstack/hosttests/ |
D | NetworkStackHostTests.kt | 100 assertTrue(amResult?.stdout?.trim()?.startsWith("Restart the system") ?: false, in applyUpdateAndCheckNetworkStackRegistered() 160 cmdResult.stdout?.trim()?.let { in waitForDumpsys()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | CreateCustomSmsDialogFragment.java | 75 .customSmsCreated(editText.getText().toString().trim()); in onCreateDialog() 117 sendButton.setEnabled(editable != null && editable.toString().trim().length() != 0); in onCreateDialog()
|