/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestFilterHelper.java | 40 private Set<String> mIncludeFilters = new HashSet<>(); field in TestFilterHelper 56 mIncludeFilters.addAll(includeFilters); in TestFilterHelper() 66 mIncludeFilters.add(filter); in addIncludeFilter() 73 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 119 return mIncludeFilters; in getIncludeFilters() 127 mIncludeFilters.clear(); in clearIncludeFilters() 240 return mIncludeFilters.isEmpty() in shouldRun() 241 || mIncludeFilters.contains(methodName) in shouldRun() 242 || mIncludeFilters.contains(className) in shouldRun() 243 || mIncludeFilters.contains(packageName); in shouldRun() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTestBase.java | 84 private Set<String> mIncludeFilters = new LinkedHashSet<>(); field in GTestBase 287 mIncludeFilters.add(cleanFilter(filter)); in addIncludeFilter() 294 mIncludeFilters.add(cleanFilter(filter)); in addAllIncludeFilters() 315 mIncludeFilters.clear(); in clearIncludeFilters() 323 return mIncludeFilters; in getIncludeFilters() 411 mIncludeFilters.add(mTestNamePositiveFilter); in getGTestFilters() 426 mIncludeFilters.add(filterString); in getGTestFilters() 436 if (!mIncludeFilters.isEmpty() || !mExcludeFilters.isEmpty()) { in getGTestFilters() 439 if (!mIncludeFilters.isEmpty()) { in getGTestFilters() 440 filter.append(ArrayUtil.join(":", mIncludeFilters)); in getGTestFilters() [all …]
|
D | DeviceTestCase.java | 58 protected Set<String> mIncludeFilters = new HashSet<>(); field in DeviceTestCase 88 mFilterHelper = new TestFilterHelper(mIncludeFilters, mExcludeFilters, in DeviceTestCase() 94 mFilterHelper = new TestFilterHelper(mIncludeFilters, mExcludeFilters, in DeviceTestCase() 174 mFilterHelper.addAllIncludeFilters(mIncludeFilters); in run() 194 mIncludeFilters.add(filter); in addIncludeFilter() 203 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 228 mIncludeFilters.clear(); in clearIncludeFilters() 235 return mIncludeFilters; in getIncludeFilters()
|
D | IsolatedHostTest.java | 125 private Set<String> mIncludeFilters = new HashSet<>(); field in IsolatedHostTest 178 if (!mIncludeFilters.isEmpty() in run() 184 .addAllIncludeFilters(mIncludeFilters) in run() 432 mIncludeFilters.add(filter); in addIncludeFilter() 438 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 456 return mIncludeFilters; in getIncludeFilters() 468 mIncludeFilters.clear(); in clearIncludeFilters()
|
D | GoogleBenchmarkTest.java | 86 private Set<String> mIncludeFilters = new LinkedHashSet<>(); field in GoogleBenchmarkTest 231 Set<String> filteredTests = getTestsForFilters(testDevice, fullBinaryPath, mIncludeFilters); in getFilteredTests() 352 mIncludeFilters.add(cleanFilter(filter)); in addIncludeFilter() 359 mIncludeFilters.add(cleanFilter(filter)); in addAllIncludeFilters() 380 return mIncludeFilters; in getIncludeFilters() 392 mIncludeFilters.clear(); in clearIncludeFilters()
|
D | AndroidJUnitTest.java | 108 private Set<String> mIncludeFilters = new HashSet<>(); field in AndroidJUnitTest 190 mIncludeFilters.add(filter); in addIncludeFilter() 198 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 220 mIncludeFilters.clear(); in clearIncludeFilters() 226 return mIncludeFilters; in getIncludeFilters() 369 for (String test : mIncludeFilters) { in setRunnerArgs()
|
D | PythonUnitTestResultParser.java | 106 private Set<String> mIncludeFilters = new LinkedHashSet<>(); field in PythonUnitTestResultParser 203 mIncludeFilters = includeFilters; in PythonUnitTestResultParser() 456 if (!mIncludeFilters.isEmpty()) { in shouldSkipCurrentTest() 457 if (mIncludeFilters.contains(mCurrentTestClass + "#" + mCurrentTestName) in shouldSkipCurrentTest() 458 || mIncludeFilters.contains(mCurrentTestClass)) { in shouldSkipCurrentTest()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/ |
D | ExecutableBaseTest.java | 90 private Set<String> mIncludeFilters = new LinkedHashSet<>(); field in ExecutableBaseTest 111 mIncludeFilters.add(filter); in addIncludeFilter() 123 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 135 mIncludeFilters.clear(); in clearIncludeFilters() 147 return mIncludeFilters; in getIncludeFilters() 211 if (!mIncludeFilters.isEmpty()) { in shouldSkipCurrentTest() 212 return !mIncludeFilters.contains(testName) in shouldSkipCurrentTest() 213 && !mIncludeFilters.contains(description.toString()); in shouldSkipCurrentTest() 308 shard.mIncludeFilters.addAll(mIncludeFilters); in getTestShard()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustTestBase.java | 54 private Set<String> mIncludeFilters = new LinkedHashSet<>(); field in RustTestBase 68 mIncludeFilters.add(filter); in addIncludeFilter() 80 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 92 mIncludeFilters.clear(); in clearIncludeFilters() 104 return mIncludeFilters; in getIncludeFilters() 132 if (mIncludeFilters.isEmpty()) { in getListOfIncludeFilters() 136 return new ArrayList<String>(mIncludeFilters); in getListOfIncludeFilters()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | BaseTestSuite.java | 72 private Set<String> mIncludeFilters = new HashSet<>(); field in BaseTestSuite 216 SuiteModuleLoader.addFilters(mIncludeFilters, mIncludeFiltersParsed, abis); in loadTests() 380 mIncludeFilters.addAll(includeFilters); in setIncludeFilter() 385 return new HashSet<String>(mIncludeFilters); in getIncludeFilter() 492 checkFilters(mIncludeFilters, moduleName); in setupFilters() 494 mIncludeFilters.add( in setupFilters() 511 mIncludeFilters.add( in setupFilters() 524 mIncludeFilters.clear(); in cleanUpSuiteSetup()
|
D | SuiteModuleLoader.java | 75 private Map<String, List<SuiteTestFilter>> mIncludeFilters = new HashMap<>(); field in SuiteModuleLoader 103 mIncludeFilters = includeFilters; in SuiteModuleLoader() 472 List<SuiteTestFilter> mdIncludes = getFilterList(mIncludeFilters, moduleId); in shouldRunModule() 497 List<SuiteTestFilter> baseInclude = getFilterList(mIncludeFilters, baseModuleId); in shouldRunParameterized() 503 List<SuiteTestFilter> included = getFilterList(mIncludeFilters, parameterModuleId); in shouldRunParameterized() 504 List<SuiteTestFilter> includedParam = getFilterList(mIncludeFilters, nameWithParam); in shouldRunParameterized() 806 addFiltersToTest(test, abi, fullId, mIncludeFilters, mExcludeFilters); in setUpConfig()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTest.java | 82 private Set<String> mIncludeFilters = new LinkedHashSet<>(); field in PythonBinaryHostTest 135 mIncludeFilters.add(filter); in addIncludeFilter() 147 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 159 mIncludeFilters.clear(); in clearIncludeFilters() 171 return mIncludeFilters; in getIncludeFilters() 358 mIncludeFilters, in runSinglePythonFile() 362 if (!mIncludeFilters.isEmpty() || !mExcludeFilters.isEmpty()) { in runSinglePythonFile()
|
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/ |
D | IsolationFilter.java | 32 private Set<String> mIncludeFilters = new HashSet<>(); field in IsolationFilter 42 mIncludeFilters = new HashSet<String>(includeFilters); in IsolationFilter() 83 return mIncludeFilters.isEmpty() in checkIncludeFilters() 84 || mIncludeFilters.contains(methodName) in checkIncludeFilters() 85 || mIncludeFilters.contains(className) in checkIncludeFilters() 86 || mIncludeFilters.contains(packageName); in checkIncludeFilters()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 207 private Set<String> mIncludeFilters; field in ModuleDefinitionTest.MultiRunTestObject 215 mIncludeFilters = new LinkedHashSet<>(); in MultiRunTestObject() 224 if (mIncludeFilters.isEmpty()) { in run() 227 listener.testRunStarted(runName, mIncludeFilters.size() / mRepeatedRun); in run() 232 if (!mIncludeFilters.isEmpty() && !mIncludeFilters.contains(test.toString())) { in run() 240 if (!mIncludeFilters.isEmpty() && !mIncludeFilters.contains(test.toString())) { in run() 253 mIncludeFilters.add(filter); in addIncludeFilter() 258 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 269 return mIncludeFilters; in getIncludeFilters() 279 mIncludeFilters.clear(); in clearIncludeFilters()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/retry/ |
D | BaseRetryDecisionTest.java | 53 private Set<String> mIncludeFilters = new HashSet<>(); field in BaseRetryDecisionTest.TestFilterableClass 64 mIncludeFilters.add(filter); in addIncludeFilter() 69 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 84 return mIncludeFilters; in getIncludeFilters() 94 mIncludeFilters.clear(); in clearIncludeFilters()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/ |
D | GameQualificationHostsideController.java | 84 private Set<String> mIncludeFilters = new HashSet<>(); field in GameQualificationHostsideController 129 mIncludeFilters.add(filter); in addIncludeFilter() 134 mIncludeFilters.addAll(filters); in addAllIncludeFilters() 149 return mIncludeFilters; in getIncludeFilters() 159 mIncludeFilters.clear(); in clearIncludeFilters()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/ |
D | AtestRunner.java | 81 private List<String> mIncludeFilters = new ArrayList<>(); field in AtestRunner 146 for (String filter : mIncludeFilters) { in getIncludeFilters()
|