Home
last modified time | relevance | path

Searched refs:instanceName (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java67 public GceAvdInfo(String instanceName, HostAndPort hostAndPort) { in GceAvdInfo() argument
68 mInstanceName = instanceName; in GceAvdInfo()
74 String instanceName, HostAndPort hostAndPort, String errors, GceStatus status) { in GceAvdInfo() argument
75 mInstanceName = instanceName; in GceAvdInfo()
98 public String instanceName() { in instanceName() method in GceAvdInfo
188 String instanceName = d.getString("instance_name"); in parseGceInfoFromString() local
191 instanceName, in parseGceInfoFromString()
DGceManager.java146 String instanceName = extractInstanceName(cmd.getStderr()); in startGce() local
147 if (instanceName != null) { in startGce()
148 mBuildInfo.addBuildAttribute("gce-instance-name", instanceName); in startGce()
157 if (instanceName != null) { in startGce()
160 mGceAvdInfo = new GceAvdInfo(instanceName, null, errors, GceStatus.BOOT_FAIL); in startGce()
296 gceArgs.add(mGceAvdInfo.instanceName()); in shutdownGce()
317 mGceAvdInfo.instanceName(), gceArgs); in shutdownGce()
525 String instanceName = infos.instanceName(); in getInstanceSerialLog() local
535 compute.instances().getSerialPortOutput(project, zone, instanceName); in getInstanceSerialLog()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceAvdInfoTest.java53 assertEquals(avd.instanceName(), "gce-x86-phone-userdebug-2299773-22cf"); in testValidGceJsonParsing()
79 assertEquals(avd.instanceName(), "gce-x86-phone-userdebug-2299773-22cf"); in testValidGceJsonParsingWithBuildVars()
125 assertEquals(avd1.instanceName(), "gce-x86-phone-userdebug-1111111-22cf"); in testDualAvdsJsonParsingWithBuildVars()
131 assertEquals(avd2.instanceName(), "gce-x86-phone-userdebug-2222222-22cf"); in testDualAvdsJsonParsingWithBuildVars()
232 assertEquals(avd.instanceName(), "gce-x86-phone-userdebug-2299773-22ecc"); in testValidGceJsonParsingFail()
285 assertEquals(avd.instanceName(), "gce-x86-phone-userdebug-2299773-22ec"); in testParseJson_Boot_Fail()