telemetry.internal.forwarders.android_forwarder
index
telemetry/internal/forwarders/android_forwarder.py

# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

 
Modules
       
telemetry.internal.platform.android_device
atexit
telemetry.internal.util.binary_manager
devil.android.device_errors
devil.android.device_utils
pylib.forwarder
telemetry.internal.forwarders
logging
os
telemetry.core.platform
re
socket
struct
subprocess
telemetry.core.util

 
Classes
       
__builtin__.object
AndroidRndisConfigurator
telemetry.internal.forwarders.Forwarder(__builtin__.object)
AndroidForwarder
AndroidRndisForwarder
telemetry.internal.forwarders.ForwarderFactory(__builtin__.object)
AndroidForwarderFactory

 
class AndroidForwarder(telemetry.internal.forwarders.Forwarder)
    
Method resolution order:
AndroidForwarder
telemetry.internal.forwarders.Forwarder
__builtin__.object

Methods defined here:
Close(self)
__init__(self, device, port_pairs)

Data descriptors inherited from telemetry.internal.forwarders.Forwarder:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
host_ip
host_port
port_pairs
url

 
class AndroidForwarderFactory(telemetry.internal.forwarders.ForwarderFactory)
    
Method resolution order:
AndroidForwarderFactory
telemetry.internal.forwarders.ForwarderFactory
__builtin__.object

Methods defined here:
Create(self, port_pairs)
__init__(self, device, use_rndis)

Data descriptors defined here:
does_forwarder_override_dns
host_ip

Data descriptors inherited from telemetry.internal.forwarders.ForwarderFactory:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class AndroidRndisConfigurator(__builtin__.object)
    Configures a linux host to connect to an android device via RNDIS.
 
Note that we intentionally leave RNDIS running on the device. This is
because the setup is slow and potentially flaky and leaving it running
doesn't seem to interfere with any other developer or bot use-cases.
 
  Methods defined here:
OverrideRoutingPolicy(self)
Override any routing policy that could prevent
packets from reaching the rndis interface
RestoreRoutingPolicy(self)
__init__(self, device)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
host_ip

 
class AndroidRndisForwarder(telemetry.internal.forwarders.Forwarder)
    Forwards traffic using RNDIS. Assumes the device has root access.
 
 
Method resolution order:
AndroidRndisForwarder
telemetry.internal.forwarders.Forwarder
__builtin__.object

Methods defined here:
Close(self)
__init__(self, device, rndis_configurator, port_pairs)

Data descriptors defined here:
host_ip

Data descriptors inherited from telemetry.internal.forwarders.Forwarder:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
host_port
port_pairs
url