HomeSort by relevance Sort by last modified time
    Searched refs:h_port (Results 1 - 6 of 6) sorted by null

  /tools/test/connectivity/acts/framework/acts/controllers/
native_android_device.py 68 if self.h_port:
69 self.adb.forward("--remove tcp:%d" % self.h_port)
97 if not self.h_port or not host_utils.is_port_available(self.h_port):
98 self.h_port = host_utils.get_available_host_port()
99 self.adb.tcp_forward(self.h_port, self.d_port)
127 droid = native.NativeAndroid(port=self.h_port)
android_device.py 348 h_port: An integer that's the port number for adb port forwarding used
370 self.h_port = host_port
397 if self.h_port:
398 self.adb.remove_tcp_forward(self.h_port)
399 self.h_port = None
626 if not self.h_port or not host_utils.is_port_available(
627 self.h_port):
628 self.h_port = host_utils.get_available_host_port()
630 self.adb.tcp_forward(self.h_port, self.d_port)
    [all...]
  /external/strace/tests/
net-sockaddr.c 134 const unsigned short h_port = 12345; local
139 in->sin_port = htons(h_port);
145 h_port, h_addr, len, ret);
149 in->sin_port = htons(h_port);
155 h_port, h_addr, len, ret);
207 const unsigned short h_port = 12345; local
213 in6->sin6_port = htons(h_port);
223 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret);
230 in6->sin6_port = htons(h_port);
240 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret)
276 const unsigned short h_port = 12345; local
393 const unsigned short h_port = 12345; local
    [all...]
  /external/strace/tests-m32/
net-sockaddr.c 134 const unsigned short h_port = 12345; local
139 in->sin_port = htons(h_port);
145 h_port, h_addr, len, ret);
149 in->sin_port = htons(h_port);
155 h_port, h_addr, len, ret);
207 const unsigned short h_port = 12345; local
213 in6->sin6_port = htons(h_port);
223 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret);
230 in6->sin6_port = htons(h_port);
240 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret)
276 const unsigned short h_port = 12345; local
393 const unsigned short h_port = 12345; local
    [all...]
  /external/strace/tests-mx32/
net-sockaddr.c 134 const unsigned short h_port = 12345; local
139 in->sin_port = htons(h_port);
145 h_port, h_addr, len, ret);
149 in->sin_port = htons(h_port);
155 h_port, h_addr, len, ret);
207 const unsigned short h_port = 12345; local
213 in6->sin6_port = htons(h_port);
223 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret);
230 in6->sin6_port = htons(h_port);
240 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret)
276 const unsigned short h_port = 12345; local
393 const unsigned short h_port = 12345; local
    [all...]
  /tools/test/connectivity/acts/framework/tests/
acts_android_device_test.py 55 ad = mock.MagicMock(name="AndroidDevice", serial=i, h_port=None)
190 ads[1].h_port = expected_h_port
192 ads, serial=expected_serial, h_port=expected_h_port)
194 self.assertEqual(ad.h_port, expected_h_port)

Completed in 625 milliseconds