Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoaderTest.java248 List<String> patterns = new ArrayList<>(); in testInjectConfigOptions_moduleArgs() local
249 patterns.add(".*.config"); in testInjectConfigOptions_moduleArgs()
250 patterns.add(".*.xml"); in testInjectConfigOptions_moduleArgs()
253 Arrays.asList(mTestsDir), mAbis, null, null, patterns); in testInjectConfigOptions_moduleArgs()
319 List<String> patterns = new ArrayList<>(); in testInjectConfigOptions_testArgs() local
320 patterns.add(".*.config"); in testInjectConfigOptions_testArgs()
321 patterns.add(".*.xml"); in testInjectConfigOptions_testArgs()
324 Arrays.asList(mTestsDir), mAbis, null, null, patterns); in testInjectConfigOptions_testArgs()
359 List<String> patterns = new ArrayList<>(); in testInjectConfigOptions_moduleArgs_alias() local
360 patterns.add(".*.config"); in testInjectConfigOptions_moduleArgs_alias()
[all …]
/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/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/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationUtilTest.java191 List<String> patterns = new ArrayList<>(); in testGetConfigNamesFromDirs_patterns() local
192 patterns.add(".*.other.*"); in testGetConfigNamesFromDirs_patterns()
196 "sub", Arrays.asList(tmpDir), patterns); in testGetConfigNamesFromDirs_patterns()
222 List<String> patterns = new ArrayList<>(); in testGetConfigNamesFromDirs_prioritizeHostConfig() local
223 patterns.add(".*.config.*"); in testGetConfigNamesFromDirs_prioritizeHostConfig()
237 ConfigurationUtil.getConfigNamesFileFromDirs(null, targetFirst, patterns); in testGetConfigNamesFromDirs_prioritizeHostConfig()
241 configs = ConfigurationUtil.getConfigNamesFileFromDirs(null, hostFirst, patterns); in testGetConfigNamesFromDirs_prioritizeHostConfig()
250 null, Arrays.asList(tmpDir), patterns); in testGetConfigNamesFromDirs_prioritizeHostConfig()
/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/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/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.java357 List<String> patterns = new ArrayList<String>(Arrays.asList(EXPECTED_TMP_FILE_PATTERNS)); in testTmpDirClean() local
358 patterns.add(mBuildInfo.getBuildBranch()); in testTmpDirClean()
361 for (String pattern : patterns) { in testTmpDirClean()
363 patterns.remove(pattern); in testTmpDirClean()
377 unmatchedFiles.size(), unmatchedFiles, patterns); in testTmpDirClean()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestEnvironment.java250 final JSONArray patterns = json.optJSONArray("output_file_patterns"); in fromJson() local
251 if (patterns != null) { in fromJson()
252 for (int i = 0; i < patterns.length(); i++) { in fromJson()
253 obj.addOutputFilePattern(patterns.getString(i)); in fromJson()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java159 List<String> patterns) { in loadConfigsFromDirectory() argument
163 ConfigurationUtil.getConfigNamesFileFromDirs(suitePrefix, testsDirs, patterns)); in loadConfigsFromDirectory()
426 List<String> patterns = new ArrayList<>(); in getModuleNamesMatching() local
427 patterns.add(pattern); in getModuleNamesMatching()
430 suitePrefix, extraTestCasesDirs, patterns); in getModuleNamesMatching()
DBaseTestSuite.java414 public void addConfigPatterns(List<String> patterns) { in addConfigPatterns() argument
415 mConfigPatterns.addAll(patterns); in addConfigPatterns()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationUtil.java254 List<String> patterns = new ArrayList<>(); in getConfigNamesFileFromDirs() local
255 patterns.add(".*\\.config$"); in getConfigNamesFileFromDirs()
256 patterns.add(".*\\.xml$"); in getConfigNamesFileFromDirs()
257 return getConfigNamesFileFromDirs(subPath, dirs, patterns); in getConfigNamesFileFromDirs()
/tools/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt1620 val patterns = androidJarPatterns ?: run { in <lambda>() constant in com.android.tools.metalava.Options
1624 patterns.add("prebuilts/tools/common/api-versions/android-%/android.jar") in <lambda>()
1625 patterns.add("prebuilts/sdk/%/public/android.jar") in <lambda>()
1626 apiLevelJars = findAndroidJars(patterns, currentApiLevel, currentCodeName, currentJar) in <lambda>()
1898 private fun getAndroidJarFile(apiLevel: Int, patterns: List<String>): File? { in <lambda>()
1900 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/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java838 private boolean shouldDump(String name, Set<String> patterns) { in shouldDump() argument
839 for (String pattern : patterns) { in shouldDump()
/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/asuite/atest/docs/
Ddevelop_test_finders.md24 file name patterns, a special file in a dir to indicate it's a test, etc. The
/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.kt1371 fun `Check boolean getter and setter naming patterns`() { in Check boolean getter and setter naming patterns()