Home
last modified time | relevance | path

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

123

/tools/test/connectivity/acts_tests/tests/google/ble/filtering/
DFilteringTest.py100 filters = {
111 return self._magic((filters, settings_in_effect))
138 filters = {
149 return self._magic((filters, settings_in_effect))
176 filters = {
187 return self._magic((filters, settings_in_effect))
214 filters = {
225 return self._magic((filters, settings_in_effect))
252 filters = {
263 return self._magic((filters, settings_in_effect))
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGTestBaseTest.java77 String filters = gTestBase.getGTestFilters(moduleName); in testGetGTestFilters_default() local
78 assertEquals("--gtest_filter=filter1", filters); in testGetGTestFilters_default()
91 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_positive() local
92 assertEquals(String.format("--gtest_filter=%s", "filter1:filter2"), filters); in testGTestFilters_positive()
104 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_negative() local
105 assertEquals(String.format("--gtest_filter=-%s", "filter1:filter2"), filters); in testGTestFilters_negative()
118 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_postive_and_negative() local
121 filters); in testGTestFilters_postive_and_negative()
138 String filters = gTestBase.getGTestFilters("/path/test1"); in testFilterResultWhenPrepending() local
141 filters); in testFilterResultWhenPrepending()
[all …]
/tools/asuite/atest/
Djava_test_filter_generator_test.py65 filters = java_test_filter_generator._get_test_filters(
69 self.assertCountEqual(filters, ['android.test.TestB', 'android.test.TestD'])
72 filters = java_test_filter_generator._get_test_filters(
81 self.assertCountEqual(filters, ['android.test.TestA', 'android.test.TestC'])
84 filters = java_test_filter_generator._get_test_filters(
95 filters,
Djava_test_filter_generator.py46 filters = []
68 filters.extend([f'{full_class_name}#{m}' for m in methods])
70 filters.append(full_class_name)
72 return filters
Datest_utils_unittest.py856 filters = set(['CLASS#METHOD'])
858 self.assertEqual(atest_utils.get_filter_types(filters), expect_types)
860 filters = set(['CLASS#METHOD*'])
862 self.assertEqual(atest_utils.get_filter_types(filters), expect_types)
864 filters = set(['CLASS#METHOD', 'CLASS#METHOD*'])
868 self.assertEqual(atest_utils.get_filter_types(filters), expect_types)
870 filters = set(['CLASS#METHOD?', 'CLASS#METHOD*'])
872 self.assertEqual(atest_utils.get_filter_types(filters), expect_types)
/tools/tradefederation/core/src/com/android/tradefed/config/filter/
DGetPreviousPassedHelper.java47 Set<String> filters = new LinkedHashSet<>(); in getPreviousPassedFilters() local
50 return filters; in getPreviousPassedFilters()
53 return filters; in getPreviousPassedFilters()
66 return filters; in getPreviousPassedFilters()
70 return filters; in getPreviousPassedFilters()
91 previousPassedFilters.stream().forEach(f->filters.add(f.toString())); in getPreviousPassedFilters()
95 return filters; in getPreviousPassedFilters()
/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.java267 ITestDevice testDevice, String fullBinaryPath, Set<String> filters) in getTestsForFilters() argument
274 getFilterFlagForFilters(filters), in getTestsForFilters()
387 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
388 for (String filter : filters) { in addAllIncludeFilters()
401 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
402 for (String filter : filters) { in addAllExcludeFilters()
432 protected String getFilterFlagForFilters(Set<String> filters) { in getFilterFlagForFilters() argument
435 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.java355 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
356 for (String filter : filters) { in addAllIncludeFilters()
374 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
375 for (String filter : filters) { in addAllExcludeFilters()
753 protected void erasePrependedFileName(Set<String> filters, String filename) { in erasePrependedFileName() argument
758 for (String filter : filters) { in erasePrependedFileName()
765 filters.clear(); in erasePrependedFileName()
766 filters.addAll(copy); in erasePrependedFileName()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustTestBase.java143 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
144 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
149 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
150 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java75 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
76 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
89 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
90 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/asuite/atest/test_runners/
Drobolectric_test_runner.py225 filters = test_info.data.get(constants.TI_FILTER)
226 if filters:
227 robo_filter = next(iter(filters))
Datest_tf_test_runner_unittest.py674 filters = self.tr.flatten_test_filters({uc.CLASS_FILTER})
676 self, frozenset([uc.CLASS_FILTER]), filters
678 filters = self.tr.flatten_test_filters({CLASS2_FILTER})
680 self, frozenset([CLASS2_FILTER]), filters
682 filters = self.tr.flatten_test_filters({uc.METHOD_FILTER})
684 self, frozenset([uc.METHOD_FILTER]), filters
686 filters = self.tr.flatten_test_filters(
690 self, frozenset([uc.METHOD_FILTER, CLASS2_METHOD_FILTER]), filters
693 filters = self.tr.flatten_test_filters({uc.METHOD_FILTER, METHOD2_FILTER})
695 self, filters, frozenset([uc.FLAT_METHOD_FILTER])
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java509 Map<String, LinkedHashSet<SuiteTestFilter>> filters, in addFilters() argument
519 addFilter(a.getName(), filter, filters); in addFilters() local
522 addFilter(abi, filter, filters); in addFilters()
551 Map<String, LinkedHashSet<SuiteTestFilter>> filters) { in addFilter() argument
552 getFilterList(filters, AbiUtils.createId(abi, filter.getName())).add(filter); in addFilter()
556 Map<String, LinkedHashSet<SuiteTestFilter>> filters, String id) { in getFilterList() argument
557 LinkedHashSet<SuiteTestFilter> fs = filters.get(id); in getFilterList()
560 filters.put(id, fs); in getFilterList()
646 String prefix, String suffix, Collection<SuiteTestFilter> filters) { in createFilterFile() argument
652 for (SuiteTestFilter filter : filters) { in createFilterFile()
/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/asuite/atest/unittest_data/annotation_testing/
DAnnotation.src4 import androidx.test.filters.LargeTest;
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTestSuiteStub.java229 public void addAllIncludeFilters(Set<String> filters) {} in addAllIncludeFilters() argument
237 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
238 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableBaseTest.java155 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
156 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
161 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
162 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/help/
DHelpCommandTest.kt46 fun `Test help package-filters`() { in Test help package-filters()
/tools/security/fuzzing/orphans/android_logger/
Dandroid_logger_fuzzer.rs93 filters: Vec<(Option<String>, LevelFilterInput)>, field
100 for (name, level) in &self.filters { in get_filter()
/tools/asuite/atest/test_finders/
Dtf_integration_finder.py293 filters = frozenset()
311 filters = frozenset(test_filters)
318 constants.TI_FILTER: filters,
/tools/tradefederation/core/javatests/com/android/tradefed/retry/
DBaseRetryDecisionTest.java81 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters() argument
82 mIncludeFilters.addAll(filters); in addAllIncludeFilters()
91 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters() argument
92 mExcludeFilters.addAll(filters); in addAllExcludeFilters()
/tools/tradefederation/core/
DTEST_MAPPING11 "instrumentation-arg": "annotation:=android.support.test.filters.SmallTest"

123