Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
LegacySubprocessResultsReporter
public
final
class
LegacySubprocessResultsReporter
extends SubprocessResultsReporter
A frozen implementation of the subprocess results reporter which should remain compatible with
earlier versions of TF/CTS (e.g. 8+), despite changes in its superclass.
This reporter can be dynamically injected to enable subprocess reporting capability in old
TF-based test suites.
Summary
Public methods |
void
|
invocationEnded(long elapsedTime)
|
void
|
invocationFailed(Throwable cause)
|
void
|
invocationStarted(IBuildInfo buildInfo)
|
void
|
logAssociation(String dataName, LogFile logFile)
|
void
|
setLogSaver(ILogSaver logSaver)
|
void
|
testAssumptionFailure(TestIdentifier testId, String trace)
|
void
|
testEnded(TestIdentifier testId, metrics)
|
void
|
testEnded(TestIdentifier testId, long endTime, metrics)
|
void
|
testFailed(TestIdentifier testId, String reason)
|
void
|
testIgnored(TestIdentifier testId)
|
void
|
testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)
|
void
|
testModuleEnded()
|
void
|
testModuleStarted(IInvocationContext moduleContext)
|
void
|
testRunEnded(long time, runMetrics)
|
void
|
testRunFailed(String reason)
|
void
|
testRunStarted(String runName, int testCount)
|
void
|
testStarted(TestIdentifier testId)
|
void
|
testStarted(TestIdentifier testId, long startTime)
|
Public constructors
LegacySubprocessResultsReporter
public LegacySubprocessResultsReporter ()
Public methods
invocationEnded
public void invocationEnded (long elapsedTime)
Parameters |
elapsedTime |
long |
invocationFailed
public void invocationFailed (Throwable cause)
Parameters |
cause |
Throwable |
invocationStarted
public void invocationStarted (IBuildInfo buildInfo)
Parameters |
buildInfo |
IBuildInfo |
logAssociation
public void logAssociation (String dataName,
LogFile logFile)
Parameters |
dataName |
String |
logFile |
LogFile |
setLogSaver
public void setLogSaver (ILogSaver logSaver)
Parameters |
logSaver |
ILogSaver |
testAssumptionFailure
public void testAssumptionFailure (TestIdentifier testId,
String trace)
Parameters |
testId |
TestIdentifier |
trace |
String |
testEnded
public void testEnded (TestIdentifier testId,
metrics)
Parameters |
testId |
TestIdentifier |
metrics |
|
testEnded
public void testEnded (TestIdentifier testId,
long endTime,
metrics)
Parameters |
testId |
TestIdentifier |
endTime |
long |
metrics |
|
testFailed
public void testFailed (TestIdentifier testId,
String reason)
Parameters |
testId |
TestIdentifier |
reason |
String |
testIgnored
public void testIgnored (TestIdentifier testId)
Parameters |
testId |
TestIdentifier |
public void testLogSaved (String dataName,
LogDataType dataType,
InputStreamSource dataStream,
LogFile logFile)
Parameters |
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStreamSource |
logFile |
LogFile |
testModuleEnded
public void testModuleEnded ()
testModuleStarted
public void testModuleStarted (IInvocationContext moduleContext)
Parameters |
moduleContext |
IInvocationContext |
testRunEnded
public void testRunEnded (long time,
runMetrics)
Parameters |
time |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (String reason)
testRunStarted
public void testRunStarted (String runName,
int testCount)
Parameters |
runName |
String |
testCount |
int |
testStarted
public void testStarted (TestIdentifier testId)
Parameters |
testId |
TestIdentifier |
testStarted
public void testStarted (TestIdentifier testId,
long startTime)
Parameters |
testId |
TestIdentifier |
startTime |
long |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-08-03 UTC."],[],[]]