/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 68 private TestDeviceOptions mOptions; field in GceManagerTest 79 mOptions = new TestDeviceOptions(); in setUp() 80 OptionSetter setter = new OptionSetter(mOptions); in setUp() 85 mOptions.setAvdDriverBinary(mAvdBinary); in setUp() 86 mOptions.setAvdConfigFile(mAvdBinary); in setUp() 88 new GceManager(mMockDeviceDesc, mOptions, mMockBuildInfo) { in setUp() 184 mOptions.getAvdDriverBinary().getAbsolutePath(), in testBuildGceCommand() 216 OptionSetter setter = new OptionSetter(mOptions); in testBuildGceCommand_withServiceAccountJsonKeyFile() 224 mOptions.getAvdDriverBinary().getAbsolutePath(), in testBuildGceCommand_withServiceAccountJsonKeyFile() 256 OptionSetter setter = new OptionSetter(mOptions); in testBuildGceCommandWithIpDevice() [all …]
|
D | RemoteFileUtilTest.java | 44 private TestDeviceOptions mOptions; field in RemoteFileUtilTest 54 mOptions = new TestDeviceOptions(); in setUp() 55 mOptions.setAvdDriverBinary(mMockFile); in setUp() 85 fakeInfo, mOptions, mMockRunUtil, 500L, remotePath); in testFetchRemoteFile() 118 RemoteFileUtil.fetchRemoteFile(fakeInfo, mOptions, mMockRunUtil, 500L, remotePath); in testFetchRemoteFile_fail() 149 fakeInfo, mOptions, mMockRunUtil, 500L, remotePath); in testFetchRemoteDir() 186 mOptions, in testPushFileToRemote() 228 mOptions, in testPushFileToRemote_fail() 249 mMockGceAvdInfo, mOptions, mMockRunUtil, 500L, remotePath); in testDoesRemoteFileExistInOxygenation() 265 mOptions, in testPushFileToRemoteOxygenation()
|
D | GceSshTunnelMonitorTest.java | 61 private TestDeviceOptions mOptions; field in GceSshTunnelMonitorTest 72 mOptions = new TestDeviceOptions(); in setUp() 74 OptionSetter setter = new OptionSetter(mOptions); in setUp() 77 new GceSshTunnelMonitor(mMockDevice, mMockBuildInfo, mHost, mOptions) { in setUp()
|
D | RemoteAndroidVirtualDeviceTest.java | 59 mOptions = new TestDeviceOptions(); in TestableRemoteAndroidVirtualDevice() 61 mOptions.setUseConnection(false); in TestableRemoteAndroidVirtualDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestInfo.java | 36 private List<TestOption> mOptions = new ArrayList<TestOption>(); field in TestInfo 62 mOptions.add(option); in addOption() 63 Collections.sort(mOptions); in addOption() 67 return mOptions; in getOptions() 100 return String.format("%s%s", mName, mOptions.toString()); in getNameOption() 157 commonOptions.retainAll(new HashSet<TestOption>(mOptions)); in merge() 158 mOptions = new ArrayList<TestOption>(commonOptions); in merge() 195 mOptions.stream() in merge() 203 mOptions.stream() in merge() 207 mOptions.stream() in merge() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/connection/ |
D | AdbSshConnectionTest.java | 77 private TestDeviceOptions mOptions; field in AdbSshConnectionTest 104 mOptions = new TestDeviceOptions(); in setUp() 105 OptionSetter setter = new OptionSetter(mOptions); in setUp() 109 when(mMockDevice.getOptions()).thenReturn(mOptions); in setUp() 145 OptionSetter setter = new OptionSetter(mOptions); in testPowerwashGce() 196 OptionSetter setter = new OptionSetter(mOptions); in testPowerwashOxygenGce() 272 OptionSetter setter = new OptionSetter(mOptions); in testPowerwashMultiInstance() 421 OptionSetter setter = new OptionSetter(mOptions); in testLaunchGce_bootFail() 551 OptionSetter setter = new OptionSetter(mOptions); in testSnapshotGce() 678 mOptions = new TestDeviceOptions(); in testVerifyKernel_rightKernel() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/ |
D | YamlClassOptionsParser.java | 33 public Multimap<String, String> mOptions = LinkedListMultimap.create(); field in YamlClassOptionsParser.ClassAndOptions 65 classOptions.mOptions.put( in YamlClassOptionsParser()
|
D | ConfigurationYamlParser.java | 253 for (Entry<String, String> options : classOptions.mOptions.entries()) { in convertClassAndOptionsToObjects()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 231 protected TestDeviceOptions mOptions = new TestDeviceOptions(); field in NativeDevice 488 mOptions = options; in setOptions() 489 if (mOptions.getFastbootBinary() != null) { in setOptions() 492 if (".zip".equals(FileUtil.getExtension(mOptions.getFastbootBinary().getName()))) { in setOptions() 497 mOptions.getFastbootBinary(), "unpacked-fastboot"); in setOptions() 514 setFastbootPath(mOptions.getFastbootBinary().getAbsolutePath()); in setOptions() 527 mOptions.setMaxLogcatDataSize(size); in setTmpLogcatSize() 2512 return mOptions.getUseFastbootErase(); in getUseFastbootErase() 2520 mOptions.setUseFastbootErase(useFastbootErase); in setUseFastbootErase() 2529 if (mOptions.getUseFastbootErase()) { in fastbootWipePartition() [all …]
|
D | TestDevice.java | 1249 if (mOptions.isDisableKeyguard()) { in prePostBootSetup() 2401 return new WifiHelper(this, mOptions.getWifiUtilAPKPath(), doSetup, useV2); in createWifiHelper()
|
/tools/tradefederation/contrib/src/com/android/monkey/ |
D | MonkeyBase.java | 152 private Collection<String> mOptions = new LinkedList<>(); field in MonkeyBase 544 cmdList.addAll(mOptions); in buildMonkeyCommand()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 1503 mOptions = in testDoReboot_skipped()
|