Google is committed to advancing racial equity for Black communities. See how.

ICommandScheduler.IScheduledInvocationListener

public static interface ICommandScheduler.IScheduledInvocationListener
implements ITestInvocationListener

com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener


Listener for invocation events when invocation completes.

Summary

Public methods

abstract void invocationComplete(IInvocationContext context, devicesStates)

Callback when entire invocation has completed, including all ITestInvocationListener#invocationEnded(long) events.

default void invocationInitiated(IInvocationContext context)

Callback when an invocation is initiated.

default void releaseDevices(IInvocationContext context, devicesStates)

Callback associated with ICommandOptions#earlyDeviceRelease() to release the devices when done with them.

Public methods

invocationComplete

public abstract void invocationComplete (IInvocationContext context, 
                 devicesStates)

Callback when entire invocation has completed, including all ITestInvocationListener#invocationEnded(long) events.

invocationInitiated

public void invocationInitiated (IInvocationContext context)

Callback when an invocation is initiated. This is called before any builds are fetched.

releaseDevices

public void releaseDevices (IInvocationContext context, 
                 devicesStates)

Callback associated with ICommandOptions#earlyDeviceRelease() to release the devices when done with them.