Lokalne urządzenie wirtualne z Androidem

public class LocalAndroidVirtualDevice
extends RemoteAndroidDevice implements ITestLoggerReceiver

Obiekt Java.lang.Object
com.android.tradefed.device.NativeDevice
com.android.tradefed.device.TestDevice
com.android.tradefed.device.RemoteAndroidDevice
com.android.tradefed.device.LocalAndroidVirtualDevice


Klasa dla lokalnych urządzeń wirtualnych działających na hoście TradeFed.

Streszczenie

Konstruktorzy publiczni

LocalAndroidVirtualDevice (IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor)

Metody publiczne

void postInvocationTearDown (Throwable exception)

Wykonaj typową procedurę demontażu i zatrzymaj urządzenie wirtualne.

void preInvocationSetup (IBuildInfo info, MultiMap<String, String> attributes)

Wykonaj typową procedurę konfiguracji i uruchom urządzenie wirtualne.

void setTestLogger (ITestLogger testLogger)
void shutdown ()

Wyłącz urządzenie.

Konstruktorzy publiczni

Lokalne urządzenie wirtualne z Androidem

public LocalAndroidVirtualDevice (IDevice device, 
                IDeviceStateMonitor stateMonitor, 
                IDeviceMonitor allocationMonitor)

Parametry
device IDevice

stateMonitor IDeviceStateMonitor

allocationMonitor IDeviceMonitor

Metody publiczne

postInwokacjaTearDown

public void postInvocationTearDown (Throwable exception)

Wykonaj typową procedurę demontażu i zatrzymaj urządzenie wirtualne.

Parametry
exception Throwable

konfiguracja przed wywołaniem

public void preInvocationSetup (IBuildInfo info, 
                MultiMap<String, String> attributes)

Wykonaj typową procedurę konfiguracji i uruchom urządzenie wirtualne.

Parametry
info IBuildInfo

attributes MultiMap

Rzuca
DeviceNotAvailableException
TargetSetupError

setTestLogger

public void setTestLogger (ITestLogger testLogger)

Parametry
testLogger ITestLogger

zamknięcie

public void shutdown ()

Wyłącz urządzenie.