to top
public interface

IAndroidDebugBridge

com.android.tradefed.device.IAndroidDebugBridge
Known Indirect Subclasses

Class Overview

Interface definition for AndroidDebugBridge methods used in this package.

Exposed so use of AndroidDebugBridge can be mocked out in unit tests.

Summary

Public Methods
abstract void addDeviceChangeListener(AndroidDebugBridge.IDeviceChangeListener listener)
abstract void disconnectBridge()
Wrapper for disconnectBridge()
abstract IDevice[] getDevices()
Wrapper for getDevices().
abstract void init(boolean clientSupport, String adbOsLocation)
abstract void removeDeviceChangeListener(AndroidDebugBridge.IDeviceChangeListener listener)
abstract void terminate()
Wrapper for terminate()

Public Methods

public abstract void addDeviceChangeListener (AndroidDebugBridge.IDeviceChangeListener listener)

Wrapper for addDeviceChangeListener(IDeviceChangeListener)

Parameters
listener AndroidDebugBridge.IDeviceChangeListener

public abstract void disconnectBridge ()

Wrapper for disconnectBridge()

public abstract IDevice[] getDevices ()

Wrapper for getDevices().

Returns
IDevice[]

public abstract void init (boolean clientSupport, String adbOsLocation)

Wrapper for init(boolean) and createBridge(String, boolean)

Parameters
clientSupport boolean
adbOsLocation String

public abstract void removeDeviceChangeListener (AndroidDebugBridge.IDeviceChangeListener listener)

Wrapper for removeDeviceChangeListener(IDeviceChangeListener)

Parameters
listener AndroidDebugBridge.IDeviceChangeListener

public abstract void terminate ()

Wrapper for terminate()