ICommandScheduler.IScheduledInitationListener

public static interface ICommandScheduler.IScheduledInvocationListener
implements ITestInvocationListener

com.android.tradefed.command.ICommandScheduler.IScheduledInitationListener


调用完成时调用事件的侦听器。

概括

公共方法

abstract void invocationComplete ( IInvocationContext context, devicesStates) invocationComplete ( IInvocationContext context, devicesStates)

整个调用完成时的回调,包括所有ITestInvocationListener.invocationEnded(long)事件。

default void invocationInitiated ( IInvocationContext context)

发起调用时的回调。

default void releaseDevices ( IInvocationContext context, devicesStates) releaseDevices ( IInvocationContext context, devicesStates)

ICommandOptions#earlyDeviceRelease()关联的回调,用于在使用完设备后释放设备。

公共方法

调用完成

public abstract void invocationComplete (IInvocationContext context, 
                 devicesStates)

整个调用完成时的回调,包括所有ITestInvocationListener.invocationEnded(long)事件。

调用已启动

public void invocationInitiated (IInvocationContext context)

发起调用时的回调。这是在获取任何构建之前调用的。

发布设备

public void releaseDevices (IInvocationContext context, 
                 devicesStates)

ICommandOptions#earlyDeviceRelease()关联的回调,用于在使用完设备后释放设备。