Home
last modified time | relevance | path

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

/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRootcanalForwarderPreparer.java96 String hostPort = testDevice.executeAdbCommand("forward", "tcp:0", port).trim(); in adbForward() local
97 CLog.i("Forwarded %s to host tcp:%s", port, hostPort); in adbForward()
98 return hostPort; in adbForward()
101 private void adbForwardRemove(ITestDevice testDevice, String hostPort) in adbForwardRemove() argument
103 CLog.i("Removing host tcp:%s forwarding", hostPort); in adbForwardRemove()
104 testDevice.executeAdbCommand("forward", "--remove", String.format("tcp:%s", hostPort)); in adbForwardRemove()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java692 private int adbForwardPort(ITestDevice testDevice, int hostPort, int dutPort) in adbForwardPort() argument
698 String.format("tcp:%s", hostPort), in adbForwardPort()
703 private int adbForwardVsockPort(ITestDevice testDevice, int hostPort, int dutCid, int dutPort) in adbForwardVsockPort() argument
709 String.format("tcp:%s", hostPort), in adbForwardVsockPort()
714 private void adbForwardRemovePort(ITestDevice testDevice, int hostPort) in adbForwardRemovePort() argument
716 testDevice.executeAdbCommand("forward", "--remove", String.format("tcp:%s", hostPort)); in adbForwardRemovePort()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aClient.java72 public Sl4aClient(ITestDevice device, int hostPort, int devicePort) { in Sl4aClient() argument
74 mHostPort = hostPort; in Sl4aClient()