DeviceReleaseReporter

public final class DeviceReleaseReporter
extends Object implements ICommandScheduler.IScheduledInvocationListener

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


Device release reporter that handles communicating with the parent process the device(s) to be released.

Summary

Public constructors

DeviceReleaseReporter()

Public methods

void invocationComplete(IInvocationContext iInvocationContext, map)

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

void invocationInitiated(IInvocationContext context)

Callback when an invocation is initiated.

void releaseDevices(IInvocationContext context, devicesStates)

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

Public constructors

DeviceReleaseReporter

public DeviceReleaseReporter ()

Public methods

invocationComplete

public void invocationComplete (IInvocationContext iInvocationContext, 
                 map)

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.