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

ResultAndLogForwarder

public class ResultAndLogForwarder
extends ResultForwarder implements ILogSaverListener

java.lang.Object
   ↳ com.android.tradefed.result.ResultForwarder
     ↳ com.android.tradefed.result.ResultAndLogForwarder


Forwarder for results and logs events.

Summary

Public constructors

ResultAndLogForwarder( listeners)

Ctor

Public methods

void invocationEnded(long elapsedTime)

void invocationStarted(IInvocationContext context)

void logAssociation(String dataName, LogFile logFile)
void setLogSaver(ILogSaver logSaver)
void testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)

Public constructors

ResultAndLogForwarder

public ResultAndLogForwarder ( listeners)

Ctor

Parameters
listeners

Public methods

invocationEnded

public void invocationEnded (long elapsedTime)

Parameters
elapsedTime long

invocationStarted

public void invocationStarted (IInvocationContext context)

Parameters
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

Parameters
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

Parameters
logSaver ILogSaver

testLogSaved

public void testLogSaved (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream, 
                LogFile logFile)

Parameters
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile