/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 997 .getTargetPreparers().size()); in testCreateConfigurationFromArgs_multidevice() 1005 .getTargetPreparers().size()); in testCreateConfigurationFromArgs_multidevice() 1007 .getTargetPreparers().get(0) instanceof StubTargetPreparer); in testCreateConfigurationFromArgs_multidevice() 1015 .getTargetPreparers().size()); in testCreateConfigurationFromArgs_multidevice() 1017 .getTargetPreparers().get(0) instanceof StubTargetPreparer); in testCreateConfigurationFromArgs_multidevice() 1029 assertEquals(1, config.getDeviceConfigByName("device2").getTargetPreparers().size()); in testCreateConfigurationFromArgs_injectConfiguration() 1031 config.getDeviceConfigByName("device2").getTargetPreparers().get(0) in testCreateConfigurationFromArgs_injectConfiguration() 1035 config.getDeviceConfigByName("device2").getTargetPreparers().get(0); in testCreateConfigurationFromArgs_injectConfiguration() 1039 assertEquals(2, config.getDeviceConfigByName("device3").getTargetPreparers().size()); in testCreateConfigurationFromArgs_injectConfiguration() 1041 config.getDeviceConfigByName("device3").getTargetPreparers().get(0) in testCreateConfigurationFromArgs_injectConfiguration() [all …]
|
D | ConfigurationTest.java | 240 assertEquals(0, mConfig.getTargetPreparers().size()); in testGetTargetPreparers() 244 assertEquals(prep, mConfig.getTargetPreparers().get(0)); in testGetTargetPreparers() 750 assertNotEquals(original.getTargetPreparers().get(0), copy.getTargetPreparers().get(0)); in testDeepClone() 752 original.getDeviceConfig().get(0).getTargetPreparers().get(0), in testDeepClone() 753 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone() 773 assertNotEquals(original.getTargetPreparers().get(0), copy.getTargetPreparers().get(0)); in testDeepClone_innerDevice() 775 original.getDeviceConfig().get(0).getTargetPreparers().get(0), in testDeepClone_innerDevice() 776 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone_innerDevice()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitterTest.java | 61 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_configNotShardable() 83 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_configNotShardable() 97 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_configNotStrictShardable_dynamic() 118 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_configNotStrictShardable_dynamic() 132 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_configNotStrictShardable_notDynamic() 153 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_configNotStrictShardable_notDynamic() 163 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_noIntraModuleSharding() 182 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_noIntraModuleSharding() 205 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_testNotShardable() 222 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_testNotShardable() [all …]
|
D | AtestRunnerTest.java | 221 for (ITargetPreparer targetPreparer : config.getTargetPreparers()) { in testdisableTargetPreparers() 234 for (ITargetPreparer targetPreparer : config.getTargetPreparers()) { in testdisableTargetPreparersUnset() 247 for (ITargetPreparer targetPreparer : config.getTargetPreparers()) { in testDisableTearDown() 260 for (ITargetPreparer targetPreparer : config.getTargetPreparers()) { in testDisableTearDownUnset()
|
D | ITestSuiteTest.java | 1344 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist() 1346 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist() 1359 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist_empty() 1361 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist_empty() 1374 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist_filtered() 1376 assertEquals(0, config.getTargetPreparers().size()); in testPreparerWhitelist_filtered()
|
D | BaseTestSuiteTest.java | 851 assertTrue(config.getTargetPreparers().get(0) instanceof CreateUserPreparer); in testLoadTests_parameterizedModule_optionSetupAfterConfigAdded() 856 assertTrue(reuseTestUser.getBoolean(config.getTargetPreparers().get(0))); in testLoadTests_parameterizedModule_optionSetupAfterConfigAdded()
|
D | SuiteModuleLoaderTest.java | 328 PreparerInject preparer = (PreparerInject) config.getTargetPreparers().get(0); in testInjectConfigOptions_testArgs() 777 module1.getTargetPreparers().get(0) instanceof InstallApexModuleTargetPreparer); in testLoadParameterizedMainlineModules()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/yaml/ |
D | ConfigurationYamlParserTest.java | 87 assertEquals(2, config.getTargetPreparers().size()); in testParseConfig() 88 ITargetPreparer installApk = config.getTargetPreparers().get(0); in testParseConfig() 94 ITargetPreparer pushFile = config.getTargetPreparers().get(1); in testParseConfig() 126 assertEquals(2, config.getTargetPreparers().size()); in testParseModule() 127 ITargetPreparer installApk = config.getTargetPreparers().get(0); in testParseModule() 133 ITargetPreparer pushFile = config.getTargetPreparers().get(1); in testParseModule()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/params/ |
D | MainlineModuleHandlerTest.java | 67 assertTrue(mConfig.getTargetPreparers().get(0) instanceof InstallApexModuleTargetPreparer); in testApplySetup() 69 (InstallApexModuleTargetPreparer) mConfig.getTargetPreparers().get(0); in testApplySetup() 82 assertTrue(mConfig.getTargetPreparers().get(0) instanceof InstallApexModuleTargetPreparer); in testApplySetup_MultipleMainlineModules() 84 (InstallApexModuleTargetPreparer) mConfig.getTargetPreparers().get(0); in testApplySetup_MultipleMainlineModules()
|
D | SecondaryUserHandlerTest.java | 67 assertTrue(mModuleConfig.getTargetPreparers().get(0) instanceof CreateUserPreparer); in testAddParameterSpecificConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | Configuration.java | 311 public List<ITargetPreparer> getTargetPreparers() { in getTargetPreparers() method in Configuration 314 .get(0).getTargetPreparers(); in getTargetPreparers() 952 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).getTargetPreparers().clear(); in setTargetPreparers() 1360 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in dumpXml() 1401 for (ITargetPreparer preparer : getTargetPreparers()) { in dumpXml()
|
D | IDeviceConfiguration.java | 86 public List<ITargetPreparer> getTargetPreparers(); in getTargetPreparers() method
|
D | DeviceConfigurationHolder.java | 175 public List<ITargetPreparer> getTargetPreparers() { in getTargetPreparers() method in DeviceConfigurationHolder
|
D | IConfiguration.java | 70 public List<ITargetPreparer> getTargetPreparers(); in getTargetPreparers() method
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 312 config.getDeviceConfigByName(deviceName).getTargetPreparers()) { in runPreparationOnDevice() 468 config.getDeviceConfigByName(deviceName).getTargetPreparers(); in doTeardown() 540 config.getDeviceConfigByName(deviceName).getTargetPreparers(); in doCleanUp()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ValidateSuiteConfigHelper.java | 67 checkTargetPrep(config, config.getTargetPreparers()); in validateConfig() 81 checkTargetPrep(config, deviceConfig.getTargetPreparers()); in validateConfig()
|
D | ITestSuite.java | 583 preparers.addAll(holder.getTargetPreparers()); in getPreparerPerDevice() 1368 List<ITargetPreparer> preparers = new ArrayList<>(deviceConfig.getTargetPreparers()); in filterPreparers() 1371 deviceConfig.getTargetPreparers().remove(prep); in filterPreparers()
|
D | TfSuiteRunner.java | 158 for (ITargetPreparer preparer : testConfig.getTargetPreparers()) { in loadTests() 195 for (ITargetPreparer preparer : testConfig.getTargetPreparers()) { in canRunMultipleAbis()
|
D | ModuleSplitter.java | 232 preparers.addAll(clonePreparers(holder.getTargetPreparers())); in clonePreparersMap()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 743 mStubConfiguration.getTargetPreparers().add(mockCleaner); in testInvoke_tearDown() 774 mStubConfiguration.getTargetPreparers().add(mockCleaner); in testInvoke_tearDown_deviceNotAvail() 806 mStubConfiguration.getTargetPreparers().add(mockCleaner); in testInvoke_tearDown_runtime() 1774 mStubConfiguration.getTargetPreparers().add(mockCleaner); in testInvoke_deviceInfoBuild_withEnv()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/app/ |
D | NoApkTestSkipper.java | 48 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/ |
D | InstantAppHandler.java | 45 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in applySetup()
|
D | SecondaryUserHandler.java | 43 List<ITargetPreparer> preparers = deviceConfig.getTargetPreparers(); in addParameterSpecificConfig()
|
D | MainlineModuleHandler.java | 69 List<ITargetPreparer> preparers = deviceConfig.getTargetPreparers(); in applySetup()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/ |
D | GeneralTestsConfigValidation.java | 111 ensureApkUninstalled(configName, c.getTargetPreparers()); in testConfigsLoad()
|