Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/java/android/service/autofill/
DImageTransformation.java36 import java.util.regex.Pattern;
129 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId) { in Builder() argument
131 addOption(regex, resId); in Builder()
144 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId, in Builder() argument
147 addOption(regex, resId, contentDescription); in Builder()
162 public Builder addOption(@NonNull Pattern regex, @DrawableRes int resId) { in addOption() argument
163 addOptionInternal(regex, resId, null); in addOption()
178 public Builder addOption(@NonNull Pattern regex, @DrawableRes int resId, in addOption() argument
180 addOptionInternal(regex, resId, Preconditions.checkNotNull(contentDescription)); in addOption()
184 private void addOptionInternal(@NonNull Pattern regex, @DrawableRes int resId, in addOptionInternal() argument
[all …]
DCharSequenceTransformation.java35 import java.util.regex.Matcher;
36 import java.util.regex.Pattern;
132 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @NonNull String subst) { in Builder() argument
133 addField(id, regex, subst); in Builder()
147 public Builder addField(@NonNull AutofillId id, @NonNull Pattern regex, in addField() argument
151 Preconditions.checkNotNull(regex); in addField()
154 mFields.put(id, new Pair<>(regex, subst)); in addField()
DTextValueSanitizer.java31 import java.util.regex.Matcher;
32 import java.util.regex.Pattern;
59 public TextValueSanitizer(@NonNull Pattern regex, @NonNull String subst) { in TextValueSanitizer() argument
60 mRegex = Preconditions.checkNotNull(regex); in TextValueSanitizer()
DRegexValidator.java30 import java.util.regex.Pattern;
52 public RegexValidator(@NonNull AutofillId id, @NonNull Pattern regex) { in RegexValidator() argument
54 mRegex = Preconditions.checkNotNull(regex); in RegexValidator()
/frameworks/base/core/tests/coretests/src/android/database/
Dprocess_newdb_perf_test_logs.py38 regex = r"NewDatabasePerformanceTests: Test (\w+) took (\d+) ms"
39 matches = re.search(regex, line)
59 regex = r"Test .* totalWriteBytes=(\d+)"
60 matches = re.search(regex, line)
/frameworks/base/services/core/java/com/android/server/
DExtconUEventObserver.java29 import java.util.regex.Pattern;
93 public static List<ExtconInfo> getExtconInfos(@Nullable String regex) { in getExtconInfos() argument
97 Pattern p = regex == null ? null : Pattern.compile(regex); in getExtconInfos()
112 if (LOG) Slog.d(TAG, name + " matches " + regex); in getExtconInfos()
114 if (LOG) Slog.d(TAG, name + " does not match " + regex); in getExtconInfos()
/frameworks/opt/chips/src/com/android/ex/chips/
DPhoneUtil.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java22 import java.util.regex.Pattern;
133 public UiSelector textMatches(String regex) { in textMatches() argument
134 return buildSelector(SELECTOR_TEXT_REGEX, Pattern.compile(regex)); in textMatches()
185 public UiSelector classNameMatches(String regex) { in classNameMatches() argument
186 return buildSelector(SELECTOR_CLASS_REGEX, Pattern.compile(regex)); in classNameMatches()
237 public UiSelector descriptionMatches(String regex) { in descriptionMatches() argument
238 return buildSelector(SELECTOR_DESCRIPTION_REGEX, Pattern.compile(regex)); in descriptionMatches()
302 public UiSelector resourceIdMatches(String regex) { in resourceIdMatches() argument
303 return buildSelector(SELECTOR_RESOURCE_ID_REGEX, Pattern.compile(regex)); in resourceIdMatches()
580 public UiSelector packageNameMatches(String regex) { in packageNameMatches() argument
[all …]
/frameworks/rs/tests/lldb/tests/harness/
Dtest_base.py281 for regex in patterns:
282 match = re.search(regex, text)
285 'the output'.format(regex))
287 msg = 'Found match to regex {0}: {1}'.format(regex,
/frameworks/base/tools/preload-check/device/src/com/android/preload/check/
DNotInitializedRegex.java23 import java.util.regex.Matcher;
24 import java.util.regex.Pattern;
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java35 import java.util.regex.Matcher;
36 import java.util.regex.Pattern;
219 Pattern regex = Pattern.compile("^(.*)\tdevice$"); in getDeviceSerials() local
221 Matcher m = regex.matcher(line); in getDeviceSerials()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilter.java40 import java.util.regex.Pattern;
175 public Builder setNamePattern(@Nullable Pattern regex) { in setNamePattern() argument
177 mNamePattern = regex; in setNamePattern()
/frameworks/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/
DManagedProfileLifecycleStressTest.java31 import java.util.regex.Matcher;
32 import java.util.regex.Pattern;
/frameworks/base/startop/scripts/app_startup/lib/
Dadb_utils.py79 regex = r'\+((?P<second>\d+?)s)?(?P<millisecond>\d+?)ms'
80 result = re.search(regex, time)
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DPatternScanner.java20 import java.util.regex.Matcher;
21 import java.util.regex.Pattern;
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java36 import java.util.regex.Matcher;
37 import java.util.regex.Pattern;
282 final Pattern regex = Pattern.compile("(.*?):(.*?)/(.*?)"); in runLookup() local
283 final Matcher matcher = regex.matcher(fullyQualifiedResourceName); in runLookup()
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DValidationUtil.java33 import java.util.regex.Matcher;
34 import java.util.regex.Pattern;
DUuidUtil.java19 import java.util.regex.Pattern;
/frameworks/base/core/java/android/util/
DPatterns.java19 import java.util.regex.Matcher;
20 import java.util.regex.Pattern;
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp157 std::regex frameRateNamePattern("measured-frame-rate-([0-9]+)[*x]([0-9]+)-range", in getFrameRateMaps()
166 std::regex frameRatePattern("([0-9]+)-([0-9]+)"); in getFrameRateMaps()
200 std::regex pattern("([0-9]+)[*x]([0-9]+)-([0-9]+)[*x]([0-9]+)"); in getCodecSizeRange()
314 std::regex pattern("(^|,)CQ($|,)", std::regex_constants::icase); in getHevcCodecDetails()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java226 for (String regex: wifiRegexes) { in waitForTetherStateChange()
227 if (iface.matches(regex)) { in waitForTetherStateChange()
233 for (String regex: wifiRegexes) { in waitForTetherStateChange()
234 if (iface.matches(regex)) { in waitForTetherStateChange()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMissedIncomingCallSmsFilter.java39 import java.util.regex.Matcher;
40 import java.util.regex.Pattern;
41 import java.util.regex.PatternSyntaxException;
/frameworks/base/core/java/android/net/
DWebAddress.java27 import java.util.regex.Matcher;
28 import java.util.regex.Pattern;
/frameworks/base/services/core/java/com/android/server/stats/pull/
DIonMemoryUtil.java30 import java.util.regex.Matcher;
31 import java.util.regex.Pattern;
/frameworks/native/cmds/installd/
Dotapreopt_utils.h28 std::regex slot_suffix_regex("[a-zA-Z0-9_]+"); in ValidateTargetSlotSuffix()

1234567