/frameworks/base/core/java/android/service/autofill/ |
D | ImageTransformation.java | 36 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 …]
|
D | CharSequenceTransformation.java | 35 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()
|
D | TextValueSanitizer.java | 31 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()
|
D | RegexValidator.java | 30 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/ |
D | process_newdb_perf_test_logs.py | 38 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/ |
D | ExtconUEventObserver.java | 29 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/ |
D | PhoneUtil.java | 22 import java.util.regex.Matcher; 23 import java.util.regex.Pattern;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiSelector.java | 22 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/ |
D | test_base.py | 281 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/ |
D | NotInitializedRegex.java | 23 import java.util.regex.Matcher; 24 import java.util.regex.Pattern;
|
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 35 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/ |
D | BluetoothDeviceFilter.java | 40 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/ |
D | ManagedProfileLifecycleStressTest.java | 31 import java.util.regex.Matcher; 32 import java.util.regex.Pattern;
|
/frameworks/base/startop/scripts/app_startup/lib/ |
D | adb_utils.py | 79 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/ |
D | PatternScanner.java | 20 import java.util.regex.Matcher; 21 import java.util.regex.Pattern;
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerShellCommand.java | 36 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/ |
D | ValidationUtil.java | 33 import java.util.regex.Matcher; 34 import java.util.regex.Pattern;
|
D | UuidUtil.java | 19 import java.util.regex.Pattern;
|
/frameworks/base/core/java/android/util/ |
D | Patterns.java | 19 import java.util.regex.Matcher; 20 import java.util.regex.Pattern;
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | HeicEncoderInfoManager.cpp | 157 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/ |
D | ConnectivityManagerTestBase.java | 226 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/ |
D | MissedIncomingCallSmsFilter.java | 39 import java.util.regex.Matcher; 40 import java.util.regex.Pattern; 41 import java.util.regex.PatternSyntaxException;
|
/frameworks/base/core/java/android/net/ |
D | WebAddress.java | 27 import java.util.regex.Matcher; 28 import java.util.regex.Pattern;
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | IonMemoryUtil.java | 30 import java.util.regex.Matcher; 31 import java.util.regex.Pattern;
|
/frameworks/native/cmds/installd/ |
D | otapreopt_utils.h | 28 std::regex slot_suffix_regex("[a-zA-Z0-9_]+"); in ValidateTargetSlotSuffix()
|