/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 180 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 …]
|
D | TestInvocation.java | 152 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/ |
D | SandboxConfigDump.java | 78 config.getCommandOptions().setShouldUseSandboxing(false); in parse() 83 config.getCommandOptions().setBugreportOnInvocationEnded(false); in parse() 84 config.getCommandOptions().setBugreportzOnInvocationEnded(false); in parse()
|
D | TradefedSandbox.java | 85 long timeout = config.getCommandOptions().getInvocationTimeout(); in run()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ITestSuiteIntegrationTest.java | 499 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/ |
D | ShardHelper.java | 84 Integer shardCount = config.getCommandOptions().getShardCount(); in shardConfig() 123 if (config.getCommandOptions().shouldUseDynamicSharding()) { in shardConfig() 153 shardConfig.setCommandOptions(config.getCommandOptions().clone()); in rescheduleConfig()
|
D | StrictShardHelper.java | 47 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/ |
D | CommandSchedulerStressApp.java | 50 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(mCommandOptions); in CommandSchedulerStressApp()
|
D | CommandSchedulerFuncTest.java | 95 EasyMock.expect(mSlowConfig.getCommandOptions()).andStubReturn(mCommandOptions); in setUp() 98 EasyMock.expect(mFastConfig.getCommandOptions()).andStubReturn(mCommandOptions); in setUp()
|
D | CommandSchedulerTest.java | 549 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/ |
D | VersionedTfLauncherTest.java | 157 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/ |
D | TestInvocationMultiTest.java | 157 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()
|
D | TestInvocationTest.java | 377 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/ |
D | IConfiguration.java | 141 public ICommandOptions getCommandOptions(); in getCommandOptions() method
|
D | Configuration.java | 381 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/ |
D | ConfigurationTest.java | 279 assertNotNull(mConfig.getCommandOptions()); in testGetCommandOptions() 282 assertEquals(cmdOptions, mConfig.getCommandOptions()); in testGetCommandOptions()
|