Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts/tests/google/ble/filtering/
DFilteringTest.py101 filters = {
112 return self._magic((filters, settings_in_effect))
139 filters = {
150 return self._magic((filters, settings_in_effect))
177 filters = {
188 return self._magic((filters, settings_in_effect))
215 filters = {
226 return self._magic((filters, settings_in_effect))
253 filters = {
264 return self._magic((filters, settings_in_effect))
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestBaseTest.java77 String filters = gTestBase.getGTestFilters(moduleName); in testGetGTestFilters_default() local
78 assertEquals("--gtest_filter=filter1", filters); in testGetGTestFilters_default()
90 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_positive() local
91 assertEquals(String.format("--gtest_filter=%s", "filter1:filter2"), filters); in testGTestFilters_positive()
103 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_negative() local
104 assertEquals(String.format("--gtest_filter=-%s", "filter1:filter2"), filters); in testGTestFilters_negative()
117 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_postive_and_negative() local
120 filters); in testGTestFilters_postive_and_negative()
138 String filters = gTestBase.getGTestFilters("/path/test1"); in testFilterResultWhenPrepending() local
141 filters); in testFilterResultWhenPrepending()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustTestBase.java109 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
110 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
115 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
116 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/dexter/
DTEST_MAPPING7 "exclude-annotation": "androidx.test.filters.LargeTest"
15 "exclude-annotation": "androidx.test.filters.LargeTest"
/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
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGoogleBenchmarkTest.java249 ITestDevice testDevice, String fullBinaryPath, Set<String> filters) in getTestsForFilters() argument
255 getFilterFlagForFilters(filters), in getTestsForFilters()
357 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
358 for (String filter : filters) { in addAllIncludeFilters()
371 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
372 for (String filter : filters) { in addAllExcludeFilters()
402 protected String getFilterFlagForFilters(Set<String> filters) { in getFilterFlagForFilters() argument
405 Iterator<String> iterator = filters.iterator(); in getFilterFlagForFilters()
DDeviceTestCase.java202 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
203 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
204 mFilterHelper.addAllIncludeFilters(filters); in addAllIncludeFilters()
220 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
221 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
222 mFilterHelper.addAllExcludeFilters(filters); in addAllExcludeFilters()
DGTestBase.java292 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
293 for (String filter : filters) { in addAllIncludeFilters()
306 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
307 for (String filter : filters) { in addAllExcludeFilters()
622 protected void erasePrependedFileName(Set<String> filters, String filename) { in erasePrependedFileName() argument
627 for (String filter : filters) { in erasePrependedFileName()
634 filters.clear(); in erasePrependedFileName()
635 filters.addAll(copy); in erasePrependedFileName()
DAndroidJUnitTest.java197 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
198 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
213 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
214 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/tradefederation/core/atest/test_runners/
Datest_tf_test_runner.py520 filters = set()
537 filters = set()
539 filters |= test_filters
542 data[constants.TI_FILTER] = self._flatten_test_filters(filters)
552 def _flatten_test_filters(filters): argument
574 for class_name, group in atest_utils.sort_and_group(filters, key):
611 filters = set()
613 filters.update(test_filter.to_set_of_tf_strings())
614 for test_filter in filters:
Datest_tf_test_runner_unittest.py453 filters = self.tr._flatten_test_filters({uc.CLASS_FILTER})
455 filters)
456 filters = self.tr._flatten_test_filters({CLASS2_FILTER})
458 self, frozenset([CLASS2_FILTER]), filters)
459 filters = self.tr._flatten_test_filters({uc.METHOD_FILTER})
461 self, frozenset([uc.METHOD_FILTER]), filters)
462 filters = self.tr._flatten_test_filters({uc.METHOD_FILTER,
465 self, frozenset([uc.METHOD_FILTER, CLASS2_METHOD_FILTER]), filters)
467 filters = self.tr._flatten_test_filters({uc.METHOD_FILTER,
470 self, filters, frozenset([uc.FLAT_METHOD_FILTER]))
[all …]
Drobolectric_test_runner.py207 filters = test_info.data.get(constants.TI_FILTER)
208 if filters:
209 robo_filter = next(iter(filters))
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py531 filters = set()
550 filters = set()
552 filters |= test_filters
555 data[constants.TI_FILTER] = self._flatten_test_filters(filters)
565 def _flatten_test_filters(filters): argument
587 for class_name, group in atest_utils.sort_and_group(filters, key):
620 filters = set()
622 filters.update(test_filter.to_set_of_tf_strings())
623 for test_filter in filters:
Datest_tf_test_runner_unittest.py453 filters = self.tr._flatten_test_filters({uc.CLASS_FILTER})
455 filters)
456 filters = self.tr._flatten_test_filters({CLASS2_FILTER})
458 self, frozenset([CLASS2_FILTER]), filters)
459 filters = self.tr._flatten_test_filters({uc.METHOD_FILTER})
461 self, frozenset([uc.METHOD_FILTER]), filters)
462 filters = self.tr._flatten_test_filters({uc.METHOD_FILTER,
465 self, frozenset([uc.METHOD_FILTER, CLASS2_METHOD_FILTER]), filters)
467 filters = self.tr._flatten_test_filters({uc.METHOD_FILTER,
470 self, filters, frozenset([uc.FLAT_METHOD_FILTER]))
[all …]
Drobolectric_test_runner.py214 filters = test_info.data.get(constants.TI_FILTER)
215 if filters:
216 robo_filter = next(iter(filters))
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java72 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
73 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
86 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
87 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableBaseTest.java109 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
110 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
115 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
116 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java437 Set<String> stringFilters, Map<String, List<SuiteTestFilter>> filters, Set<IAbi> abis) { in addFilters() argument
443 addFilter(a.getName(), filter, filters); in addFilters() local
446 addFilter(abi, filter, filters); in addFilters()
452 String abi, SuiteTestFilter filter, Map<String, List<SuiteTestFilter>> filters) { in addFilter() argument
453 getFilterList(filters, AbiUtils.createId(abi, filter.getName())).add(filter); in addFilter()
457 Map<String, List<SuiteTestFilter>> filters, String id) { in getFilterList() argument
458 List<SuiteTestFilter> fs = filters.get(id); in getFilterList()
461 filters.put(id, fs); in getFilterList()
538 private File createFilterFile(String prefix, String suffix, List<SuiteTestFilter> filters) { in createFilterFile() argument
544 for (SuiteTestFilter filter : filters) { in createFilterFile()
DITestSuite.java1155 public void addModuleMetadataIncludeFilters(MultiMap<String, String> filters) { in addModuleMetadataIncludeFilters() argument
1156 mModuleMetadataIncludeFilter.putAll(filters); in addModuleMetadataIncludeFilters()
1159 public void addModuleMetadataExcludeFilters(MultiMap<String, String> filters) { in addModuleMetadataExcludeFilters() argument
1160 mModuleMetadataExcludeFilter.putAll(filters); in addModuleMetadataExcludeFilters()
1319 Set<String> filters = new HashSet<>(include.get(key)); in filterByConfigMetadata() local
1321 filters.retainAll(metadata.get(key)); in filterByConfigMetadata()
1322 if (!filters.isEmpty()) { in filterByConfigMetadata()
1339 Set<String> filters = new HashSet<>(exclude.get(key)); in filterByConfigMetadata() local
1341 filters.retainAll(metadata.get(key)); in filterByConfigMetadata()
1342 if (!filters.isEmpty()) { in filterByConfigMetadata()
DBaseTestSuite.java546 private static void checkFilters(Set<String> filters, String moduleName) { in checkFilters() argument
548 for (String filter : filters) { in checkFilters()
556 filters.clear(); in checkFilters()
557 filters.addAll(cleanedFilters); in checkFilters()
/tools/tradefederation/core/atest/test_finders/
Dtf_integration_finder.py200 filters = frozenset()
220 filters = frozenset(test_filters)
226 constants.TI_FILTER: filters})
/tools/asuite/atest/test_finders/
Dtf_integration_finder.py204 filters = frozenset()
224 filters = frozenset(test_filters)
230 constants.TI_FILTER: filters})
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java133 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
134 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
143 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
144 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/tradefederation/core/tests/src/com/android/tradefed/retry/
DBaseRetryDecisionTest.java68 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
69 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
78 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
79 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestSuiteStub.java228 public void addAllIncludeFilters(Set<String> filters) {} in addAllIncludeFilters() argument
236 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
237 mExcludeFilters.addAll(filters); in addAllExcludeFilters()

12