AndroidDebugBridgeWrapper

class AndroidDebugBridgeWrapper
extends Object implements IAndroidDebugBridge

java.lang.Object
   ↳ com.android.tradefed.device.AndroidDebugBridgeWrapper


A wrapper that directs IAndroidDebugBridge calls to the 'real' AndroidDebugBridge.

Summary

Public methods

void addDeviceChangeListener(AndroidDebugBridge.IDeviceChangeListener listener)

Wrapper for addDeviceChangeListener(IDeviceChangeListener)

void disconnectBridge()

Wrapper for disconnectBridge()

IDevice[] getDevices()

Wrapper for getDevices().

void init(boolean clientSupport, String adbOsLocation)

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

void removeDeviceChangeListener(AndroidDebugBridge.IDeviceChangeListener listener)

Wrapper for removeDeviceChangeListener(IDeviceChangeListener)

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()