HomeSort by relevance Sort by last modified time
    Searched refs:Pattern (Results 151 - 175 of 940) sorted by null

1 2 3 4 5 67 8 91011>>

  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
OptionHelper.java 26 import java.util.regex.Pattern;
107 Pattern cliPattern = Pattern.compile(
128 Pattern tokenPattern = Pattern.compile("(\".*\")|[^\\s=]+");
  /cts/hostsidetests/backup/src/android/cts/backup/
BackupPreparer.java 30 import java.util.regex.Pattern;
118 Pattern pattern = Pattern.compile("^Backup Manager currently (enabled|disabled)$"); local
119 Matcher matcher = pattern.matcher(output.trim());
133 Pattern pattern = Pattern.compile("\\(formerly (.*)\\)$"); local
134 Matcher matcher = pattern.matcher(output);
  /cts/tests/tests/provider/src/android/provider/cts/
ProviderTestUtils.java 30 import java.util.regex.Pattern;
38 private static final Pattern BMGR_ENABLED_PATTERN = Pattern.compile(
69 Pattern pattern = Pattern.compile("\\(formerly (.*)\\)$"); local
70 Matcher matcher = pattern.matcher(output);
  /development/tools/bugreport/src/com/android/bugreport/monkey/
MonkeyLogParser.java 29 import java.util.regex.Pattern;
36 private static final Pattern NOT_RESPONDING_RE
37 = Pattern.compile("// NOT RESPONDING: \\S+ \\(pid \\d+\\)");
38 private static final Pattern ABORTED_RE
39 = Pattern.compile("\\*\\* Monkey aborted due to error\\.");
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
MediaType.java 21 import java.util.regex.Pattern;
30 private static final Pattern TYPE_SUBTYPE = Pattern.compile(TOKEN + "/" + TOKEN);
31 private static final Pattern PARAMETER = Pattern.compile(
  /libcore/ojluni/src/main/java/java/util/
Scanner.java 47 * delimiter pattern, which by default matches whitespace. The resulting
110 * pattern, and then attempt to return the next token. Both <tt>hasNext</tt>
116 * methods operate independently of the delimiter pattern. These methods will
117 * attempt to match the specified pattern with no regard to delimiters in the
125 * <p>Depending upon the type of delimiting pattern, empty tokens may be
126 * returned. For example, the pattern <tt>"\\s+"</tt> will return no empty
128 * pattern <tt>"\\s"</tt> could return empty tokens since it only passes one
319 // Pattern used to delimit tokens
320 private Pattern delimPattern;
322 // Pattern found in last hasNext operatio
    [all...]
  /tools/loganalysis/src/com/android/loganalysis/parser/
WakelockParser.java 24 import java.util.regex.Pattern;
39 private static final Pattern KERNEL_WAKE_LOCK_PAT = Pattern.compile(
45 private static final Pattern PARTIAL_WAKE_LOCK_PAT = Pattern.compile(
MemoryHealthParser.java 28 import java.util.regex.Pattern;
58 private static final Pattern COUNT_PATTERN = Pattern.compile("^Count (\\d+)$");
59 private static final Pattern METRIC_PATTERN = Pattern.compile("^([^:]+): (\\d+)$");
60 private static final Pattern PROCESS_PATTERN = Pattern.compile("^\\S+$");
  /tools/tradefederation/core/src/com/android/tradefed/testtype/
GTestListTestParser.java 28 import java.util.regex.Pattern;
43 private static final Pattern TEST_CLASS = Pattern.compile("^([a-zA-Z]+.*)\\.$");
46 private static final Pattern TEST_METHOD = Pattern.compile("\\s+(\\w+)$");
  /tools/tradefederation/core/src/com/android/tradefed/util/
QuotationAwareTokenizer.java 22 import java.util.regex.Pattern;
62 // This pattern matches an escaped character or a character. Escaped char takes precedence
63 final Pattern charPattern = Pattern.compile("\\\\.|.");
131 final Pattern wsPattern = Pattern.compile("\\s");
RegexTrie.java 24 import java.util.regex.Pattern;
28 * {@link Pattern}. Thus, the full <emph>stored</emph> key is a {@code List&lt;Pattern&gt;} rather
30 * {@link #retrieve(String...)} method will be pointwise matched against the {@code Pattern}s,
34 * One can also use a {@code null} entry in the {@code Pattern} sequence to serve as a wildcard. If
36 * When the retrieval code encounters a {@code null} {@code Pattern}, it will first wait to see if a
64 * HashTable. This is a simple stub class that makes a Pattern with a working
68 protected final Pattern mPattern;
70 CompPattern(Pattern pattern) {
208 CompPattern pattern = child.getKey(); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
SplitTest.java 20 import java.util.regex.Pattern;
32 Pattern p = Pattern.compile("/");
42 Pattern p = Pattern.compile(" ");
71 p = Pattern.compile("d");
97 p = Pattern.compile("o");
133 Pattern p = Pattern.compile("");
161 Pattern p = Pattern.compile("")
    [all...]
  /development/tools/bugreport/src/com/android/bugreport/stacks/
ProcessSnapshotParser.java 26 import java.util.regex.Pattern;
35 public static final Pattern BEGIN_PROCESS_RE = Pattern.compile(
37 private static final Pattern END_PROCESS_RE
38 = Pattern.compile("----- end \\d+ -----");
40 public static final Pattern CMD_LINE_RE = Pattern.compile(
  /external/doclava/src/com/google/doclava/
AttrTagInfo.java 21 import java.util.regex.Pattern;
34 private static final Pattern TEXT = Pattern.compile("(\\S+)\\s*(.*)", Pattern.DOTALL);
35 private static final Pattern NAME_TEXT = Pattern.compile("(\\S+)(.*)", Pattern.DOTALL);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/resolver/
ResolverTest.java 23 import java.util.regex.Pattern;
42 Pattern regexp = Pattern.compile("\\d\\d-\\d\\d-\\d\\d\\d");
63 Pattern regexp = Pattern.compile("\\d\\d-\\d\\d-\\d\\d\\d");
65 Pattern regexp2 = Pattern.compile("x\\d_y\\d");
  /external/testng/src/main/java/org/testng/reporters/
JUnitXMLReporter.java 22 import java.util.regex.Pattern;
31 private static final Pattern ENTITY= Pattern.compile("&[a-zA-Z]+;.*");
32 private static final Pattern LESS= Pattern.compile("<");
33 private static final Pattern GREATER= Pattern.compile(">");
34 private static final Pattern SINGLE_QUOTE = Pattern.compile("'");
35 private static final Pattern QUOTE = Pattern.compile("\"")
    [all...]
  /external/vogar/src/vogar/
ClassFileIndex.java 38 import java.util.regex.Pattern;
61 private static final List<Pattern> JAR_PATTERNS = new ArrayList<Pattern>();
64 JAR_PATTERNS.add(Pattern.compile(patternString));
67 private static final List<Pattern> FAILURE_PATTERNS = new ArrayList<Pattern>();
71 FAILURE_PATTERNS.add(Pattern.compile(patternString, Pattern.DOTALL));
92 for (Pattern pattern : FAILURE_PATTERNS)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
SplitTest.java 12 Pattern p = Pattern.compile("/");
64 Pattern p = Pattern.compile(" ");
93 p = Pattern.compile("d");
119 p = Pattern.compile("o");
155 Pattern p = Pattern.compile("");
187 Pattern p = Pattern.compile("")
    [all...]
  /tools/loganalysis/src/com/android/loganalysis/util/
RegexTrie.java 24 import java.util.regex.Pattern;
27 * The RegexTrie is a trie where each _stored_ segment of the key is a regex {@link Pattern}. Thus,
28 * the full _stored_ key is a List<Pattern> rather than a String as in a standard trie. Note that
30 * {@link Pattern}s, rather than checked for equality as in a standard trie. It will likely perform
33 * One can also use a {@code null} entry in the {@code Pattern} sequence to serve as a wildcard. If
35 * When the retrieval code encounters a {@code null} {@code Pattern}, it will first wait to see if a
64 * HashTable. This is a simple stub class that makes a Pattern with a working
68 protected final Pattern mPattern;
70 CompPattern(Pattern pattern) {
208 CompPattern pattern = child.getKey(); local
    [all...]
  /tools/loganalysis/tests/src/com/android/loganalysis/util/
RegexTrieTest.java 35 import java.util.regex.Pattern;
240 Pattern p1 = Pattern.compile(regex);
241 Pattern p2 = Pattern.compile(regex);
242 Pattern pOther = Pattern.compile("other");
247 // This is the problem with Pattern as implemented
265 Pattern p1 = Pattern.compile(regex)
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
RegexTrieTest.java 35 import java.util.regex.Pattern;
240 Pattern p1 = Pattern.compile(regex);
241 Pattern p2 = Pattern.compile(regex);
242 Pattern pOther = Pattern.compile("other");
247 // This is the problem with Pattern as implemented
265 Pattern p1 = Pattern.compile(regex)
    [all...]
  /cts/hostsidetests/usb/src/com/android/cts/usb/
TestUsbTest.java 36 import java.util.regex.Pattern;
97 Pattern pattern = Pattern.compile("^\\s+iSerial\\s+\\d+\\s+([a-zA-Z0-9]{6,20})", local
98 Pattern.MULTILINE);
99 Matcher matcher = pattern.matcher(lsusbOutput);
122 pattern = Pattern.compile("^.*CtsUsbSerialTest\\(.*\\):\\s+([a-zA-Z0-9]{6,20})",
123 Pattern.MULTILINE);
124 matcher = pattern.matcher(logs)
    [all...]
  /external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
PhoneNumberMatcher.java 31 import java.util.regex.Pattern;
45 * The phone number pattern used by {@link #find}, similar to
49 * pattern.
59 private static final Pattern PATTERN;
67 private static final Pattern PUB_PAGES = Pattern.compile("\\d{1,5}-+\\d{1,5}\\s{0,4}\\(\\d{1,4}");
73 private static final Pattern SLASH_SEPARATED_DATES =
74 Pattern.compile("(?:(?:[0-3]?\\d/[01]?\\d)|(?:[01]?\\d/[0-3]?\\d))/(?:[12]\\d)?\\d{2}");
80 private static final Pattern TIME_STAMPS
    [all...]
  /frameworks/base/core/java/android/companion/
BluetoothDeviceFilter.java 39 import java.util.regex.Pattern;
46 private final Pattern mNamePattern;
52 Pattern namePattern,
96 public Pattern getNamePattern() {
164 private Pattern mNamePattern;
173 public Builder setNamePattern(@Nullable Pattern regex) {
BluetoothDeviceFilterUtils.java 33 import java.util.regex.Pattern;
43 static String patternToString(@Nullable Pattern p) {
44 return p == null ? null : p.pattern();
48 static Pattern patternFromString(@Nullable String s) {
49 return s == null ? null : Pattern.compile(s);
89 static boolean matchesName(@Nullable Pattern namePattern, BluetoothDevice device) {
103 static boolean matchesName(@Nullable Pattern namePattern, ScanResult device) {

Completed in 665 milliseconds

1 2 3 4 5 67 8 91011>>