Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java180 if (!config.getCommandOptions().shouldSkipPreDeviceSetup()) { in doSetup()
311 if (!config.getCommandOptions().shouldSkipPreDeviceSetup()) { in doTeardown()
460 if (config.getCommandOptions().getShardCount() != null) { in updateInvocationContext()
462 "shard_count", config.getCommandOptions().getShardCount().toString()); in updateInvocationContext()
464 if (config.getCommandOptions().getShardIndex() != null) { in updateInvocationContext()
466 "shard_index", config.getCommandOptions().getShardIndex().toString()); in updateInvocationContext()
473 String testTag = config.getCommandOptions().getTestTag(); in getTestTag()
474 if (config.getCommandOptions().getTestTagSuffix() != null) { in getTestTag()
476 String.format("%s-%s", testTag, config.getCommandOptions().getTestTagSuffix()); in getTestTag()
492 if (config.getCommandOptions().getShardCount() != null) { in updateBuild()
[all …]
DTestInvocation.java152 if (config.getCommandOptions().getShardIndex() != null) { in logStartInvocation()
156 config.getCommandOptions().getShardIndex() + 1, in logStartInvocation()
157 config.getCommandOptions().getShardCount()); in logStartInvocation()
269 if (config.getCommandOptions().takeBugreportOnInvocationEnded() || in performInvocation()
270 config.getCommandOptions().takeBugreportzOnInvocationEnded()) { in performInvocation()
347 if (config.getCommandOptions().shouldUseSandboxing()) { in prepareAndRun()
398 resumeConfig.setCommandOptions(config.getCommandOptions().clone()); in resume()
435 if (!config.getCommandOptions().isLoopMode() && test instanceof IRetriableTest && in rescheduleTest()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java78 config.getCommandOptions().setShouldUseSandboxing(false); in parse()
83 config.getCommandOptions().setBugreportOnInvocationEnded(false); in parse()
84 config.getCommandOptions().setBugreportzOnInvocationEnded(false); in parse()
DTradefedSandbox.java85 long timeout = config.getCommandOptions().getInvocationTimeout(); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java499 config.getCommandOptions().setShardCount(5); in testRun_sharding_firstModuleRunsAll()
539 config.getCommandOptions().setShardCount(5); in testRun_sharding_parallelRun()
586 config.getCommandOptions().setShardCount(2); in testRun_sharding_withIndex()
587 config.getCommandOptions().setShardIndex(0); in testRun_sharding_withIndex()
588 OptionSetter setter = new OptionSetter(config.getCommandOptions()); in testRun_sharding_withIndex()
667 config.getCommandOptions().setShardCount(shardCount); in helperTestShardIndex()
668 config.getCommandOptions().setShardIndex(shardIndex); in helperTestShardIndex()
669 OptionSetter setter = new OptionSetter(config.getCommandOptions()); in helperTestShardIndex()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java84 Integer shardCount = config.getCommandOptions().getShardCount(); in shardConfig()
123 if (config.getCommandOptions().shouldUseDynamicSharding()) { in shardConfig()
153 shardConfig.setCommandOptions(config.getCommandOptions().clone()); in rescheduleConfig()
DStrictShardHelper.java47 Integer shardCount = config.getCommandOptions().getShardCount(); in shardConfig()
48 Integer shardIndex = config.getCommandOptions().getShardIndex(); in shardConfig()
58 if (!config.getCommandOptions().shouldUseTfSharding()) { in shardConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerStressApp.java50 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(mCommandOptions); in CommandSchedulerStressApp()
DCommandSchedulerFuncTest.java95 EasyMock.expect(mSlowConfig.getCommandOptions()).andStubReturn(mCommandOptions); in setUp()
98 EasyMock.expect(mFastConfig.getCommandOptions()).andStubReturn(mCommandOptions); in setUp()
DCommandSchedulerTest.java549 EasyMock.expect(rescheduledConfig.getCommandOptions()).andStubReturn(mCommandOptions); in testRun_rescheduled()
735 EasyMock.expect(mMockConfiguration.getCommandOptions()).andStubReturn(mCommandOptions); in setCreateConfigExpectations()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DVersionedTfLauncherTest.java157 EasyMock.expect(mMockConfig.getCommandOptions()).andReturn(new CommandOptions()); in testRun_singleDevice()
212 EasyMock.expect(mMockConfig.getCommandOptions()).andReturn(new CommandOptions()); in testRun_nullDevice()
267 EasyMock.expect(mMockConfig.getCommandOptions()).andReturn(new CommandOptions()); in testRun_DeviceNoPreSetup()
340 EasyMock.expect(mMockConfig.getCommandOptions()).andReturn(new CommandOptions()); in testGetTestShard()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java157 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testRunBuildProvider_oneMiss()
216 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testRunBuildProvider_oneThrow()
294 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions()); in testRunBuildProvider_cleanUpThrow()
DTestInvocationTest.java377 mStubConfiguration.getCommandOptions().setLoopMode(false); in testInvoke_noBuildRetry()
677 mStubConfiguration.getCommandOptions().setLoopMode(false); in testInvoke_retry()
887 mStubConfiguration.getCommandOptions().setShardCount(shardCount); in testInvoke_strictShardableTest_withShardIndex()
888 mStubConfiguration.getCommandOptions().setShardIndex(shardIndex); in testInvoke_strictShardableTest_withShardIndex()
918 mStubConfiguration.getCommandOptions().setShardCount(shardCount); in testInvoke_nonStrictShardableTest_withShardIndexZero()
919 mStubConfiguration.getCommandOptions().setShardIndex(shardIndex); in testInvoke_nonStrictShardableTest_withShardIndexZero()
980 mStubConfiguration.getCommandOptions().setShardCount(shardCount); in testInvoke_nonStrictShardableTest_withShardIndexNonZero()
981 mStubConfiguration.getCommandOptions().setShardIndex(shardIndex); in testInvoke_nonStrictShardableTest_withShardIndexNonZero()
1003 mStubConfiguration.getCommandOptions().setTestTag("not-default"); in testInvoke_testtag()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfiguration.java141 public ICommandOptions getCommandOptions(); in getCommandOptions() method
DConfiguration.java381 public ICommandOptions getCommandOptions() { in getCommandOptions() method in Configuration
1194 ICommandOptions options = getCommandOptions(); in validateOptions()
1301 serializer, CMD_OPTIONS_TYPE_NAME, getCommandOptions(), excludeFilters); in dumpXml()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java279 assertNotNull(mConfig.getCommandOptions()); in testGetCommandOptions()
282 assertEquals(cmdOptions, mConfig.getCommandOptions()); in testGetCommandOptions()