DeviceReleaseReporter

public final class DeviceReleaseReporter
extends Object implements ICommandScheduler.IScheduledInvocationListener

java.lang.Object
   ↳ com.android.tradefed.device.internal.DeviceReleaseReporter


출시할 기기를 상위 프로세스와 통신하는 기기 출시 리포터입니다.

요약

공개 생성자

DeviceReleaseReporter()

공개 메서드

void invocationComplete(IInvocationContext iInvocationContext, Map<ITestDeviceFreeDeviceState> map)

모든 ITestInvocationListener.invocationEnded(long) 이벤트를 포함하여 전체 호출이 완료될 때 호출되는 콜백입니다.

void invocationInitiated(IInvocationContext context)

호출이 시작될 때의 콜백입니다.

void releaseDevices(IInvocationContext context, Map<ITestDeviceFreeDeviceState> devicesStates)

ICommandOptions.earlyDeviceRelease()와 연결된 콜백으로, 기기 사용이 끝나면 기기를 해제합니다.

공개 생성자

DeviceReleaseReporter

public DeviceReleaseReporter ()

공개 메서드

invocationComplete

public void invocationComplete (IInvocationContext iInvocationContext, 
                Map<ITestDeviceFreeDeviceState> map)

모든 ITestInvocationListener.invocationEnded(long) 이벤트를 포함하여 전체 호출이 완료될 때 호출되는 콜백입니다.

invocationInitiated

public void invocationInitiated (IInvocationContext context)

호출이 시작될 때의 콜백입니다. 이는 빌드가 가져오기 전에 호출됩니다.

releaseDevices

public void releaseDevices (IInvocationContext context, 
                Map<ITestDeviceFreeDeviceState> devicesStates)

ICommandOptions.earlyDeviceRelease()와 연결된 콜백으로, 기기 사용이 끝나면 기기를 해제합니다.