Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DParentShardReplicate.java40 if (!config.getCommandOptions().shouldUseReplicateSetup()) { in replicatedSetup()
46 Integer shardCount = config.getCommandOptions().getShardCount(); in replicatedSetup()
47 Integer shardIndex = config.getCommandOptions().getShardIndex(); in replicatedSetup()
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()
DStrictShardHelper.java50 Integer shardCount = config.getCommandOptions().getShardCount(); in shardConfig()
51 Integer shardIndex = config.getCommandOptions().getShardIndex(); in shardConfig()
DTestsPoolPoller.java209 validationConfig.getCommandOptions().getDynamicDownloadArgs()); in run()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
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/invoker/
DTestInvocation.java172 if (config.getCommandOptions().getShardIndex() != null) { in logStartInvocation()
176 config.getCommandOptions().getShardIndex() + 1, in logStartInvocation()
177 config.getCommandOptions().getShardCount()); in logStartInvocation()
227 if (!config.getCommandOptions().shouldUseSandboxing()) { in performInvocation()
300 if (config.getCommandOptions().takeBugreportOnInvocationEnded() || in performInvocation()
301 config.getCommandOptions().takeBugreportzOnInvocationEnded()) { in performInvocation()
358 if (config.getCommandOptions().earlyDeviceRelease()) { in performInvocation()
499 if (config.getCommandOptions().getHostLogSuffix() != null) { in reportHostLog()
500 name += config.getCommandOptions().getHostLogSuffix(); in reportHostLog()
672 resolver.addExtraArgs(config.getCommandOptions().getDynamicDownloadArgs()); in invokeRemoteDynamic()
[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 …]
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 …]
/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.java182 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testRunBuildProvider_oneMiss()
278 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testResolveDynamicFails()
360 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testRunBuildProvider_oneThrow()
450 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testRunBuildProvider_cleanUpThrow()
/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/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/tests/src/com/android/tradefed/command/
DCommandSchedulerStressApp.java50 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(mCommandOptions); in CommandSchedulerStressApp()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxedInvocationExecutionTest.java63 mConfig.getCommandOptions().setTestTag("test"); in testBuildInfo_testTag()
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/cluster/
DClusterCommandLauncher.java249 mConfiguration.getCommandOptions().getInvocationTimeout(), in run()
296 final Integer shardCount = mConfiguration.getCommandOptions().getShardCount(); in buildJavaCommandArgs()
297 final Integer shardIndex = mConfiguration.getCommandOptions().getShardIndex(); in buildJavaCommandArgs()
DClusterCommandConfigBuilder.java175 config.getCommandOptions().setTestTag(TEST_TAG); in build()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java333 return mConfig.getCommandOptions().isLoopMode(); in isLoopMode()
376 config.getCommandOptions().setLoopMode(false); in scheduleConfig()
391 return addExecCommandToQueue(execCmd, config.getCommandOptions().getLoopTime()); in rescheduleCommand()
592 && !config.getCommandOptions().getInvocationData().isEmpty()) { in run()
594 config.getCommandOptions().getInvocationData()); in run()
597 long invocTimeout = config.getCommandOptions().getInvocationTimeout(); in run()
1243 if (config.getCommandOptions().isHelpMode()) { in internalAddCommand()
1245 } else if (config.getCommandOptions().isFullHelpMode()) { in internalAddCommand()
1247 } else if (config.getCommandOptions().isDryRunMode()) { in internalAddCommand()
1251 if (config.getCommandOptions().isNoisyDryRunMode()) { in internalAddCommand()
[all …]
/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()
1011 mModuleConfiguration.getCommandOptions().getDynamicDownloadArgs().putAll(extraArgs); in addDynamicDownloadArgs()
1092 resolver.addExtraArgs(moduleConfiguration.getCommandOptions().getDynamicDownloadArgs()); in invokeRemoteDynamic()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandLauncherFuncTest.java70 mConfiguration.getCommandOptions().setInvocationTimeout(60_000L); // 1 minute in setUp()
DClusterCommandLauncherTest.java92 mConfiguration.getCommandOptions().setInvocationTimeout(10000L); in setUp()
/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/src/com/android/tradefed/config/
DIConfiguration.java150 public ICommandOptions getCommandOptions(); in getCommandOptions() method
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java303 assertNotNull(mConfig.getCommandOptions()); in testGetCommandOptions()
306 assertEquals(cmdOptions, mConfig.getCommandOptions()); in testGetCommandOptions()
/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()

12