Home
last modified time | relevance | path

Searched refs:getHostName (Results 1 – 18 of 18) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterHostUtil.java69 public static String getHostName() { in getHostName() method in ClusterHostUtil
74 sHostName = InetAddress.getLocalHost().getHostName(); in getHostName()
101 return String.format("%s:%s", getHostName(), NULL_DEVICE_SERIAL_PLACEHOLDER); in getUniqueDeviceSerial()
106 return String.format("%s:%s", getHostName(), serial); in getUniqueDeviceSerial()
121 String prefix = getHostName() + ":"; in getLocalDeviceSerial()
DClusterHostEvent.java76 public String getHostName() { in getHostName() method in ClusterHostEvent
77 return ClusterHostUtil.getHostName(); in getHostName()
211 json.put("hostname", this.getHostName()); in toJSON()
DClusterCommandEvent.java75 public String getHostName() { in getHostName() method in ClusterCommandEvent
219 json.put("hostname", this.getHostName()); in toJSON()
DClusterCommandScheduler.java192 .setHostName(ClusterHostUtil.getHostName()); in createEventBuilder()
349 errorId.name(), ClusterHostUtil.getHostName()); in invocationComplete()
683 ClusterHostUtil.getHostName(), in fetchHostCommands()
728 .setHostName(ClusterHostUtil.getHostName()) in execCommands()
751 .setHostName(ClusterHostUtil.getHostName()) in execCommands()
909 .setHostName(ClusterHostUtil.getHostName()) in unleaseCommands()
/tools/tradefederation/core/javatests/com/android/tradefed/device/connection/
DAdbTcpConnectionTest.java172 assertEquals("localhost", mConnection.getHostName(MOCK_DEVICE_SERIAL)); in testCheckSerial()
179 mConnection.getHostName("wrongserial"); in testCheckSerial_invalid()
191 mConnection.getHostName("gce-device:3"); in testCheckSerial_placeholder()
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/keystore/
DJSONFileKeyStoreFactory.java68 mHostName = getHostName(); in createKeyStoreClient()
103 private String getHostName() throws KeyStoreException { in getHostName() method in JSONFileKeyStoreFactory
106 mHostName = InetAddress.getLocalHost().getHostName(); in getHostName()
/tools/tradefederation/core/src/com/android/tradefed/device/connection/
DAdbTcpConnection.java83 adbTcpConnect(getHostName(serial), getPortNum(serial)); in reconnect()
164 if (confirmAdbTcpConnect(getHostName(serial), getPortNum(serial))) { in waitForAdbConnect()
236 public String getHostName(String serial) { in getHostName() method in AdbTcpConnection
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterHostUtilTest.java307 final String hostname = ClusterHostUtil.getHostName(); in testGetRunTarget_withStubDevice()
344 final String hostname = ClusterHostUtil.getHostName(); in testGetRunTarget_withEmulator()
362 final String hostname = ClusterHostUtil.getHostName(); in testGetRunTarget_withEmptyDeviceSerial()
DClusterDeviceMonitorTest.java149 Assert.assertNotNull(hostEvent.getHostName()); in testDispatch()
173 Assert.assertNotNull(hostEvent.getHostName()); in testLabel()
263 Assert.assertNotNull(hostEvent.getHostName()); in testDeviceExtraInfo()
DClusterCommandSchedulerTest.java446 ClusterHostUtil.getHostName(),
524 ArrayUtil.list(ClusterHostUtil.getHostName() + ":emulator-5554"));
1237 ArrayUtil.list(ClusterHostUtil.getHostName() + ":emulator-5554"));
1627 assertNotNull(hostEvent.getHostName());
/tools/tradefederation/core/javatests/com/android/tradefed/monitoring/
DLabResourceDeviceMonitorTest.java124 ClusterHostUtil.getHostName()) in testBuildMonitoredHost()
155 Assert.assertEquals(ClusterHostUtil.getHostName(), device.getAttribute(0).getValue()); in testBuildMonitoredDeviceEntity()
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DAbstractHostMonitor.java72 mHostData.put("hostname", InetAddress.getLocalHost().getHostName()); in run()
DEmailHostHealthAgent.java107 subj.append(InetAddress.getLocalHost().getHostName()); in generateEmailSubject()
/tools/tradefederation/core/src/com/android/tradefed/monitoring/
DLabResourceDeviceMonitor.java304 .putIdentifier(HOST_NAME_KEY, ClusterHostUtil.getHostName()) in buildMonitoredHost()
356 .setValue(ClusterHostUtil.getHostName())) in buildMonitoredDevice()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/gcs/
DGCSConfigurationServer.java168 mHostname = InetAddress.getLocalHost().getHostName(); in currentHostname()
/tools/tradefederation/core/src/com/android/tradefed/log/
DTerribleFailureEmailHandler.java121 return InetAddress.getLocalHost().getHostName(); in getLocalHostName()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java286 String hostname = InetAddress.getLocalHost().getHostName(); in isGoogleUser()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java246 hostName = InetAddress.getLocalHost().getHostName(); in writeResults()