telemetry.internal.platform.android_device | index telemetry/internal/platform/android_device.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
`` |  |

pylib.constants telemetry.internal.platform.device devil.android.device_blacklist | devil.android.device_errors devil.android.device_utils logging | telemetry.internal.platform.profiler.monsoon os re | subprocess telemetry.core.util

Classes
`` |  |

telemetry.internal.platform.device.Device(__builtin__.object)
  AndroidDevice

class AndroidDevice(telemetry.internal.platform.device.Device)
`` | `Class represents information for connecting to an android device. Attributes: device_id: the device's serial string created by adb to uniquely identify an emulator/device instance. This string can be found by running 'adb devices' command
enable_performance_mode: when this is set to True, android platform will be
set to high performance mode after browser is started.
`

Method resolution order:
  AndroidDevice
  telemetry.internal.platform.device.Device
  __builtin__.object

Methods defined here:

__init__(self, device_id, enable_performance_mode=True)

Class methods defined here:

GetAllConnectedDevices(cls, blacklist) from __builtin__.type

Data descriptors defined here:

device_id

enable_performance_mode

Data descriptors inherited from telemetry.internal.platform.device.Device:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`

guid

name

Functions
`` |  |

CanDiscoverDevices()
  `Returns true if devices are discoverable via adb.`

FindAllAvailableDevices(options)
  `Returns a list of available devices.`

GetDevice(finder_options)
  `Return a Platform instance for the device specified by |finder_options|.`

GetDeviceSerials(blacklist)
  `Return the list of device serials of healthy devices.
  If a preferred device has been set with ANDROID_SERIAL, it will be first in
  the returned list. The arguments specify what devices to include in the list.`