/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | DeviceStorageFillerTest.java | 45 OptionSetter optionSetter = new OptionSetter(mDeviceStorageFiller); in testSetUpWriteFile() local 46 optionSetter.setOptionValue("free-bytes", "24"); in testSetUpWriteFile() 47 optionSetter.setOptionValue("partition", "/p"); in testSetUpWriteFile() 48 optionSetter.setOptionValue("file-name", "f"); in testSetUpWriteFile() 62 OptionSetter optionSetter = new OptionSetter(mDeviceStorageFiller); in testSetUpSkip() local 63 optionSetter.setOptionValue("free-bytes", "2000"); in testSetUpSkip() 64 optionSetter.setOptionValue("partition", "/p"); in testSetUpSkip() 65 optionSetter.setOptionValue("file-name", "f"); in testSetUpSkip() 75 OptionSetter optionSetter = new OptionSetter(mDeviceStorageFiller); in testTearDown() local 76 optionSetter.setOptionValue("free-bytes", "24"); in testTearDown() [all …]
|
D | RunHostCommandTargetPreparerTest.java | 74 final OptionSetter optionSetter = new OptionSetter(mPreparer); in testSetUp() local 75 optionSetter.setOptionValue("host-setup-command", command); in testSetUp() 76 optionSetter.setOptionValue("host-cmd-timeout", "10"); in testSetUp() 96 final OptionSetter optionSetter = new OptionSetter(mPreparer); in testSetUp_withWorkDir() local 97 optionSetter.setOptionValue("work-dir", workDir); in testSetUp_withWorkDir() 98 optionSetter.setOptionValue("host-setup-command", command); in testSetUp_withWorkDir() 99 optionSetter.setOptionValue("host-cmd-timeout", "10"); in testSetUp_withWorkDir() 119 final OptionSetter optionSetter = new OptionSetter(mPreparer); in testTearDown() local 120 optionSetter.setOptionValue("host-teardown-command", command); in testTearDown() 121 optionSetter.setOptionValue("host-cmd-timeout", "10"); in testTearDown() [all …]
|
D | DeviceStringPusherTest.java | 47 OptionSetter optionSetter = new OptionSetter(mDeviceStringPusher); in testFail() local 48 optionSetter.setOptionValue("file-path", "file"); in testFail() 49 optionSetter.setOptionValue("file-content", "hi"); in testFail() 60 OptionSetter optionSetter = new OptionSetter(mDeviceStringPusher); in testDoesntExist() local 61 optionSetter.setOptionValue("file-path", "file"); in testDoesntExist() 62 optionSetter.setOptionValue("file-content", "hi"); in testDoesntExist() 75 OptionSetter optionSetter = new OptionSetter(mDeviceStringPusher); in testAlreadyExists() local 77 optionSetter.setOptionValue("file-path", "file"); in testAlreadyExists() 78 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()
|
D | TimeSetterTargetPreparerTest.java | 55 OptionSetter optionSetter = new OptionSetter(mTimeSetterTargetPreparer); in testSaveTime() local 56 optionSetter.setOptionValue("time", "555"); in testSaveTime()
|
/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/src/com/android/tradefed/config/ |
D | Configuration.java | 565 private void internalInjectOptionValue(OptionSetter optionSetter, String optionName, in internalInjectOptionValue() argument 567 if (optionSetter == null) { in internalInjectOptionValue() 572 List<FieldDef> affectedFields = optionSetter.setOptionValue( in internalInjectOptionValue() 612 private void internalInjectOptionValue(OptionSetter optionSetter, String optionName, in internalInjectOptionValue() argument 615 if (optionSetter == null) { in internalInjectOptionValue() 620 if (!optionSetter.isMapOption(optionName)) { in internalInjectOptionValue() 621 internalInjectOptionValue(optionSetter, optionName, null, optionValue, null); in internalInjectOptionValue() 632 internalInjectOptionValue(optionSetter, optionName, in internalInjectOptionValue() 668 OptionSetter optionSetter = createOptionSetter(); in injectOptionValues() local 670 internalInjectOptionValue(optionSetter, optionDef.name, optionDef.key, optionDef.value, in injectOptionValues()
|
D | GlobalConfiguration.java | 504 OptionSetter optionSetter = new OptionSetter(getAllConfigurationObjects()); in injectOptionValue() local 505 optionSetter.setOptionValue(optionName, optionKey, optionValue); in injectOptionValue()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | Verify.java | 62 ArgsOptionParser optionSetter = new ArgsOptionParser(verify); in main() local 63 optionSetter.parse(mainArgs); in main()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | JsonHttpTestResultReporterTest.java | 79 OptionSetter optionSetter = new OptionSetter(mReporter); in testSkipFailedRuns_set() local 80 optionSetter.setOptionValue(SKIP_FAILED_RUNS_OPTION, String.valueOf(true)); in testSkipFailedRuns_set()
|
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/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()
|