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) invocationComplete ( IInvocationContext iInvocationContext, map) 整个调用完成时回调,包括所有 |
void | invocationInitiated ( IInvocationContext context) 发起调用时回调。 |
void | releaseDevices ( IInvocationContext context, devicesStates) releaseDevices ( IInvocationContext context, devicesStates) 与 |
公共构造函数
DeviceReleaseReporter
public DeviceReleaseReporter ()
公共方法
调用完成
public void invocationComplete (IInvocationContext iInvocationContext,map)
整个调用完成时回调,包括所有ITestInvocationListener.invocationEnded(long)
事件。
发布设备
public void releaseDevices (IInvocationContext context,devicesStates)
与ICommandOptions#earlyDeviceRelease()
关联的回调,用于在完成设备后释放设备。