/frameworks/base/core/java/android/service/autofill/ |
D | ImageTransformation.java | 37 import java.util.regex.Pattern; 130 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId) { in Builder() argument 132 addOption(regex, resId); in Builder() 145 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId, in Builder() argument 148 addOption(regex, resId, contentDescription); in Builder() 163 public Builder addOption(@NonNull Pattern regex, @DrawableRes int resId) { in addOption() argument 164 addOptionInternal(regex, resId, null); in addOption() 179 public Builder addOption(@NonNull Pattern regex, @DrawableRes int resId, in addOption() argument 181 addOptionInternal(regex, resId, Objects.requireNonNull(contentDescription)); in addOption() 185 private void addOptionInternal(@NonNull Pattern regex, @DrawableRes int resId, in addOptionInternal() argument [all …]
|
D | TextValueSanitizer.java | 30 import java.util.regex.Matcher; 31 import java.util.regex.Pattern; 58 public TextValueSanitizer(@NonNull Pattern regex, @NonNull String subst) { in TextValueSanitizer() argument 59 mRegex = Objects.requireNonNull(regex); in TextValueSanitizer() 122 …tizer((Pattern) parcel.readSerializable(java.util.regex.Pattern.class.getClassLoader(), java.util.…
|
D | RegexValidator.java | 29 import java.util.regex.Pattern; 51 public RegexValidator(@NonNull AutofillId id, @NonNull Pattern regex) { in RegexValidator() argument 53 mRegex = Objects.requireNonNull(regex); in RegexValidator() 100 …(Pattern) parcel.readSerializable(java.util.regex.Pattern.class.getClassLoader(), java.util.regex.…
|
D | CharSequenceTransformation.java | 36 import java.util.regex.Matcher; 37 import java.util.regex.Pattern; 133 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @NonNull String subst) { in Builder() argument 134 addField(id, regex, subst); in Builder() 148 public Builder addField(@NonNull AutofillId id, @NonNull Pattern regex, in addField() argument 152 Objects.requireNonNull(regex); in addField() 155 mFields.put(id, new Pair<>(regex, subst)); in addField()
|
/frameworks/base/tools/hoststubgen/scripts/ |
D | dump-jar | 29 dump-jar [-v] [-s] [-o OUTPUT-FILENAME] JAR-FILE[: filename regex] [...] 135 regex="" 137 regex="$(normalize "${file##*:}")" 146 if [[ "$regex" != "" ]] ;then 147 echo -n " (regex: $regex)" 153 if normalize "$class" | grep -q -- "$regex" ; then
|
/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/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/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/telephony/common/com/android/internal/telephony/util/ |
D | TelephonyUtils.java | 54 import java.util.regex.Matcher; 55 import java.util.regex.Pattern; 356 private static boolean isValidPattern(@Nullable String input, @Nullable String regex) { in isValidPattern() argument 357 if (TextUtils.isEmpty(input) || TextUtils.isEmpty(regex)) { in isValidPattern() 360 Pattern pattern = Pattern.compile(regex); in isValidPattern()
|
/frameworks/base/services/core/java/com/android/server/selinux/ |
D | SelinuxAuditLogBuilder.java | 27 import java.util.regex.Matcher; 28 import java.util.regex.Pattern; 29 import java.util.regex.PatternSyntaxException;
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | SchemePrefixPerfTest.java | 34 import java.util.regex.Matcher; 35 import java.util.regex.Pattern;
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothDeviceFilter.java | 41 import java.util.regex.Pattern; 186 public Builder setNamePattern(@Nullable Pattern regex) { in setNamePattern() argument 188 mNamePattern = regex; in setNamePattern()
|
/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/native/libs/binderdebug/ |
D | BinderDebug.cpp | 72 static const std::regex kReferencePrefix("^\\s*node \\d+:\\s+u([0-9a-f]+)\\s+c([0-9a-f]+)\\s+"); in getBinderPidInfo() 73 static const std::regex kThreadPrefix("^\\s*thread \\d+:\\s+l\\s+(\\d)(\\d)"); in getBinderPidInfo() 136 static const std::regex kNodeNumber("^\\s+ref \\d+:\\s+desc\\s+(\\d+)\\s+node\\s+(\\d+).*"); in getBinderClientPids()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleTileKey.java | 28 import java.util.regex.Matcher; 29 import java.util.regex.Pattern;
|
/frameworks/base/services/core/java/com/android/server/ |
D | SecurityStateManagerService.java | 37 import java.util.regex.Matcher; 38 import java.util.regex.Pattern;
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
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/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/ |
D | ManagedProfileLifecycleStressTest.java | 32 import java.util.regex.Matcher; 33 import java.util.regex.Pattern;
|
/frameworks/base/core/java/com/android/internal/os/ |
D | CpuScalingPolicyReader.java | 32 import java.util.regex.Matcher; 33 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 | 230 for (String regex: wifiRegexes) { in waitForTetherStateChange() 231 if (iface.matches(regex)) { in waitForTetherStateChange() 237 for (String regex: wifiRegexes) { in waitForTetherStateChange() 238 if (iface.matches(regex)) { in waitForTetherStateChange()
|
/frameworks/native/cmds/installd/ |
D | otapreopt_utils.h | 28 std::regex slot_suffix_regex("[a-zA-Z0-9_]+"); in ValidateTargetSlotSuffix()
|
/frameworks/base/core/java/android/net/ |
D | WebAddress.java | 27 import java.util.regex.Matcher; 28 import java.util.regex.Pattern;
|