/tools/loganalysis/src/com/android/loganalysis/util/ |
D | LogPatternUtil.java | 48 public PatternInfo(Pattern pattern, Object extras, String category) { in PatternInfo() argument 49 mPattern = pattern; in PatternInfo() 63 public void addPattern(Pattern pattern, String category) { in addPattern() argument 64 addPattern(pattern, null, category); in addPattern() 75 public void addPattern(Pattern pattern, Object extras, String category) { in addPattern() argument 76 mPatterns.add(new PatternInfo(pattern, extras, category)); in addPattern()
|
D | RegexTrie.java | 70 CompPattern(Pattern pattern) { in CompPattern() argument 71 if (pattern == null) { in CompPattern() 74 mPattern = pattern; in CompPattern() 208 CompPattern pattern = child.getKey(); in recursiveRetrieve() local 209 if (pattern == null) { in recursiveRetrieve() 215 Matcher matcher = pattern.matcher(curKey); in recursiveRetrieve()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | Hints.java | 52 final Pattern pattern; field in Hints.PatternWithRange 56 public PatternWithRange(String pattern) { in PatternWithRange() argument 57 this.pattern = Pattern.compile(pattern); in PatternWithRange() 62 public PatternWithRange(String pattern, long offset, long size) { in PatternWithRange() argument 63 this.pattern = Pattern.compile(pattern); in PatternWithRange() 69 return this.pattern.matcher(input); in matcher()
|
/tools/test/connectivity/acts/framework/tests/ |
D | test_runner_test.py | 52 pattern = 'test*1' 54 [(pattern, None)]) 66 pattern = 'test_class*' 68 [(pattern, None)]) 81 pattern = 'test_class_?' 83 [(pattern, None)]) 95 pattern = 'test_class_[1357]' 97 [(pattern, None)])
|
D | test_suite.py | 44 start_dir=os.path.dirname(__file__), pattern='*_test.py') 46 start_dir=os.path.dirname(__file__), pattern='*_test.py')
|
/tools/tradefederation/contrib/tests/src/com/android/build/tests/ |
D | ImageStatsTest.java | 81 Pattern pattern = Pattern.compile("^.+\\.apk$"); in testGetAggregationLabel_regular() local 86 mImageStats.getAggregationLabel(pattern.matcher(fileName), label)); in testGetAggregationLabel_regular() 93 Pattern pattern = Pattern.compile("^/system/(.+?)/.+\\.(.+)$"); in testGetAggregationLabel_capturingGroups() local 95 Matcher m = pattern.matcher(fileName); in testGetAggregationLabel_capturingGroups() 111 Pattern pattern = Pattern.compile("^/system/(.+?)/.+\\.(.+)$"); in testGetAggregationLabel_capturingGroups_partialBackReference() local 113 Matcher m = pattern.matcher(fileName); in testGetAggregationLabel_capturingGroups_partialBackReference()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | RegexTrie.java | 70 CompPattern(Pattern pattern) { in CompPattern() argument 71 if (pattern == null) { in CompPattern() 74 mPattern = pattern; in CompPattern() 208 CompPattern pattern = child.getKey(); in recursiveRetrieve() local 209 if (pattern == null) { in recursiveRetrieve() 215 Matcher matcher = pattern.matcher(curKey); in recursiveRetrieve()
|
D | AppVersionFetcher.java | 82 private static String parseVersionString(String packageInfo, Pattern pattern) { in parseVersionString() argument 90 Matcher matcher = pattern.matcher(lines[0]); in parseVersionString()
|
D | SubprocessExceptionParser.java | 40 Pattern pattern = in handleStderrException() local 47 Matcher m = pattern.matcher(line); in handleStderrException()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | AbstractSectionParser.java | 47 protected void addSectionParser(IParser parser, String pattern) { in addSectionParser() argument 51 if (pattern == null) { in addSectionParser() 54 mSectionTrie.put(parser, pattern); in addSectionParser()
|
D | KernelLogParser.java | 248 for (String pattern : kernelResets) { in initPatterns() 249 mPatternUtil.addPattern(Pattern.compile(pattern), KERNEL_RESET); in initPatterns() 251 for (String pattern : goodSignatures) { in initPatterns() 252 mPatternUtil.addPattern(Pattern.compile(pattern), NORMAL_REBOOT); in initPatterns()
|
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/ |
D | MemoryTests.java | 86 String pattern = "total alloc: "; in testMemoryAllocationLimit() local 89 if (s.contains(pattern)) { in testMemoryAllocationLimit() 95 int totalAllocIndex = p.indexOf(pattern) + pattern.length(); in testMemoryAllocationLimit()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterLogSaverTest.java | 115 final String pattern = "android-cts/results/(?<SESSION>[^/]+)/test_result\\.xml"; in testFindTestContextFile() local 124 mWorkDir, pattern, FilePickingStrategy.PICK_LAST, envVars); in testFindTestContextFile() 134 final String pattern = "android-cts/results/(?<SESSION>[^/]+)/test_result\\.xml"; in testFindTestContextFile_multipleMatches_pickFirst() local 149 mWorkDir, pattern, FilePickingStrategy.PICK_FIRST, envVars); in testFindTestContextFile_multipleMatches_pickFirst() 159 final String pattern = "android-cts/results/(?<SESSION>[^/]+)/test_result\\.xml"; in testFindTestContextFile_multipleMatches_pickLast() local 174 mWorkDir, pattern, FilePickingStrategy.PICK_LAST, envVars); in testFindTestContextFile_multipleMatches_pickLast() 184 final String pattern = "android-cts/results/(?<SESSION>[^/]+)/test_result\\.xml"; in testFindTestContextFile_noMatch() local 191 mWorkDir, pattern, FilePickingStrategy.PICK_LAST, envVars); in testFindTestContextFile_noMatch() 199 final String pattern = "android-cts/results/(?<SESSION>[^/]+)/test_result\\.xml"; in testFindTestContextFile_existingEnvVar() local 209 mWorkDir, pattern, FilePickingStrategy.PICK_LAST, envVars); in testFindTestContextFile_existingEnvVar()
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiGenerator.java | 101 String pattern = arg; in main() local 102 if (!pattern.endsWith(File.separator)) { in main() 103 pattern += File.separator; in main() 105 … pattern += "platforms" + File.separator + "android-%" + File.separator + "android.jar"; in main() 106 patterns.add(pattern); in main()
|
/tools/test/connectivity/acts/framework/acts/ |
D | keys.py | 123 def value_to_value(ref_value, pattern): argument 130 target_key_name = pattern % ref_key_name
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterHostUtil.java | 100 String pattern = m.group(1); in getRunTarget() local 103 switch (pattern) { in getRunTarget() 149 pattern, runTargetFormat)); in getRunTarget()
|
D | ClusterLogSaver.java | 132 private Stream<Path> getPathStream(final File dir, final Pattern pattern) throws IOException { in getPathStream() argument 138 && pattern.matcher(getRelativePath(path).toString()).matches(), in getPathStream() 143 final Pattern pattern = Pattern.compile(regex); in findFilesRecursively() local 144 try (final Stream<Path> stream = getPathStream(dir, pattern)) { in findFilesRecursively() argument 179 final Pattern pattern = Pattern.compile(regex); in findTestContextFile() local 180 try (Stream<Path> stream = getPathStream(dir, pattern)) { in findTestContextFile() argument 197 Matcher matcher = pattern.matcher(relPath.toString()); in findTestContextFile()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | FilePullerDeviceMetricCollector.java | 144 String pattern, final Map<String, String> currentMetrics) { in pullMetricFile() argument 146 Pattern p = Pattern.compile(pattern); in pullMetricFile() 176 CLog.d("Could not find a device file associated to pattern '%s'.", pattern); in pullMetricFile()
|
/tools/tradefederation/core/atest/ |
D | test_mapping.py | 157 for pattern in file_patterns: 158 if re.search(pattern, modified_file):
|
/tools/asuite/atest/ |
D | test_mapping.py | 155 for pattern in file_patterns: 156 if re.search(pattern, modified_file):
|
/tools/tradefederation/contrib/src/com/android/build/tests/ |
D | ImageStats.java | 233 matcher.pattern(), marker, rawLabel); in getAggregationLabel() 268 for (Map.Entry<Pattern, String> pattern : patterns.entrySet()) { in performAggregation() 269 Matcher m = pattern.getKey().matcher(stat.getKey()); in performAggregation() 272 String label = getAggregationLabel(m, pattern.getValue()); in performAggregation()
|
/tools/test/connectivity/acts/framework/tests/test_utils/instrumentation/ |
D | unit_test_suite.py | 24 start_dir=os.path.dirname(__file__), pattern='*_test.py')
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxInvocationRunner.java | 85 Pattern pattern = in handleStderrException() local 88 Matcher m = pattern.matcher(line); in handleStderrException()
|
/tools/treble/build/ |
D | test.py | 25 suite = loader.discover(start_dir, pattern='*_test.py')
|
/tools/treble/split/ |
D | test.py | 24 suite = loader.discover(start_dir, pattern='*_test.py')
|