telemetry.internal.backends.chrome.android_browser_finder
index
telemetry/internal/backends/chrome/android_browser_finder.py

Finds android browsers that can be controlled by telemetry.

 
Modules
       
telemetry.internal.backends.chrome.android_browser_backend
telemetry.internal.backends.android_browser_backend_settings
telemetry.internal.platform.android_device
devil.android.apk_helper
telemetry.internal.browser.browser
telemetry.decorators
telemetry.core.exceptions
logging
os
telemetry.core.platform
telemetry.internal.browser.possible_browser
sys
telemetry.core.util

 
Classes
       
telemetry.internal.browser.possible_browser.PossibleBrowser(telemetry.internal.app.possible_app.PossibleApp)
PossibleAndroidBrowser

 
class PossibleAndroidBrowser(telemetry.internal.browser.possible_browser.PossibleBrowser)
    A launchable android browser instance.
 
 
Method resolution order:
PossibleAndroidBrowser
telemetry.internal.browser.possible_browser.PossibleBrowser
telemetry.internal.app.possible_app.PossibleApp
__builtin__.object

Methods defined here:
Create(self, finder_options)
HaveLocalAPK(self)
SupportsOptions(self, finder_options)
UpdateExecutableIfNeeded(*args, **kwargs)
__init__(self, browser_type, finder_options, android_platform, backend_settings, apk_name)
__repr__(self)
last_modification_time(self)

Methods inherited from telemetry.internal.browser.possible_browser.PossibleBrowser:
IsRemote(self)
RunRemote(self)
SetCredentialsPath(self, credentials_path)

Data descriptors inherited from telemetry.internal.browser.possible_browser.PossibleBrowser:
browser_type
supports_tab_control

Data descriptors inherited from telemetry.internal.app.possible_app.PossibleApp:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
app_type
platform
target_os
Target OS, the app will run on.

 
Functions
       
CanFindAvailableBrowsers()
CanPossiblyHandlePath(target_path)
FindAllAvailableBrowsers(finder_options, device)
Finds all the possible browsers on one device.
 
The device is either the only device on the host platform,
or |finder_options| specifies a particular device.
FindAllBrowserTypes(_options)
SelectDefaultBrowser(possible_browsers)
Return the newest possible browser.

 
Data
        CHROME_PACKAGE_NAMES = {'android-chrome': ['com.google.android.apps.chrome', <class 'telemetry.internal.backends.android_browser_backend_settings.ChromeBackendSettings'>, 'Chrome.apk'], 'android-chrome-beta': ['com.chrome.beta', <class 'telemetry.internal.backends.android_browser_backend_settings.ChromeBackendSettings'>, None], 'android-chrome-canary': ['com.chrome.canary', <class 'telemetry.internal.backends.android_browser_backend_settings.ChromeBackendSettings'>, None], 'android-chrome-dev': ['com.chrome.dev', <class 'telemetry.internal.backends.android_browser_backend_settings.ChromeBackendSettings'>, None], 'android-chrome-work': ['com.chrome.work', <class 'telemetry.internal.backends.android_browser_backend_settings.ChromeBackendSettings'>, None], 'android-chromium': ['org.chromium.chrome', <class 'telemetry.internal.backends.android_browser_backend_settings.ChromeBackendSettings'>, 'ChromePublic.apk'], 'android-content-shell': ['org.chromium.content_shell_apk', <class 'telemetry.internal.backends.android_browser_backend_settings.ContentShellBackendSettings'>, 'ContentShell.apk'], 'android-jb-system-chrome': ['com.android.chrome', <class 'telemetry.internal.backends.android_browser_backend_settings.ChromeBackendSettings'>, None], 'android-webview': ['org.chromium.webview_shell', <class 'telemetry.internal.backends.android_browser_backend_settings.WebviewBackendSettings'>, None], 'android-webview-shell': ['org.chromium.android_webview.shell', <class 'telemetry.internal.backends.android_browser_backend_settings.WebviewShellBackendSettings'>, 'AndroidWebView.apk']}