Home
last modified time | relevance | path

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

123456

/tools/loganalysis/src/com/android/loganalysis/item/
DTraceFormatItem.java22 import java.util.regex.Pattern;
51 public void setRegex(Pattern regex) { in setRegex() argument
52 setAttribute(REGEX, regex); in setRegex()
/tools/loganalysis/src/com/android/loganalysis/parser/
DDumpsysProcStatsParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DCpuInfoParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DSystemPropsParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
DBatteryUsageParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DMemInfoParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
DLocationServiceParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
DDumpsysWifiStatsParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DNativeCrashParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DTopParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
DTracesParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DDumpsysPackageStatsParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
/tools/repohooks/rh/
Dhooks.py331 regex = r'^%s: (None|[0-9]+(, [0-9]+)*)$' % (field,)
332 check_re = re.compile(regex)
344 '%s') % (field, regex)
355 regex = r'^%s: I[a-f0-9]+$' % (field,)
356 check_re = re.compile(regex)
368 '%s') % (field, regex)
409 regex = r'^%s: .*$' % (field,)
410 check_re = re.compile(regex)
421 error = TEST_MSG % (regex)
/tools/tradefederation/core/src/com/android/tradefed/util/
DRegexTrie.java23 import java.util.regex.Matcher;
24 import java.util.regex.Pattern;
184 for (String regex : regexen) { in put()
185 if (regex == null) { in put()
189 Pattern pat = Pattern.compile(regex); in put()
DConfigCompletor.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DKeyguardControllerState.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DAbiFormatter.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
/tools/loganalysis/src/com/android/loganalysis/util/
DRegexTrie.java23 import java.util.regex.Matcher;
24 import java.util.regex.Pattern;
184 for (String regex : regexen) { in put()
185 if (regex == null) { in put()
189 Pattern pat = Pattern.compile(regex); in put()
DLogPatternUtil.java20 import java.util.regex.Matcher;
21 import java.util.regex.Pattern;
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DGoogleBenchmarkTest.java116 void addFileExclusionFilterRegex(String regex) { in addFileExclusionFilterRegex() argument
117 mFileExclusionFilterRegex.add(regex); in addFileExclusionFilterRegex()
217 for (String regex : mFileExclusionFilterRegex) { in shouldSkipFile()
218 if (fullPath.matches(regex)) { in shouldSkipFile()
220 fullPath, regex)); in shouldSkipFile()
DNativeStressTestParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
/tools/loganalysis/tests/src/com/android/loganalysis/util/
DRegexTrieTest.java35 import java.util.regex.Pattern;
239 String regex = "regex"; in testCompPattern_equality() local
240 Pattern p1 = Pattern.compile(regex); in testCompPattern_equality()
241 Pattern p2 = Pattern.compile(regex); in testCompPattern_equality()
264 String regex = "regex"; in testCompPattern_hashmap() local
265 Pattern p1 = Pattern.compile(regex); in testCompPattern_hashmap()
266 Pattern p2 = Pattern.compile(regex); in testCompPattern_hashmap()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRegexTrieTest.java35 import java.util.regex.Pattern;
239 String regex = "regex"; in testCompPattern_equality() local
240 Pattern p1 = Pattern.compile(regex); in testCompPattern_equality()
241 Pattern p2 = Pattern.compile(regex); in testCompPattern_equality()
264 String regex = "regex"; in testCompPattern_hashmap() local
265 Pattern p1 = Pattern.compile(regex); in testCompPattern_hashmap()
266 Pattern p2 = Pattern.compile(regex); in testCompPattern_hashmap()
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalDeviceBuildProvider.java220 File findFileInDir(String regex) throws BuildRetrievalError { in findFileInDir() argument
221 return findFileInDir(regex, mBuildDir); in findFileInDir()
233 File findFileInDir(String regex, File dir) throws BuildRetrievalError { in findFileInDir() argument
234 File[] files = dir.listFiles(new PatternFilenameFilter(regex)); in findFileInDir()
239 "Found more than one file matching '%s' in '%s'.", regex, in findFileInDir()
/tools/tradefederation/core/src/com/android/tradefed/device/
DBatteryTemperature.java27 import java.util.regex.Matcher;
28 import java.util.regex.Pattern;

123456