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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]