Home
last modified time | relevance | path

Searched refs:GceAvdInfo (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceAvdInfoTest.java50 GceAvdInfo avd = GceAvdInfo.parseGceInfoFromString(valid, null, 5555); in testValidGceJsonParsing()
76 GceAvdInfo avd = GceAvdInfo.parseGceInfoFromString(valid, null, 5555); in testValidGceJsonParsingWithBuildVars()
121 GceAvdInfo avd1 = GceAvdInfo.parseGceInfoFromString(json1, null, 1111); in testDualAvdsJsonParsingWithBuildVars()
122 GceAvdInfo avd2 = GceAvdInfo.parseGceInfoFromString(json2, null, 2222); in testDualAvdsJsonParsingWithBuildVars()
139 GceAvdInfo avd = GceAvdInfo.parseGceInfoFromString(null, null, 5555); in testNullStringJsonParsing()
145 assertNull(GceAvdInfo.parseGceInfoFromString(new String(), null, 5555)); in testEmptyStringJsonParsing()
169 GceAvdInfo.parseGceInfoFromString(multipleInstances, null, 5555); in testMultipleGceJsonParsing()
180 GceAvdInfo.parseGceInfoFromString(invalidJson, null, 5555); in testInvalidJsonParsing()
200 GceAvdInfo.parseGceInfoFromString(missingInstance, null, 5555); in testMissingGceJsonParsing()
229 GceAvdInfo avd = GceAvdInfo.parseGceInfoFromString(validFail, null, 5555); in testValidGceJsonParsingFail()
[all …]
DRemoteFileUtilTest.java55 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testFetchRemoteFile()
90 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testFetchRemoteFile_fail()
119 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testPushFileToRemote()
161 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testPushFileToRemote_fail()
DGceManagerTest.java29 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus;
448 GceAvdInfo res = mGceManager.startGce(); in testStartGce()
540 GceAvdInfo res = mGceManager.startGce(); in testStartGce_bootFail()
627 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testGetSshBugreport()
681 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testGetNestedSshBugreport()
756 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testGetSshBugreport_Fail()
849 GceAvdInfo gceAvd = mGceManager.startGce(); in testStartGce_timeoutAndClean()
DRemoteAndroidVirtualDeviceTest.java40 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus;
366 new GceAvdInfo( in testLaunchGce_bootFail()
471 new GceAvdInfo( in testDeviceNotStoreShutdownState()
572 new GceAvdInfo( in testDevice_skipTearDown()
658 new GceAvdInfo( in testDeviceBoot_offline()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceManager.java23 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus;
73 private GceAvdInfo mGceAvdInfo = null;
122 public GceAvdInfo startGce() throws TargetSetupError { in startGce()
127 new GceAvdInfo( in startGce()
160 mGceAvdInfo = new GceAvdInfo(instanceName, null, errors, GceStatus.BOOT_FAIL); in startGce()
167 GceAvdInfo.parseGceInfoFromFile( in startGce()
184 GceAvdInfo.parseGceInfoFromFile( in startGce()
342 GceAvdInfo gceAvd, TestDeviceOptions options, IRunUtil runUtil) throws IOException { in getBugreportzWithSsh()
371 GceAvdInfo gceAvd, TestDeviceOptions options, IRunUtil runUtil) throws IOException { in getNestedDeviceSshBugreportz()
414 GceAvdInfo gceAvd, in logNestedRemoteFile()
[all …]
DGceAvdInfo.java37 public class GceAvdInfo { class
67 public GceAvdInfo(String instanceName, HostAndPort hostAndPort) { in GceAvdInfo() method in GceAvdInfo
73 public GceAvdInfo( in GceAvdInfo() method in GceAvdInfo
142 public static GceAvdInfo parseGceInfoFromFile( in parseGceInfoFromFile()
163 public static GceAvdInfo parseGceInfoFromString( in parseGceInfoFromString()
189 GceAvdInfo avdInfo = in parseGceInfoFromString()
190 new GceAvdInfo( in parseGceInfoFromString()
DRemoteFileUtil.java45 GceAvdInfo remoteInstance, in fetchRemoteFile()
80 GceAvdInfo remoteInstance, in fetchRemoteFile()
111 GceAvdInfo remoteInstance, in pushFileToRemote()
130 GceAvdInfo remoteInstance, in internalScpExec()
DManagedRemoteDevice.java25 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus;
49 private GceAvdInfo mGceAvd;
138 public GceAvdInfo getRemoteAvdInfo() { in getRemoteAvdInfo()
160 if (GceAvdInfo.GceStatus.BOOT_FAIL.equals(mGceAvd.getStatus())) { in launchGce()
DMultiUserSetupUtil.java39 GceAvdInfo remoteInstance, in prepareRemoteUser()
58 GceAvdInfo remoteInstance, in addExtraCvdUser()
83 GceAvdInfo remoteInstance, in setupNetworkInterface()
117 GceAvdInfo remoteInstance, in prepareRemoteHomeDir()
DRemoteSshUtil.java42 GceAvdInfo remoteInstance, in remoteSshCommandExec()
71 GceAvdInfo remoteInstance, in remoteSshCommandExec()
DRemoteAndroidVirtualDevice.java30 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus;
61 private GceAvdInfo mGceAvd;
265 if (GceAvdInfo.GceStatus.BOOT_FAIL.equals(mGceAvd.getStatus())) { in launchGce()
DCommonLogRemoteFileUtil.java98 GceAvdInfo gceAvd, in fetchCommonFiles()
144 GceAvdInfo gceAvd, in LogRemoteFile()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java32 import com.android.tradefed.device.cloud.GceAvdInfo;
123 GceAvdInfo info = device.getRemoteAvdInfo(); in runTests()
317 GceAvdInfo info, in runRemote()
401 GceAvdInfo info, in isStillRunning()
461 private void resetAdb(GceAvdInfo info, TestDeviceOptions options, IRunUtil runUtil) { in resetAdb()
480 GceAvdInfo info, TestDeviceOptions options, IRunUtil runUtil, ITestLogger logger) { in collectAdbLogs()
552 GceAvdInfo info, in fetchAndProcessResults()
601 GceAvdInfo info, in startDevice()
690 private GceAvdInfo mInfo;
700 GceAvdInfo info, in StartDeviceThread()