/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | RunHostCommandTargetPreparerTest.java | 82 OptionSetter optionSetter = new OptionSetter(mPreparer); in testSetUp() local 83 optionSetter.setOptionValue("host-setup-command", FULL_COMMAND); in testSetUp() 84 optionSetter.setOptionValue("host-cmd-timeout", "10"); in testSetUp() 96 final OptionSetter optionSetter = new OptionSetter(mPreparer); in testSetUp_withWorkDir() local 97 optionSetter.setOptionValue("work-dir", "/working/directory"); in testSetUp_withWorkDir() 98 optionSetter.setOptionValue("host-setup-command", "command"); in testSetUp_withWorkDir() 99 optionSetter.setOptionValue("host-cmd-timeout", "10"); in testSetUp_withWorkDir() 112 OptionSetter optionSetter = new OptionSetter(mPreparer); in testSetUp_withErrors() local 113 optionSetter.setOptionValue("host-setup-command", "command"); in testSetUp_withErrors() 114 optionSetter.setOptionValue("host-cmd-timeout", "10"); in testSetUp_withErrors() [all …]
|
D | DeviceStorageFillerTest.java | 53 OptionSetter optionSetter = new OptionSetter(mDeviceStorageFiller); in testSetUpWriteFile() local 54 optionSetter.setOptionValue("free-bytes", "24"); in testSetUpWriteFile() 55 optionSetter.setOptionValue("partition", "/p"); in testSetUpWriteFile() 56 optionSetter.setOptionValue("file-name", "f"); in testSetUpWriteFile() 70 OptionSetter optionSetter = new OptionSetter(mDeviceStorageFiller); in testSetUpSkip() local 71 optionSetter.setOptionValue("free-bytes", "2000"); in testSetUpSkip() 72 optionSetter.setOptionValue("partition", "/p"); in testSetUpSkip() 73 optionSetter.setOptionValue("file-name", "f"); in testSetUpSkip() 83 OptionSetter optionSetter = new OptionSetter(mDeviceStorageFiller); in testTearDown() local 84 optionSetter.setOptionValue("free-bytes", "24"); in testTearDown() [all …]
|
D | DeviceStringPusherTest.java | 55 OptionSetter optionSetter = new OptionSetter(mDeviceStringPusher); in testFail() local 56 optionSetter.setOptionValue("file-path", "file"); in testFail() 57 optionSetter.setOptionValue("file-content", "hi"); in testFail() 68 OptionSetter optionSetter = new OptionSetter(mDeviceStringPusher); in testDoesntExist() local 69 optionSetter.setOptionValue("file-path", "file"); in testDoesntExist() 70 optionSetter.setOptionValue("file-content", "hi"); in testDoesntExist() 83 OptionSetter optionSetter = new OptionSetter(mDeviceStringPusher); in testAlreadyExists() local 85 optionSetter.setOptionValue("file-path", "file"); in testAlreadyExists() 86 optionSetter.setOptionValue("file-content", "hi"); in testAlreadyExists()
|
D | RestartSystemServerTargetPreparerTest.java | 81 OptionSetter optionSetter = new OptionSetter(mRestartSystemServerTargetPreparer); in testTearDown_restart() local 82 optionSetter.setOptionValue("restart-setup", "false"); in testTearDown_restart() 83 optionSetter.setOptionValue("restart-teardown", "true"); in testTearDown_restart() 103 OptionSetter optionSetter = new OptionSetter(mRestartSystemServerTargetPreparer); in testNone() local 104 optionSetter.setOptionValue("restart-setup", "false"); in testNone() 105 optionSetter.setOptionValue("restart-teardown", "false"); in testNone()
|
D | AppSetupFuncTest.java | 67 OptionSetter optionSetter = new OptionSetter(appSetup); in testSetupTeardown() local 68 optionSetter.setOptionValue("reboot", "false"); in testSetupTeardown()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | Configuration.java | 583 private void internalInjectOptionValue(OptionSetter optionSetter, String optionName, in internalInjectOptionValue() argument 585 if (optionSetter == null) { in internalInjectOptionValue() 590 List<FieldDef> affectedFields = optionSetter.setOptionValue( in internalInjectOptionValue() 623 private void internalInjectOptionValue(OptionSetter optionSetter, String optionName, in internalInjectOptionValue() argument 626 if (optionSetter == null) { in internalInjectOptionValue() 631 if (!optionSetter.isMapOption(optionName)) { in internalInjectOptionValue() 632 internalInjectOptionValue(optionSetter, optionName, null, optionValue, null); in internalInjectOptionValue() 643 internalInjectOptionValue(optionSetter, optionName, in internalInjectOptionValue() 679 OptionSetter optionSetter = createOptionSetter(); in injectOptionValues() local 681 internalInjectOptionValue(optionSetter, optionDef.name, optionDef.key, optionDef.value, in injectOptionValues() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/host/ |
D | LocalHostResourceManagerTest.java | 53 OptionSetter optionSetter = new OptionSetter(mHostResourceManager); in testSetupHostResource() local 54 optionSetter.setOptionValue( in testSetupHostResource() 64 OptionSetter optionSetter = new OptionSetter(mHostResourceManager); in testSetupHostResource_fileDoesNotExist() local 65 optionSetter.setOptionValue( in testSetupHostResource_fileDoesNotExist()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | JsonHttpTestResultReporterTest.java | 81 OptionSetter optionSetter = new OptionSetter(mReporter); in testSkipFailedRuns_set() local 82 optionSetter.setOptionValue(SKIP_FAILED_RUNS_OPTION, String.valueOf(true)); in testSkipFailedRuns_set() 97 OptionSetter optionSetter = new OptionSetter(mReporter); in testIncludeAdditionalTestDetails() local 98 optionSetter.setOptionValue(COLLECT_DEVICE_DETAILS_OPTION, String.valueOf(true)); in testIncludeAdditionalTestDetails()
|
D | MetricsXMLResultReporterTest.java | 47 OptionSetter optionSetter = new OptionSetter(mResultReporter); in setUp() local 48 optionSetter.setOptionValue("metrics-folder", "/tmp"); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GoogleApiClientUtilTest.java | 115 OptionSetter optionSetter = in testCreateCredential_useHostOptions() local 117 optionSetter.setOptionValue( in testCreateCredential_useHostOptions()
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsXmlParserTest.java | 66 OptionSetter optionSetter = new OptionSetter(mResultReporter); in setUp() local 67 optionSetter.setOptionValue("metrics-folder", "/tmp"); in setUp()
|
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/ |
D | GlobalConfiguration.java | 512 OptionSetter optionSetter = new OptionSetter(getAllConfigurationObjects()); in injectOptionValue() local 513 optionSetter.setOptionValue(optionName, optionKey, optionValue); in injectOptionValue()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | AtraceCollectorTest.java | 370 OptionSetter optionSetter = new OptionSetter(atrace); in testMultipleDeviceBehavior() local 371 optionSetter.setOptionValue("categories", M_CATEGORIES); in testMultipleDeviceBehavior()
|