/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | GceAvdInfoTest.java | 56 GceAvdInfo avd = GceAvdInfo.parseGceInfoFromString(valid, null, 5555); in testValidGceJsonParsing() 82 GceAvdInfo avd = GceAvdInfo.parseGceInfoFromString(valid, null, 5555); in testValidGceJsonParsingWithBuildVars() 127 GceAvdInfo avd1 = GceAvdInfo.parseGceInfoFromString(json1, null, 1111); in testDualAvdsJsonParsingWithBuildVars() 128 GceAvdInfo avd2 = GceAvdInfo.parseGceInfoFromString(json2, null, 2222); in testDualAvdsJsonParsingWithBuildVars() 145 GceAvdInfo avd = GceAvdInfo.parseGceInfoFromString(null, null, 5555); in testNullStringJsonParsing() 151 assertNull(GceAvdInfo.parseGceInfoFromString(new String(), null, 5555)); in testEmptyStringJsonParsing() 175 GceAvdInfo.parseGceInfoFromString(multipleInstances, null, 5555); in testMultipleGceJsonParsing() 186 GceAvdInfo.parseGceInfoFromString(invalidJson, null, 5555); in testInvalidJsonParsing() 206 GceAvdInfo.parseGceInfoFromString(missingInstance, null, 5555); in testMissingGceJsonParsing() 235 GceAvdInfo avd = GceAvdInfo.parseGceInfoFromString(validFail, null, 5555); in testValidGceJsonParsingFail() [all …]
|
D | RemoteFileUtilTest.java | 55 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 testFetchRemoteDir() 155 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testPushFileToRemote() 197 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testPushFileToRemote_fail()
|
D | GceManagerTest.java | 30 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 462 GceAvdInfo res = mGceManager.startGce(); in testStartGce() 560 GceAvdInfo res = mGceManager.startGce(); in testStartGce_bootFail() 680 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testGetSshBugreport() 734 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testGetNestedSshBugreport() 810 GceAvdInfo fakeInfo = new GceAvdInfo("ins-gce", HostAndPort.fromHost("127.0.0.1")); in testGetSshBugreport_Fail() 906 GceAvdInfo gceAvd = mGceManager.startGce(); in testStartGce_timeoutAndClean()
|
D | RemoteAndroidVirtualDeviceTest.java | 40 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 377 new GceAvdInfo( in testLaunchGce_bootFail() 422 doReturn(new GceAvdInfo("ins-name", null, "acloud error", GceStatus.BOOT_FAIL)) in testLaunchGce_nullPort() 538 new GceAvdInfo( in testDeviceNotStoreShutdownState() 639 new GceAvdInfo( in testDevice_skipTearDown() 725 new GceAvdInfo( in testDeviceBoot_offline()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceManager.java | 22 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 77 private GceAvdInfo mGceAvdInfo = null; 144 public GceAvdInfo startGce() throws TargetSetupError { in startGce() 154 public GceAvdInfo startGce(String ipDevice) throws TargetSetupError { in startGce() 159 new GceAvdInfo( in startGce() 202 mGceAvdInfo = new GceAvdInfo(instanceName, null, errors, GceStatus.BOOT_FAIL); in startGce() 209 GceAvdInfo.parseGceInfoFromFile( in startGce() 228 GceAvdInfo.parseGceInfoFromFile( in startGce() 457 GceAvdInfo gceAvd, TestDeviceOptions options, IRunUtil runUtil) throws IOException { in getBugreportzWithSsh() 486 GceAvdInfo gceAvd, TestDeviceOptions options, IRunUtil runUtil) throws IOException { in getNestedDeviceSshBugreportz() [all …]
|
D | GceAvdInfo.java | 40 public class GceAvdInfo { class 70 public GceAvdInfo(String instanceName, HostAndPort hostAndPort) { in GceAvdInfo() method in GceAvdInfo 76 public GceAvdInfo( in GceAvdInfo() method in GceAvdInfo 145 public static GceAvdInfo parseGceInfoFromFile( in parseGceInfoFromFile() 166 public static GceAvdInfo parseGceInfoFromString( in parseGceInfoFromString() 193 GceAvdInfo avdInfo = in parseGceInfoFromString() 194 new GceAvdInfo( in parseGceInfoFromString()
|
D | RemoteFileUtil.java | 46 GceAvdInfo remoteInstance, in fetchRemoteFile() 81 GceAvdInfo remoteInstance, in fetchRemoteFile() 111 GceAvdInfo remoteInstance, in fetchRemoteDir() 140 GceAvdInfo remoteInstance, in fetchRemoteDir() 181 GceAvdInfo remoteInstance, in pushFileToRemote() 200 GceAvdInfo remoteInstance, in internalScpExec()
|
D | ManagedRemoteDevice.java | 32 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 56 private GceAvdInfo mGceAvd; 155 public GceAvdInfo getRemoteAvdInfo() { in getRemoteAvdInfo() 177 if (GceAvdInfo.GceStatus.BOOT_FAIL.equals(mGceAvd.getStatus())) { in launchGce()
|
D | RemoteAndroidVirtualDevice.java | 31 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 61 private GceAvdInfo mGceAvd; 267 if (GceAvdInfo.GceStatus.BOOT_FAIL.equals(mGceAvd.getStatus())) { in launchGce() 395 public @Nullable GceAvdInfo getAvdInfo() { in getAvdInfo()
|
D | CommonLogRemoteFileUtil.java | 112 GceAvdInfo gceAvd, in fetchCommonFiles() 154 GceAvdInfo gceAvd, in fetchTombstones() 216 GceAvdInfo gceAvd, in LogRemoteFile()
|
D | RemoteSshUtil.java | 42 GceAvdInfo remoteInstance, in remoteSshCommandExec() 71 GceAvdInfo remoteInstance, in remoteSshCommandExec()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | RemoteInvocationExecution.java | 35 import com.android.tradefed.device.cloud.GceAvdInfo; 147 GceAvdInfo gceInfo = device.getRemoteAvdInfo(); in runTests() 308 GceAvdInfo info, in runRemote() 410 GceAvdInfo info, in isStillRunning() 531 private void resetAdb(GceAvdInfo info, TestDeviceOptions options, IRunUtil runUtil) { in resetAdb() 550 GceAvdInfo info, TestDeviceOptions options, IRunUtil runUtil, ITestLogger logger) { in collectAdbLogs() 667 GceAvdInfo info, in fetchAndProcessResults() 708 GceAvdInfo info, in fetchRemoteAndLogFile()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | LocalAndroidVirtualDevice.java | 23 import com.android.tradefed.device.cloud.GceAvdInfo; 71 private GceAvdInfo mGceAvdInfo = null; 379 mGceAvdInfo = GceAvdInfo.parseGceInfoFromFile(report, getDeviceDescriptor(), INVALID_PORT); in loadAvdInfo() 392 if (!GceAvdInfo.GceStatus.SUCCESS.equals(mGceAvdInfo.getStatus())) { in loadAvdInfo()
|