/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtils.java | 30 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()
|
/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
D | NotificationOtpDetectionHelper.java | 53 import java.util.regex.Matcher; 54 import java.util.regex.Pattern; 161 StringBuilder regex = new StringBuilder("(?i)\\b("); in createDictionaryRegex() local 163 regex.append(words[i]); in createDictionaryRegex() 165 regex.append("|"); in createDictionaryRegex() 168 regex.append(")\\b"); in createDictionaryRegex() 169 return Pattern.compile(regex.toString()).matcher(""); in createDictionaryRegex()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | BasePermissionTest.kt | 67 import java.util.regex.Pattern in <lambda>() 249 var regex = "" in <lambda>() variable 252 regex = regex + Pattern.quote(text) + "|" in <lambda>() 255 if (regex.endsWith("|")) { in <lambda>() 256 regex = regex.dropLast(1) in <lambda>() 258 return By.text(Pattern.compile(regex, Pattern.CASE_INSENSITIVE or Pattern.UNICODE_CASE)) in <lambda>()
|
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/groovy/ |
D | ExcludeUtils.groovy | 3 import java.util.regex.Pattern 10 * - its path matches one of the regex in [regexToKeep]. 31 * - its path matches one of the regex in [regexToExclude].
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | Query.java | 26 import java.util.regex.MatchResult; 27 import java.util.regex.Matcher; 28 import java.util.regex.Pattern;
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | AddToHomeScreenPrompt.java | 19 import static java.util.regex.Pattern.CASE_INSENSITIVE; 25 import java.util.regex.Pattern;
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | AdbQrCode.java | 26 import java.util.regex.Pattern; 157 String regex = "(?<!\\\\)" + Pattern.quote(delimiter); in getKeyValueList() local 158 return Arrays.asList(keyValueString.split(regex)); in getKeyValueList()
|
/packages/modules/SdkExtensions/ |
D | api-to-sdk-ext-info.py | 38 def print_members(regex, contents): argument 42 for symbol_name in regex.findall(contents):
|
/packages/apps/Settings/tests/unit/src/com/android/settings/core/codeinspection/ |
D | ClassScanner.java | 24 import java.util.regex.Matcher; 25 import java.util.regex.Pattern;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/ |
D | ClassScanner.java | 24 import java.util.regex.Matcher; 25 import java.util.regex.Pattern;
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 40 import java.util.regex.Matcher; 41 import java.util.regex.Pattern; 228 Pattern regex = Pattern.compile("^(.*)\tdevice$"); in getDeviceSerials() local 230 Matcher m = regex.matcher(line); in getDeviceSerials()
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/ |
D | Skill.java | 23 import java.util.regex.Matcher; 24 import java.util.regex.Pattern;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
D | BluetoothNameUtils.java | 21 import java.util.regex.Matcher; 22 import java.util.regex.Pattern;
|
/packages/modules/AdServices/adservices/libraries/collectors-helper/adservices/src/com/android/adservices/helpers/ |
D | EpochComputationHelper.java | 28 import java.util.regex.Matcher; 29 import java.util.regex.Pattern;
|
D | UiLatencyHelper.java | 28 import java.util.regex.Matcher; 29 import java.util.regex.Pattern;
|
D | AdIdLatencyHelper.java | 29 import java.util.regex.Matcher; 30 import java.util.regex.Pattern;
|
/packages/modules/DnsResolver/tests/ |
D | resolv_stats_test_utils.cpp | 61 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/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/ |
D | BmsgTokenizer.java | 22 import java.util.regex.Matcher; 23 import java.util.regex.Pattern;
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | ProxyUtils.java | 25 import java.util.regex.Matcher; 26 import java.util.regex.Pattern;
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | _helpers.py | 80 regex = re.compile(docstring) 85 match = regex.fullmatch(description)
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | WindowDumpParser.java | 22 import java.util.regex.Matcher; 23 import java.util.regex.Pattern;
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | UiTestHelper.kt | 39 import java.util.regex.Pattern 245 val regex = in anyOf() constant 249 return Pattern.compile(regex) in anyOf()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | MigrateSystemAppsSnapshotTask.java | 30 import java.util.regex.Matcher; 31 import java.util.regex.Pattern;
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | WebAddress.java | 22 import java.util.regex.Matcher; 23 import java.util.regex.Pattern;
|
/packages/providers/MediaProvider/src/com/android/providers/media/playlist/ |
D | PlsPlaylistPersister.java | 32 import java.util.regex.Matcher; 33 import java.util.regex.Pattern;
|