Home
last modified time | relevance | path

Searched refs:Set (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestInfo.java27 import java.util.Set;
38 private Set<String> mSources = new HashSet<String>();
40 private Set<String> mImportPaths = new HashSet<String>();
44 private Set<String> mKeywords = null;
50 public TestInfo(String name, String source, boolean hostOnly, Set<String> keywords) { in TestInfo()
70 public void addSources(Set<String> sources) { in addSources()
74 public void addImportPaths(Set<String> paths) { in addImportPaths()
78 public Set<String> getImportPaths() { in getImportPaths()
82 public Set<String> getSources() { in getSources()
104 public Set<String> getKeywords() { in getKeywords()
[all …]
DTestMapping.java56 import java.util.Set;
84 private static final Set<String> COMMENTS = new HashSet<>(Arrays.asList("#", "//"));
115 Map<String, Set<TestInfo>> getTestCollection( in getTestCollection()
116 Path path, Path testMappingsDir, Set<String> matchedPatternPaths) { in getTestCollection()
117 Map<String, Set<TestInfo>> testCollection = new LinkedHashMap<>(); in getTestCollection()
134 Set<Path> filePaths = new HashSet<>(); in getTestCollection()
144 Set<TestInfo> testsForGroup = new LinkedHashSet<>(); in getTestCollection()
150 Set<String> keywords = new HashSet<>(); in getTestCollection()
157 Set<String> filePatterns = new HashSet<>(); in getTestCollection()
198 Map<String, Set<TestInfo>> filePathImportedTestCollection = in getTestCollection()
[all …]
/tools/platform-compat/javatest/com/android/class2nonsdklist/
DApiResolverTest.java31 import java.util.Set;
36 Set<String> publicApis = Collections.unmodifiableSet(new HashSet<>( in testFindPublicAlternativeExactly()
44 Set<String> publicApis = Collections.unmodifiableSet(new HashSet<>( in testFindPublicAlternativeDeducedPackageName()
52 Set<String> publicApis = Collections.unmodifiableSet(new HashSet<>( in testFindPublicAlternativeDeducedPackageAndClassName()
60 Set<String> publicApis = Collections.unmodifiableSet(new HashSet<>( in testFindPublicAlternativeDeducedParameterTypes()
69 Set<String> publicApis = Collections.unmodifiableSet(new HashSet<>( in testFindPublicAlternativeWarnsOnMultipleParameterTypes()
82 Set<String> publicApis = Collections.unmodifiableSet(new HashSet<>( in testFindPublicAlternativeFailNoAlternative()
92 Set<String> publicApis = Collections.unmodifiableSet(new HashSet<>( in testFindPublicAlternativeFailNoAlternativeNoParameterTypes()
101 Set<String> publicApis = Collections.unmodifiableSet(new HashSet<>()); in testNoPublicClassAlternatives()
109 Set<String> publicApis = Collections.unmodifiableSet(new HashSet<>( in testPublicAlternativesJustPackageAndClassName()
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DAbiUtils.java22 import java.util.Set;
48 private static final Set<String> ABIS_32BIT = new LinkedHashSet<String>();
51 private static final Set<String> ABIS_64BIT = new LinkedHashSet<String>();
54 protected static final Set<String> ARM_ABIS = new LinkedHashSet<String>();
57 private static final Set<String> INTEL_ABIS = new LinkedHashSet<String>();
60 private static final Set<String> MIPS_ABIS = new LinkedHashSet<String>();
63 private static final Set<String> RISCV_ABIS = new LinkedHashSet<String>();
66 protected static final Set<String> ABIS_SUPPORTED_BY_COMPATIBILITY = new LinkedHashSet<>();
69 private static final Set<String> ARCH_SUPPORTED = new LinkedHashSet<>();
72 private static final Map<String, Set<String>> ARCH_TO_ABIS =
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/retry/
DRetryReschedulerTest.java54 import java.util.Set;
117 Set<String> excludeRun0 = new HashSet<>(); in testReschedule_onlyPassTests()
120 Set<String> excludeRun1 = new HashSet<>(); in testReschedule_onlyPassTests()
145 Set<String> excludeRun0 = new HashSet<>(); in testReschedule_carryShardCount()
148 Set<String> excludeRun1 = new HashSet<>(); in testReschedule_carryShardCount()
167 Set<String> excludeRun0 = new HashSet<>(); in testReschedule_someFailedTests()
170 Set<String> excludeRun1 = new HashSet<>(); in testReschedule_someFailedTests()
192 Set<String> excludeRun0 = new HashSet<>(); in testReschedule_someAssumptionFailures()
195 Set<String> excludeRun1 = new HashSet<>(); in testReschedule_someAssumptionFailures()
217 Set<String> excludeRun0 = new HashSet<>(); in testReschedule_mixedFailedAssumptionFailures()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunner.java52 import java.util.Set;
82 private Set<String> mKeywords = new LinkedHashSet<>();
92 private Set<String> mIgnoreKeywords = new LinkedHashSet<>();
100 private Set<String> mTestModulesForced = new HashSet<>();
131 private Set<String> mAllowedTestLists = new HashSet<>();
147 private Set<String> mMatchedPatternPaths = new HashSet<>();
186 public Set<TestInfo> loadTestInfos() { in loadTestInfos()
189 Set<String> testNames = new LinkedHashSet<>(); in loadTestInfos()
190 Set<TestInfo> testInfosToRun = new LinkedHashSet<>(); in loadTestInfos()
256 Set<TestInfo> testInfosToRun = loadTestInfos(); in loadTests()
[all …]
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/
DTestDiscoveryExecutor.java59 import java.util.Set;
207 Set.of(Configuration.TEST_TYPE_NAME, Configuration.TARGET_PREPARER_TYPE_NAME), in getConfiguration()
218 private Set<String> discoverTestModulesFromTests(List<IRemoteTest> testList) in discoverTestModulesFromTests()
222 Set<String> testModules = new LinkedHashSet<String>(); in discoverTestModulesFromTests()
223 Set<String> includeFilters = new LinkedHashSet<String>(); in discoverTestModulesFromTests()
224 Set<String> excludeFilters = new LinkedHashSet<String>(); in discoverTestModulesFromTests()
238 Set<String> suiteIncludeFilters = ((BaseTestSuite) test).getIncludeFilter(); in discoverTestModulesFromTests()
258 Set<String> configs = in discoverTestModulesFromTests()
282 Set<String> configs = searchForMultiDevicesConfig(rootDir); in discoverTestModulesFromTests()
304 Set<String> configs = in discoverTestModulesFromTests()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/params/
DTestFilterable.java26 import java.util.Set;
31 private Set<String> mExcludeAnnotations = new HashSet<>();
32 private Set<String> mIncludeAnnotations = new HashSet<>();
45 public Set<String> getExcludeAnnotations() { in getExcludeAnnotations()
50 public Set<String> getIncludeAnnotations() { in getIncludeAnnotations()
65 public void addAllIncludeAnnotation(Set<String> annotations) { in addAllIncludeAnnotation()
70 public void addAllExcludeAnnotation(Set<String> notAnnotations) { in addAllExcludeAnnotation()
/tools/tradefederation/core/src/com/android/tradefed/build/content/
DContentAnalysisContext.java19 import java.util.Set;
38 private Set<String> ignoredChange = new HashSet<>();
40 private Set<String> commonLocations = new HashSet<>();
64 public Set<String> ignoredChanges() { in ignoredChanges()
68 public Set<String> commonLocations() { in commonLocations()
85 public ContentAnalysisContext addIgnoreChanges(Set<String> paths) { in addIgnoreChanges()
95 public ContentAnalysisContext addCommonLocations(Set<String> paths) { in addCommonLocations()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DITestAnnotationFilterReceiver.java18 import java.util.Set;
41 void addAllIncludeAnnotation(Set<String> annotations); in addAllIncludeAnnotation()
46 void addAllExcludeAnnotation(Set<String> notAnnotations); in addAllExcludeAnnotation()
49 Set<String> getIncludeAnnotations(); in getIncludeAnnotations()
52 Set<String> getExcludeAnnotations(); in getExcludeAnnotations()
DITestFilterReceiver.java18 import java.util.Set;
41 void addAllIncludeFilters(Set<String> filters); in addAllIncludeFilters()
51 void addAllExcludeFilters(Set<String> filters); in addAllExcludeFilters()
54 Set<String> getIncludeFilters(); in getIncludeFilters()
57 Set<String> getExcludeFilters(); in getExcludeFilters()
/tools/tradefederation/core/src/com/android/tradefed/config/filter/
DGlobalTestFilter.java39 import java.util.Set;
55 private Set<String> mIncludeFilters = new LinkedHashSet<>();
62 private Set<String> mExcludeFilters = new LinkedHashSet<>();
72 private Set<String> mStrictIncludeFilters = new LinkedHashSet<>();
90 public Set<String> getIncludeFilters() { in getIncludeFilters()
95 public Set<String> getExcludeFilters() { in getExcludeFilters()
100 public Set<String> getStrictIncludeFilters() { in getStrictIncludeFilters()
104 public void addPreviousPassedTests(Set<String> previousPassed) { in addPreviousPassedTests()
112 public void setUpFilters(IConfiguration config, Set<String> demotedList) { in setUpFilters()
164 Set<String> includeFilters = new LinkedHashSet<>(filterableTest.getIncludeFilters()); in applyFiltersToTest()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java35 import java.util.Set;
43 private Set<String> mIncludeFilters = new HashSet<>();
46 private Set<String> mExcludeFilters = new HashSet<>();
49 private Set<String> mIncludeAnnotations = new HashSet<>();
52 private Set<String> mExcludeAnnotations = new HashSet<>();
75 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters()
89 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters()
103 public void addAllIncludeAnnotation(Set<String> annotations) { in addAllIncludeAnnotation()
117 public void addAllExcludeAnnotation(Set<String> notAnnotations) { in addAllExcludeAnnotation()
121 public Set<String> getIncludeFilters() { in getIncludeFilters()
[all …]
/tools/loganalysis/src/com/android/loganalysis/item/
DGenericTimingItem.java21 import java.util.Set;
31 private static final Set<String> ATTRIBUTES =
38 protected GenericTimingItem(Set<String> attributes) { in GenericTimingItem()
74 private static Set<String> getAllAttributes(Set<String> attributes) { in getAllAttributes()
75 Set<String> allAttributes = new HashSet<String>(ATTRIBUTES); in getAllAttributes()
DMiscKernelLogItem.java20 import java.util.Set;
37 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(
52 protected MiscKernelLogItem(Set<String> attributes) { in MiscKernelLogItem()
115 private static Set<String> getAllAttributes(Set<String> attributes) { in getAllAttributes()
116 Set<String> allAttributes = new HashSet<String>(ATTRIBUTES); in getAllAttributes()
DMiscLogcatItem.java21 import java.util.Set;
46 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(
61 protected MiscLogcatItem(Set<String> attributes) { in MiscLogcatItem()
166 private static Set<String> getAllAttributes(Set<String> attributes) { in getAllAttributes()
167 Set<String> allAttributes = new HashSet<String>(ATTRIBUTES); in getAllAttributes()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceTestCase.java36 import java.util.Set;
58 protected Set<String> mIncludeFilters = new HashSet<>();
63 protected Set<String> mExcludeFilters = new HashSet<>();
68 protected Set<String> mIncludeAnnotation = new HashSet<String>();
73 protected Set<String> mExcludeAnnotation = new HashSet<String>();
202 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters()
220 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters()
234 public Set<String> getIncludeFilters() { in getIncludeFilters()
240 public Set<String> getExcludeFilters() { in getExcludeFilters()
264 public void addAllIncludeAnnotation(Set<String> annotations) { in addAllIncludeAnnotation()
[all …]
DGoogleBenchmarkTest.java42 import java.util.Set;
95 private Set<String> mIncludeFilters = new LinkedHashSet<>();
100 private Set<String> mExcludeFilters = new LinkedHashSet<>();
204 Set<String> filteredTests = getFilteredTests(testDevice, root); in doRunAllTestsInSubdirectory()
247 private Set<String> getFilteredTests(ITestDevice testDevice, String fullBinaryPath) in getFilteredTests()
249 Set<String> filteredTests = getTestsForFilters(testDevice, fullBinaryPath, mIncludeFilters); in getFilteredTests()
266 private Set<String> getTestsForFilters( in getTestsForFilters()
267 ITestDevice testDevice, String fullBinaryPath, Set<String> filters) in getTestsForFilters()
387 public void addAllIncludeFilters(Set<String> filters) { in addAllIncludeFilters()
401 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/presubmit/
DTestMappingsValidation.java66 import java.util.Set;
81 private Set<String> mTestGroupToValidate =
85 private Set<String> mSkipModules = new HashSet<>();
110 private static final Set<String> INCOMPATIBLE_PAIRS =
114 private static final Set<String> MAINLINE_PARAMETERS_TO_VALIDATE =
123 private Map<String, Set<TestInfo>> allTests = null;
136 private static final Set<String> EXEMPTED_DUPLICATION_PRESUBMIT_LARGE =
152 private static final Set<String> PRESUBMIT_LARGE_ALLOWLIST =
209 private static final Set<String> REMOUNT_MODULES =
281 String error = validateMainlineModuleConfig(param, Set.of(configName)); in testValidTestConfigForParameterizedMainlineModules()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/rust/
DRustTestBaseTest.java28 import java.util.Set;
42 Set<String> set0 = new HashSet<>(); in testIncludeFilters()
43 Set<String> set1 = new HashSet<>(Arrays.asList(s[0])); in testIncludeFilters()
44 Set<String> set2 = new HashSet<>(Arrays.asList(s[1], s[2], s[3])); in testIncludeFilters()
63 Set<String> set0 = new HashSet<>(); in testExcludeFilters()
64 Set<String> set1 = new HashSet<>(Arrays.asList(s[0])); in testExcludeFilters()
65 Set<String> set2 = new HashSet<>(Arrays.asList(s[1], s[2], s[3])); in testExcludeFilters()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTestSuiteStub.java42 import java.util.Set;
84 private Set<String> mIncludeAnnotationFilter = new LinkedHashSet<>();
89 private Set<String> mExcludeAnnotationFilter = new LinkedHashSet<>();
91 private Set<String> mExcludeFilters = new LinkedHashSet<>();
229 public void addAllIncludeFilters(Set<String> filters) {} in addAllIncludeFilters()
237 public void addAllExcludeFilters(Set<String> filters) { in addAllExcludeFilters()
245 public Set<String> getIncludeFilters() { in getIncludeFilters()
250 public Set<String> getExcludeFilters() { in getExcludeFilters()
270 public void addAllIncludeAnnotation(Set<String> annotations) { in addAllIncludeAnnotation()
275 public void addAllExcludeAnnotation(Set<String> notAnnotations) { in addAllExcludeAnnotation()
[all …]
/tools/asuite/atest/
Ddevice_update.py22 from typing import List, Set
43 def dependencies(self) -> Set[str]:
52 def dependencies(self) -> Set[str]:
59 def __init__(self, adevice_path: Path=_TOOL, targets: Set[str]=None):
93 def dependencies(self) -> Set[str]:
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DDeviceSettingChecker.java34 import java.util.Set;
42 private static final Set<String> NAMESPACES = new HashSet<>();
54 private Set<String> mIgnoredSystemSettings = new HashSet<>();
60 private Set<String> mIgnoredSecureSettings = new HashSet<>();
66 private Set<String> mIgnoredGlobalSettings = new HashSet<>();
77 Set<String> failedNamespaces = new HashSet<>(); in preExecutionCheck()
126 Set<String> settingsOnlyInOld = diff.entriesOnlyOnLeft().keySet(); in postExecutionCheck()
134 Set<String> settingsOnlyInNew = diff.entriesOnlyOnRight().keySet(); in postExecutionCheck()
174 Set<String> ignoredSettings = new HashSet<>(); in getSettingsHelper()
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/
DIDefaultObjectLoader.java21 import java.util.Set;
37 private Set<String> mDependencies = new LinkedHashSet<>();
44 public LoaderConfiguration addDependencies(Set<String> dependencies) { in addDependencies()
63 public Set<String> getDependencies() { in getDependencies()
/tools/tradefederation/core/javatests/com/android/tradefed/result/error/
DErrorIdentifierTest.java28 import java.util.Set;
43 Set<String> uniques = new HashSet<>(); in testUniqueErrors()
44 Set<String> duplicates = in testUniqueErrors()
55 Set<String> uniqueCodes = new HashSet<>(); in testUniqueErrors()
56 Set<String> duplicateCodes = in testUniqueErrors()

12345678910>>...18