telemetry.core.chrome.android_browser_backend
index
telemetry/core/chrome/android_browser_backend.py

# Copyright (c) 2012 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.core.chrome.adb_commands
telemetry.core.chrome.browser_backend
telemetry.core.exceptions
logging
os
subprocess
sys
time
telemetry.core.util

 
Classes
       
__builtin__.object
AndroidBrowserBackendSettings
ChromeBackendSettings
ChromiumTestShellBackendSettings
ContentShellBackendSettings
WebviewBackendSettings
telemetry.core.chrome.browser_backend.BrowserBackend(__builtin__.object)
AndroidBrowserBackend

 
class AndroidBrowserBackend(telemetry.core.chrome.browser_backend.BrowserBackend)
    The backend for controlling a browser instance running on Android.
 
 
Method resolution order:
AndroidBrowserBackend
telemetry.core.chrome.browser_backend.BrowserBackend
__builtin__.object

Methods defined here:
Close(self)
CreateForwarder(self, *port_pairs)
GetBrowserStartupArgs(self)
GetRemotePort(self, local_port)
GetStackTrace(self)
GetStandardOutput(self)
IsBrowserRunning(self)
__del__(self)
__init__(self, options, backend_settings)

Data descriptors defined here:
adb
pid

Methods inherited from telemetry.core.chrome.browser_backend.BrowserBackend:
GetProcessName(self, cmd_line)
Returns a user-friendly name for the process of the given |cmd_line|.
GetTraceResultAndReset(self)
Request(self, path, timeout=None)
SetBrowser(self, browser)
StartTracing(self, custom_categories=None, timeout=60)
custom_categories is an optional string containing a list of
comma separated categories that will be traced instead of the
default category set.  Example: use
"webkit,cc,disabled-by-default-cc.debug" to trace only those three
event categories.
StopTracing(self)

Data descriptors inherited from telemetry.core.chrome.browser_backend.BrowserBackend:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
browser
chrome_branch_number
extension_dict_backend
misc_web_contents_backend
Access to chrome://oobe/login page which is neither a tab nor an
extension.
supports_extensions
True if this browser backend supports extensions.
supports_tab_control
supports_tracing
tab_list_backend
wpr_mode

Data and other attributes inherited from telemetry.core.chrome.browser_backend.BrowserBackend:
WEBPAGEREPLAY_HOST = '127.0.0.1'

 
class AndroidBrowserBackendSettings(__builtin__.object)
     Methods defined here:
GetDevtoolsRemotePort(self)
PushProfile(self, _)
RemoveProfile(self)
__init__(self, adb, activity, cmdline_file, package, pseudo_exec_name)

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

 
class ChromeBackendSettings(AndroidBrowserBackendSettings)
    
Method resolution order:
ChromeBackendSettings
AndroidBrowserBackendSettings
__builtin__.object

Methods defined here:
GetDevtoolsRemotePort(self)
PushProfile(self, new_profile_dir)
__init__(self, adb, package)

Methods inherited from AndroidBrowserBackendSettings:
RemoveProfile(self)

Data descriptors inherited from AndroidBrowserBackendSettings:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
is_content_shell

 
class ChromiumTestShellBackendSettings(AndroidBrowserBackendSettings)
    
Method resolution order:
ChromiumTestShellBackendSettings
AndroidBrowserBackendSettings
__builtin__.object

Methods defined here:
GetDevtoolsRemotePort(self)
__init__(self, adb, package)

Data descriptors defined here:
is_content_shell

Methods inherited from AndroidBrowserBackendSettings:
PushProfile(self, _)
RemoveProfile(self)

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

 
class ContentShellBackendSettings(AndroidBrowserBackendSettings)
    
Method resolution order:
ContentShellBackendSettings
AndroidBrowserBackendSettings
__builtin__.object

Methods defined here:
GetDevtoolsRemotePort(self)
__init__(self, adb, package)

Data descriptors defined here:
is_content_shell

Methods inherited from AndroidBrowserBackendSettings:
PushProfile(self, _)
RemoveProfile(self)

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

 
class WebviewBackendSettings(AndroidBrowserBackendSettings)
    
Method resolution order:
WebviewBackendSettings
AndroidBrowserBackendSettings
__builtin__.object

Methods defined here:
GetDevtoolsRemotePort(self)
__init__(self, adb, package)

Methods inherited from AndroidBrowserBackendSettings:
PushProfile(self, _)
RemoveProfile(self)

Data descriptors inherited from AndroidBrowserBackendSettings:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
is_content_shell