YerelAndroidSanalCihaz
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 bilgisayarında çalışan yerel sanal cihazlara yönelik sınıf.
Özet
Kamu inşaatçıları | |
---|---|
LocalAndroidVirtualDevice (IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) |
Genel yöntemler | |
---|---|
void | postInvocationTearDown (Throwable exception) Ortak sökme prosedürünü uygulayın ve sanal cihazı durdurun. |
void | preInvocationSetup (IBuildInfo info, MultiMap<String, String> attributes) Ortak kurulum prosedürünü yürütün ve sanal cihazı başlatın. |
void | setTestLogger (ITestLogger testLogger) |
void | shutdown () Cihazı kapatın. |
Kamu inşaatçıları
YerelAndroidSanalCihaz
public LocalAndroidVirtualDevice (IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor)
Parametreler | |
---|---|
device | IDevice |
stateMonitor | IDeviceStateMonitor |
allocationMonitor | IDeviceMonitor |
Genel yöntemler
postInvokasyonTearDown
public void postInvocationTearDown (Throwable exception)
Ortak sökme prosedürünü uygulayın ve sanal cihazı durdurun.
Parametreler | |
---|---|
exception | Throwable |
preInvokasyon Kurulumu
public void preInvocationSetup (IBuildInfo info, MultiMap<String, String> attributes)
Ortak kurulum prosedürünü yürütün ve sanal cihazı başlatın.
Parametreler | |
---|---|
info | IBuildInfo |
attributes | MultiMap |
Atar | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |
setTestLogger
public void setTestLogger (ITestLogger testLogger)
Parametreler | |
---|---|
testLogger | ITestLogger |
kapat
public void shutdown ()
Cihazı kapatın.