Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 116) 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/apps/Settings/src/com/android/settings/
DTetherSettings.java323 for (String regex : mUsbRegexs) { in updateUsbState()
324 if (s.matches(regex)) { in updateUsbState()
333 for (String regex : mUsbRegexs) { in updateUsbState()
334 if (s.matches(regex)) usbTethered = true; in updateUsbState()
339 for (String regex : mUsbRegexs) { in updateUsbState()
340 if (s.matches(regex)) usbErrored = true; in updateUsbState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java323 for (String regex : mUsbRegexs) { in updateUsbState()
324 if (s.matches(regex)) { in updateUsbState()
333 for (String regex : mUsbRegexs) { in updateUsbState()
334 if (s.matches(regex)) usbTethered = true; in updateUsbState()
339 for (String regex : mUsbRegexs) { in updateUsbState()
340 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/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 List<String> result = Arrays.asList(keyValueString.split(regex)); in getKeyValueList()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DSplitter.java28 import java.util.regex.Matcher;
29 import java.util.regex.Pattern;
30 import java.util.regex.PatternSyntaxException;
/packages/apps/Email/src/com/android/email/mail/internet/
DEmailHtmlUtil.java19 import java.util.regex.Matcher;
20 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/UnifiedEmail/src/com/android/mail/
DEmailAddress.java24 import java.util.regex.Matcher;
25 import java.util.regex.Pattern;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
DField.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/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java22 import java.util.regex.Matcher;
23 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/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java43 import java.util.regex.Matcher;
44 import java.util.regex.Pattern;
307 Pattern regex = Pattern.compile(NOW_PLAYING_ID_PATTERN); in playNowPlayingItem() local
308 Matcher m = regex.matcher(mediaId); in playNowPlayingItem()
/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/apps/Dialer/java/com/android/dialer/searchfragment/common/
DQueryBoldingUtil.java28 import java.util.regex.Matcher;
29 import java.util.regex.Pattern;
/packages/modules/NetworkStack/common/
DCaptivePortalProbeSpec.java35 import java.util.regex.Pattern;
36 import java.util.regex.PatternSyntaxException;

12345