Home
last modified time | relevance | path

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

/tools/tradefederation/core/atest/test_runners/
Datest_tf_test_runner_unittest.py136 filters = self.tr._flatten_test_filters({uc.CLASS_FILTER})
138 filters)
139 filters = self.tr._flatten_test_filters({CLASS2_FILTER})
141 self, frozenset([CLASS2_FILTER]), filters)
142 filters = self.tr._flatten_test_filters({uc.METHOD_FILTER})
144 self, frozenset([uc.METHOD_FILTER]), filters)
145 filters = self.tr._flatten_test_filters({uc.METHOD_FILTER,
148 self, frozenset([uc.METHOD_FILTER, CLASS2_METHOD_FILTER]), filters)
150 filters = self.tr._flatten_test_filters({uc.METHOD_FILTER,
153 self, filters, frozenset([uc.FLAT_METHOD_FILTER]))
[all …]
Datest_tf_test_runner.py204 filters = set()
218 filters = set()
220 filters |= test_filters
221 data[constants.TI_FILTER] = self._flatten_test_filters(filters)
230 def _flatten_test_filters(filters): argument
252 for class_name, group in atest_utils.sort_and_group(filters, key):
277 filters = set()
279 filters.update(test_filter.to_set_of_tf_strings())
280 for test_filter in filters:
Drobolectric_test_runner.py73 filters = test_info.data.get(constants.TI_FILTER)
74 if filters:
75 robo_filter = next(iter(filters))
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DITestFilterReceiver.java41 void addAllIncludeFilters(Set<String> filters); in addAllIncludeFilters() argument
51 void addAllExcludeFilters(Set<String> filters); in addAllExcludeFilters() argument
DDeviceTestCase.java204 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
205 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
206 mFilterHelper.addAllIncludeFilters(filters); in addAllIncludeFilters()
222 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
223 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
224 mFilterHelper.addAllExcludeFilters(filters); in addAllExcludeFilters()
DAndroidJUnitTest.java171 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
172 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
187 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
188 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
DGTest.java296 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
297 for (String filter : filters) { in addAllIncludeFilters()
314 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
315 for (String filter : filters) { in addAllExcludeFilters()
DUiAutomatorTest.java505 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
506 mClasses.addAll(filters); in addAllIncludeFilters()
516 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
DHostTest.java266 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
267 mFilterHelper.addAllIncludeFilters(filters); in addAllIncludeFilters()
282 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
283 mFilterHelper.addAllExcludeFilters(filters); in addAllExcludeFilters()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java264 Set<String> stringFilters, Map<String, List<SuiteTestFilter>> filters, Set<IAbi> abis) { in addFilters() argument
270 addFilter(a.getName(), filter, filters); in addFilters() local
273 addFilter(abi, filter, filters); in addFilters()
279 String abi, SuiteTestFilter filter, Map<String, List<SuiteTestFilter>> filters) { in addFilter() argument
280 getFilterList(filters, AbiUtils.createId(abi, filter.getName())).add(filter); in addFilter()
284 Map<String, List<SuiteTestFilter>> filters, String id) { in getFilterList() argument
285 List<SuiteTestFilter> fs = filters.get(id); in getFilterList()
288 filters.put(id, fs); in getFilterList()
330 private File createFilterFile(String prefix, String suffix, List<SuiteTestFilter> filters) { in createFilterFile() argument
336 for (SuiteTestFilter filter : filters) { in createFilterFile()
DBaseTestSuite.java297 private static void checkFilters(Set<String> filters, String moduleName) { in checkFilters() argument
299 for (String filter : filters) { in checkFilters()
304 filters.clear(); in checkFilters()
305 filters.addAll(cleanedFilters); in checkFilters()
DITestSuite.java875 Set<String> filters = new HashSet<>(include.get(key)); in filterByConfigMetadata() local
877 filters.retainAll(metadata.get(key)); in filterByConfigMetadata()
878 if (!filters.isEmpty()) { in filterByConfigMetadata()
895 Set<String> filters = new HashSet<>(exclude.get(key)); in filterByConfigMetadata() local
897 filters.retainAll(metadata.get(key)); in filterByConfigMetadata()
898 if (!filters.isEmpty()) { in filterByConfigMetadata()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java68 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
69 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
82 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
83 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/tradefederation/core/
DTEST_MAPPING7 "instrumentation-arg": "annotation:=android.support.test.filters.SmallTest"
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java110 public void addAllIncludeFilters(Set<String> filters) {} in addAllIncludeFilters() argument
113 public void addExcludeFilter(String filters) {} in addExcludeFilter() argument
116 public void addAllExcludeFilters(Set<String> filters) {} in addAllExcludeFilters() argument
DTestSuiteStub.java214 public void addAllIncludeFilters(Set<String> filters) {} in addAllIncludeFilters() argument
220 public void addAllExcludeFilters(Set<String> filters) {} in addAllExcludeFilters() argument
/tools/repohooks/tools/
Dcpplint.py864 self.filters = _DEFAULT_FILTERS[:]
866 self._filters_backup = self.filters[:]
896 def SetFilters(self, filters): argument
911 self.filters = _DEFAULT_FILTERS[:]
912 self.AddFilters(filters)
914 def AddFilters(self, filters): argument
916 for filt in filters.split(','):
919 self.filters.append(clean_filt)
920 for filt in self.filters:
927 self._filters_backup = self.filters[:]
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java654 List<String> filters = new ArrayList<>(); in testDumpXml_withFilter() local
655 filters.add(Configuration.TEST_TYPE_NAME); in testDumpXml_withFilter()
656 mConfig.dumpXml(out, filters); in testDumpXml_withFilter()
/tools/tradefederation/core/atest/docs/
Ddevelop_test_finders.md14 a data field to hold misc bits like filters and extra args for the test. The
Datest_structure.md40 method/class filters.
/tools/repohooks/
DREADME.md240 * Should make file extension filters configurable. All hooks currently declare