Home
last modified time | relevance | path

Searched refs:CommandOptions (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandOptionsTest.java38 CommandOptions co = new CommandOptions(); in testGetLoopTime_minset()
47 CommandOptions co = new CommandOptions(); in testGetLoopTime_least()
DCommandSchedulerFuncTest.java84 private CommandOptions mCommandOptions;
114 mCommandOptions = new CommandOptions(); in setUp()
DCommandSchedulerTest.java117 private CommandOptions mCommandOptions;
210 mCommandOptions = new CommandOptions(); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/shard/
DShardHelperTest.java25 import com.android.tradefed.command.CommandOptions;
129 CommandOptions options = new CommandOptions(); in testSplitWithShardCount()
159 CommandOptions options = new CommandOptions(); in testSplit_noShardCount()
188 CommandOptions options = new CommandOptions(); in testSplitWithShardCount_notEnoughTest()
231 CommandOptions options = new CommandOptions(); in testCloneStatusChecker()
278 CommandOptions options = new CommandOptions(); in testCloneMetricCollector()
350 CommandOptions options = new CommandOptions(); in testClone_withKeystore()
385 CommandOptions options = new CommandOptions(); in testSplitWithTokens()
426 CommandOptions options = new CommandOptions(); in testSplitWithMultiDevices()
DStrictShardHelperTest.java28 import com.android.tradefed.command.CommandOptions;
117 CommandOptions options = new CommandOptions(); in testShardConfig_internal()
147 CommandOptions options = new CommandOptions(); in testShardConfig_internal_shardIndex()
173 CommandOptions options = new CommandOptions(); in testShardConfig_internal_shardIndex_notShardable_shard0()
204 CommandOptions options = new CommandOptions(); in testShardConfig_internal_shardIndex_notShardable_shard1()
311 CommandOptions options = new CommandOptions(); in testShard()
329 CommandOptions options = new CommandOptions(); in createITestSuiteList()
583 CommandOptions options = new CommandOptions(); in testSuite_withAllInterfaces()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationTest.java31 import com.android.tradefed.command.CommandOptions;
515 new CommandOptions() { in testValidateOptionsShardException()
537 new CommandOptions() { in testValidateOptionsShardIndexException()
559 new CommandOptions() { in testValidateOptionsShardIndexAboveShardCount()
593 CommandOptions options = new CommandOptions(); in testValidateOptions_localSharding_skipDownload()
699 CommandOptions options1 = new CommandOptions(); in testDumpChangedOption()
718 CommandOptions options2 = new CommandOptions(); in testDumpChangedOption()
732 CommandOptions options1 = new CommandOptions(); in testDumpChangedOption_structure()
/tools/tradefederation/core/src/com/android/tradefed/config/proxy/
DTradefedDelegator.java18 import com.android.tradefed.command.CommandOptions;
49 name = CommandOptions.INVOCATION_DATA,
/tools/tradefederation/core/src/com/android/tradefed/util/
DSystemUtil.java21 import com.android.tradefed.command.CommandOptions;
211 args.put(CommandOptionsGetter.OPTION_NAME, CommandOptions.JDK_FOLDER_OPTION_NAME); in getRunningJavaBinaryPath()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/logger/
DTfObjectTrackerTest.java22 import com.android.tradefed.command.CommandOptions;
43 Map<String, Long> metrics = logMetric(testGroup, true, CommandOptions.class); in testNotTracking()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DTfTestLauncherTest.java23 import com.android.tradefed.command.CommandOptions;
95 when(mMockConfig.getCommandOptions()).thenReturn(new CommandOptions()); in setUp()
128 Mockito.eq("--" + CommandOptions.INVOCATION_DATA), in testRun()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandOptions.java38 public class CommandOptions implements ICommandOptions { class
434 CommandOptions clone = new CommandOptions(); in clone()
DCommandScheduler.java1423 if (("--" + CommandOptions.USE_SANDBOX).equals(arg)) { in isCommandSandboxed()
1425 } else if (("--no-" + CommandOptions.USE_SANDBOX).equals(arg)) { in isCommandSandboxed()
/tools/tradefederation/core/javatests/com/android/tradefed/sandbox/
DTradefedSandboxTest.java28 import com.android.tradefed.command.CommandOptions;
267 when(mMockConfig.getCommandOptions()).thenReturn(new CommandOptions()); in testPrepareEnvironment_noTfDirJar()
290 when(mMockConfig.getCommandOptions()).thenReturn(new CommandOptions()); in stubPrepareConfigurationMethods()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationMultiTest.java30 import com.android.tradefed.command.CommandOptions;
185 when(mMockConfig.getCommandOptions()).thenReturn(new CommandOptions()); in testRunBuildProvider_oneMiss()
269 when(mMockConfig.getCommandOptions()).thenReturn(new CommandOptions()); in testResolveDynamicFails()
340 when(mMockConfig.getCommandOptions()).thenReturn(new CommandOptions()); in testRunBuildProvider_oneThrow()
414 when(mMockConfig.getCommandOptions()).thenReturn(new CommandOptions()); in testRunBuildProvider_cleanUpThrow()
DTestInvocationTest.java41 import com.android.tradefed.command.CommandOptions;
966 CommandOptions cmdOptions = new CommandOptions(); in testInvoke_buildFailed()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelperTest.java23 import com.android.tradefed.command.CommandOptions;
213 config.setConfigurationObject(ModuleDefinition.MODULE_CONTROLLER, new CommandOptions()); in testModuleController_fail()
DGranularRetriableTestWrapperTest.java30 import com.android.tradefed.command.CommandOptions;
324 doReturn(new CommandOptions()).when(mockModuleConfiguration).getCommandOptions(); in createGranularTestWrapper()
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/
DConfigurationYamlParser.java18 import com.android.tradefed.command.CommandOptions;
76 CommandOptions.TEST_TAG_OPTION, in parse()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java20 import com.android.tradefed.command.CommandOptions;
348 mCmdArgs.add("--" + CommandOptions.INVOCATION_DATA); in addInvocationData()
354 mCmdArgs.add("--" + CommandOptions.INVOCATION_DATA); in addInvocationData()
DNoisyDryRunTest.java22 import com.android.tradefed.command.CommandOptions;
184 if (cmdLine.contains("--" + CommandOptions.USE_SANDBOX)) { in parseOneConfig()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java20 import com.android.tradefed.command.CommandOptions;
553 if (listArgs.contains("--" + CommandOptions.DRY_RUN_OPTION) in createConfigurationFromArgs()
554 || listArgs.contains("--" + CommandOptions.NOISY_DRY_RUN_OPTION)) { in createConfigurationFromArgs()
DConfiguration.java21 import com.android.tradefed.command.CommandOptions;
256 setCommandOptions(new CommandOptions()); in Configuration()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java19 import com.android.tradefed.command.CommandOptions;
152 mCmdArgs.add("--" + CommandOptions.USE_SANDBOX); in run()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java23 import com.android.tradefed.command.CommandOptions;
396 tfCmdBuilder.append(" --" + CommandOptions.USE_SANDBOX); in runRemote()