ClusterLogSaver
public
class
ClusterLogSaver
extends Object
implements
ILogSaver
java.lang.Object
|
↳ |
com.android.tradefed.cluster.ClusterLogSaver
|
A ILogSaver
class to upload test outputs to TFC.
Summary
Nested classes |
enum |
ClusterLogSaver.FilePickingStrategy
File picking strategies.
|
Fields |
public
static
final
String |
FILE_NAMES_FILE_NAME
A name of a text file containing all test output file names.
|
public
static
final
String |
TOOL_LOG_PATH
A name of a subdirectory containing all files generated by host process.
|
Fields
FILE_NAMES_FILE_NAME
public static final String FILE_NAMES_FILE_NAME
A name of a text file containing all test output file names.
public static final String TOOL_LOG_PATH
A name of a subdirectory containing all files generated by host process.
Public constructors
ClusterLogSaver
public ClusterLogSaver ()
Public methods
getLogReportDir
public LogFile getLogReportDir ()
invocationEnded
public void invocationEnded (long elapsedTime)
Parameters |
elapsedTime |
long |
invocationStarted
public void invocationStarted (IInvocationContext context)
Parameters |
context |
IInvocationContext |
public LogFile saveLogData (String dataName,
LogDataType dataType,
InputStream dataStream)
Parameters |
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStream |
public LogFile saveLogDataRaw (String dataName,
LogDataType dataType,
InputStream dataStream)
Parameters |
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStream |
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."],[],[]]