AdbStopServerPreparer

public class AdbStopServerPreparer
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.adb.AdbStopServerPreparer


Preparatore del target per interrompere il server adb sull'host prima e dopo l'esecuzione dei test adb.

Questo preparatore deve essere utilizzato con cautela perché arresta e riavvia adb sugli host. In genere deve essere molto stretto con SemaphoreTokenTargetPreparer per evitare che vengano eseguiti altri test contemporaneamente.

Riepilogo

Campi

public static final String ADB_BINARY_KEY

Costruttori pubblici

AdbStopServerPreparer()

Metodi pubblici

void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

Metodi protetti

File findAdbLog()

Campi

ADB_BINARY_KEY

public static final String ADB_BINARY_KEY

Costruttori pubblici

AdbStopServerPreparer

public AdbStopServerPreparer ()

Metodi pubblici

setUp

public void setUp (TestInformation testInfo)

Parametri
testInfo TestInformation

Lanci
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametri
testInfo TestInformation

e Throwable

Lanci
DeviceNotAvailableException

Metodi protetti

findAdbLog

protected File findAdbLog ()

Ritorni
File