/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/ |
do_nothing_forwarder_unittest.py | 15 def __init__(self, port_pairs): 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) [all...] |
cros_forwarder.py | 20 def Create(self, port_pairs, use_remote_port_forwarding=True): 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): 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): 51 return [arg_format.format(**locals()) for pp in port_pairs if pp]
|
cros_forwarder_unittest.py | 12 port_pairs = forwarders.PortPairs( variable in class:ForwardingArgsTest 20 port_pairs=self.port_pairs) 28 port_pairs=self.port_pairs)
|
__init__.py | 36 def Create(self, port_pairs): 40 port_pairs: A PortPairs instance that consists of a PortPair mapping 52 def __init__(self, port_pairs): 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 class:Forwarder
|
android_forwarder.py | 23 def Create(self, port_pairs): 25 return AndroidForwarder(self._device, port_pairs) 56 def __init__(self, device, port_pairs): 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])
|
do_nothing_forwarder.py | 31 def Create(self, port_pairs): 32 return DoNothingForwarder(port_pairs) 44 def __init__(self, port_pairs): 45 super(DoNothingForwarder, self).__init__(port_pairs)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
network_controller_backend_unittest.py | 54 def Create(self, port_pairs): 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...] |
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/docs/pydoc/ |
telemetry.internal.forwarders.cros_forwarder.html | 63 <dl><dt><a name="CrOsForwarderFactory-Create"><strong>Create</strong></a>(self, port_pairs, use_remote_port_forwarding<font color="#909090">=True</font>)</dt><dd><tt># pylint: disable=arguments-differ</tt></dd></dl> 95 <dl><dt><a name="CrOsSshForwarder-__init__"><strong>__init__</strong></a>(self, cri, use_remote_port_forwarding, port_pairs)</dt></dl> 111 <dl><dt><strong>port_pairs</strong></dt>
|
telemetry.internal.forwarders.android_forwarder.html | 82 <dl><dt><a name="AndroidForwarder-__init__"><strong>__init__</strong></a>(self, device, port_pairs)</dt></dl> 96 <dl><dt><strong>port_pairs</strong></dt> 114 <dl><dt><a name="AndroidForwarderFactory-Create"><strong>Create</strong></a>(self, port_pairs)</dt></dl> 181 <dl><dt><a name="AndroidRndisForwarder-__init__"><strong>__init__</strong></a>(self, device, rndis_configurator, port_pairs)</dt></dl> 197 <dl><dt><strong>port_pairs</strong></dt>
|
telemetry.internal.forwarders.html | 61 <dl><dt><a name="Forwarder-__init__"><strong>__init__</strong></a>(self, port_pairs)</dt></dl> 75 <dl><dt><strong>port_pairs</strong></dt> 87 <dl><dt><a name="ForwarderFactory-Create"><strong>Create</strong></a>(self, port_pairs)</dt><dd><tt>Creates a forwarder that maps remote (device) <-> local (host) ports.<br> 90 port_pairs: A <a href="#PortPairs">PortPairs</a> instance that consists of a <a href="#PortPair">PortPair</a> mapping<br>
|
telemetry.internal.forwarders.do_nothing_forwarder.html | 144 <dl><dt><a name="DoNothingForwarder-__init__"><strong>__init__</strong></a>(self, port_pairs)</dt></dl> 162 <dl><dt><strong>port_pairs</strong></dt> 180 <dl><dt><a name="DoNothingForwarderFactory-Create"><strong>Create</strong></a>(self, port_pairs)</dt></dl>
|
telemetry.core.local_server.html | 126 <dl><dt><a name="LocalServerController-CreateForwarder"><strong>CreateForwarder</strong></a>(self, port_pairs)</dt></dl>
|
/external/chromium-trace/catapult/devil/devil/android/ |
forwarder.py | 66 def Map(port_pairs, device, tool=None): 70 port_pairs: A list of tuples (device_port, host_port) to forward. Note 93 for device_port, host_port in port_pairs] 147 port_pairs: A list of tuples (device_port, host_port) to unmap.
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
local_server.py | 181 def CreateForwarder(self, port_pairs): 182 return self._platform_backend.forwarder_factory.Create(port_pairs)
|