Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 112) sorted by relevance

12345

/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeMessageTest.java168 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/
Dprocstatreport.py178 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/apps/Settings/src/com/android/settings/net/
DNetworkPolicyEditor.java264 public void setMobilePolicySplit(String subscriberId, boolean split) { in setMobilePolicySplit() argument
265 if (setMobilePolicySplitInternal(subscriberId, split)) { in setMobilePolicySplit()
277 private boolean setMobilePolicySplitInternal(String subscriberId, boolean split) { in setMobilePolicySplitInternal() argument
284 if (split == beforeSplit) { in setMobilePolicySplitInternal()
288 } else if (beforeSplit && !split) { in setMobilePolicySplitInternal()
302 } else if (!beforeSplit && split) { in setMobilePolicySplitInternal()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLocaleUtils.java116 String[] referenceParams = referenceLocale.split("_", 3); in getMatchLevel()
117 String[] testedParams = testedLocale.split("_", 3); in getMatchLevel()
211 String[] localeParams = localeStr.split("_", 3); in constructLocaleFromString()
230 final String[] ss = str.split(LOCALE_AND_TIME_STR_SEPARATER); in localeAndTimeStrToHashMap()
DAdditionalSubtype.java78 final String elems[] = prefSubtype.split(LOCALE_AND_LAYOUT_SEPARATOR); in createAdditionalSubtype()
92 final String[] prefSubtypeArray = prefSubtypes.split(PREF_SUBTYPE_SEPARATOR); in createAdditionalSubtypesArray()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java86 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
DPathMatcher.java33 String[] segments = Path.split(pattern); in add()
42 String[] segments = path.split(); in match()
DComboSource.java38 String[] segments = path.split(); in createMediaObject()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DPathTest.java41 String[] s = p.split(); in testSplit()
47 assertEquals(0, p.split().length); in testSplit()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnClauseConverterJAJP.java273 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/Browser/tools/
Dget_search_engines.py119 engine_data_lines = engine_data_str.split('\n')
132 engine_data = engine_data_str.split(',')
170 engines = engines_str.split(',')
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java169 String[] args = atString.split("="); in handleCscsCommand()
174 String characterSet = ((atString.split("="))[1]); in handleCscsCommand()
231 String[] args = atString.split("="); in handleCpbsCommand()
312 if ((atString.split("=")).length < 2) { in handleCpbrCommand()
316 String atCommand = (atString.split("="))[1]; in handleCpbrCommand()
317 String[] indices = atCommand.split(","); in handleCpbrCommand()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverManager.java556 String[] split = address.split(":"); in addressToReverseBytes() local
557 byte[] result = new byte[split.length]; in addressToReverseBytes()
559 for (int i = 0; i < split.length; i++) { in addressToReverseBytes()
561 result[split.length - 1 - i] = (byte)Integer.parseInt(split[i], 16); in addressToReverseBytes()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java58 for (String channelRange : ranges.split(",")) { in setChannelRange()
104 for (String channelRange : emergencyIdRange.split(",")) { in isEmergencyAlertMessage()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsUtils.java165 String[] testParts = testDomain.split(DOMAIN_SEPARATOR); in matchProvider()
166 String[] providerParts = providerDomain.split(DOMAIN_SEPARATOR); in matchProvider()
235 String[] emailParts = email.split("@"); in expandTemplates()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DCommandRecognizerEngine.java268 String[] words = label.split(" "); in loadOpenEntriesTable()
970 String[] commands = semantic.trim().split(" "); in onRecognitionSuccess()
980 literal.split(" ")[0].trim() + " " + num, "", 0); in onRecognitionSuccess()
1058 String[] words = literal.trim().split(" "); in onRecognitionSuccess()
1161 String[] components = meaning.trim().split(" "); in onRecognitionSuccess()
1177 intent.putExtra(SENTENCE_EXTRA, literal.split(" ")[0] + " " + label); in onRecognitionSuccess()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountWithDataSet.java156 final String[] array = STRINGIFY_SEPARATOR_PAT.split(s, 3); in unstringify()
191 final String[] array = ARRAY_STRINGIFY_SEPARATOR_PAT.split(s); in unstringifyList()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameSplitterTest.java316 mNameSplitter.split(name, fullName); in assertSplitName()
345 mNameSplitter.split(name, fullName); in assertFullNameStyle()
354 mNameSplitter.split(name, fullName); in assertFullNameStyle()
/packages/apps/Email/src/com/android/email/
DStopWatch.java53 public void split(String label) { in split() method in StopWatch
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java310 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()
348 public void split(Name name, String fullName) { in split() method in NameSplitter
358 split(name, fullName, fullNameStyle); in split()
365 public void split(Name name, String fullName, int fullNameStyle) { in split() method in NameSplitter
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DFilterUtils.java123 String[] segments = path.split(); in getAppliedFilters()
232 String[] segments = Path.split(base); in removeOneClusterFromPath()
/packages/apps/Browser/src/com/android/browser/
DUploadHandler.java116 String params[] = acceptType.split(";"); in openFileChooser()
129 String[] keyValue = p.split("="); in openFileChooser()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DElementTimeImpl.java71 String[] beginTimeStringList = mSmilElement.getAttribute("begin").split(";"); in getBegin()
125 String[] endTimeStringList = mSmilElement.getAttribute("end").split(";"); in getEnd()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java150 String[] schemeParts = scheme.split("\\+"); in getSchemeFlags()
205 String[] userInfoParts = userInfo.split(":", 2); in setLogin()
424 String[] schemeParts = scheme.split("\\+"); in setConnection()
/packages/apps/Mms/src/com/android/mms/ui/
DNoConfirmationSendService.java79 String[] dests = TextUtils.split(recipients, ";"); in onHandleIntent()

12345