設備發布報告器
public final class DeviceReleaseReporter
extends Object
implements ICommandScheduler.IScheduledInvocationListener
java.lang.Object | |
↳ | com.android.tradefed.device.internal.DeviceReleaseReporter |
設備釋放報告器,用於處理與要釋放的設備的父進程的通訊。
概括
公共構造函數 | |
---|---|
DeviceReleaseReporter () |
公共方法 | |
---|---|
void | invocationComplete ( IInvocationContext iInvocationContext, map) invocationComplete ( IInvocationContext iInvocationContext, map) 整個呼叫完成時的回調,包括所有 |
void | invocationInitiated ( IInvocationContext context) 發起呼叫時的回調。 |
void | releaseDevices ( IInvocationContext context, devicesStates) releaseDevices ( IInvocationContext context, devicesStates) 與 |
公共構造函數
設備發布報告器
public DeviceReleaseReporter ()
公共方法
呼叫完成
public void invocationComplete (IInvocationContext iInvocationContext,map)
整個呼叫完成時的回調,包括所有ITestInvocationListener.invocationEnded(long)
事件。
發佈設備
public void releaseDevices (IInvocationContext context,devicesStates)
與ICommandOptions#earlyDeviceRelease()
相關的回調,用於在使用完設備後釋放設備。