/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 105 final CharSequence[] charSequencesFromSpanned = SpannableStringUtils.split( in testSplitCharSequenceWithSpan() 107 final CharSequence[] charSequencesFromString = SpannableStringUtils.split( in testSplitCharSequenceWithSpan() 186 assertEquals(1, SpannableStringUtils.split("", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 188 assertEquals(1, SpannableStringUtils.split(new SpannedString(""), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 191 assertEquals(1, SpannableStringUtils.split("", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 193 assertEquals(1, SpannableStringUtils.split(new SpannedString(""), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 196 assertEquals(0, SpannableStringUtils.split(" ", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 198 assertEquals(0, SpannableStringUtils.split(new SpannedString(" "), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 201 assertEquals(2, SpannableStringUtils.split(" ", " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() 203 assertEquals(2, SpannableStringUtils.split(new SpannedString(" "), " ", in testSplitCharSequencePreserveTrailingEmptySegmengs() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 893 final String[] split = TextUtils.split(inString, SPLITTER_REGEX); in fromString() local 894 if (split.length < 20) { in fromString() 895 LogUtils.e(LOG_TAG, "split.length %d", split.length); in fromString() 900 f.folderUri = new FolderUri(Folder.getValidUri(split[index++])); in fromString() 901 f.name = split[index++]; in fromString() 902 f.hasChildren = Integer.parseInt(split[index++]) != 0; in fromString() 903 f.capabilities = Integer.parseInt(split[index++]); in fromString() 904 f.syncWindow = Integer.parseInt(split[index++]); in fromString() 905 f.conversationListUri = getValidUri(split[index++]); in fromString() 906 f.childFoldersListUri = getValidUri(split[index++]); in fromString() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 258 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 265 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 272 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 274 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() 283 parts = line.split("[^\\\\]:"); // Split on "un-escaped" : in parseVcard() 285 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() 294 parts = line.split("[^\\\\]:"); // Split on "un-escaped" : in parseVcard() 296 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() 304 parts = line.split("[^\\\\]:"); // Split on "un-escaped" : in parseVcard() 306 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() [all …]
|
D | BluetoothMapbMessageMime.java | 491 String[] headers = hdrPart.split("\r\n"); in parseMimeHeaders() 506 String[] headerParts = header.split(":",2); in parseMimeHeaders() 553 String[] contentTypeParts = headerValue.split(";"); in parseMimeHeaders() 559 boundary = contentTypeParts[j].split("boundary[\\s]*=", 2)[1].trim(); in parseMimeHeaders() 566 mCharset = contentTypeParts[j].split("charset[\\s]*=", 2)[1].trim(); in parseMimeHeaders() 579 String[] parts = partStr.split("\r\n\r\n", 2); // Split the header from the body in parseMimePart() 584 String[] headers = parts[0].split("\r\n"); in parseMimePart() 597 String[] headerParts = header.split(":",2); in parseMimePart() 606 String[] contentTypeParts = headerValue.split(";"); in parseMimePart() 613 newPart.mCharsetName = value.split("charset[\\s]*=", 2)[1].trim(); in parseMimePart() [all …]
|
/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() 120 final String params[] = param.split("=", 2); in readDictionaryCombined() 132 final String[] historicalInfoParams = params[1].split( in readDictionaryCombined() 155 final String params[] = param.split("=", 2); in readDictionaryCombined() 174 final String params[] = param.split("=", 2); in readDictionaryCombined() 184 params[1].split(CombinedFormatUtils.HISTORICAL_INFO_SEPARATOR); in readDictionaryCombined()
|
/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/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/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeMessageTest.java | 168 String[] split = rawHeader.split("\r\n"); in testSetSubjectPlain() local 169 assertEquals("64 shouldn't fold", 1, split.length); in testSetSubjectPlain() 174 split = rawHeader.split("\r\n"); in testSetSubjectPlain() 175 assertTrue("long subject should fold", split.length > 1); in testSetSubjectPlain() 176 for (String s : split) { in testSetSubjectPlain() 215 String[] split = rawHeader.split("\r\n"); in testSetLongSubject() local 216 assertTrue("long subject should fold", split.length > 1); in testSetLongSubject() 217 for (String s : split) { in testSetLongSubject()
|
/packages/experimental/procstatlog/ |
D | procstatreport.py | 178 last = last_state.get("/proc/stat:cpu", "").split() 179 next = state.get("/proc/stat:cpu", "").split() 306 last = last_state.get(key, zero_stat).split() 307 next = state.get(key, "").split() 397 last = last_state.get(key, "").split() 398 next = state.get(key, "").split() 405 net, interface = key.split(":", 1) 457 yaffs, partition, var = key.split(":", 2) 503 last = last_state.get(key, "").split() 504 next = state.get(key, "").split() [all …]
|
/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/services/Car/libvehiclenetwork/tool/ |
D | vehiclehal_code_gen.py | 96 words = name.split("_") 139 modes = p.changeMode.split('|') 155 accesses = p.access.split('|') 205 words = match.group(1).split()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | HandoverDataParser.java | 487 String[] split = address.split(":"); in addressToReverseBytes() local 488 byte[] result = new byte[split.length]; in addressToReverseBytes() 490 for (int i = 0; i < split.length; i++) { in addressToReverseBytes() 492 result[split.length - 1 - i] = (byte)Integer.parseInt(split[i], 16); in addressToReverseBytes()
|
/packages/services/Car/service/src/com/android/car/ |
D | AudioRoutingPolicy.java | 74 String[] streamPolicies = policy.split("#"); in AudioRoutingPolicy() 83 String[] numberVsStreams = streamPolicy.split(":"); in AudioRoutingPolicy() 85 String[] logicalStreams = numberVsStreams[1].split(","); in AudioRoutingPolicy()
|
/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
|
D | PathMatcher.java | 33 String[] segments = Path.split(pattern); in add() 42 String[] segments = path.split(); in match()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | OpenWnnClauseConverterJAJP.java | 273 for (int split = 1; split < input.length(); split++) { in singleClauseConvert() 275 String str = input.substring(split); in singleClauseConvert() 282 str = input.substring(0, split); in singleClauseConvert()
|
/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()
|
/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/Bluetooth/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 176 String[] args = atString.split("="); in handleCscsCommand() 182 String characterSet = ((atString.split("="))[1]); in handleCscsCommand() 236 String[] args = atString.split("="); in handleCpbsCommand() 321 if ((atString.split("=")).length < 2) { in handleCpbrCommand() 326 String atCommand = (atString.split("="))[1]; in handleCpbrCommand() 327 String[] indices = atCommand.split(","); in handleCpbrCommand()
|
/packages/apps/Camera2/tests/exiftool_parser/ |
D | parser.py | 48 ifd = s[2][l + 3:].split()[0] 72 name = name.group(0).split()[1]
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/ |
D | OmtpSmsParser.java | 69 String[] entries = message.split(OmtpConstants.SMS_FIELD_SEPARATOR); in parseSmsBody() 71 String[] keyValue = entry.split(OmtpConstants.SMS_KEY_VALUE_SEPARATOR); in parseSmsBody()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | DefaultAppSearchAlgorithm.java | 64 final String[] queryWords = SPLIT_PATTERN.split(queryTextLower); in getTitleMatchResult() 77 String[] words = SPLIT_PATTERN.split(title.toLowerCase()); in matches()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | NgramContextUtils.java | 62 final String[] lines = NEWLINE_REGEX.split(prev); in getNgramContextFromNthPreviousWord() 66 final String[] w = SPACE_REGEX.split(lines[lines.length - 1]); in getNgramContextFromNthPreviousWord()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameSplitter.java | 310 String[] split = strings.split(","); in convertToSet() local 311 for (int i = 0; i < split.length; i++) { in convertToSet() 312 set.add(split[i].trim().toUpperCase()); in convertToSet() 345 public void split(Name name, String fullName) { in split() method in NameSplitter 355 split(name, fullName, fullNameStyle); in split() 362 public void split(Name name, String fullName, int fullNameStyle) { in split() method in NameSplitter
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | HostAuth.java | 202 String[] schemeParts = scheme.split("\\+"); in getSchemeFlags() 314 String[] userInfoParts = userInfo.split(":", 2); in setLogin() 548 String[] schemeParts = scheme.split("\\+"); in setConnection() 568 final String[] schemeParts = scheme.split("\\+"); in getProtocolFromString()
|