Home
last modified time | relevance | path

Searched refs:GceStatus (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java60 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()
DRemoteAndroidVirtualDevice.java31 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()
DManagedRemoteDevice.java32 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()
DGceManager.java22 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/
DRemoteAndroidVirtualDeviceTest.java40 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()
DGceManagerTest.java30 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()
DGceAvdInfoTest.java292 assertEquals(GceAvdInfo.GceStatus.BOOT_FAIL, avd.getStatus()); in testParseJson_Boot_Fail()
/tools/tradefederation/core/src/com/android/tradefed/device/
DLocalAndroidVirtualDevice.java392 if (!GceAvdInfo.GceStatus.SUCCESS.equals(mGceAvdInfo.getStatus())) { in loadAvdInfo()