Stay organized with collections Save and categorize content based on your preferences.

AbstractConnection

public abstract class AbstractConnection
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.connection.AbstractConnection


Abstract connection representation.

Summary

Public constructors

AbstractConnection()

Public methods

void reconnect(String serial)

Reconnect the connection to the device.

void tearDownConnection()

Clean up the connection.

Public constructors

AbstractConnection

public AbstractConnection ()

Public methods

reconnect

public void reconnect (String serial)

Reconnect the connection to the device.

Parameters
serial String: The device serial number.

Throws
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException

tearDownConnection

public void tearDownConnection ()

Clean up the connection.