로컬Android가상기기

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 호스트에서 실행되는 로컬 가상 장치의 클래스입니다.

요약

공개 생성자

LocalAndroidVirtualDevice (IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor)

공개 메소드

void postInvocationTearDown (Throwable exception)

일반적인 해체 절차를 실행하고 가상 장치를 중지합니다.

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

공통 설정 절차를 실행하고 가상 장치를 시작합니다.

void setTestLogger (ITestLogger testLogger)
void shutdown ()

장치를 종료하십시오.

공개 생성자

로컬Android가상기기

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

매개변수
device IDevice

stateMonitor IDeviceStateMonitor

allocationMonitor IDeviceMonitor

공개 메소드

postInvocationTearDown

public void postInvocationTearDown (Throwable exception)

일반적인 해체 절차를 실행하고 가상 장치를 중지합니다.

매개변수
exception Throwable

사전 호출 설정

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

공통 설정 절차를 실행하고 가상 장치를 시작합니다.

매개변수
info IBuildInfo

attributes MultiMap

던지기
DeviceNotAvailableException
TargetSetupError

setTestLogger

public void setTestLogger (ITestLogger testLogger)

매개변수
testLogger ITestLogger

일시 휴업

public void shutdown ()

장치를 종료하십시오.