/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ValidateSuiteConfigHelperTest.java | 52 IConfiguration config = new Configuration("test", "test description"); in testCanRunAsSuite() local 59 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_buildProvider() local 77 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_MultiDevice_buildProvider() local 97 IConfiguration config = new Configuration("test", "test description"); in testParse_MultiDevice() local 115 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_resultReporter() local 128 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_multi_resultReporter() local 144 IConfiguration config = new Configuration("test", "test description"); in testTargetPrep() local 153 IConfiguration config = new Configuration("test", "test description"); in testMetricCollectors() local 170 IConfiguration config = new Configuration("test", "test description"); in testMetricCollectors_exempted() local 180 IConfiguration config = new Configuration("test", "test description"); in testModuleController() local [all …]
|
D | ModuleSplitterTest.java | 59 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_configNotShardable() local 95 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_configNotStrictShardable_dynamic() local 130 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_configNotStrictShardable_notDynamic() local 161 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_noIntraModuleSharding() local 194 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_testNotShardable() local 234 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_testShardable_didNotShard() local 267 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_testShardable_shard() local 296 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_testShardable_shard_noDynamic() local
|
D | ITestSuiteIntegrationTest.java | 132 File config = new File(testsDir, String.format(FILENAME, name)); in createConfig() local 149 config); in createConfig() local 207 IConfiguration config = in loadTests() local 414 public boolean scheduleConfig(IConfiguration config) { in scheduleConfig() 451 public boolean scheduleConfig(IConfiguration config) { in scheduleConfig() 510 IConfiguration config = in testRun_sharding_firstModuleRunsAll() local 552 IConfiguration config = in testRun_sharding_parallelRun() local 600 IConfiguration config = in testRun_sharding_withIndex() local 680 IConfiguration config = in helperTestShardIndex() local
|
D | AtestRunnerTest.java | 123 IConfiguration config = configMap.get(testName); in testLoadTests_filter() local 192 IConfiguration config = configMap.get(testName); in testLoadTests_ignoreFilter() local 207 IConfiguration config = configMap.get(INSTRUMENTATION_TEST_NAME); in testWaitForDebugger() local 220 IConfiguration config = configMap.get(INSTRUMENTATION_TEST_NAME); in testdisableTargetPreparers() local 233 IConfiguration config = configMap.get(INSTRUMENTATION_TEST_NAME); in testdisableTargetPreparersUnset() local 246 IConfiguration config = configMap.get(INSTRUMENTATION_TEST_NAME); in testDisableTearDown() local 259 IConfiguration config = configMap.get(INSTRUMENTATION_TEST_NAME); in testDisableTearDownUnset() local
|
D | ITestSuiteTest.java | 156 IConfiguration config = in loadTests() local 240 public void setConfiguration(IConfiguration config) { in setConfiguration() 1001 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_emptyFilters() local 1010 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_matchInclude() local 1025 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_noMatchInclude_mismatchValue() local 1040 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_noMatchInclude_mismatchKey() local 1055 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_matchExclude() local 1070 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_noMatchExclude_mismatchKey() local 1085 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_noMatchExclude_mismatchValue() local 1103 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_matchInclude_multipleMetadataField() local [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | IInvocationExecution.java | 50 IConfiguration config, in fetchBuild() 63 public default void cleanUpBuilds(IInvocationContext context, IConfiguration config) {} in cleanUpBuilds() 77 TestInformation testInfo, IConfiguration config, final ITestLogger logger) in doSetup() 91 IInvocationContext context, IConfiguration config, ITestLogger logger) in runDevicePreInvocationSetup() 103 IInvocationContext context, IConfiguration config, Throwable exception) {} in runDevicePostInvocationTearDown() 117 IConfiguration config, in doTeardown() 131 IInvocationContext context, IConfiguration config, Throwable exception) {} in doCleanUp() 148 IConfiguration config, in shardConfig() 164 TestInformation info, IConfiguration config, ITestInvocationListener listener) in runTests()
|
D | InvocationExecution.java | 112 IConfiguration config, in fetchBuild() 187 public void cleanUpBuilds(IInvocationContext context, IConfiguration config) { in cleanUpBuilds() 206 IConfiguration config, in shardConfig() 220 public void doSetup(TestInformation testInfo, IConfiguration config, final ITestLogger listener) in doSetup() 302 IConfiguration config, in runPreparationOnDevice() 338 IInvocationContext context, IConfiguration config, ITestLogger logger) in runDevicePreInvocationSetup() 358 protected void customizeDevicePreInvocation(IConfiguration config, IInvocationContext context) { in customizeDevicePreInvocation() 365 IInvocationContext context, IConfiguration config, Throwable exception) { in runDevicePostInvocationTearDown() 446 IConfiguration config, in doTeardown() 537 public void doCleanUp(IInvocationContext context, IConfiguration config, Throwable exception) { in doCleanUp() [all …]
|
D | TestInvocation.java | 174 private void logStartInvocation(IInvocationContext context, IConfiguration config) { in logStartInvocation() 208 IConfiguration config, in performInvocation() 432 IConfiguration config, in prepareAndRun() 457 private void startInvocation(IConfiguration config, IInvocationContext context, in startInvocation() 498 private void reportHostLog(ITestInvocationListener listener, IConfiguration config) { in reportHostLog() 507 ITestInvocationListener listener, IConfiguration config, String name) { in reportHostLog() 619 IConfiguration config, in invokeFetchBuild() 671 IConfiguration config, in invokeRemoteDynamic() 714 IConfiguration config, in invoke() 1040 protected void applyAutomatedReporters(IConfiguration config) { in applyAutomatedReporters() [all …]
|
D | DelegatedInvocationExecution.java | 74 IConfiguration config, in shardConfig() 82 public void doSetup(TestInformation testInfo, IConfiguration config, ITestLogger listener) in doSetup() 90 IConfiguration config, in doTeardown() 99 TestInformation info, IConfiguration config, ITestInvocationListener listener) in runTests() 174 public void doCleanUp(IInvocationContext context, IConfiguration config, Throwable exception) { in doCleanUp()
|
D | RemoteInvocationExecution.java | 105 IConfiguration config, in fetchBuild() 126 protected void customizeDevicePreInvocation(IConfiguration config, IInvocationContext context) { in customizeDevicePreInvocation() 144 TestInformation info, IConfiguration config, ITestInvocationListener listener) in runTests() 278 public void doSetup(TestInformation testInfo, IConfiguration config, ITestLogger logger) in doSetup() 286 IConfiguration config, in doTeardown() 290 super.runDevicePostInvocationTearDown(testInfo.getContext(), config, exception); in doTeardown() local 294 public void doCleanUp(IInvocationContext context, IConfiguration config, Throwable exception) { in doCleanUp() 311 IConfiguration config, in runRemote() 413 IConfiguration config) in isStillRunning() 591 File createRemoteConfig(IConfiguration config, ITestLogger logger, String resultDirPath) in createRemoteConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/ |
D | ParentSandboxInvocationExecution.java | 57 IConfiguration config, in fetchBuild() 72 public void doSetup(TestInformation testInfo, IConfiguration config, ITestLogger logger) in doSetup() 86 IConfiguration config, in doTeardown() 102 public void doCleanUp(IInvocationContext context, IConfiguration config, Throwable exception) { in doCleanUp() 113 TestInformation info, IConfiguration config, ITestInvocationListener listener) in runTests() 170 TestInformation info, IConfiguration config, ITestInvocationListener listener) in prepareAndRunSandbox() 175 private IConfiguration getParentTargetConfig(IConfiguration config) throws TargetSetupError { in getParentTargetConfig()
|
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | relay_rig.py | 88 def __init__(self, config): argument 120 def create_relay_board(self, config): argument 145 def create_relay_device(self, config): argument
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationDefTest.java | 78 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_optionMap() local 91 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_optionCollection() local 101 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration() local 116 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_withDeviceHolder() local 132 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_withCollectors() local
|
D | ConfigurationFactoryTest.java | 301 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {name}); in assertConfigValid() local 310 IGlobalConfiguration config = in assertGlobalConfigValid() local 360 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {TEST_CONFIG, in testCreateConfigurationFromArgs() local 441 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_includeConfig() local 458 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_defaultTemplateInclude_default() local 476 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault() local 495 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_defaultTemplateInclude_alternate() local 516 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_templateInclude() local 626 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_templateInclude_local() local 649 IConfiguration config = in testCreateConfigurationFromArgs_templateInclude_dependent() local [all …]
|
D | ConfigurationXmlParserTest.java | 152 final String config = in testParse_objectMissingAttr() local 165 final String config = in testParse_optionMissingAttr() local 178 final String config = in testParse_object() local 200 final String config = "<include name=\"includeme\" />"; in testParse_include() local 219 final String config = String.format("<include name=\"%s\" />", includedName); in testParse_includeMissing() local 231 final String config = "<blah name=\"foo\" />"; in testParse_badTag() local 243 final String config = "blah"; in testParse_xml() local
|
D | ConfigurationDescriptorTest.java | 54 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {"test-config"}); in testRejectCommandLine() local 74 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {"test-config"}); in testSerialization() local
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ValidateSuiteConfigHelper.java | 57 public static void validateConfig(IConfiguration config) { in validateConfig() 150 private static boolean checkTargetPrep(IConfiguration config, List<?> targetPrepList) { in checkTargetPrep() 166 private static void throwRuntime(IConfiguration config, String msg) { in throwRuntime()
|
D | ModuleSplitter.java | 109 IConfiguration config, in createAndAddModule() 184 IConfiguration config) { in addModuleToListFromSingleTest() 227 private static Map<String, List<ITargetPreparer>> clonePreparersMap(IConfiguration config) { in clonePreparersMap() 237 private static void clearPreparersFromConfig(IConfiguration config) { in clearPreparersFromConfig()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/ |
D | GCSConfigurationFactoryTest.java | 164 String config = mGCSConfigLoader.findConfigName("cluster/host-config.xml", null); in testFindConfigName() local 170 String config = mGCSConfigLoader.findConfigName("test-config", null); in testFindConfigName_bundled() local 176 String config = in testFindConfigName_bundledParent() local 183 String config = in testFindConfigName_unbundledParent() local 209 IGlobalConfiguration config = in testCreateGlobalConfigurationFromArgs() local
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | IDeviceConfiguration.java | 59 public void addSpecificConfig(Object config) throws ConfigurationException; in addSpecificConfig() 75 public void addFrequency(Object config, Integer frequency); in addFrequency() 78 public Integer getFrequency(Object config); in getFrequency()
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | relay_device_controller.py | 25 def create(config): argument 58 def _create_from_dict(config): argument
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/ |
D | ota_runner_factory.py | 30 def create_all_from_configs(config, android_devices): argument 49 def create_from_configs(config, android_device): argument 172 def get_ota_value_from_config(config, key, android_device): argument
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardHelper.java | 103 IConfiguration config, in shardConfig() 199 IConfiguration config, in rescheduleConfig() 232 protected void validateOptions(TestInformation testInfo, IConfiguration config) { in validateOptions() 322 IConfiguration config, LastShardDetector lastShardDetector) { in buildMainShardListeners() 340 IConfiguration config, in buildShardListeners() 354 private static boolean isAutoRetryEnabled(IConfiguration config) { in isAutoRetryEnabled()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxConfigDump.java | 88 IConfiguration config = in parse() local 166 private SandboxOptions getSandboxOptions(IConfiguration config) { in getSandboxOptions() 171 private void secureDeviceAllocation(IConfiguration config) { in secureDeviceAllocation()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/log/ |
D | FileLoggerTest.java | 166 IConfiguration config = new Configuration("test", "test"); in testFilteringComponent() local 190 IConfiguration config = new Configuration("test", "test"); in testFiltering_classVerbosity() local 210 IConfiguration config = new Configuration("test", "test"); in testFiltering_ddms() local 234 IConfiguration config = new Configuration("test", "test"); in testFiltering_ddms_log() local
|