Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/java/android/service/autofill/
DImageTransformation.java37 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 …]
DTextValueSanitizer.java30 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.
DRegexValidator.java29 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.…
DCharSequenceTransformation.java36 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/
Ddump-jar29 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/
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/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/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/telephony/common/com/android/internal/telephony/util/
DTelephonyUtils.java54 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/
DSelinuxAuditLogBuilder.java27 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/
DSchemePrefixPerfTest.java34 import java.util.regex.Matcher;
35 import java.util.regex.Pattern;
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilter.java41 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/
DPatternScanner.java20 import java.util.regex.Matcher;
21 import java.util.regex.Pattern;
/frameworks/native/libs/binderdebug/
DBinderDebug.cpp72 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/
DPeopleTileKey.java28 import java.util.regex.Matcher;
29 import java.util.regex.Pattern;
/frameworks/base/services/core/java/com/android/server/
DSecurityStateManagerService.java37 import java.util.regex.Matcher;
38 import java.util.regex.Pattern;
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
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/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/
DManagedProfileLifecycleStressTest.java32 import java.util.regex.Matcher;
33 import java.util.regex.Pattern;
/frameworks/base/core/java/com/android/internal/os/
DCpuScalingPolicyReader.java32 import java.util.regex.Matcher;
33 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.java230 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/
Dotapreopt_utils.h28 std::regex slot_suffix_regex("[a-zA-Z0-9_]+"); in ValidateTargetSlotSuffix()
/frameworks/base/core/java/android/net/
DWebAddress.java27 import java.util.regex.Matcher;
28 import java.util.regex.Pattern;

123456789