ExecCommandTracker

class ExecCommandTracker
extends Object implements ICommandScheduler.IScheduledInvocationListener

java.lang.Object
   ↳ com.android.tradefed.command.remote.ExecCommandTracker


Summary

Fields

Map<String, String> mRunMetrics

Public methods

void invocationComplete(IInvocationContext metadata, Map<ITestDevice, FreeDeviceState> devicesStates)

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

void invocationFailed(Throwable cause)

Reports an incomplete invocation due to some error condition.

void testRunEnded(long elapsedTime, Map<String, String> runMetrics)

Fields

mRunMetrics

Map<String, String> mRunMetrics

Public methods

invocationComplete

void invocationComplete (IInvocationContext metadata, 
                Map<ITestDevice, FreeDeviceState> devicesStates)

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

invocationFailed

void invocationFailed (Throwable cause)

Reports an incomplete invocation due to some error condition.

Will be automatically called by the TradeFederation framework.

Parameters
cause Throwable: the Throwable cause of the failure

testRunEnded

void testRunEnded (long elapsedTime, 
                Map<String, String> runMetrics)

Parameters
elapsedTime long

runMetrics Map