Searched refs:GceStatus (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceAvdInfo.java | 60 private GceStatus mStatus; 63 public static enum GceStatus { enum in GceAvdInfo 77 String instanceName, HostAndPort hostAndPort, String errors, GceStatus status) { in GceAvdInfo() 113 public GceStatus getStatus() { in getStatus() 117 public void setStatus(GceStatus status) { in setStatus() 178 GceStatus gceStatus = GceStatus.valueOf(status); in parseGceInfoFromString() 179 if (GceStatus.FAIL.equals(gceStatus) || GceStatus.BOOT_FAIL.equals(gceStatus)) { in parseGceInfoFromString()
|
D | RemoteAndroidVirtualDevice.java | 31 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 130 if (mGceAvd != null && GceStatus.SUCCESS.equals(mGceAvd.getStatus())) { in preInvocationSetup() 132 mGceAvd.setStatus(GceStatus.DEVICE_OFFLINE); in preInvocationSetup() 186 if (!GceStatus.SUCCESS.equals(mGceAvd.getStatus())) { in postInvocationTearDown() 267 if (GceAvdInfo.GceStatus.BOOT_FAIL.equals(mGceAvd.getStatus())) { in launchGce() 400 if (!GceStatus.SUCCESS.equals(mGceAvd.getStatus())) { in getAvdInfo()
|
D | ManagedRemoteDevice.java | 32 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 115 if (!GceStatus.SUCCESS.equals(mGceAvd.getStatus())) { in postInvocationTearDown() 177 if (GceAvdInfo.GceStatus.BOOT_FAIL.equals(mGceAvd.getStatus())) { in launchGce()
|
D | GceManager.java | 22 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 202 mGceAvdInfo = new GceAvdInfo(instanceName, null, errors, GceStatus.BOOT_FAIL); in startGce()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | RemoteAndroidVirtualDeviceTest.java | 40 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 381 GceStatus.BOOT_FAIL)) in testLaunchGce_bootFail() 422 doReturn(new GceAvdInfo("ins-name", null, "acloud error", GceStatus.BOOT_FAIL)) in testLaunchGce_nullPort() 542 GceStatus.SUCCESS)) in testDeviceNotStoreShutdownState() 643 GceStatus.SUCCESS)) in testDevice_skipTearDown() 729 GceStatus.SUCCESS)) in testDeviceBoot_offline()
|
D | GceManagerTest.java | 30 import com.android.tradefed.device.cloud.GceAvdInfo.GceStatus; 465 assertEquals(GceStatus.SUCCESS, res.getStatus()); in testStartGce() 563 assertEquals(GceStatus.BOOT_FAIL, res.getStatus()); in testStartGce_bootFail()
|
D | GceAvdInfoTest.java | 292 assertEquals(GceAvdInfo.GceStatus.BOOT_FAIL, avd.getStatus()); in testParseJson_Boot_Fail()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | LocalAndroidVirtualDevice.java | 392 if (!GceAvdInfo.GceStatus.SUCCESS.equals(mGceAvdInfo.getStatus())) { in loadAvdInfo()
|