/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterHostUtil.java | 69 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()
|
D | ClusterHostEvent.java | 76 public String getHostName() { in getHostName() method in ClusterHostEvent 77 return ClusterHostUtil.getHostName(); in getHostName() 211 json.put("hostname", this.getHostName()); in toJSON()
|
D | ClusterCommandEvent.java | 75 public String getHostName() { in getHostName() method in ClusterCommandEvent 219 json.put("hostname", this.getHostName()); in toJSON()
|
D | ClusterCommandScheduler.java | 192 .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/ |
D | AdbTcpConnectionTest.java | 172 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/ |
D | JSONFileKeyStoreFactory.java | 68 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/ |
D | AdbTcpConnection.java | 83 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/ |
D | ClusterHostUtilTest.java | 307 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()
|
D | ClusterDeviceMonitorTest.java | 149 Assert.assertNotNull(hostEvent.getHostName()); in testDispatch() 173 Assert.assertNotNull(hostEvent.getHostName()); in testLabel() 263 Assert.assertNotNull(hostEvent.getHostName()); in testDeviceExtraInfo()
|
D | ClusterCommandSchedulerTest.java | 446 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/ |
D | LabResourceDeviceMonitorTest.java | 124 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/ |
D | AbstractHostMonitor.java | 72 mHostData.put("hostname", InetAddress.getLocalHost().getHostName()); in run()
|
D | EmailHostHealthAgent.java | 107 subj.append(InetAddress.getLocalHost().getHostName()); in generateEmailSubject()
|
/tools/tradefederation/core/src/com/android/tradefed/monitoring/ |
D | LabResourceDeviceMonitor.java | 304 .putIdentifier(HOST_NAME_KEY, ClusterHostUtil.getHostName()) in buildMonitoredHost() 356 .setValue(ClusterHostUtil.getHostName())) in buildMonitoredDevice()
|
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/gcs/ |
D | GCSConfigurationServer.java | 168 mHostname = InetAddress.getLocalHost().getHostName(); in currentHostname()
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | TerribleFailureEmailHandler.java | 121 return InetAddress.getLocalHost().getHostName(); in getLocalHostName()
|
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/ |
D | ClearcutClient.java | 286 String hostname = InetAddress.getLocalHost().getHostName(); in isGoogleUser()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 246 hostName = InetAddress.getLocalHost().getHostName(); in writeResults()
|