/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 122 final CharSequence[] charSequencesFromSpanned = SpannableStringUtils.split( in testSplitCharSequenceWithSpan() 124 final CharSequence[] charSequencesFromString = SpannableStringUtils.split( in testSplitCharSequenceWithSpan() 204 assertEquals(1, SpannableStringUtils.split("", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 206 assertEquals(1, SpannableStringUtils.split(new SpannedString(""), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 209 assertEquals(1, SpannableStringUtils.split("", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 211 assertEquals(1, SpannableStringUtils.split(new SpannedString(""), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 214 assertEquals(0, SpannableStringUtils.split(" ", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 216 assertEquals(0, SpannableStringUtils.split(new SpannedString(" "), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 219 assertEquals(2, SpannableStringUtils.split(" ", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 221 assertEquals(2, SpannableStringUtils.split(new SpannedString(" "), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 257 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 264 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 271 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 273 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() 282 parts = line.split("[^\\\\]:"); // Split on "un-escaped" : in parseVcard() 284 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() 293 parts = line.split("[^\\\\]:"); // Split on "un-escaped" : in parseVcard() 295 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() 303 parts = line.split("[^\\\\]:"); // Split on "un-escaped" : in parseVcard() 305 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() [all …]
|
D | BluetoothMapbMessageMime.java | 552 String[] headers = hdrPart.split("\r\n"); in parseMimeHeaders() 572 String[] headerParts = header.split(":", 2); in parseMimeHeaders() 620 String[] contentTypeParts = headerValue.split(";"); 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() 650 String[] parts = partStr.split("\r\n\r\n", 2); // Split the header from the body in parseMimePart() 655 String[] headers = parts[0].split("\r\n"); in parseMimePart() 670 String[] headerParts = header.split(":", 2); in parseMimePart() 683 String[] contentTypeParts = headerValue.split(";"); in parseMimePart() 689 newPart.mCharsetName = value.split("charset[\\s]*=", 2)[1].trim(); in parseMimePart() [all …]
|
/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
D | int_array_view_test.cpp | 155 EXPECT_TRUE(IntArrayView().split(0, 0).empty()); in TEST() 157 const auto intArrayViews = IntArrayView().split(0, 1); in TEST() 162 const auto intArrayViews = IntArrayView().split(0, 100); in TEST() 170 const auto intArrayViews = intArrayView.split(2); in TEST() 177 const auto intArrayViews = intArrayView.split(2, 2); in TEST() 183 const auto intArrayViews = intArrayView.split(2, 1); in TEST() 188 const auto intArrayViews = intArrayView.split(2, 0); in TEST() 192 const auto intArrayViews = intArrayView.split(3); in TEST()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/search/ |
D | SearchData.java | 42 String[] split = searchDataString.trim().split(DELIM, -1); in from() local 44 if (split.length != 2) { in from() 49 .setTitle(split[0]) in from() 50 .setKey(split[1]) in from()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 83 final String header[] = headerLine.split(","); in readDictionaryCombined() 86 final String keyValue[] = item.split("="); in readDictionaryCombined() 106 final String args[] = line.trim().split(","); in readDictionaryCombined() 119 final String params[] = param.split("=", 2); in readDictionaryCombined() 131 final String[] historicalInfoParams = params[1].split( in readDictionaryCombined() 154 final String params[] = param.split("=", 2); in readDictionaryCombined() 164 params[1].split(CombinedFormatUtils.HISTORICAL_INFO_SEPARATOR); in readDictionaryCombined()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | CodesArrayParser.java | 50 final String[] strs = codesArraySpec.split(VERTICAL_BAR_REGEX, -1); in getLabelSpec() 60 for (final String codeInHex : labelSpec.split(COMMA_REGEX)) { in parseLabel() 68 final String[] strs = codesArraySpec.split(VERTICAL_BAR_REGEX, -1); in getCodeSpec() 76 final String[] strs = codesArraySpec.split(VERTICAL_BAR_REGEX, -1); in getMinSupportSdkVersion() 101 for (final String codeInHex : codeSpec.split(COMMA_REGEX)) { in parseOutputText()
|
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/ |
D | ParameterParser.java | 67 String[] parts = input.split(" "); in parsePhoneNumberRange() 88 String[] parts = input.split("/"); in parseRadioAccessSpecifier() 90 String[] bandStrings = parts[1].split("\\+"); in parseRadioAccessSpecifier() 92 String[] chanStrings = parts[2].split("\\+"); in parseRadioAccessSpecifier() 109 String[] components = input.split(" "); in parseList()
|
/packages/services/Car/tools/emulator/ |
D | prop_event_simulator.py | 20 return map(int, val.split(',')) 24 return map(long, val.split(',')) 28 return map(float, val.split(',')) 62 property in default VHAL. If the value is array, use comma to split values')
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardController.java | 109 final String[] split = card.getName().split("/"); in getSimpleCardName() local 110 return split[split.length - 1]; in getSimpleCardName()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | SliceContextualCardController.java | 109 final String[] split = card.getName().split("/"); in getSimpleCardName() local 110 return split[split.length - 1]; in getSimpleCardName()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MetadataUtils.java | 94 String [] parts = rationalString.split(","); in convertRationalLatLonToFloat() 97 pair = parts[0].split("/"); in convertRationalLatLonToFloat() 101 pair = parts[1].split("/"); in convertRationalLatLonToFloat() 105 pair = parts[2].split("/"); in convertRationalLatLonToFloat()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | HandoverDataParser.java | 574 String[] split = address.split(":"); in addressToReverseBytes() local 575 if (split.length < 6) { in addressToReverseBytes() 579 byte[] result = new byte[split.length]; in addressToReverseBytes() 581 for (int i = 0; i < split.length; i++) { in addressToReverseBytes() 583 result[split.length - 1 - i] = (byte)Integer.parseInt(split[i], 16); in addressToReverseBytes()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Path.java | 86 String[] segments = split(); in toString() 102 String[] segments = split(s); in fromString() 111 public String[] split() { in split() method in Path 126 public static String[] split(String s) { in split() method in Path
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceBuilderUtils.java | 141 final String[] split = path.split("/", 3); in getPathData() local 146 if (split.length != 3) { in getPathData() 151 split[1]); in getPathData() 153 return new Pair<>(isIntent, split[2]); in getPathData() 413 final String[] keywordArray = keywordString.split(","); in buildSliceKeywords()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | LocaleUtils.java | 113 final String[] referenceParams = referenceLocale.split("_", 3); in getMatchLevel() 114 final String[] testedParams = testedLocale.split("_", 3); in getMatchLevel() 177 final String[] elements = localeString.split("_", 3); in constructLocaleFromString()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorSpringBoardActivity.java | 163 final SplitContactConfirmationDialogFragment split = in showDialog() local 167 if (split != null && split.isAdded()) { in showDialog() 168 fm.beginTransaction().show(split).commitAllowingStateLoss(); in showDialog()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBuilderUtils.java | 143 final String[] split = path.split("/", 3); in getPathData() local 148 if (split.length != 3) { in getPathData() 153 split[1]); in getPathData() 155 return new Pair<>(isIntent, split[2]); in getPathData() 419 final String[] keywordArray = keywordString.split(","); in buildSliceKeywords()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 178 String[] args = atString.split("="); in handleCscsCommand() 183 String characterSet = ((atString.split("="))[1]); in handleCscsCommand() 239 String[] args = atString.split("="); in handleCpbsCommand() 327 if ((atString.split("=")).length < 2) { in handleCpbrCommand() 332 String atCommand = (atString.split("="))[1]; in handleCpbrCommand() 333 String[] indices = atCommand.split(","); in handleCpbrCommand()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CbGeoUtils.java | 62 for (String geometryStr : str.split("\\s*;\\s*")) { in parseGeometriesFromString() 63 String[] geoParameters = geometryStr.split("\\s*\\|\\s*"); in parseGeometriesFromString() 145 String[] latLng = str.split("\\s*,\\s*"); in parseLatLngFromString()
|
/packages/services/Car/tests/BugReportApp/utils/ |
D | bugreport_app_tester.py | 160 lines = re.split(r'\r?\n', converted) 213 pids_raw = [pid.strip() for pid in re.split(r'\s+', ' '.join(lines))] 395 file_ext = info.filename.split('.')[-1] 407 ext = file.name.split('.')[-1] 435 lines = file.content.decode('ascii', 'ignore').split('\n')
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceInfo.java | 111 String[] serviceParamTokens = rawServiceInfo.split("#"); in parse() 129 for (String keyValueStr : serviceParamTokens[1].split(",")) { in parse() 130 String[] pair = keyValueStr.split("="); in parse()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | EncodedStringValue.java | 227 public EncodedStringValue[] split(String pattern) { in split() method in EncodedStringValue 228 String[] temp = getString().split(pattern); in split() 246 String[] values = src.split(";"); in extract()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/logging/ |
D | ContextualCardLogUtils.java | 158 final String[] parts = clickLog.split("\\|"); in parseCardClickLog() 196 final String[] parts = dismissLog.split("\\|"); in parseCardDismissLog() 232 final String[] parts = listLog.split("\\|"); in parseCardListLog()
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | EncodedStringValue.java | 212 public EncodedStringValue[] split(String pattern) { in split() method in EncodedStringValue 213 String[] temp = getString().split(pattern); in split() 231 String[] values = src.split(";"); in extract()
|