KillExistingEmulatorPreparer

public class KillExistingEmulatorPreparer
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.KillExistingEmulatorPreparer


A ITargetPreparer that shuts down a running emulator.

Typically paired with LocalEmulatorSnapshot to shut down a cold boot emulator, so subsequent preparers/tests can launch from a snapshot.

Summary

Public constructors

KillExistingEmulatorPreparer()

Public methods

void setUp(TestInformation testInformation)

Public constructors

KillExistingEmulatorPreparer

public KillExistingEmulatorPreparer ()

Public methods

setUp

public void setUp (TestInformation testInformation)

Parameters
testInformation TestInformation

Throws
BuildError
DeviceNotAvailableException
TargetSetupError