Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 123) sorted by relevance

12345

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSpannableStringUtils.java30 import java.util.regex.Matcher;
31 import java.util.regex.Pattern;
150 public static CharSequence[] split(final CharSequence charSequence, final String regex, in split() argument
155 return charSequence.toString().split(regex, preserveTrailingEmptySegments ? -1 : 0); in split()
160 final Matcher matcher = Pattern.compile(regex).matcher(charSequence); in split()
DBinaryDictionaryUtils.java29 import java.util.regex.Matcher;
30 import java.util.regex.Pattern;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java319 for (String regex : mUsbRegexs) { in updateUsbState()
320 if (s.matches(regex)) { in updateUsbState()
329 for (String regex : mUsbRegexs) { in updateUsbState()
330 if (s.matches(regex)) usbTethered = true; in updateUsbState()
335 for (String regex : mUsbRegexs) { in updateUsbState()
336 if (s.matches(regex)) usbErrored = true; in updateUsbState()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DFailureInvestigator.java28 import java.util.regex.Pattern;
31 private static boolean matches(String regex, CharSequence string) { in matches() argument
32 return Pattern.compile(regex).matcher(string).find(); in matches()
DTestStabilityRule.java35 import java.util.regex.Matcher;
36 import java.util.regex.Pattern;
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java370 for (String regex : mUsbRegexs) { in updateUsbState()
371 if (s.matches(regex)) { in updateUsbState()
380 for (String regex : mUsbRegexs) { in updateUsbState()
381 if (s.matches(regex)) usbTethered = true; in updateUsbState()
386 for (String regex : mUsbRegexs) { in updateUsbState()
387 if (s.matches(regex)) usbErrored = true; in updateUsbState()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DQuery.java26 import java.util.regex.MatchResult;
27 import java.util.regex.Matcher;
28 import java.util.regex.Pattern;
/packages/modules/DnsResolver/tests/
Dresolv_stats_test_utils.cpp61 std::regex re(": "); in fromNetworkDnsEventReportedStr()
64 static const std::regex words_regex("[^\\s]+"); in fromNetworkDnsEventReportedStr()
86 static const std::regex pieces_regex("([a-zA-Z0-9_]+)\\:([0-9]+),"); in fromNetworkDnsEventReportedStr()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiQrCode.java26 import java.util.regex.Pattern;
156 String regex = "(?<!\\\\)" + Pattern.quote(delimiter); in getKeyValueList() local
158 List<String> result = Arrays.asList(keyValueString.split(regex)); in getKeyValueList()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiQrCode.java26 import java.util.regex.Pattern;
156 String regex = "(?<!\\\\)" + Pattern.quote(delimiter); in getKeyValueList() local
158 return Arrays.asList(keyValueString.split(regex)); in getKeyValueList()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAddToHomeScreenPrompt.java19 import static java.util.regex.Pattern.CASE_INSENSITIVE;
27 import java.util.regex.Pattern;
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/
DClassScanner.java24 import java.util.regex.Matcher;
25 import java.util.regex.Pattern;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothNameUtils.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmsgTokenizer.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
DObexTime.java23 import java.util.regex.Matcher;
24 import java.util.regex.Pattern;
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DMigrateSystemAppsSnapshotTask.java30 import java.util.regex.Matcher;
31 import java.util.regex.Pattern;
/packages/providers/MediaProvider/src/com/android/providers/media/playlist/
DPlsPlaylistPersister.java32 import java.util.regex.Matcher;
33 import java.util.regex.Pattern;
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DUfsWearInformationProvider.java28 import java.util.regex.MatchResult;
29 import java.util.regex.Pattern;
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DGpsCoordinatesTextClassifier.java28 import java.util.regex.Matcher;
29 import java.util.regex.Pattern;
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyThreadsCompat.java32 import java.util.regex.Matcher;
33 import java.util.regex.Pattern;
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsReleaseStorage.java28 import java.util.regex.Matcher;
29 import java.util.regex.Pattern;
DMmsSmsUtils.java31 import java.util.regex.Matcher;
32 import java.util.regex.Pattern;
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/
DEventDescriptions.java39 import java.util.regex.Matcher;
40 import java.util.regex.Pattern;
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDateTime.java24 import java.util.regex.Matcher;
25 import java.util.regex.Pattern;

12345