Home
last modified time | relevance | path

Searched refs:getCommandOptions (Results 1 – 25 of 37) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java176 if (config.getCommandOptions().getShardIndex() != null) { in logStartInvocation()
180 config.getCommandOptions().getShardIndex() + 1, in logStartInvocation()
181 config.getCommandOptions().getShardCount()); in logStartInvocation()
231 if (!config.getCommandOptions().shouldUseSandboxing()) { in performInvocation()
308 if (config.getCommandOptions().takeBugreportOnInvocationEnded() || in performInvocation()
309 config.getCommandOptions().takeBugreportzOnInvocationEnded()) { in performInvocation()
366 if (config.getCommandOptions().earlyDeviceRelease()) { in performInvocation()
511 if (config.getCommandOptions().getHostLogSuffix() != null) { in reportHostLog()
512 name += config.getCommandOptions().getHostLogSuffix(); in reportHostLog()
684 resolver.addExtraArgs(config.getCommandOptions().getDynamicDownloadArgs()); in invokeRemoteDynamic()
[all …]
DInvocationExecution.java162 if (config.getCommandOptions().shouldUseReplicateSetup()) { in fetchBuild()
233 if (config.getCommandOptions().shouldUseReplicateSetup() in doSetup()
681 String testTag = config.getCommandOptions().getTestTag(); in getTestTag()
682 if (config.getCommandOptions().getTestTagSuffix() != null) { in getTestTag()
684 String.format("%s-%s", testTag, config.getCommandOptions().getTestTagSuffix()); in getTestTag()
692 if (!"stub".equals(config.getCommandOptions().getTestTag())) { in setTestTag()
711 if (config.getCommandOptions().getShardCount() != null) { in updateBuild()
713 "shard_count", config.getCommandOptions().getShardCount().toString()); in updateBuild()
715 if (config.getCommandOptions().getShardIndex() != null) { in updateBuild()
717 "shard_index", config.getCommandOptions().getShardIndex().toString()); in updateBuild()
[all …]
DRemoteInvocationExecution.java129 if (config.getCommandOptions().getShardCount() != null in customizeDevicePreInvocation()
130 && config.getCommandOptions().getShardIndex() == null) { in customizeDevicePreInvocation()
135 String count = config.getCommandOptions().getShardCount().toString(); in customizeDevicePreInvocation()
328 if (config.getCommandOptions().shouldUseRemoteSandboxMode()) { in runRemote()
385 if (!config.getCommandOptions().shouldReportModuleProgression()) { in runRemote()
415 long maxTimeout = config.getCommandOptions().getInvocationTimeout(); in isStillRunning()
425 if (config.getCommandOptions().shouldReportModuleProgression()) { in isStillRunning()
499 if (config.getCommandOptions().shouldReportModuleProgression()) { in isStillRunning()
597 if (config.getCommandOptions().shouldReportModuleProgression()) { in createRemoteConfig()
616 if (config.getCommandOptions().getShardCount() != null in createRemoteConfig()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java110 Integer shardCount = config.getCommandOptions().getShardCount(); in shardConfig()
144 if (config.getCommandOptions().shouldUseTokenSharding()) { in shardConfig()
163 if (config.getCommandOptions().shouldUseTokenSharding()) { in shardConfig()
175 if (config.getCommandOptions().shouldUseDynamicSharding()) { in shardConfig()
212 if (shardConfig.getCommandOptions().getHostLogSuffix() != null) { in rescheduleConfig()
213 suffix = shardConfig.getCommandOptions().getHostLogSuffix() + suffix; in rescheduleConfig()
215 shardConfig.getCommandOptions().setHostLogSuffix(suffix); in rescheduleConfig()
237 resolver.addExtraArgs(config.getCommandOptions().getDynamicDownloadArgs()); in validateOptions()
261 deepCopy.getCommandOptions().setShardCount(null); in cloneConfigObject()
DParentShardReplicate.java40 if (!config.getCommandOptions().shouldUseReplicateSetup()) { in replicatedSetup()
46 Integer shardCount = config.getCommandOptions().getShardCount(); in replicatedSetup()
47 Integer shardIndex = config.getCommandOptions().getShardIndex(); in replicatedSetup()
DStrictShardHelper.java50 Integer shardCount = config.getCommandOptions().getShardCount(); in shardConfig()
51 Integer shardIndex = config.getCommandOptions().getShardIndex(); in shardConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java214 mConfig.getCommandOptions().setShouldUseSandboxing(true); in testParentSandboxInvocation_sharding()
215 mConfig.getCommandOptions().setShardCount(5); in testParentSandboxInvocation_sharding()
216 mConfig.getCommandOptions().setShardIndex(1); in testParentSandboxInvocation_sharding()
243 mConfig.getCommandOptions().setShouldUseSandboxing(true); in testParentSandboxInvocation()
302 mConfig.getCommandOptions().setShardCount(5); in testInvocation_sharding_notTests()
303 mConfig.getCommandOptions().setShardIndex(1); in testInvocation_sharding_notTests()
365 mConfig.getCommandOptions().setShardCount(5); in testInvocation_preInvocationFailing()
366 mConfig.getCommandOptions().setShardIndex(1); in testInvocation_preInvocationFailing()
DTestInvocationMultiTest.java188 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testRunBuildProvider_oneMiss()
284 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testResolveDynamicFails()
366 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testRunBuildProvider_oneThrow()
456 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testRunBuildProvider_cleanUpThrow()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java119 if (config.getCommandOptions().shouldUseSandboxTestMode()) { in run()
124 long timeout = config.getCommandOptions().getInvocationTimeout(); in run()
210 if (config.getCommandOptions().getShardCount() != null in prepareEnvironment()
211 && config.getCommandOptions().getShardIndex() == null) { in prepareEnvironment()
365 if (config.getCommandOptions().shouldUseSandboxTestMode()) { in prepareConfiguration()
408 config.getCommandOptions().setBugreportOnInvocationEnded(false); in prepareConfiguration()
409 config.getCommandOptions().setBugreportzOnInvocationEnded(false); in prepareConfiguration()
434 if (config.getCommandOptions().shouldUseSandboxTestMode()) { in prepareContext()
DSandboxConfigDump.java91 config.getCommandOptions().setShouldUseSandboxing(false); in parse()
94 config.getCommandOptions().setReplicateSetup(false); in parse()
122 config.getCommandOptions() in parse()
128 config.getCommandOptions().setShouldUseSandboxing(true); in parse()
131 config.getCommandOptions().setUseSandboxTestMode(false); in parse()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java340 return mConfig.getCommandOptions().isLoopMode(); in isLoopMode()
383 config.getCommandOptions().setLoopMode(false); in scheduleConfig()
398 return addExecCommandToQueue(execCmd, config.getCommandOptions().getLoopTime()); in rescheduleCommand()
599 && !config.getCommandOptions().getInvocationData().isEmpty()) { in run()
601 config.getCommandOptions().getInvocationData()); in run()
604 long invocTimeout = config.getCommandOptions().getInvocationTimeout(); in run()
1324 if (config.getCommandOptions().isHelpMode()) { in internalAddCommand()
1326 } else if (config.getCommandOptions().isFullHelpMode()) { in internalAddCommand()
1328 } else if (config.getCommandOptions().isDryRunMode()) { in internalAddCommand()
1332 if (config.getCommandOptions().isNoisyDryRunMode()) { in internalAddCommand()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java520 config.getCommandOptions().setShardCount(5); in testRun_sharding_firstModuleRunsAll()
562 config.getCommandOptions().setShardCount(5); in testRun_sharding_parallelRun()
610 config.getCommandOptions().setShardCount(2); in testRun_sharding_withIndex()
611 config.getCommandOptions().setShardIndex(0); in testRun_sharding_withIndex()
690 config.getCommandOptions().setShardCount(shardCount); in helperTestShardIndex()
691 config.getCommandOptions().setShardIndex(shardIndex); in helperTestShardIndex()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java370 .getCommandOptions() in run()
372 .putAll(mModuleConfiguration.getCommandOptions().getDynamicDownloadArgs()); in run()
434 .getCommandOptions() in run()
436 .putAll(mModuleConfiguration.getCommandOptions().getDynamicDownloadArgs()); in run()
1023 mModuleConfiguration.getCommandOptions().getDynamicDownloadArgs().putAll(extraArgs); in addDynamicDownloadArgs()
1104 resolver.addExtraArgs(moduleConfiguration.getCommandOptions().getDynamicDownloadArgs()); in invokeRemoteDynamic()
DITestSuite.java472 mMainConfiguration.getCommandOptions().getDynamicDownloadArgs()); in stageTestArtifacts()
786 mMainConfiguration.getCommandOptions().getDynamicDownloadArgs()); in runSingleModule()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java149 .getCommandOptions() in run()
150 .setShardCount(mConfiguration.getCommandOptions().getShardCount()); in run()
152 .getCommandOptions() in run()
153 .setShardIndex(mConfiguration.getCommandOptions().getShardIndex()); in run()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java412 public ICommandOptions getCommandOptions() { in getCommandOptions() method in Configuration
1239 ICommandOptions options = getCommandOptions(); in validateOptions()
1257 ICommandOptions options = getCommandOptions(); in resolveDynamicOptions()
1474 getCommandOptions(), in dumpXml()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandLauncher.java189 mConfiguration.getCommandOptions().getInvocationTimeout(), in run()
305 final Integer shardCount = mConfiguration.getCommandOptions().getShardCount(); in buildJavaCommandArgs()
306 final Integer shardIndex = mConfiguration.getCommandOptions().getShardIndex(); in buildJavaCommandArgs()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java240 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testPrepareEnvironment_noTfDirJar()
253 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in setPrepareConfigurationExpectations()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java263 Integer shardCount = mConfig.getCommandOptions().getShardCount(); in preRun()
315 UniqueMultiMap<String, String> data = mConfig.getCommandOptions().getInvocationData(); in addInvocationData()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java106 EasyMock.expect(mSlowConfig.getCommandOptions()).andStubReturn(mCommandOptions); in setUp()
109 EasyMock.expect(mFastConfig.getCommandOptions()).andStubReturn(mCommandOptions); in setUp()
DCommandSchedulerTest.java538 EasyMock.expect(rescheduledConfig.getCommandOptions()).andStubReturn(mCommandOptions); in testRun_rescheduled()
725 EasyMock.expect(mMockConfiguration.getCommandOptions()).andStubReturn(mCommandOptions); in setCreateConfigExpectations()
DCommandSchedulerStressApp.java50 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(mCommandOptions); in CommandSchedulerStressApp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DRetryReschedulerTest.java78 EasyMock.expect(mRescheduledConfiguration.getCommandOptions()) in setUp()
148 mTopConfiguration.getCommandOptions().setShardCount(2); in testReschedule_carryShardCount()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java303 assertNotNull(mConfig.getCommandOptions()); in testGetCommandOptions()
306 assertEquals(cmdOptions, mConfig.getCommandOptions()); in testGetCommandOptions()
DDynamicRemoteFileResolverTest.java893 configuration.getCommandOptions().setReplicateSetup(true); in testMultiDevices_replicat()
894 configuration.getCommandOptions().setShardCount(2); in testMultiDevices_replicat()

12