/cts/tests/tests/hardware/src/android/hardware/cts/ |
GlUtils.java | 23 import java.util.regex.Pattern; 42 Pattern pattern = Pattern.compile("OpenGL ES ([0-9]+)\\.([0-9]+)"); local 43 Matcher matcher = pattern.matcher(version);
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/ |
IsBlankString.java | 8 import java.util.regex.Pattern; 21 private static final Pattern REGEX_WHITESPACE = Pattern.compile("\\s*");
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
Wildcard.java | 20 import java.util.regex.Pattern; 26 private static Pattern dstar = Pattern.compile("\\*\\*"); 27 private static Pattern star = Pattern.compile("\\*"); 28 private static Pattern estar = Pattern.compile("\\+\\??\\)\\Z"); 29 private static Pattern dollar = Pattern.compile("\\$"); 31 private final Pattern pattern field in class:Wildcard [all...] |
/external/jsr305/ri/src/main/java/javax/annotation/ |
MatchesPattern.java | 6 import java.util.regex.Pattern; 23 Pattern p = Pattern.compile(annotation.value(), annotation.flags());
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
Decamelizer.java | 9 import java.util.regex.Pattern; 14 private static final Pattern CAPS = Pattern.compile("([A-Z\\d][^A-Z\\d]*)");
|
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/line/ |
TrivialMatcher.java | 29 import java.util.regex.Pattern; 42 SingleConversionRule cr = new SingleConversionRule(Pattern.compile("import org.slf4j.converter"), "simple replacement with an unique capturing group"); 45 MultiGroupConversionRule cr1 = new MultiGroupConversionRule(Pattern.compile("(first group)( second group)( third group)( 4th group)"));
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
CpuInfoParser.java | 22 import java.util.regex.Pattern; 31 private static final Pattern USAGE_PREFIX = Pattern.compile(
|
LocationServiceParser.java | 23 import java.util.regex.Pattern; 34 private static final Pattern LOCATION_PAT = Pattern.compile(
|
MemInfoParser.java | 23 import java.util.regex.Pattern; 31 private static final Pattern INFO_LINE = Pattern.compile("^([^:]+):\\s+(\\d+) kB");
|
SystemPropsParser.java | 23 import java.util.regex.Pattern; 30 private static final Pattern PROP_LINE = Pattern.compile("^\\[(.*)\\]: \\[(.*)\\]$");
|
EventsLogParser.java | 28 import java.util.regex.Pattern; 42 private static final Pattern TRANSITION_STARTING_DELAY = Pattern.compile( 49 private static final Pattern TRANSITION_DELAY = Pattern.compile( 54 private static final Pattern ACTION_LATENCY = Pattern.compile( 116 * Checks whether {@code line} matches the given {@link Pattern}. 119 * {@code pattern}, or null if the {@code line} does not match. 121 private static Matcher matches(Pattern pattern, String line) [all...] |
KernelLogParser.java | 30 import java.util.regex.Pattern; 48 private static final Pattern LOG_LINE = Pattern.compile( 50 private static final Pattern SELINUX_DENIAL_PATTERN = Pattern.compile( 53 private static final Pattern PAGE_ALLOC_FAILURE_PATTERN = Pattern.compile( 56 private static final Pattern LOW_MEMORY_KILLER_PATTERN = Pattern.compile( 62 public static final Pattern BAD_BOOTREASONS = Pattern.compile [all...] |
/tools/tradefederation/core/src/com/android/tradefed/util/ |
ConfigCompletor.java | 22 import java.util.regex.Pattern; 30 private Pattern mRunPattern; 34 mRunPattern = Pattern.compile(RUN_PATTERN);
|
/frameworks/base/core/java/android/companion/ |
WifiDeviceFilter.java | 33 import java.util.regex.Pattern; 42 private final Pattern mNamePattern; 44 private WifiDeviceFilter(Pattern namePattern) { 55 public Pattern getNamePattern() { 118 private Pattern mNamePattern; 125 public Builder setNamePattern(@Nullable Pattern regex) {
|
/frameworks/base/core/java/android/net/ |
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}");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
ReplaceTest.java | 20 import java.util.regex.Pattern; 29 String target, pattern, repl; local 32 pattern = "fo[^o]"; 35 Pattern p = Pattern.compile(pattern); 43 String target, pattern, repl, s; local 44 Pattern p = null; 48 pattern = "\\[([0-9]+)\\]([a-z]+)"; 51 p = Pattern.compile(pattern) 76 String target, pattern, repl, s; local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
ReplaceTest.java | 20 import java.util.regex.Pattern; 26 String target, pattern, repl; local 29 pattern = "fo[^o]"; 32 Pattern p = Pattern.compile(pattern); 40 String target, pattern, repl, s; local 41 Pattern p = null; 45 pattern = "\\[([0-9]+)\\]([a-z]+)"; 48 p = Pattern.compile(pattern) 71 String target, pattern, repl, s; local [all...] |
/cts/hostsidetests/cpptools/src/com/android/cts/cpptools/ |
RunAsHostTest.java | 21 import java.util.regex.Pattern; 38 Matcher appIdMatcher = Pattern.compile("^([0-9]+)$").matcher(runAsResult);
|
/dalvik/dx/src/com/android/dx/command/grep/ |
Main.java | 23 import java.util.regex.Pattern; 28 String pattern = args[1]; local 31 int count = new Grep(dex, Pattern.compile(pattern), new PrintWriter(System.out)).grep();
|
/external/easymock/src/org/easymock/internal/matchers/ |
Find.java | 19 import java.util.regex.Pattern;
35 && Pattern.compile(regex).matcher((String) actual).find();
|
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
ActivityManagerState.java | 33 import java.util.regex.Pattern; 57 private final Pattern mDisplayIdPattern = Pattern.compile("Display #(\\d+).*"); 58 private final Pattern mStackIdPattern = Pattern.compile("Stack #(\\d+)\\:"); 59 private final Pattern mResumedActivityPattern = 60 Pattern.compile("ResumedActivity\\: ActivityRecord\\{(.+) u(\\d+) (\\S+) (\\S+)\\}"); 61 private final Pattern mFocusedStackPattern = 62 Pattern.compile("mFocusedStack=ActivityStack\\{(.+) stackId=(\\d+), (.+)\\}(.+)"); 64 private final Pattern[] mExtractStackExitPatterns [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
AaptParser.java | 38 import java.util.regex.Pattern; 42 // TODO: rename the pattern to something that makes sense + javadoc comments. 47 private final static Pattern sPattern0Line1 = Pattern.compile( 55 private final static Pattern sPattern1Line1 = Pattern.compile( 63 private final static Pattern sPattern1Line2 = Pattern.compile( 70 private final static Pattern sPattern2Line1 = Pattern.compile [all...] |
/external/jsilver/src/com/google/streamhtmlparser/util/ |
HtmlUtils.java | 22 import java.util.regex.Pattern; 75 private static final Pattern META_REDIRECT_PATTERN = 76 Pattern.compile(META_REDIRECT_REGEX, Pattern.CASE_INSENSITIVE);
|
/external/snakeyaml/src/test/java/examples/ |
CustomImplicitResolverTest.java | 20 import java.util.regex.Pattern; 37 private final Pattern CUSTOM_PATTERN = Pattern.compile("\\d+%"); 50 yaml.addImplicitResolver(CUSTOM_TAG, Pattern.compile("\\d+%"), "-0123456789");
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
EmailHtmlUtil.java | 20 import java.util.regex.Pattern; 26 private static final Pattern PLAIN_TEXT_TO_ESCAPE = Pattern.compile("[<>&]| {2,}|\r?\n"); 35 Pattern pattern = PLAIN_TEXT_TO_ESCAPE; local 36 Matcher match = pattern.matcher(text);
|