/frameworks/base/core/java/android/util/ |
D | Patterns.java | 20 import java.util.regex.Pattern; 70 public static final Pattern TOP_LEVEL_DOMAIN = 71 Pattern.compile(TOP_LEVEL_DOMAIN_STR); 251 public static final Pattern IP_ADDRESS = Pattern.compile(IP_ADDRESS_STRING); 302 public static final Pattern DOMAIN_NAME = Pattern.compile(DOMAIN_NAME_STR); 323 public static final Pattern WEB_URL = Pattern.compile("(" 395 public static final Pattern AUTOLINK_WEB_URL = Pattern.compile( 423 public static final Pattern AUTOLINK_EMAIL_ADDRESS = Pattern.compile("(" + WORD_BOUNDARY + 428 public static final Pattern EMAIL_ADDRESS 429 = Pattern.compile( [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | TextGraphReader.java | 25 import java.util.regex.Pattern; 170 final Pattern commandPattern = Pattern.compile("@[a-zA-Z]+"); in parseString() 171 final Pattern curlyClosePattern = Pattern.compile("\\}"); in parseString() 172 final Pattern curlyOpenPattern = Pattern.compile("\\{"); in parseString() 173 final Pattern ignorePattern = Pattern.compile("(\\s+|//[^\\n]*\\n)+"); in parseString() 174 final Pattern packageNamePattern = Pattern.compile("[a-zA-Z\\.]+"); in parseString() 175 final Pattern libraryNamePattern = Pattern.compile("[a-zA-Z\\./:]+"); in parseString() 176 final Pattern portPattern = Pattern.compile("\\[[a-zA-Z0-9\\-_]+\\]"); in parseString() 177 final Pattern rightArrowPattern = Pattern.compile("=>"); in parseString() 178 final Pattern semicolonPattern = Pattern.compile(";"); in parseString() [all …]
|
D | PatternScanner.java | 21 import java.util.regex.Pattern; 29 private Pattern mIgnorePattern; 38 public PatternScanner(String input, Pattern ignorePattern) { in PatternScanner() 44 public String tryEat(Pattern pattern) { in tryEat() 70 public String eat(Pattern pattern, String tokenName) { in eat() 78 public boolean peek(Pattern pattern) { in peek() 92 public void skip(Pattern pattern) { in skip()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | MemoryStatUtil.java | 41 import java.util.regex.Pattern; 67 private static final Pattern PGFAULT = Pattern.compile("total_pgfault (\\d+)"); 68 private static final Pattern PGMAJFAULT = Pattern.compile("total_pgmajfault (\\d+)"); 69 private static final Pattern RSS_IN_BYTES = Pattern.compile("total_rss (\\d+)"); 70 private static final Pattern CACHE_IN_BYTES = Pattern.compile("total_cache (\\d+)"); 71 private static final Pattern SWAP_IN_BYTES = Pattern.compile("total_swap (\\d+)"); 73 private static final Pattern RSS_HIGH_WATERMARK_IN_KILOBYTES = 74 Pattern.compile("VmHWM:\\s*(\\d+)\\s*kB"); 75 private static final Pattern PROCFS_RSS_IN_KILOBYTES = 76 Pattern.compile("VmRSS:\\s*(\\d+)\\s*kB"); [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | FindAddress.java | 22 import java.util.regex.Pattern; 143 private static final Pattern sWordRe = 144 Pattern.compile("[^" + WORD_DELIM + "]+" + WORD_END, Pattern.CASE_INSENSITIVE); 161 private static final Pattern sHouseNumberRe = 162 Pattern.compile(HOUSE_COMPONENT + "(?:-" + HOUSE_COMPONENT + ")*" + HOUSE_END, 163 Pattern.CASE_INSENSITIVE); 166 private static final Pattern sStateRe = Pattern.compile("(?:" 227 Pattern.CASE_INSENSITIVE); 229 private static final Pattern sLocationNameRe = Pattern.compile("(?:" 253 Pattern.CASE_INSENSITIVE); [all …]
|
/frameworks/base/core/java/android/service/autofill/ |
D | CharSequenceTransformation.java | 36 import java.util.regex.Pattern; 68 @NonNull private final LinkedHashMap<AutofillId, Pair<Pattern, String>> mFields; 82 for (Entry<AutofillId, Pair<Pattern, String>> entry : mFields.entrySet()) { in apply() 84 final Pair<Pattern, String> field = entry.getValue(); in apply() 118 @NonNull private final LinkedHashMap<AutofillId, Pair<Pattern, String>> mFields = 132 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @NonNull String subst) { in Builder() 147 public Builder addField(@NonNull AutofillId id, @NonNull Pattern regex, in addField() 194 final Pattern[] regexs = new Pattern[size]; in writeToParcel() 196 Pair<Pattern, String> pair; in writeToParcel() 198 for (Entry<AutofillId, Pair<Pattern, String>> entry : mFields.entrySet()) { in writeToParcel() [all …]
|
D | ImageTransformation.java | 36 import java.util.regex.Pattern; 129 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId) { in Builder() 144 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId, in Builder() 162 public Builder addOption(@NonNull Pattern regex, @DrawableRes int resId) { in addOption() 178 public Builder addOption(@NonNull Pattern regex, @DrawableRes int resId, in addOption() 184 private void addOptionInternal(@NonNull Pattern regex, @DrawableRes int resId, in addOptionInternal() 231 final Pattern[] patterns = new Pattern[size]; in writeToParcel() 251 final Pattern[] regexs = (Pattern[]) parcel.readSerializable(); 281 public final Pattern pattern; 285 Option(Pattern pattern, int resId, CharSequence contentDescription) { in Option()
|
D | RegexValidator.java | 30 import java.util.regex.Pattern; 42 private final Pattern mRegex; 52 public RegexValidator(@NonNull AutofillId id, @NonNull Pattern regex) { in RegexValidator() 101 (Pattern) parcel.readSerializable());
|
D | TextValueSanitizer.java | 32 import java.util.regex.Pattern; 48 private final Pattern mRegex; 59 public TextValueSanitizer(@NonNull Pattern regex, @NonNull String subst) { in TextValueSanitizer() 123 return new TextValueSanitizer((Pattern) parcel.readSerializable(), parcel.readString());
|
/frameworks/base/core/java/android/net/ |
D | WifiKey.java | 24 import java.util.regex.Pattern; 36 private static final Pattern SSID_PATTERN = Pattern.compile("(\".*\")|(0x[\\p{XDigit}]+)", 37 Pattern.DOTALL); 38 private static final Pattern BSSID_PATTERN = 39 Pattern.compile("([\\p{XDigit}]{2}:){5}[\\p{XDigit}]{2}");
|
/frameworks/base/core/java/android/companion/ |
D | WifiDeviceFilter.java | 33 import java.util.regex.Pattern; 42 private final Pattern mNamePattern; 44 private WifiDeviceFilter(Pattern namePattern) { in WifiDeviceFilter() 55 public Pattern getNamePattern() { in getNamePattern() 118 private Pattern mNamePattern; 125 public Builder setNamePattern(@Nullable Pattern regex) { in setNamePattern()
|
D | BluetoothDeviceFilterUtils.java | 35 import java.util.regex.Pattern; 45 static String patternToString(@Nullable Pattern p) { in patternToString() 50 static Pattern patternFromString(@Nullable String s) { in patternFromString() 51 return s == null ? null : Pattern.compile(s); in patternFromString() 92 static boolean matchesName(@Nullable Pattern namePattern, BluetoothDevice device) { in matchesName() 106 static boolean matchesName(@Nullable Pattern namePattern, ScanResult device) { in matchesName()
|
D | BluetoothDeviceFilter.java | 40 import java.util.regex.Pattern; 47 private final Pattern mNamePattern; 53 Pattern namePattern, in BluetoothDeviceFilter() 97 public Pattern getNamePattern() { in getNamePattern() 166 private Pattern mNamePattern; 175 public Builder setNamePattern(@Nullable Pattern regex) { in setNamePattern()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | Relation.java | 21 import java.util.regex.Pattern; 37 private static final Pattern KIND_PATTERN = Pattern.compile("^[a-z0-9_.]+$"); 38 private static final Pattern DETAIL_PATTERN = Pattern.compile("^([a-z0-9_.]+)$");
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | BatteryStatsParser.java | 22 import java.util.regex.Pattern; 26 private static final Pattern LINE_PATTERN = 27 Pattern.compile("\\s*\\+*(\\S*)\\s\\(\\d+\\)\\s(\\d\\d\\d)\\s.*"); 28 private static final Pattern TIME_PATTERN = 29 Pattern.compile("(\\d+)?(h)?(\\d+)?(m)?(\\d+)?(s)?(\\d+)?(ms)?");
|
D | MemInfoParser.java | 22 import java.util.regex.Pattern; 27 private static final Pattern LINE_PATTERN = 28 Pattern.compile("\\s*(\\d*,*\\d*)K:\\s(\\S*)\\s\\.*");
|
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/ |
D | ApkConfig.java | 20 import java.util.regex.Pattern; 31 public static final Pattern DEV_FIDELITY_PATTERN = 32 Pattern.compile(ASSETS_DIRECTORY + "dev_tuningfork_fidelityparams_.{1,15}.bin");
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | PhoneUtil.java | 23 import java.util.regex.Pattern; 32 private static final Pattern PHONE_PATTERN 33 = Pattern.compile( // sdd = space, dot, or dash
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | PowerUtilTest.java | 33 import java.util.regex.Pattern; 72 assertThat(info).containsMatch(Pattern.compile( in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_withPercentage() 79 assertThat(info2).containsMatch(Pattern.compile( in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_withPercentage() 98 assertThat(info).containsMatch(Pattern.compile( in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_noPercentage() 105 assertThat(info2).containsMatch(Pattern.compile( in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_noPercentage() 193 assertThat(info).containsMatch(Pattern.compile( in getBatteryTipStringFormatted_lessThanOneDay_usesCorrectString()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MmiCode.java | 22 import java.util.regex.Pattern; 97 Pattern sPatternCdmaMmiCodeWhileRoaming = Pattern.compile(
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontVariationAxis.java | 27 import java.util.regex.Pattern; 90 private static final Pattern TAG_PATTERN = Pattern.compile("[\u0020-\u007E]{4}"); 103 private static final Pattern STYLE_VALUE_PATTERN = 104 Pattern.compile("-?(([0-9]+(\\.[0-9]+)?)|(\\.[0-9]+))");
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberRange.java | 26 import java.util.regex.Pattern; 74 if (!Pattern.matches("[0-9]*", countryCode)) { in PhoneNumberRange() 77 if (!Pattern.matches("[0-9]*", prefix)) { in PhoneNumberRange() 136 if (!Pattern.matches("[0-9]*", lowerBound)) { in validateLowerAndUpperBounds() 139 if (!Pattern.matches("[0-9]*", upperBound)) { in validateLowerAndUpperBounds()
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 23 import java.util.regex.Pattern; 68 private static final Pattern HTTP_DATE_RFC_PATTERN = 69 Pattern.compile(HTTP_DATE_RFC_REGEXP); 70 private static final Pattern HTTP_DATE_ANSIC_PATTERN = 71 Pattern.compile(HTTP_DATE_ANSIC_REGEXP);
|
/frameworks/base/core/java/com/android/internal/http/ |
D | HttpDateTime.java | 24 import java.util.regex.Pattern; 69 private static final Pattern HTTP_DATE_RFC_PATTERN = 70 Pattern.compile(HTTP_DATE_RFC_REGEXP); 71 private static final Pattern HTTP_DATE_ANSIC_PATTERN = 72 Pattern.compile(HTTP_DATE_ANSIC_REGEXP);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDevice.java | 26 import java.util.regex.Pattern; 135 private static final Pattern detailedDevicePattern = Pattern.compile( 152 private static final Pattern twoTokenPattern = Pattern.compile( 161 private static final Pattern threeTokenPattern = Pattern.compile(
|