IAndroidDebugBridge

public interface IAndroidDebugBridge

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


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)

Wrapper for addDeviceChangeListener(IDeviceChangeListener)

abstract void disconnectBridge()

Wrapper for disconnectBridge()

abstract IDevice[] getDevices()

Wrapper for getDevices().

abstract void init(boolean clientSupport, String adbOsLocation)

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

abstract void removeDeviceChangeListener(AndroidDebugBridge.IDeviceChangeListener listener)

Wrapper for removeDeviceChangeListener(IDeviceChangeListener)

abstract void terminate()

Wrapper for terminate()

Public methods

addDeviceChangeListener

void addDeviceChangeListener (AndroidDebugBridge.IDeviceChangeListener listener)

Wrapper for addDeviceChangeListener(IDeviceChangeListener)

Parameters
listener AndroidDebugBridge.IDeviceChangeListener

disconnectBridge

void disconnectBridge ()

Wrapper for disconnectBridge()

getDevices

IDevice[] getDevices ()

Wrapper for getDevices().

Returns
IDevice[]

init

void init (boolean clientSupport, 
                String adbOsLocation)

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

Parameters
clientSupport boolean
adbOsLocation String

removeDeviceChangeListener

void removeDeviceChangeListener (AndroidDebugBridge.IDeviceChangeListener listener)

Wrapper for removeDeviceChangeListener(IDeviceChangeListener)

Parameters
listener AndroidDebugBridge.IDeviceChangeListener

terminate

void terminate ()

Wrapper for terminate()