Home
last modified time | relevance | path

Searched refs:injectOptionValue (Results 1 – 9 of 9) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandConfigBuilder.java210 config.injectOptionValue( in build()
222 config.injectOptionValue("cluster:request-id", mCommand.getRequestId()); in build()
223 config.injectOptionValue("cluster:command-id", mCommand.getCommandId()); in build()
224 config.injectOptionValue("cluster:attempt-id", mCommand.getAttemptId()); in build()
226 config.injectOptionValue("enable-root", "false"); in build()
232 config.injectOptionValue("cluster:command-line", commandLine); in build()
233 config.injectOptionValue("cluster:original-command-line", mCommand.getCommandLine()); in build()
234 config.injectOptionValue("cluster:root-dir", mWorkDir.getAbsolutePath()); in build()
237 config.injectOptionValue("cluster:env-var", entry.getKey(), entry.getValue()); in build()
240 config.injectOptionValue("cluster:setup-script", script); in build()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandConfigBuilderTest.java111 verify(mConfig, times(1)).injectOptionValue("cluster:request-id", REQUEST_ID); in testBuild_commandProperties()
112 verify(mConfig, times(1)).injectOptionValue("cluster:command-id", COMMAND_ID); in testBuild_commandProperties()
113 verify(mConfig, times(1)).injectOptionValue("cluster:attempt-id", ATTEMPT_ID); in testBuild_commandProperties()
114 verify(mConfig, times(1)).injectOptionValue("cluster:command-line", COMMAND_LINE); in testBuild_commandProperties()
115 verify(mConfig, times(1)).injectOptionValue("cluster:root-dir", mWorkDir.getAbsolutePath()); in testBuild_commandProperties()
170 .injectOptionValue("cluster:env-var", "TF_WORK_DIR", mWorkDir.getAbsolutePath()); in testBuild_envVars()
171 verify(mConfig, times(1)).injectOptionValue("cluster:env-var", "E1", "V1"); in testBuild_envVars()
172 verify(mConfig, times(1)).injectOptionValue("cluster:env-var", "E2", "V2"); in testBuild_envVars()
182 verify(mConfig, times(1)).injectOptionValue("cluster:jvm-option", "jvm_option"); in testBuild_javaOptions()
184 .injectOptionValue("cluster:java-property", "java_property", "java_value"); in testBuild_javaOptions()
[all …]
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DIGlobalConfiguration.java120 public void injectOptionValue(String optionName, String optionValue) in injectOptionValue() method
133 public void injectOptionValue(String optionName, String optionKey, String optionValue) in injectOptionValue() method
DGlobalConfiguration.java501 public void injectOptionValue(String optionName, String optionValue) in injectOptionValue() method in GlobalConfiguration
503 injectOptionValue(optionName, null, optionValue); in injectOptionValue()
510 public void injectOptionValue(String optionName, String optionKey, String optionValue) in injectOptionValue() method in GlobalConfiguration
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfiguration.java219 public void injectOptionValue(String optionName, String optionValue) in injectOptionValue() method
232 public void injectOptionValue(String optionName, String optionKey, String optionValue) in injectOptionValue() method
DConfigurationDef.java368 config.injectOptionValue(optionEntry.name, optionEntry.key, optionEntry.value); in createGlobalConfiguration()
/tools/tradefederation/contrib/src/com/android/monkey/
DAppPkgInjector.java89 mConfig.injectOptionValue("package", pkgName); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java340 mConfig.injectOptionValue(OPTION_NAME, Boolean.toString(true)); in testInjectOptionValue()
356 mConfig.injectOptionValue(ALT_OPTION_NAME, key, Boolean.toString(true)); in testInjectMapOptionValue()
374 mConfig.injectOptionValue(ALT_OPTION_NAME, "wrong_value"); in testInjectParsedMapOptionValueNoKey()
391 mConfig.injectOptionValue(ALT_OPTION_NAME, "a=b=c"); in testInjectParsedMapOptionValueAmbiguousKey()
407 mConfig.injectOptionValue(ALT_OPTION_NAME, key + "=" + Boolean.toString(true)); in testInjectParsedMapOptionValue()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...