Home
last modified time | relevance | path

Searched refs:patterns (Results 1 – 19 of 19) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoaderTest.java123 List<String> patterns = new ArrayList<>(); in testInjectConfigOptions_moduleArgs() local
124 patterns.add(".*.config"); in testInjectConfigOptions_moduleArgs()
125 patterns.add(".*.xml"); in testInjectConfigOptions_moduleArgs()
128 Arrays.asList(mTestsDir), mAbis, null, null, patterns); in testInjectConfigOptions_moduleArgs()
172 List<String> patterns = new ArrayList<>(); in testInjectConfigOptions_testArgs() local
173 patterns.add(".*.config"); in testInjectConfigOptions_testArgs()
174 patterns.add(".*.xml"); in testInjectConfigOptions_testArgs()
177 Arrays.asList(mTestsDir), mAbis, null, null, patterns); in testInjectConfigOptions_testArgs()
206 List<String> patterns = new ArrayList<>(); in testInjectConfigOptions_moduleArgs_alias() local
207 patterns.add(".*.config"); in testInjectConfigOptions_moduleArgs_alias()
[all …]
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/
DEventParserState.kt42 private val patterns = mutableListOf<Pattern>() constant
54 val index = patterns.size in addPattern()
55 patterns.add(newPattern) in addPattern()
61 return EventParserState(patterns, detailHandlers) in createParser()
98 class EventParserState constructor(patterns: List<Pattern>, in createEventParser()
100 val matchers = Array<Matcher>(patterns.size) { patterns[it].matcher("") } in createEventParser()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRegexTrie.java118 V recursivePut(V value, List<CompPattern> patterns) { in recursivePut() argument
122 if (patterns.isEmpty()) { in recursivePut()
127 CompPattern curKey = patterns.get(0); in recursivePut()
128 List<CompPattern> nextKeys = patterns.subList(1, patterns.size()); in recursivePut()
161 public V put(V value, Pattern... patterns) { in put() argument
162 List<CompPattern> pList = new ArrayList<CompPattern>(patterns.length); in put()
163 for (Pattern pat : patterns) { in put()
/tools/loganalysis/src/com/android/loganalysis/util/
DRegexTrie.java118 V recursivePut(V value, List<CompPattern> patterns) { in recursivePut() argument
122 if (patterns.isEmpty()) { in recursivePut()
127 CompPattern curKey = patterns.get(0); in recursivePut()
128 List<CompPattern> nextKeys = patterns.subList(1, patterns.size()); in recursivePut()
161 public V put(V value, Pattern... patterns) { in put() argument
162 List<CompPattern> pList = new ArrayList<CompPattern>(patterns.length); in put()
163 for (Pattern pat : patterns) { in put()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiGenerator.java40 List<String> patterns = new ArrayList<>(); in main() local
49 patterns.add(args[i]); in main()
106 patterns.add(pattern); in main()
118 if (!error && patterns.isEmpty()) { in main()
139 if (!generate(minApi, currentApi, currentJar, patterns, outPath, null)) { in main()
151 @NotNull List<String> patterns, in generate() argument
154 …AndroidJarReader reader = new AndroidJarReader(patterns, minApi, currentJar, currentApi, codebase); in generate()
DAndroidJarReader.java48 AndroidJarReader(@NotNull List<String> patterns, in AndroidJarReader() argument
53 mPatterns = patterns; in AndroidJarReader()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationUtilTest.java184 List<String> patterns = new ArrayList<>(); in testGetConfigNamesFromDirs_patterns() local
185 patterns.add(".*.other.*"); in testGetConfigNamesFromDirs_patterns()
189 "sub", Arrays.asList(tmpDir), patterns); in testGetConfigNamesFromDirs_patterns()
215 List<String> patterns = new ArrayList<>(); in testGetConfigNamesFromDirs_prioritizeHostConfig() local
216 patterns.add(".*.config.*"); in testGetConfigNamesFromDirs_prioritizeHostConfig()
230 ConfigurationUtil.getConfigNamesFileFromDirs(null, targetFirst, patterns); in testGetConfigNamesFromDirs_prioritizeHostConfig()
234 configs = ConfigurationUtil.getConfigNamesFileFromDirs(null, hostFirst, patterns); in testGetConfigNamesFromDirs_prioritizeHostConfig()
243 null, Arrays.asList(tmpDir), patterns); in testGetConfigNamesFromDirs_prioritizeHostConfig()
/tools/tradefederation/core/src/com/android/tradefed/result/
DDeviceFileReporter.java85 public void addPatterns(String... patterns) { in addPatterns() argument
86 addPatterns(Arrays.asList(patterns)); in addPatterns()
95 public void addPatterns(List<String> patterns) { in addPatterns() argument
96 for (String pat : patterns) { in addPatterns()
108 public void addPatterns(Map<String, LogDataType> patterns) { in addPatterns() argument
109 mFilePatterns.putAll(patterns); in addPatterns()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java340 List<String> patterns = new ArrayList<String>(Arrays.asList(EXPECTED_TMP_FILE_PATTERNS)); in testTmpDirClean() local
341 patterns.add(mBuildInfo.getBuildBranch()); in testTmpDirClean()
344 for (String pattern : patterns) { in testTmpDirClean()
346 patterns.remove(pattern); in testTmpDirClean()
360 unmatchedFiles.size(), unmatchedFiles, patterns); in testTmpDirClean()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationUtil.java219 List<String> patterns = new ArrayList<>(); in getConfigNamesFileFromDirs() local
220 patterns.add(".*\\.config$"); in getConfigNamesFileFromDirs()
221 patterns.add(".*\\.xml$"); in getConfigNamesFileFromDirs()
222 return getConfigNamesFileFromDirs(subPath, dirs, patterns); in getConfigNamesFileFromDirs()
DGlobalConfiguration.java817 private boolean shouldDump(String name, Set<String> patterns) { in shouldDump() argument
818 for (String pattern : patterns) { in shouldDump()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java119 List<String> patterns) { in loadConfigsFromDirectory() argument
123 ConfigurationUtil.getConfigNamesFileFromDirs(suitePrefix, testsDirs, patterns)); in loadConfigsFromDirectory()
332 List<String> patterns = new ArrayList<>(); in getModuleNamesMatching() local
333 patterns.add(pattern); in getModuleNamesMatching()
336 suitePrefix, extraTestCasesDirs, patterns); in getModuleNamesMatching()
DBaseTestSuite.java299 public void addConfigPatterns(List<String> patterns) { in addConfigPatterns() argument
300 mConfigPatterns.addAll(patterns); in addConfigPatterns()
/tools/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt1373 val patterns = androidJarPatterns ?: run { in <lambda>() constant
1377 patterns.add("prebuilts/tools/common/api-versions/android-%/android.jar") in <lambda>()
1378 patterns.add("prebuilts/sdk/%/public/android.jar") in <lambda>()
1379 apiLevelJars = findAndroidJars(patterns, currentApiLevel, currentCodeName, currentJar) in <lambda>()
1597 private fun getAndroidJarFile(apiLevel: Int, patterns: List<String>): File? { in <lambda>()
1598 return patterns in <lambda>()
/tools/tradefederation/contrib/src/com/android/build/tests/
DImageStats.java260 Map<String, Long> stats, Map<Pattern, String> patterns) { in performAggregation() argument
268 for (Map.Entry<Pattern, String> pattern : patterns.entrySet()) { in performAggregation()
/tools/asuite/aidegen/
D.coveragerc9 # omit file patterns must be listed one per line. */.local/* /usr/*
/tools/acloud/
D.coveragerc8 # omit file patterns must be listed one per line. */.local/* /usr/*
/tools/tradefederation/core/atest/docs/
Ddevelop_test_finders.md24 file name patterns, a special file in a dir to indicate it's a test, etc. The
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiLintTest.kt898 fun `Check boolean getter and setter naming patterns`() { in Check boolean getter and setter naming patterns()