/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/ |
D | do_nothing_forwarder_unittest.py | 15 def __init__(self, port_pairs): argument 17 super(TestDoNothingForwarder, self).__init__(port_pairs) 32 port_pairs = forwarders.PortPairs( 36 f = TestDoNothingForwarder(port_pairs) 45 port_pairs = forwarders.PortPairs( 49 f = TestDoNothingForwarder(port_pairs) 58 port_pairs = forwarders.PortPairs( 63 TestDoNothingForwarder(port_pairs) 66 port_pairs = forwarders.PortPairs( 71 TestErrorDoNothingForwarder(port_pairs)
|
D | cros_forwarder.py | 20 def Create(self, port_pairs, use_remote_port_forwarding=True): argument 22 return do_nothing_forwarder.DoNothingForwarder(port_pairs) 23 return CrOsSshForwarder(self._cri, use_remote_port_forwarding, port_pairs) 28 def __init__(self, cri, use_remote_port_forwarding, port_pairs): argument 29 super(CrOsSshForwarder, self).__init__(port_pairs) 33 use_remote_port_forwarding, self.host_ip, port_pairs) 46 def _ForwardingArgs(use_remote_port_forwarding, host_ip, port_pairs): argument 51 return [arg_format.format(**locals()) for pp in port_pairs if pp]
|
D | cros_forwarder_unittest.py | 12 port_pairs = forwarders.PortPairs( variable in ForwardingArgsTest 20 port_pairs=self.port_pairs) 28 port_pairs=self.port_pairs)
|
D | android_forwarder.py | 23 def Create(self, port_pairs): argument 25 return AndroidForwarder(self._device, port_pairs) 56 def __init__(self, device, port_pairs): argument 57 super(AndroidForwarder, self).__init__(port_pairs) 60 for p in port_pairs if p], self._device) 65 if p else None for p in port_pairs])
|
D | __init__.py | 36 def Create(self, port_pairs): argument 52 def __init__(self, port_pairs): argument 53 assert port_pairs.http, 'HTTP port mapping is required.' 56 if p else None for p in port_pairs]) 68 def port_pairs(self): member in Forwarder
|
D | do_nothing_forwarder.py | 31 def Create(self, port_pairs): argument 32 return DoNothingForwarder(port_pairs) 44 def __init__(self, port_pairs): argument 45 super(DoNothingForwarder, self).__init__(port_pairs)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | network_controller_backend_unittest.py | 54 def Create(self, port_pairs): argument 55 return forwarders.Forwarder(port_pairs) 190 self.assertIsNotNone(b.forwarder.port_pairs) 197 self.assertIsNone(old_forwarder.port_pairs) 209 self.assertIsNotNone(b.forwarder.port_pairs) 216 self.assertIsNone(old_forwarder.port_pairs) 327 self.assertEqual(b.forwarder.port_pairs.local_ports, b.replay_server.ports) 328 self.assertEqual(b.forwarder.port_pairs.remote_ports, b.wpr_device_ports) 340 self.assertEqual(b.forwarder.port_pairs.local_ports, b.replay_server.ports) 341 self.assertEqual(b.forwarder.port_pairs.remote_ports, b.wpr_device_ports) [all …]
|
D | network_controller_backend.py | 61 return self._forwarder.port_pairs.remote_ports 240 if local_ports == self._forwarder.port_pairs.local_ports: 248 self._wpr_port_pairs = self._forwarder.port_pairs
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
D | local_server.py | 181 def CreateForwarder(self, port_pairs): argument 182 return self._platform_backend.forwarder_factory.Create(port_pairs)
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | forwarder.py | 66 def Map(port_pairs, device, tool=None): argument 93 for device_port, host_port in port_pairs]
|