LocalAndroidVirtualDevice

public class LocalAndroidVirtualDevice
extends RemoteAndroidDevice implements ITestLoggerReceiver

java.lang.Object
   ↳ com.android.tradefed.device.NativeDevice
     ↳ com.android.tradefed.device.TestDevice
       ↳ com.android.tradefed.device.RemoteAndroidDevice
         ↳ com.android.tradefed.device.LocalAndroidVirtualDevice


TradeFed ana makinesinde çalışan yerel sanal cihazlar sınıfı.

Özet

Herkese açık kurucular

LocalAndroidVirtualDevice(IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor)

Herkese açık yöntemler

void postInvocationTearDown(Throwable exception)

Sık kullanılan sökme işlemini gerçekleştirin ve sanal cihazı durdurun.

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

Genel kurulum prosedürünü uygulayın ve sanal cihazı başlatın.

void setTestLogger(ITestLogger testLogger)
void shutdown()

Cihazı kapatın.

Herkese açık kurucular

LocalAndroidVirtualDevice

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

Parametreler
device IDevice

stateMonitor IDeviceStateMonitor

allocationMonitor IDeviceMonitor

Herkese açık yöntemler

postInvocationTearDown

public void postInvocationTearDown (Throwable exception)

Sık kullanılan sökme işlemini gerçekleştirin ve sanal cihazı durdurun.

Parametreler
exception Throwable

preInvocationSetup

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

Genel kurulum prosedürünü uygulayın ve sanal cihazı başlatın.

Parametreler
info IBuildInfo

attributes MultiMap

Atışlar
DeviceNotAvailableException
TargetSetupError

setTestLogger

public void setTestLogger (ITestLogger testLogger)

Parametreler
testLogger ITestLogger

kapatma

public void shutdown ()

Cihazı kapatın.