/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestMapping.java | 56 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 …]
|
D | TestInfo.java | 27 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 …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/retry/ |
D | RetryReschedulerTest.java | 54 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/ |
D | TestMappingSuiteRunner.java | 52 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 …]
|
D | SuiteModuleLoader.java | 68 import java.util.Set; 95 private Set<ModuleParameters> mExcludedModuleParameters = new HashSet<>(); 96 private Set<DeviceFoldableState> mFoldableStates = new LinkedHashSet<>(); 98 private static final Set<String> MAINLINE_PARAMETERS_TO_VALIDATE = 162 public final void setExcludedModuleParameters(Set<ModuleParameters> excludedParams) { in setExcludedModuleParameters() 167 public final void setFoldableStates(Set<DeviceFoldableState> foldableStates) { in setFoldableStates() 173 List<File> listConfigFiles, Set<IAbi> abis, String suiteTag) { in loadConfigsFromSpecifiedPaths() 186 Set<IAbi> abis, in loadConfigsFromDirectory() 196 Set<String> filteredConfigNames = new HashSet<>(); in loadConfigsFromDirectory() 222 Set<IAbi> abis, String suitePrefix, String suiteTag) { in loadConfigsFromJars() [all …]
|
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/ |
D | TestDiscoveryExecutor.java | 59 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/common_util/com/android/tradefed/util/ |
D | AbiUtils.java | 22 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/platform-compat/javatest/com/android/class2nonsdklist/ |
D | ApiResolverTest.java | 31 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/javatests/com/android/tradefed/presubmit/ |
D | TestMappingsValidation.java | 66 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/src/com/android/tradefed/util/ |
D | TestFilterHelper.java | 35 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/tradefederation/core/src/com/android/tradefed/config/filter/ |
D | GlobalTestFilter.java | 39 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/test_framework/com/android/tradefed/testtype/ |
D | DeviceTestCase.java | 36 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 …]
|
D | GoogleBenchmarkTest.java | 42 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 …]
|
D | IsolatedHostTest.java | 70 import java.util.Set; 97 private Set<String> mClasses = new LinkedHashSet<>(); 103 private Set<String> mJars = new HashSet<String>(); 116 private Set<String> mIncludeAnnotations = new HashSet<>(); 123 private Set<String> mExcludeAnnotations = new HashSet<>(); 142 private Set<String> mExcludePaths = 185 private Set<String> mIncludeFilters = new HashSet<>(); 186 private Set<String> mExcludeFilters = new HashSet<>(); 491 Set<String> paths = new LinkedHashSet<>(); in compileClassPath() 532 private static void addAllFilesUnder(Set<String> paths, File parentDirectory) { in addAllFilesUnder() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | PushFilePreparerTest.java | 52 import java.util.Set; 397 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_abiDirectory_noBitness() 408 Set<String> capValue = capture.getValue(); in testPush_abiDirectory_noBitness() 430 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_abiDirectory_noBitness_withModule() 441 Set<String> capValue = capture.getValue(); in testPush_abiDirectory_noBitness_withModule() 462 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_abiDirectory() 473 Set<String> capValue = capture.getValue(); in testPush_abiDirectory() 500 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_moduleName_dirs() 512 Set<String> capValue = capture.getValue(); in testPush_moduleName_dirs() 669 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_moduleName_ignored() [all …]
|
D | InstallApexModuleTargetPreparerTest.java | 65 import java.util.Set; 260 Set<String> expected = new HashSet<>(); in testGetApkModuleInData() 261 Set<String> result = new HashSet<>(); in testGetApkModuleInData() 275 Set<ApexInfo> apexes = new HashSet<>(Arrays.asList(fakeApexData, fakeApexData2)); in testGetApkModuleInData() 280 final Set<String> mainlineModuleInfo = in testGetApkModuleInData() 320 Set<String> modules = in testGetApkModules() 327 Set<ApexInfo> apexes = new HashSet<>(Arrays.asList(fakeApexData, fakeApexData2)); in testGetApkModules() 328 Set<String> expected = new HashSet<>(Arrays.asList(APK_PACKAGE_NAME, APK2_PACKAGE_NAME)); in testGetApkModules() 337 Set<ApexInfo> activatedApex = new HashSet<ApexInfo>(); in testGetApexInData() 338 Set<String> expectedApex = new HashSet<>(); in testGetApexInData() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | TestSuiteStub.java | 42 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/tradefederation/core/javatests/com/android/tradefed/testtype/suite/params/ |
D | TestFilterable.java | 26 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/ |
D | ContentAnalysisContext.java | 19 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/javatests/com/android/tradefed/testtype/rust/ |
D | RustTestBaseTest.java | 28 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/src/com/android/tradefed/suite/checker/ |
D | DeviceSettingChecker.java | 34 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/loganalysis/src/com/android/loganalysis/item/ |
D | GenericTimingItem.java | 21 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()
|
D | MiscKernelLogItem.java | 20 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()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparer.java | 54 import java.util.Set; 97 private Set<String> mMainlineModuleInfos = new HashSet<>(); 98 private Set<String> mApkToInstall = new LinkedHashSet<>(); 198 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in setUp() 289 Set<ApexInfo> activatedApexes; in checkApexActivation() 327 private List<File> optimizeModuleInstallation(Set<ApexInfo> activatedApex, List<File> testFiles, in optimizeModuleInstallation() 330 Set<String> apexInData = getApexInData(activatedApex); in optimizeModuleInstallation() 333 Set<String> apkModuleInData = getApkModuleInData(activatedApex, device); in optimizeModuleInstallation() 362 Set<String> getModulesToUninstall(Set<String> modulesInData, in getModulesToUninstall() 364 Set<String> unInstallModules = new HashSet<>(modulesInData); in getModulesToUninstall() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationUtil.java | 39 import java.util.Set; 244 public static Set<String> getConfigNamesFromDirs(String subPath, List<File> dirs) { in getConfigNamesFromDirs() 245 Set<File> res = getConfigNamesFileFromDirs(subPath, dirs); in getConfigNamesFromDirs() 249 Set<String> files = new HashSet<>(); in getConfigNamesFromDirs() 261 public static Set<File> getConfigNamesFileFromDirs(String subPath, List<File> dirs) { in getConfigNamesFileFromDirs() 276 public static Set<File> getConfigNamesFileFromDirs( in getConfigNamesFileFromDirs() 291 public static Set<File> getConfigNamesFileFromDirs( in getConfigNamesFileFromDirs() 296 Set<File> configNames = new LinkedHashSet<>(); in getConfigNamesFileFromDirs() 320 private static Set<File> dedupFiles(Set<File> origSet, boolean includeDuplicateFileNames) { in dedupFiles() 359 Set<File> uniqueFiles = new LinkedHashSet<>(); in dedupFiles()
|