/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 176 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 …]
|
D | InvocationExecution.java | 162 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 …]
|
D | RemoteInvocationExecution.java | 129 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/ |
D | ShardHelper.java | 110 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()
|
D | ParentShardReplicate.java | 40 if (!config.getCommandOptions().shouldUseReplicateSetup()) { in replicatedSetup() 46 Integer shardCount = config.getCommandOptions().getShardCount(); in replicatedSetup() 47 Integer shardIndex = config.getCommandOptions().getShardIndex(); in replicatedSetup()
|
D | StrictShardHelper.java | 50 Integer shardCount = config.getCommandOptions().getShardCount(); in shardConfig() 51 Integer shardIndex = config.getCommandOptions().getShardIndex(); in shardConfig()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | SandboxedInvocationExecutionTest.java | 214 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()
|
D | TestInvocationMultiTest.java | 188 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/ |
D | TradefedSandbox.java | 119 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()
|
D | SandboxConfigDump.java | 91 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/ |
D | CommandScheduler.java | 340 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/ |
D | ITestSuiteIntegrationTest.java | 520 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/ |
D | ModuleDefinition.java | 370 .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()
|
D | ITestSuite.java | 472 mMainConfiguration.getCommandOptions().getDynamicDownloadArgs()); in stageTestArtifacts() 786 mMainConfiguration.getCommandOptions().getDynamicDownloadArgs()); in runSingleModule()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryRescheduler.java | 149 .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/ |
D | Configuration.java | 412 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/ |
D | ClusterCommandLauncher.java | 189 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/ |
D | TradefedSandboxTest.java | 240 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/ |
D | SubprocessTfLauncher.java | 263 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/ |
D | CommandSchedulerFuncTest.java | 106 EasyMock.expect(mSlowConfig.getCommandOptions()).andStubReturn(mCommandOptions); in setUp() 109 EasyMock.expect(mFastConfig.getCommandOptions()).andStubReturn(mCommandOptions); in setUp()
|
D | CommandSchedulerTest.java | 538 EasyMock.expect(rescheduledConfig.getCommandOptions()).andStubReturn(mCommandOptions); in testRun_rescheduled() 725 EasyMock.expect(mMockConfiguration.getCommandOptions()).andStubReturn(mCommandOptions); in setCreateConfigExpectations()
|
D | CommandSchedulerStressApp.java | 50 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(mCommandOptions); in CommandSchedulerStressApp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryReschedulerTest.java | 78 EasyMock.expect(mRescheduledConfiguration.getCommandOptions()) in setUp() 148 mTopConfiguration.getCommandOptions().setShardCount(2); in testReschedule_carryShardCount()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationTest.java | 303 assertNotNull(mConfig.getCommandOptions()); in testGetCommandOptions() 306 assertEquals(cmdOptions, mConfig.getCommandOptions()); in testGetCommandOptions()
|
D | DynamicRemoteFileResolverTest.java | 893 configuration.getCommandOptions().setReplicateSetup(true); in testMultiDevices_replicat() 894 configuration.getCommandOptions().setShardCount(2); in testMultiDevices_replicat()
|