Home
last modified time | relevance | path

Searched refs:ClusterHostUtil (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterHostUtilTest.java43 Assert.assertTrue(ClusterHostUtil.isIpPort("127.0.0.1:101")); in testIsIpPort()
44 Assert.assertTrue(ClusterHostUtil.isIpPort("127.0.0.1")); in testIsIpPort()
45 Assert.assertFalse(ClusterHostUtil.isIpPort(DEVICE_SERIAL)); in testIsIpPort()
46 Assert.assertFalse(ClusterHostUtil.isIpPort("127.0.0.1:notaport")); in testIsIpPort()
53 String actual = ClusterHostUtil.toValidTfVersion(version); in testToValidTfVersion()
61 String actual = ClusterHostUtil.toValidTfVersion(version); in testToValidTfVersionWithEmptyVersion()
62 Assert.assertEquals(ClusterHostUtil.DEFAULT_TF_VERSION, actual); in testToValidTfVersionWithEmptyVersion()
69 String actual = ClusterHostUtil.toValidTfVersion(version); in testToValidTfVersionWithNullVersion()
70 Assert.assertEquals(ClusterHostUtil.DEFAULT_TF_VERSION, actual); in testToValidTfVersionWithNullVersion()
77 String actual = ClusterHostUtil.toValidTfVersion(version); in testToValidTfVersionWithInvalidVersion()
[all …]
DClusterCommandSchedulerTest.java402 ClusterHostUtil.getHostName(),
461 ClusterHostUtil.getHostName(),
497 ClusterHostUtil.getRunTarget(device, format, null));
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterDeviceMonitor.java79 ClusterHostUtil.getClusterOptions() in run()
89 mEventUploader = ClusterHostUtil.getClusterClient().getHostEventUploader(); in getEventUploader()
96 mClusterOptions = ClusterHostUtil.getClusterOptions(); in getClusterOptions()
108 .setHostName(ClusterHostUtil.getHostName()) in dispatch()
109 .setTfVersion(ClusterHostUtil.getTfVersion()) in dispatch()
111 .setData("host_ip", ClusterHostUtil.getHostIpAddress()) in dispatch()
125 ClusterHostUtil.getRunTarget( in dispatch()
151 if (ClusterHostUtil.getClusterOptions().isDeviceMonitorDisabled()) { in run()
DClusterCommandScheduler.java172 .setHostName(ClusterHostUtil.getHostName()); in createEventBuilder()
491 if (ClusterHostUtil.isIpPort(device.getSerial())) { in getDevices()
498 ClusterHostUtil.getRunTarget( in getDevices()
567 ClusterHostUtil.getHostName(), in fetchHostCommands()
606 .setHostName(ClusterHostUtil.getHostName()) in execCommands()
617 .setHostName(ClusterHostUtil.getHostName()) in execCommands()
714 mClusterOptions = ClusterHostUtil.getClusterOptions(); in getClusterOptions()
722 mClusterClient = ClusterHostUtil.getClusterClient(); in getClusterClient()
736 .setHostName(ClusterHostUtil.getHostName()) in UploadHostEventWithState()
DClusterHostUtil.java38 public class ClusterHostUtil { class
DClusterHostEvent.java91 return ClusterHostUtil.getTfStartTimeMillis(); in getTfStartTime()