/tools/test/connectivity/acts/tests/google/ble/filtering/ |
D | FilteringTest.py | 101 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/ |
D | GTestBaseTest.java | 77 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/ |
D | RustTestBase.java | 109 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/ |
D | TEST_MAPPING | 7 "exclude-annotation": "androidx.test.filters.LargeTest" 15 "exclude-annotation": "androidx.test.filters.LargeTest"
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | ITestFilterReceiver.java | 41 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/ |
D | GoogleBenchmarkTest.java | 249 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()
|
D | DeviceTestCase.java | 202 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()
|
D | GTestBase.java | 292 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()
|
D | AndroidJUnitTest.java | 197 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/ |
D | atest_tf_test_runner.py | 520 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:
|
D | atest_tf_test_runner_unittest.py | 453 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 …]
|
D | robolectric_test_runner.py | 207 filters = test_info.data.get(constants.TI_FILTER) 208 if filters: 209 robo_filter = next(iter(filters))
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 531 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:
|
D | atest_tf_test_runner_unittest.py | 453 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 …]
|
D | robolectric_test_runner.py | 214 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/ |
D | TestFilterHelper.java | 72 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/ |
D | ExecutableBaseTest.java | 109 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/ |
D | SuiteModuleLoader.java | 437 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()
|
D | ITestSuite.java | 1155 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()
|
D | BaseTestSuite.java | 546 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/ |
D | tf_integration_finder.py | 200 filters = frozenset() 220 filters = frozenset(test_filters) 226 constants.TI_FILTER: filters})
|
/tools/asuite/atest/test_finders/ |
D | tf_integration_finder.py | 204 filters = frozenset() 224 filters = frozenset(test_filters) 230 constants.TI_FILTER: filters})
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/ |
D | GameQualificationHostsideController.java | 133 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/ |
D | BaseRetryDecisionTest.java | 68 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/ |
D | TestSuiteStub.java | 228 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()
|