Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 106) 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.java322 for (String regex : mUsbRegexs) { in updateUsbState()
323 if (s.matches(regex)) { in updateUsbState()
332 for (String regex : mUsbRegexs) { in updateUsbState()
333 if (s.matches(regex)) usbTethered = true; in updateUsbState()
338 for (String regex : mUsbRegexs) { in updateUsbState()
339 if (s.matches(regex)) usbErrored = true; in updateUsbState()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java354 for (String regex : mUsbRegexs) { in updateUsbState()
355 if (s.matches(regex)) { in updateUsbState()
364 for (String regex : mUsbRegexs) { in updateUsbState()
365 if (s.matches(regex)) usbTethered = true; in updateUsbState()
370 for (String regex : mUsbRegexs) { in updateUsbState()
371 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/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiQrCode.java26 import java.util.regex.Pattern;
159 String regex = "(?<!\\\\)" + Pattern.quote(delimiter); in getKeyValueList() local
161 List<String> result = Arrays.asList(keyValueString.split(regex)); in getKeyValueList()
/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/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/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAddToHomeScreenPrompt.java19 import static java.util.regex.Pattern.CASE_INSENSITIVE;
24 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/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/Launcher3/tests/src/com/android/launcher3/util/rule/
DTestStabilityRule.java33 import java.util.regex.Matcher;
34 import java.util.regex.Pattern;
/packages/modules/SdkExtensions/tests/test-src/com/android/tests/apex/sdkextensions/
DSdkExtensionsHostTest.java34 import java.util.regex.Matcher;
35 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/Contacts/src/com/android/contacts/compat/
DTelephonyThreadsCompat.java32 import java.util.regex.Matcher;
33 import java.util.regex.Pattern;
/packages/services/Telephony/src/com/android/services/telephony/
DMmiCodeUtil.java19 import java.util.regex.Matcher;
20 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;
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DQueryBoldingUtil.java28 import java.util.regex.Matcher;
29 import java.util.regex.Pattern;

12345