META-INF/
META-INF/MANIFEST.MF
com/android/compatibility/common/tradefed/build/CompatibilityBuildHelper.class
CompatibilityBuildHelper.java
package com.android.compatibility.common.tradefed.build
public com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper extends java.lang.Object {
public static final String MODULE_IDS
public static final String ROOT_DIR
public static final String SUITE_BUILD
public static final String SUITE_NAME
public static final String SUITE_FULL_NAME
public static final String SUITE_VERSION
public static final String SUITE_PLAN
public static final String START_TIME_MS
public static final String COMMAND_LINE_ARGS
private static final String ROOT_DIR2
private static final String DYNAMIC_CONFIG_OVERRIDE_URL
private static final String BUSINESS_LOGIC_HOST_FILE
private static final String RETRY_COMMAND_LINE_ARGS
private static final String ALT_HOST_TESTCASE_DIR
private static final String ALT_TARGET_TESTCASE_DIR
private final com.android.tradefed.build.IBuildInfo mBuildInfo
public void <init> (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public com.android.tradefed.build.IBuildInfo getBuildInfo ()
public void setRetryCommandLineArgs (java.lang.String)
String commandLineArgs
public java.lang.String getCommandLineArgs ()
public java.lang.String getRecentCommandLineArgs ()
public java.lang.String getSuiteBuild ()
public java.lang.String getSuiteName ()
public java.lang.String getSuiteFullName ()
public java.lang.String getSuiteVersion ()
public java.lang.String getSuitePlan ()
public java.lang.String getDynamicConfigUrl ()
public long getStartTime ()
public void addDynamicConfigFile (java.lang.String, java.io.File)
String moduleName
java.io.File configFile
public void setBusinessLogicHostFile (java.io.File)
java.io.File hostFile
public void setModuleIds (java.lang.String[])
String[] moduleIds
public java.util.Map getDynamicConfigFiles ()
String key
java.util.Map configMap
public java.io.File getBusinessLogicHostFile ()
public java.io.File getRootDir () throws java.io.FileNotFoundException
java.io.File dir
public java.io.File getDir () throws java.io.FileNotFoundException
java.io.File dir
public java.io.File getResultsDir () throws java.io.FileNotFoundException
public java.io.File getResultDir () throws java.io.FileNotFoundException
public java.io.File getLogsDir () throws java.io.FileNotFoundException
public java.io.File getSubPlansDir () throws java.io.FileNotFoundException
java.io.File subPlansDir
public java.io.File getTestsDir () throws java.io.FileNotFoundException
Exception e
String altTestsDir
java.io.File testsDir
public java.io.File getTestFile (java.lang.String) throws java.io.FileNotFoundException
String testDir
java.io.File testFile
String filename
String altTargetTestDir
String[] testDirs
public java.io.File getInvocationFailureFile () throws java.io.FileNotFoundException
public java.io.File getTestRunsFile () throws java.io.FileNotFoundException
public static java.lang.String getDirSuffix (long)
long millis
}
com/android/compatibility/common/tradefed/build/CompatibilityBuildProvider.class
CompatibilityBuildProvider.java
package com.android.compatibility.common.tradefed.build
public com.android.compatibility.common.tradefed.build.CompatibilityBuildProvider extends java.lang.Object implements com.android.tradefed.build.IDeviceBuildProvider {
private static final java.util.regex.Pattern RELEASE_BUILD
private static final String ROOT_DIR
private static final String SUITE_BUILD
private static final String SUITE_NAME
private static final String SUITE_FULL_NAME
private static final String SUITE_VERSION
private static final String SUITE_PLAN
private static final String RESULT_DIR
private static final String START_TIME_MS
private static final String DYNAMIC_CONFIG_OVERRIDE_URL
private static final String API_KEY
private String mBranch
private String mBuildId
private String mBuildFlavor
private java.util.Map mBuildAttributes
private boolean mUseDeviceBuildInfo
private String mTestTag
private String mURL
private String mSuitePlan
public void <init> ()
private void injectBuildAttributes (com.android.tradefed.build.IBuildInfo)
java.util.Map$Entry entry
com.android.tradefed.build.IBuildInfo buildInfo
public com.android.tradefed.build.IBuildInfo getBuild ()
String version
com.android.tradefed.build.IBuildInfo ctsBuild
public com.android.tradefed.build.IBuildInfo getBuild (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.build.BuildRetrievalError com.android.tradefed.device.DeviceNotAvailableException
String buildId
String buildFlavor
com.android.tradefed.build.IBuildInfo info
String buildAlias
com.android.tradefed.device.ITestDevice device
public void buildNotTested (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public void cleanUp (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
private void addCompatibilitySuiteInfo (com.android.tradefed.build.IBuildInfo)
java.io.File testDir
com.android.tradefed.build.IBuildInfo info
long startTimeMs
String rootDirPath
java.io.File rootDir
java.lang.String getRootDirPath ()
protected java.lang.String getSuiteInfoName ()
protected java.lang.String getSuiteInfoBuildNumber ()
protected java.lang.String getSuiteInfoFullname ()
protected java.lang.String getSuiteInfoVersion ()
private java.lang.String getDirSuffix (long)
long millis
static void <clinit> ()
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole$1.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$1 extends java.lang.Object implements java.lang.Runnable {
final synthetic com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
void <init> (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
public void run ()
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole$2.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$2 extends java.lang.Object implements java.lang.Runnable {
final synthetic com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
void <init> (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
public void run ()
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole$3.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$3 extends java.lang.Object implements java.lang.Runnable {
final synthetic com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
void <init> (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
public void run ()
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole$4.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$4 extends java.lang.Object implements java.lang.Runnable {
final synthetic com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
void <init> (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
public void run ()
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole$5.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$5 extends com.android.tradefed.command.Console$ArgRunnable {
final synthetic com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
void <init> (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
public void run (com.android.tradefed.command.Console$CaptureList)
com.android.tradefed.command.Console$CaptureList args
String arg
int shards
public volatile synthetic void run (java.lang.Object)
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole$6.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$6 extends com.android.tradefed.command.Console$ArgRunnable {
final synthetic com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
void <init> (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
public void run (com.android.tradefed.command.Console$CaptureList)
int i
com.android.tradefed.command.Console$CaptureList args
String[] flatArgs
public volatile synthetic void run (java.lang.Object)
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole$7.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$7 extends com.android.tradefed.command.Console$ArgRunnable {
final synthetic com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
void <init> (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
public void run (com.android.tradefed.command.Console$CaptureList)
com.android.tradefed.command.Console$CaptureList args
public volatile synthetic void run (java.lang.Object)
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole$8.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$8 extends java.lang.Object implements java.lang.Runnable {
final synthetic com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
void <init> (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
public void run ()
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole$9.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$9 extends java.lang.Object implements java.util.Comparator {
final synthetic com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
void <init> (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole this$0
public int compare (com.android.tradefed.util.Pair, com.android.tradefed.util.Pair)
com.android.tradefed.util.Pair o1
com.android.tradefed.util.Pair o2
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
com/android/compatibility/common/tradefed/command/CompatibilityConsole.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
public com.android.compatibility.common.tradefed.command.CompatibilityConsole extends com.android.tradefed.command.Console {
private static final java.util.Set MODULE_SPLIT_EXCLUSIONS
private static final String ADD_PATTERN
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
public void <init> ()
public void run ()
protected void setCustomCommands (com.android.tradefed.util.RegexTrie, java.util.List, java.util.Map)
com.android.tradefed.util.RegexTrie trie
java.util.List genericHelp
java.util.Map commandHelp
String listHelp
String combinedHelp
String runHelp
String combinedRunHelp
protected java.lang.String getConsolePrompt ()
private void listModules ()
java.io.FileNotFoundException e
java.io.File moduleFile
String module
java.util.List modules
java.io.File[] files
private void listPlans ()
private void splitModules (int)
java.io.FileNotFoundException e
com.android.tradefed.config.ConfigurationException ce
com.android.tradefed.testtype.IRemoteTest test
com.android.tradefed.config.IConfiguration config
String moduleName
long runtime
java.io.File file
int i
com.android.tradefed.util.Pair module
StringBuilder lineBuffer
java.util.Iterator itr
java.util.List shardedModules
com.android.tradefed.config.IConfigurationFactory configFactory
java.util.List moduleRuntime
java.util.List splittedModules
int shardIndex
int increment
long[] shardTimes
int shards
java.io.File[] files
private void listResults ()
java.io.FileNotFoundException e
java.util.Map$Entry entry
com.android.compatibility.common.util.IInvocationResult result
java.util.Map invocationInfo
String moduleProgress
int i
com.android.tradefed.util.TableFormatter tableFormatter
java.util.List table
java.util.List results
private void listSubPlans ()
java.io.FileNotFoundException e
java.io.File subPlanFile
String subPlan
java.util.List subPlans
java.io.File[] files
private void addSubPlan (java.lang.String[])
com.android.tradefed.config.ArgsOptionParser optionParser
com.android.tradefed.config.ConfigurationException e
String[] flatArgs
com.android.compatibility.common.tradefed.result.SubPlanHelper creator
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper getBuildHelper ()
com.android.compatibility.common.tradefed.build.CompatibilityBuildProvider buildProvider
public static void main (java.lang.String[]) throws java.lang.InterruptedException com.android.tradefed.config.ConfigurationException
String[] args
com.android.tradefed.command.Console console
static synthetic void access$000 (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
static synthetic void access$100 (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
static synthetic void access$200 (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
static synthetic void access$300 (com.android.compatibility.common.tradefed.command.CompatibilityConsole)
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
static synthetic void access$400 (com.android.compatibility.common.tradefed.command.CompatibilityConsole, java.lang.String)
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
String x1
static synthetic void access$500 (com.android.compatibility.common.tradefed.command.CompatibilityConsole, int)
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
int x1
static synthetic void access$600 (com.android.compatibility.common.tradefed.command.CompatibilityConsole, java.lang.String[])
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
String[] x1
static synthetic void access$700 (com.android.compatibility.common.tradefed.command.CompatibilityConsole, java.lang.String)
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
String x1
static synthetic void access$800 (com.android.compatibility.common.tradefed.command.CompatibilityConsole, java.lang.String)
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
String x1
static void <clinit> ()
}
com/android/compatibility/common/tradefed/result/ConsoleReporter.class
ConsoleReporter.java
package com.android.compatibility.common.tradefed.result
public com.android.compatibility.common.tradefed.result.ConsoleReporter extends java.lang.Object implements com.android.tradefed.result.IShardableListener {
private static final String UNKNOWN_DEVICE
private boolean mQuietOutput
private String mDeviceSerial
private boolean mTestFailed
private String mModuleId
private int mCurrentTestNum
private int mTotalTestsInModule
private int mPassedTests
private int mFailedTests
private int mNotExecutedTests
public void <init> ()
public void invocationStarted (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext context
com.android.tradefed.build.IBuildInfo primaryBuild
public void testRunStarted (java.lang.String, int)
String id
int numTests
boolean isRepeatModule
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testIgnored (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
public void testRunFailed (java.lang.String)
String errorMessage
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map metrics
String status
public void testRunStopped (long)
long elapsedTime
private transient void logProgress (java.lang.String, java.lang.Object[])
String format
Object[] args
private transient void logMessage (java.lang.String, java.lang.Object[])
String format
Object[] args
private transient void log (java.lang.String, java.lang.Object[])
String format
Object[] args
public com.android.tradefed.result.IShardableListener clone ()
com.android.compatibility.common.tradefed.result.ConsoleReporter clone
private java.lang.String progress ()
java.lang.String getDeviceSerial ()
boolean getTestFailed ()
java.lang.String getModuleId ()
int getCurrentTestNum ()
int getTotalTestsInModule ()
int getPassedTests ()
int getFailedTests ()
public volatile synthetic java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/compatibility/common/tradefed/result/IModuleListener.class
IModuleListener.java
package com.android.compatibility.common.tradefed.result
public abstract com.android.compatibility.common.tradefed.result.IModuleListener extends java.lang.Object implements com.android.tradefed.result.ITestInvocationListener {
}
com/android/compatibility/common/tradefed/result/InvocationFailureHandler.class
InvocationFailureHandler.java
package com.android.compatibility.common.tradefed.result
public com.android.compatibility.common.tradefed.result.InvocationFailureHandler extends java.lang.Object {
public void <init> ()
public static boolean hasFailed (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper)
java.io.File f
java.io.FileNotFoundException e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
public static void setFailed (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper, java.lang.Throwable)
java.io.File f
java.io.IOException e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
Throwable cause
}
com/android/compatibility/common/tradefed/result/MetadataReporter.class
MetadataReporter.java
package com.android.compatibility.common.tradefed.result
public com.android.compatibility.common.tradefed.result.MetadataReporter extends java.lang.Object implements com.android.tradefed.result.IShardableListener {
private boolean mIncludeFailures
private long mMinTestDuration
private static final String METADATA_DIR
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
private java.io.File mMetadataDir
private long mStartTime
private String mCurrentModule
private boolean mTestFailed
private java.util.Collection mTestMetadata
public void <init> ()
public com.android.tradefed.result.IShardableListener clone ()
com.android.compatibility.common.tradefed.result.MetadataReporter clone
public void invocationStarted (com.android.tradefed.invoker.IInvocationContext)
java.io.FileNotFoundException e
com.android.tradefed.invoker.IInvocationContext context
com.android.tradefed.build.IBuildInfo buildInfo
public void testRunStarted (java.lang.String, int)
String id
int numTests
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testIgnored (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
long duration
com.android.compatibility.common.tradefed.result.MetadataReporter$TestMetadata metadata
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map metrics
private static java.lang.String buildTestId (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
private static void tryWriteToFile (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper, java.lang.String, java.io.File, java.util.Collection)
com.android.compatibility.common.tradefed.result.MetadataReporter$TestMetadata metadata
com.android.json.stream.JsonWriter writer
java.io.IOException e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper compatibilityBuildHelper
String moduleName
java.io.File metadataDir
java.util.Collection metadatas
String moduleFileName
java.io.File metadataFile
java.util.Map buildAttributes
protected java.util.Collection getTestMetadata ()
public volatile synthetic java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/compatibility/common/tradefed/result/MetadataReporter$TestMetadata.class
MetadataReporter.java
package com.android.compatibility.common.tradefed.result
public com.android.compatibility.common.tradefed.result.MetadataReporter$TestMetadata extends java.lang.Object {
String testId
long seconds
public void <init> ()
}
com/android/compatibility/common/tradefed/result/ModuleListener.class
ModuleListener.java
package com.android.compatibility.common.tradefed.result
public com.android.compatibility.common.tradefed.result.ModuleListener extends java.lang.Object implements com.android.compatibility.common.tradefed.result.IModuleListener {
private com.android.compatibility.common.tradefed.testtype.IModuleDef mModule
private com.android.tradefed.result.ITestInvocationListener mListener
public void <init> (com.android.compatibility.common.tradefed.testtype.IModuleDef, com.android.tradefed.result.ITestInvocationListener)
com.android.compatibility.common.tradefed.testtype.IModuleDef module
com.android.tradefed.result.ITestInvocationListener listener
public void invocationStarted (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext context
public void testRunStarted (java.lang.String, int)
String name
int numTests
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map metrics
public void testIgnored (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testRunStopped (long)
long elapsedTime
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map metrics
public void testRunFailed (java.lang.String)
String errorMessage
public com.android.tradefed.result.TestSummary getSummary ()
public void invocationEnded (long)
long elapsedTime
public void invocationFailed (java.lang.Throwable)
Throwable cause
public void testLog (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource)
String name
com.android.tradefed.result.LogDataType type
com.android.tradefed.result.InputStreamSource stream
}
com/android/compatibility/common/tradefed/result/ResultReporter.class
ResultReporter.java
package com.android.compatibility.common.tradefed.result
public com.android.compatibility.common.tradefed.result.ResultReporter extends java.lang.Object implements com.android.tradefed.result.ILogSaverListener com.android.tradefed.result.ITestInvocationListener com.android.tradefed.result.ITestSummaryListener com.android.tradefed.result.IShardableListener {
private static final String UNKNOWN_DEVICE
private static final String RESULT_KEY
private static final String CTS_PREFIX
private static final String BUILD_INFO
private static final String LATEST_LINK_NAME
private static final java.util.List NOT_RETRY_FILES
private Integer mRetrySessionId
private com.android.compatibility.common.tradefed.util.RetryType mRetryType
private String mResultServer
private boolean mDisableResultPosting
private boolean mIncludeTestLogTags
private boolean mUseLogSaver
private boolean mCompressLogs
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
private java.io.File mResultDir
private java.io.File mLogDir
private com.android.compatibility.common.util.ResultUploader mUploader
private String mReferenceUrl
private com.android.tradefed.result.ILogSaver mLogSaver
private int invocationEndedCount
private java.util.concurrent.CountDownLatch mFinalized
private com.android.compatibility.common.util.IInvocationResult mResult
private com.android.compatibility.common.util.IModuleResult mCurrentModuleResult
private com.android.compatibility.common.util.ICaseResult mCurrentCaseResult
private com.android.compatibility.common.util.ITestResult mCurrentResult
private String mDeviceSerial
private java.util.Set mMasterDeviceSerials
private java.util.Set mMasterBuildInfos
private int mCurrentTestNum
private int mTotalTestsInModule
protected boolean mCanMarkDone
protected boolean mTestRunFailed
private boolean mModuleWasDone
private final com.android.compatibility.common.tradefed.result.ResultReporter mMasterResultReporter
private com.android.tradefed.result.LogFileSaver mTestLogSaver
public void <init> ()
public void <init> (com.android.compatibility.common.tradefed.result.ResultReporter)
com.android.compatibility.common.tradefed.result.ResultReporter masterResultReporter
public void invocationStarted (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext context
com.android.tradefed.build.IBuildInfo primaryBuild
private void initializeResultDirectories ()
java.io.FileNotFoundException e
java.io.FileNotFoundException e
public void testRunStarted (java.lang.String, int)
String id
int numTests
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
Exception e
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map metrics
String perfResult
com.android.compatibility.common.util.ReportLog report
public void testIgnored (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testRunStopped (long)
long elapsedTime
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map metrics
private void mergeModuleResult (com.android.compatibility.common.util.IModuleResult)
com.android.compatibility.common.util.IModuleResult moduleResult
public void testRunFailed (java.lang.String)
String errorMessage
public com.android.tradefed.result.TestSummary getSummary ()
public void putSummary (java.util.List)
java.util.List summaries
public void invocationEnded (long)
long elapsedTime
private void finalizeResults (long)
String deviceSerial
String key
String value
java.util.Map$Entry entry
com.android.tradefed.build.IBuildInfo buildInfo
String moduleId
java.io.File resultFile
java.io.File zippedResults
java.io.File failureReport
java.nio.file.Path latestLink
Exception e
long elapsedTime
java.util.Set allExpectedModules
String moduleProgress
long startTime
private java.nio.file.Path createLatestLinkDirectory (java.nio.file.Path)
java.io.IOException ioe
UnsupportedOperationException uoe
java.nio.file.Path directory
java.nio.file.Path link
java.nio.file.Path parent
public void invocationFailed (java.lang.Throwable)
Throwable cause
public void testLog (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource)
java.io.InputStream inputStream
java.io.InputStream inputStream
java.io.File logFile
java.io.IOException e
String name
com.android.tradefed.result.LogDataType type
com.android.tradefed.result.InputStreamSource stream
public void testLogSaved (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource, com.android.tradefed.result.LogFile)
String dataName
com.android.tradefed.result.LogDataType dataType
com.android.tradefed.result.InputStreamSource dataStream
com.android.tradefed.result.LogFile logFile
public void setLogSaver (com.android.tradefed.result.ILogSaver)
com.android.tradefed.result.ILogSaver saver
private void saveLog (java.io.File, java.io.File) throws java.io.IOException
java.io.IOException ioe
java.io.FileInputStream zipResultStream
java.io.File resultFile
java.io.File zippedResults
java.io.FileInputStream fis
com.android.tradefed.result.LogFile logFile
private java.lang.String getLogUrl ()
public com.android.tradefed.result.IShardableListener clone ()
com.android.compatibility.common.tradefed.result.ResultReporter clone
private boolean isShardResultReporter ()
private void uploadResult (java.io.File)
java.io.IOException ioe
java.io.File resultFile
private boolean canMarkDone (java.lang.String)
String args
static void copyFormattingFiles (java.io.File, java.lang.String)
java.io.IOException e
java.io.File resultFile
java.io.InputStream configStream
String resultFileName
java.io.File resultsDir
String suiteName
static void copyDynamicConfigFiles (java.util.Map, java.io.File)
java.io.IOException e
java.io.File srcFile
java.io.File destFile
String moduleName
java.util.Map configFiles
java.io.File resultsDir
java.io.File configDir
boolean mkdirSuccess
static void copyRetryFiles (java.io.File, java.io.File)
java.io.IOException e
java.io.File newChild
java.io.File oldChild
java.io.File oldDir
java.io.File newDir
java.io.File[] oldChildren
private static java.io.File zipResults (java.io.File)
java.io.IOException e
java.io.File resultsDir
java.io.File zipResultFile
private static transient void info (java.lang.String, java.lang.Object[])
String format
Object[] args
private static transient void debug (java.lang.String, java.lang.Object[])
String format
Object[] args
private static transient void warn (java.lang.String, java.lang.Object[])
String format
Object[] args
private static transient void log (com.android.ddmlib.Log$LogLevel, java.lang.String, java.lang.Object[])
com.android.ddmlib.Log$LogLevel level
String format
Object[] args
public com.android.compatibility.common.util.IInvocationResult getResult ()
public boolean waitForFinalized (long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException
long timeout
java.util.concurrent.TimeUnit unit
public volatile synthetic java.lang.Object clone () throws java.lang.CloneNotSupportedException
static void <clinit> ()
}
com/android/compatibility/common/tradefed/result/SubPlanHelper.class
SubPlanHelper.java
package com.android.compatibility.common.tradefed.result
public com.android.compatibility.common.tradefed.result.SubPlanHelper extends java.lang.Object {
private static final String XML_EXT
private static final String PARAM_START
public static final String PASSED
public static final String FAILED
public static final String NOT_EXECUTED
private static final java.util.Map STATUS_MAP
private String mSubPlanName
private Integer mSessionId
private java.util.Set mResultTypes
private java.util.Set mIncludeFilters
private java.util.Set mExcludeFilters
private String mModuleName
private String mTestName
private String mAbiName
java.io.File mSubPlanFile
com.android.compatibility.common.util.IInvocationResult mResult
public void <init> ()
public void <init> (java.lang.String, int, java.util.Collection)
String name
int session
java.util.Collection resultTypes
public static com.android.compatibility.common.tradefed.testtype.ISubPlan getSubPlanByName (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper, java.lang.String)
java.io.File subPlanFile
com.android.compatibility.common.tradefed.testtype.ISubPlan subPlan
Exception e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
String name
java.io.InputStream subPlanInputStream
public void setResult (com.android.compatibility.common.util.IInvocationResult)
com.android.compatibility.common.util.IInvocationResult result
public void addResultType (java.lang.String)
String resultType
public java.io.File createAndSerializeSubPlan (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper) throws com.android.tradefed.config.ConfigurationException
java.io.IOException e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
com.android.compatibility.common.tradefed.testtype.ISubPlan subPlan
public com.android.compatibility.common.tradefed.testtype.ISubPlan createSubPlan (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper) throws com.android.tradefed.config.ConfigurationException
com.android.compatibility.common.util.TestFilter testExclude
com.android.compatibility.common.util.ITestResult testResult
com.android.compatibility.common.util.ICaseResult caseResult
com.android.compatibility.common.util.TestFilter testInclude
com.android.compatibility.common.util.ITestResult testResult
com.android.compatibility.common.util.ICaseResult caseResult
com.android.compatibility.common.util.TestFilter moduleInclude
com.android.compatibility.common.util.TestFilter moduleExclude
com.android.compatibility.common.util.IModuleResult module
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
com.android.compatibility.common.tradefed.testtype.ISubPlan subPlan
java.util.Set statusesToRun
static void addIncludeToSubPlan (com.android.compatibility.common.tradefed.testtype.ISubPlan, com.android.compatibility.common.util.TestFilter)
com.android.compatibility.common.tradefed.testtype.ISubPlan subPlan
com.android.compatibility.common.util.TestFilter include
String test
String str
static void addExcludeToSubPlan (com.android.compatibility.common.tradefed.testtype.ISubPlan, com.android.compatibility.common.util.TestFilter)
com.android.compatibility.common.tradefed.testtype.ISubPlan subPlan
com.android.compatibility.common.util.TestFilter exclude
String test
String str
private boolean shouldRunModule (com.android.compatibility.common.util.IModuleResult)
com.android.compatibility.common.util.TestStatus status
com.android.compatibility.common.util.IModuleResult module
private boolean shouldRunEntireModule (com.android.compatibility.common.util.IModuleResult)
com.android.compatibility.common.util.TestStatus status
com.android.compatibility.common.util.IModuleResult module
java.util.Set statusesToRun
private java.util.Set getStatusesToRun ()
String resultType
java.util.Set statusesToRun
private void setupFields (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper) throws com.android.tradefed.config.ConfigurationException
java.io.FileNotFoundException e
com.android.tradefed.config.ArgsOptionParser parser
com.android.tradefed.config.ConfigurationException e
String type
java.io.IOException e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
String retryCommandLineArgs
private java.lang.String createPlanName ()
StringBuilder sb
static void <clinit> ()
java.util.Map statusMap
}
com/android/compatibility/common/tradefed/result/TestRunHandler.class
TestRunHandler.java
package com.android.compatibility.common.tradefed.result
public com.android.compatibility.common.tradefed.result.TestRunHandler extends java.lang.Object {
private static final String MAP_DELIMITER
public void <init> ()
public static int getTestRuns (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper, java.lang.String)
java.io.File f
String mapString
java.util.Map map
Integer testRuns
java.io.IOException e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
String id
public static void setTestRuns (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper, java.util.Map)
java.io.File f
java.io.IOException e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
java.util.Map testRuns
private static java.lang.String mapToString (java.util.Map)
java.util.Map$Entry entry
java.util.Map map
StringBuilder sb
private static java.util.Map stringToMap (java.lang.String)
String[] parts
String entry
String str
java.util.Map map
}
com/android/compatibility/common/tradefed/targetprep/ApkInstaller.class
ApkInstaller.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.ApkInstaller extends com.android.tradefed.targetprep.TestAppInstallSetup {
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
public void <init> ()
private void setBuildHelper (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
protected java.io.File getTestsDir (com.android.tradefed.build.IBuildInfo) throws java.io.FileNotFoundException
com.android.tradefed.build.IBuildInfo buildInfo
protected java.io.File getTestFile (com.android.tradefed.build.IBuildInfo, java.lang.String) throws java.io.FileNotFoundException
com.android.tradefed.build.IBuildInfo buildInfo
String filename
protected java.io.File getLocalPathForFilename (com.android.tradefed.build.IBuildInfo, java.lang.String, com.android.tradefed.device.ITestDevice) throws com.android.tradefed.targetprep.TargetSetupError
java.io.FileNotFoundException e
com.android.tradefed.build.IBuildInfo buildInfo
String apkFileName
com.android.tradefed.device.ITestDevice device
java.io.File apkFile
}
com/android/compatibility/common/tradefed/targetprep/ApkInstrumentationPreparer$1.class
ApkInstrumentationPreparer.java
package com.android.compatibility.common.tradefed.targetprep
synthetic com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$1 extends java.lang.Object {
}
com/android/compatibility/common/tradefed/targetprep/ApkInstrumentationPreparer.class
ApkInstrumentationPreparer.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer extends com.android.compatibility.common.tradefed.targetprep.PreconditionPreparer implements com.android.tradefed.targetprep.ITargetCleaner {
protected String mApkFileName
protected String mPackageName
protected com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$When mWhen
protected boolean mThrowError
protected java.util.concurrent.ConcurrentHashMap testMetrics
private java.util.concurrent.ConcurrentHashMap testFailures
public void <init> ()
public void run (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
java.io.FileNotFoundException e
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
public void tearDown (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo, java.lang.Throwable) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.FileNotFoundException e1
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
Throwable e
private boolean instrument (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.device.DeviceNotAvailableException java.io.FileNotFoundException
String trace
com.android.ddmlib.testrunner.TestIdentifier test
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
com.android.tradefed.result.ITestInvocationListener listener
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
java.io.File apkFile
com.android.tradefed.testtype.AndroidJUnitTest instrTest
boolean success
static synthetic java.util.concurrent.ConcurrentHashMap access$100 (com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer)
com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer x0
}
com/android/compatibility/common/tradefed/targetprep/ApkInstrumentationPreparer$TargetPreparerListener.class
ApkInstrumentationPreparer.java
package com.android.compatibility.common.tradefed.targetprep
com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$TargetPreparerListener extends java.lang.Object implements com.android.tradefed.result.ITestInvocationListener {
final synthetic com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer this$0
private void <init> (com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer)
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map metrics
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
synthetic void <init> (com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer, com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$1)
com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer x0
com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$1 x1
}
com/android/compatibility/common/tradefed/targetprep/ApkInstrumentationPreparer$When.class
ApkInstrumentationPreparer.java
package com.android.compatibility.common.tradefed.targetprep
public final enum com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$When extends java.lang.Enum {
public static final enum com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$When BEFORE
public static final enum com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$When AFTER
public static final enum com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$When BOTH
private static final synthetic com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$When[] $VALUES
public static com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$When[] values ()
public static com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$When valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
static void <clinit> ()
}
com/android/compatibility/common/tradefed/targetprep/ApkPreconditionCheck.class
ApkPreconditionCheck.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.ApkPreconditionCheck extends com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer {
public void <init> ()
}
com/android/compatibility/common/tradefed/targetprep/BusinessLogicPreparer.class
BusinessLogicPreparer.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.BusinessLogicPreparer extends java.lang.Object implements com.android.tradefed.targetprep.ITargetCleaner {
private static final String LOG_TAG
private static final String SUITE_PLACEHOLDER
private static final String FILE_LOCATION
private static final String FILE_EXT
private String mUrl
private String mApiKey
private boolean mCleanup
private String mDeviceFilePushed
private String mHostFilePushed
public void <init> ()
public void setUp (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
java.net.URL request
java.io.IOException e
java.io.File hostFile
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
java.io.IOException e
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
String requestString
String businessLogicString
public void tearDown (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo, java.lang.Throwable) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
Throwable e
private static void removeDeviceFile (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
static void <clinit> ()
}
com/android/compatibility/common/tradefed/targetprep/DeviceFileCollector.class
DeviceFileCollector.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.DeviceFileCollector extends com.android.compatibility.common.tradefed.targetprep.PreconditionPreparer {
private boolean mSkipDeviceInfo
private String mSrcFile
private String mDestFile
private java.io.File mResultFile
public void <init> ()
public void run (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo)
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
private void createResultDir (com.android.tradefed.build.IBuildInfo)
java.io.File resultDir
java.io.FileNotFoundException fnfe
com.android.tradefed.build.IBuildInfo buildInfo
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
}
com/android/compatibility/common/tradefed/targetprep/DeviceInfoCollector.class
DeviceInfoCollector.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.DeviceInfoCollector extends com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer {
private static final String ABI
private static final String ABI2
private static final String ABIS
private static final String ABIS_32
private static final String ABIS_64
private static final String BOARD
private static final String BRAND
private static final String DEVICE
private static final String FINGERPRINT
private static final String ID
private static final String MANUFACTURER
private static final String MODEL
private static final String PRODUCT
private static final String REFERENCE_FINGERPRINT
private static final String SERIAL
private static final String TAGS
private static final String TYPE
private static final String VERSION_BASE_OS
private static final String VERSION_RELEASE
private static final String VERSION_SDK
private static final String VERSION_SECURITY_PATCH
private static final String VERSION_INCREMENTAL
private static final String PREFIX_TAG
private boolean mSkipDeviceInfo
private String mSrcDir
private String mDestDir
private String mTempDir
private java.io.File mHostDir
private java.io.File mResultDir
public void <init> ()
public void setUp (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
java.util.Map$Entry entry
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
com.android.compatibility.common.util.DevicePropertyInfo devicePropertyInfo
public void tearDown (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo, java.lang.Throwable)
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
Throwable e
private void createTempHostDir ()
Exception e
private void createResultDir (com.android.tradefed.build.IBuildInfo)
java.io.FileNotFoundException fnfe
com.android.tradefed.build.IBuildInfo buildInfo
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
private void getDeviceInfoFiles (com.android.tradefed.device.ITestDevice)
String mResultPath
com.android.tradefed.device.ITestDevice device
private static java.lang.String nullToEmpty (java.lang.String)
String value
}
com/android/compatibility/common/tradefed/targetprep/DynamicConfigPusher$1.class
DynamicConfigPusher.java
package com.android.compatibility.common.tradefed.targetprep
synthetic com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$compatibility$common$tradefed$targetprep$DynamicConfigPusher$TestTarget
static void <clinit> ()
}
com/android/compatibility/common/tradefed/targetprep/DynamicConfigPusher.class
DynamicConfigPusher.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher extends java.lang.Object implements com.android.tradefed.targetprep.ITargetCleaner {
private static final String LOG_TAG
private static final String TMP_FOLDER_DYNAMIC_FILES
private boolean mCleanup
private String mModuleName
private com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher$TestTarget mTarget
private String mVersion
private String mFilePushed
public void <init> ()
void setModuleName (java.lang.String)
String moduleName
public void setUp (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
java.io.FileNotFoundException e
java.net.URL request
java.io.IOException e
String requestUrl
Exception e
String deviceDest
java.io.IOException e
java.io.IOException e
java.io.File storageDir
java.io.File hostDest
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
java.io.File localConfigFile
String apfeConfigInJson
String originUrl
java.io.File src
public void tearDown (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo, java.lang.Throwable) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
Throwable e
static void <clinit> ()
}
com/android/compatibility/common/tradefed/targetprep/DynamicConfigPusher$TestTarget.class
DynamicConfigPusher.java
package com.android.compatibility.common.tradefed.targetprep
public final enum com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher$TestTarget extends java.lang.Enum {
public static final enum com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher$TestTarget DEVICE
public static final enum com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher$TestTarget HOST
private static final synthetic com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher$TestTarget[] $VALUES
public static com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher$TestTarget[] values ()
public static com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher$TestTarget valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
static void <clinit> ()
}
com/android/compatibility/common/tradefed/targetprep/FilePusher.class
FilePusher.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.FilePusher extends com.android.tradefed.targetprep.PushFilePreparer implements com.android.tradefed.testtype.IAbiReceiver {
private boolean mAppendBitness
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
private com.android.tradefed.testtype.IAbi mAbi
public void <init> ()
private void setBuildHelper (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
protected java.io.File getTestsDir (com.android.tradefed.build.IBuildInfo) throws java.io.FileNotFoundException
com.android.tradefed.build.IBuildInfo buildInfo
protected java.io.File getTestFile (com.android.tradefed.build.IBuildInfo, java.lang.String) throws java.io.FileNotFoundException
com.android.tradefed.build.IBuildInfo buildInfo
String filename
public void setAbi (com.android.tradefed.testtype.IAbi)
com.android.tradefed.testtype.IAbi abi
public com.android.tradefed.testtype.IAbi getAbi ()
public java.io.File resolveRelativeFilePath (com.android.tradefed.build.IBuildInfo, java.lang.String)
java.io.File f
java.io.FileNotFoundException e
com.android.tradefed.build.IBuildInfo buildInfo
String fileName
}
com/android/compatibility/common/tradefed/targetprep/LocationCheck.class
LocationCheck.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.LocationCheck extends com.android.compatibility.common.tradefed.targetprep.SettingsPreparer {
private static final String LOCATION_SETTING
private static final String GPS
private static final String NETWORK
private static final String GPS_FEATURE
private static final String NETWORK_FEATURE
public void <init> ()
private boolean hasLocationFeature (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String adbFeatures
public void run (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
}
com/android/compatibility/common/tradefed/targetprep/NetworkConnectivityChecker.class
NetworkConnectivityChecker.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker extends java.lang.Object implements com.android.tradefed.suite.checker.ISystemStatusChecker {
private boolean mIsFailed
public void <init> ()
public boolean postExecutionCheck (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
}
com/android/compatibility/common/tradefed/targetprep/PackageDisabler.class
PackageDisabler.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.PackageDisabler extends com.android.compatibility.common.tradefed.targetprep.PreconditionPreparer {
protected String mPackageName
public void <init> ()
public void run (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
}
com/android/compatibility/common/tradefed/targetprep/PreconditionPreparer.class
PreconditionPreparer.java
package com.android.compatibility.common.tradefed.targetprep
public abstract com.android.compatibility.common.tradefed.targetprep.PreconditionPreparer extends java.lang.Object implements com.android.tradefed.targetprep.ITargetPreparer {
private boolean mSkipPreconditions
private java.util.List mPreconditionArgs
protected final String mLogTag
public void <init> ()
public void setUp (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String[] parts
String argName
String argValue
String preconditionArg
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
private void setOption (java.lang.String, java.lang.String)
com.android.tradefed.config.OptionSetter setter
com.android.tradefed.config.ConfigurationException e
String option
String value
public abstract void run (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
protected void logInfo (java.lang.String)
String info
protected transient void logInfo (java.lang.String, java.lang.Object[])
String infoFormat
Object[] args
protected void logWarning (java.lang.String)
String warning
protected transient void logWarning (java.lang.String, java.lang.Object[])
String warningFormat
Object[] args
protected void logError (java.lang.String)
String error
protected transient void logError (java.lang.String, java.lang.Object[])
String errorFormat
Object[] args
protected void logError (java.lang.Throwable)
Throwable t
}
com/android/compatibility/common/tradefed/targetprep/PropertyCheck.class
PropertyCheck.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.PropertyCheck extends com.android.compatibility.common.tradefed.targetprep.PreconditionPreparer {
protected String mPropertyName
protected String mExpectedPropertyValue
protected boolean mThrowError
public void <init> ()
public void run (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String msg
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
String propertyValue
}
com/android/compatibility/common/tradefed/targetprep/ReportLogCollector.class
ReportLogCollector.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.ReportLogCollector extends java.lang.Object implements com.android.tradefed.targetprep.ITargetCleaner {
private String mSrcDir
private String mDestDir
private String mTempReportFolder
public void <init> ()
public void setUp (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
private void prepareReportLogContainers (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo)
java.io.File resultDir
java.io.FileNotFoundException fnfe
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
public void tearDown (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo, java.lang.Throwable)
java.io.File resultDir
java.io.File hostReportDir
String resultPath
Exception exception
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
Throwable e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
}
com/android/compatibility/common/tradefed/targetprep/ResultFilePuller.class
ResultFilePuller.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.ResultFilePuller extends java.lang.Object implements com.android.tradefed.targetprep.ITargetCleaner {
private boolean mClearSrc
private java.util.List mSrcFiles
private java.util.List mSrcDirs
private String mDestDir
public void <init> ()
public void setUp (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String file
String dir
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
private void delete (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String file
public void tearDown (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo, java.lang.Throwable) throws com.android.tradefed.device.DeviceNotAvailableException
String file
String dir
java.io.File resultDir
String resultPath
java.io.FileNotFoundException fnfe
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
Throwable e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
private void pull (com.android.tradefed.device.ITestDevice, java.lang.String, java.lang.String)
Process p
Exception e
com.android.tradefed.device.ITestDevice device
String src
String dest
String command
}
com/android/compatibility/common/tradefed/targetprep/SettingsPreparer.class
SettingsPreparer.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.SettingsPreparer extends com.android.compatibility.common.tradefed.targetprep.PreconditionPreparer {
protected String mSettingName
protected com.android.compatibility.common.tradefed.targetprep.SettingsPreparer$SettingType mSettingType
protected String mSetValue
protected java.util.List mExpectedSettingValues
protected String mFailureMessage
public void <init> ()
public void run (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String currentSettingValue
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
String shellCmdGet
String shellCmdPut
String currentSettingValue
}
com/android/compatibility/common/tradefed/targetprep/SettingsPreparer$SettingType.class
SettingsPreparer.java
package com.android.compatibility.common.tradefed.targetprep
public final enum com.android.compatibility.common.tradefed.targetprep.SettingsPreparer$SettingType extends java.lang.Enum {
public static final enum com.android.compatibility.common.tradefed.targetprep.SettingsPreparer$SettingType SECURE
public static final enum com.android.compatibility.common.tradefed.targetprep.SettingsPreparer$SettingType GLOBAL
public static final enum com.android.compatibility.common.tradefed.targetprep.SettingsPreparer$SettingType SYSTEM
private static final synthetic com.android.compatibility.common.tradefed.targetprep.SettingsPreparer$SettingType[] $VALUES
public static com.android.compatibility.common.tradefed.targetprep.SettingsPreparer$SettingType[] values ()
public static com.android.compatibility.common.tradefed.targetprep.SettingsPreparer$SettingType valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
static void <clinit> ()
}
com/android/compatibility/common/tradefed/targetprep/StayAwakePreparer.class
StayAwakePreparer.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.StayAwakePreparer extends com.android.compatibility.common.tradefed.targetprep.SettingsPreparer {
private static final String STAY_AWAKE_SETTING
private static final String[] STAY_AWAKE_VALUES
private static final String DEFAULT_VALUE
public void <init> ()
public void run (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String value
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
static void <clinit> ()
}
com/android/compatibility/common/tradefed/targetprep/TokenRequirement.class
TokenRequirement.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.TokenRequirement extends java.lang.Object implements com.android.tradefed.targetprep.ITargetPreparer {
private java.util.Set mTokens
public void <init> ()
public void setUp (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
public java.util.Set getTokens ()
}
com/android/compatibility/common/tradefed/targetprep/WifiCheck.class
WifiCheck.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.WifiCheck extends com.android.compatibility.common.tradefed.targetprep.PreconditionPreparer {
private static final String WIFI_FEATURE
protected String mWifiSsid
protected String mWifiPsk
public void <init> ()
private boolean hasWifiFeature (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String pmFeatures
public void run (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
}
com/android/compatibility/common/tradefed/testtype/BusinessLogicHostTestBase.class
BusinessLogicHostTestBase.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.BusinessLogicHostTestBase extends com.android.compatibility.common.tradefed.testtype.CompatibilityHostTestBase {
private static final String PARAM_START
public org.junit.rules.TestName mTestCase
private static com.android.compatibility.common.util.BusinessLogic mBusinessLogic
public void <init> ()
public void executeBusinessLogic ()
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper helper
java.io.File businessLogicFile
com.android.compatibility.common.util.BusinessLogicExecutor executor
String methodName
String testName
}
com/android/compatibility/common/tradefed/testtype/CompatibilityHostTestBase.class
CompatibilityHostTestBase.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.CompatibilityHostTestBase extends java.lang.Object implements com.android.tradefed.testtype.IAbiReceiver com.android.tradefed.testtype.IBuildReceiver com.android.tradefed.testtype.IDeviceTest {
protected static final String AJUR
protected com.android.tradefed.build.IBuildInfo mBuild
protected com.android.tradefed.testtype.IAbi mAbi
protected com.android.tradefed.device.ITestDevice mDevice
private String mRunner
public void <init> ()
public void setAbi (com.android.tradefed.testtype.IAbi)
com.android.tradefed.testtype.IAbi abi
public com.android.tradefed.testtype.IAbi getAbi ()
public void setBuild (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public com.android.tradefed.device.ITestDevice getDevice ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public void baseSetUp () throws java.lang.Exception
protected void setRunner (java.lang.String)
String runner
protected java.lang.String getRunner ()
protected transient void installPackage (java.lang.String, java.lang.String[]) throws java.io.FileNotFoundException com.android.tradefed.device.DeviceNotAvailableException
String fileName
String[] options
java.util.List optList
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
java.io.File testFile
String installResult
protected java.lang.String uninstallPackage (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String pkgName
protected boolean isPackageInstalled (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String installedPackage
String pkg
private void printTestResult (com.android.ddmlib.testrunner.TestRunResult)
com.android.ddmlib.testrunner.TestResult testResult
com.android.ddmlib.testrunner.TestResult$TestStatus testStatus
java.util.Map$Entry testEntry
com.android.ddmlib.testrunner.TestRunResult runResult
protected boolean runDeviceTests (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String pkgName
String testClassName
protected boolean runDeviceTests (java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String pkgName
String testClassName
String testMethodName
com.android.ddmlib.testrunner.TestRunResult runResult
private com.android.ddmlib.testrunner.TestRunResult doRunTests (java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String pkgName
String testClassName
String testMethodName
com.android.ddmlib.testrunner.RemoteAndroidTestRunner testRunner
com.android.tradefed.result.CollectingTestListener listener
}
com/android/compatibility/common/tradefed/testtype/CompatibilityTest.class
CompatibilityTest.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.CompatibilityTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IShardableTest com.android.tradefed.testtype.IBuildReceiver com.android.tradefed.testtype.IStrictShardableTest com.android.tradefed.suite.checker.ISystemStatusCheckerReceiver com.android.tradefed.testtype.ITestCollector com.android.tradefed.testtype.IInvocationContextReceiver {
public static final String INCLUDE_FILTER_OPTION
public static final String EXCLUDE_FILTER_OPTION
public static final String SUBPLAN_OPTION
public static final String MODULE_OPTION
public static final String TEST_OPTION
public static final String PRECONDITION_ARG_OPTION
public static final String MODULE_ARG_OPTION
public static final String TEST_ARG_OPTION
public static final char TEST_OPTION_SHORT_NAME
public static final String RETRY_OPTION
public static final String RETRY_TYPE_OPTION
public static final String ABI_OPTION
public static final String SHARD_OPTION
public static final String SKIP_DEVICE_INFO_OPTION
public static final String SKIP_PRECONDITIONS_OPTION
public static final String SKIP_HOST_ARCH_CHECK
public static final String PRIMARY_ABI_RUN
public static final String DEVICE_TOKEN_OPTION
public static final String LOGCAT_ON_FAILURE_SIZE_OPTION
private static final int NUM_PREP_ATTEMPTS
private static final int MINUTES_PER_PREP_ATTEMPT
private String mSubPlan
private java.util.Set mIncludeFilters
private java.util.Set mExcludeFilters
private String mModuleName
private String mTestName
private java.util.List mPreconditionArgs
private java.util.List mModuleArgs
private java.util.List mTestArgs
private Integer mRetrySessionId
private com.android.compatibility.common.tradefed.util.RetryType mRetryType
private String mAbiName
private int mShards
private boolean mSkipDeviceInfo
private boolean mSkipHostArchCheck
private boolean mSkipPreconditions
private boolean mPrimaryAbiRun
private java.util.List mDeviceTokens
private boolean mBugReportOnFailure
private boolean mLogcatOnFailure
private int mMaxLogcatBytes
private boolean mScreenshotOnFailure
private boolean mRebootBeforeTest
private boolean mRebootOnFailure
private boolean mRebootPerModule
private boolean mSkipConnectivityCheck
private java.util.Set mPreparerWhitelist
private boolean mSkipAllSystemStatusCheck
private java.util.Set mSystemStatusCheckBlacklist
private java.util.Set mSystemStatusCheckWhitelist
private java.util.List mListCheckers
private Boolean mCollectTestsOnly
private com.android.tradefed.util.MultiMap mModuleMetadataIncludeFilter
private com.android.tradefed.util.MultiMap mModuleMetadataExcludeFilter
private int mTotalShards
private Integer mShardIndex
private com.android.compatibility.common.tradefed.testtype.IModuleRepo mModuleRepo
private com.android.tradefed.device.ITestDevice mDevice
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
private static java.util.concurrent.CountDownLatch sPreparedLatch
private boolean mIsLocalSharding
private boolean mIsSharded
private com.android.tradefed.invoker.IInvocationContext mInvocationContext
public void <init> ()
public void <init> (int, com.android.compatibility.common.tradefed.testtype.IModuleRepo, java.lang.Integer)
int totalShards
com.android.compatibility.common.tradefed.testtype.IModuleRepo moduleRepo
Integer shardIndex
public com.android.tradefed.device.ITestDevice getDevice ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public void setBuild (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.suite.checker.ISystemStatusChecker checker
int uniqueModuleCount
String clazz
com.android.compatibility.common.tradefed.testtype.IModuleDef module
int i
int attempt
InterruptedException e
java.io.ByteArrayOutputStream stack
com.android.tradefed.device.DeviceUnresponsiveException due
com.android.compatibility.common.tradefed.testtype.IModuleDef module
long start
com.android.tradefed.invoker.IInvocationContext moduleContext
long duration
long expected
long delta
java.util.List checkers
java.util.LinkedList modules
int moduleCount
boolean isPrepared
java.io.FileNotFoundException fnfe
com.android.tradefed.result.ITestInvocationListener listener
protected java.util.LinkedList initializeModuleRepo () throws com.android.tradefed.device.DeviceNotAvailableException java.io.FileNotFoundException
int count
java.util.Set getAbis () throws com.android.tradefed.device.DeviceNotAvailableException
String abi
java.util.List deviceAbis
java.util.Set abis
java.util.Set archAbis
protected java.util.Set getAbisForBuildTargetArch ()
protected void checkSystemStatusBlackAndWhiteList ()
com.android.tradefed.config.ConfigurationException ex
ClassNotFoundException e
String checker
com.android.tradefed.config.ConfigurationException ex
ClassNotFoundException e
String checker
private boolean shouldIncludeSystemStatusChecker (com.android.tradefed.suite.checker.ISystemStatusChecker)
com.android.tradefed.suite.checker.ISystemStatusChecker s
String clazz
boolean shouldInclude
boolean shouldExclude
void runPreModuleCheck (java.lang.String, java.util.List, com.android.tradefed.device.ITestDevice, com.android.tradefed.log.ITestLogger) throws com.android.tradefed.device.DeviceNotAvailableException
boolean result
com.android.tradefed.suite.checker.ISystemStatusChecker checker
com.android.tradefed.result.InputStreamSource bugSource
String moduleName
java.util.List checkers
com.android.tradefed.device.ITestDevice device
com.android.tradefed.log.ITestLogger logger
java.util.List failures
void runPostModuleCheck (java.lang.String, java.util.List, com.android.tradefed.device.ITestDevice, com.android.tradefed.log.ITestLogger) throws com.android.tradefed.device.DeviceNotAvailableException
boolean result
com.android.tradefed.suite.checker.ISystemStatusChecker checker
com.android.tradefed.result.InputStreamSource bugSource
String moduleName
java.util.List checkers
com.android.tradefed.device.ITestDevice device
com.android.tradefed.log.ITestLogger logger
java.util.List failures
void loadRetryCommandLineArgs (java.lang.Integer)
java.io.FileNotFoundException e
Integer sessionId
com.android.compatibility.common.util.IInvocationResult result
String retryCommandLineArgs
void setupFilters () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.compatibility.common.tradefed.util.RetryFilterHelper helper
com.android.compatibility.common.tradefed.testtype.ISubPlan subPlan
String module
java.util.List modules
java.io.FileNotFoundException e
private static void cleanFilters (java.util.Set, java.lang.String)
String filter
java.util.Set filters
String module
java.util.Set cleanedFilters
public java.util.Collection split ()
com.android.compatibility.common.tradefed.testtype.CompatibilityTest test
int i
java.util.List shardQueue
public java.util.Collection split (int)
com.android.compatibility.common.tradefed.testtype.CompatibilityTest test
int i
int shardCount
java.util.List shardQueue
public com.android.tradefed.testtype.IRemoteTest getTestShard (int, int)
int shardCount
int shardIndex
com.android.compatibility.common.tradefed.testtype.CompatibilityTest test
public void setSystemStatusChecker (java.util.List)
java.util.List systemCheckers
public void setCollectTestsOnly (boolean)
boolean collectTestsOnly
public void setIncludeFilter (java.util.Set)
java.util.Set includeFilters
public void setExcludeFilter (java.util.Set)
java.util.Set excludeFilters
public void setInvocationContext (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext invocationContext
protected java.util.Set getIncludeFilters ()
protected java.util.Set getExcludeFilters ()
protected java.util.List getModuleArgs ()
protected java.util.List getTestArgs ()
protected java.util.List getDeviceTokens ()
protected com.android.tradefed.util.MultiMap getModuleMetadataIncludeFilter ()
protected com.android.tradefed.util.MultiMap getModuleMetadataExcludeFilter ()
protected int getTotalShards ()
protected java.lang.Integer getShardIndex ()
protected com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper getBuildHelper ()
protected com.android.tradefed.invoker.IInvocationContext getInvocationContext ()
protected com.android.compatibility.common.tradefed.testtype.IModuleRepo getModuleRepo ()
}
com/android/compatibility/common/tradefed/testtype/FailureListener.class
FailureListener.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.FailureListener extends com.android.tradefed.result.ResultForwarder {
private static final int DEFAULT_MAX_LOGCAT_BYTES
public static final int LOGCAT_BYTE_LIMIT
private com.android.tradefed.device.ITestDevice mDevice
private boolean mBugReportOnFailure
private boolean mLogcatOnFailure
private boolean mScreenshotOnFailure
private boolean mRebootOnFailure
private int mMaxLogcatBytes
public void <init> (com.android.tradefed.result.ITestInvocationListener, com.android.tradefed.device.ITestDevice, boolean, boolean, boolean, boolean, int)
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.device.ITestDevice device
boolean bugReportOnFailure
boolean logcatOnFailure
boolean screenshotOnFailure
boolean rebootOnFailure
int maxLogcatBytes
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.tradefed.result.InputStreamSource screenSource
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.result.InputStreamSource bugSource
com.android.tradefed.result.InputStreamSource logSource
com.android.tradefed.device.DeviceNotAvailableException e
com.android.ddmlib.testrunner.TestIdentifier test
String trace
}
com/android/compatibility/common/tradefed/testtype/IModuleDef.class
IModuleDef.java
package com.android.compatibility.common.tradefed.testtype
public abstract com.android.compatibility.common.tradefed.testtype.IModuleDef extends java.lang.Object implements java.lang.Comparable com.android.tradefed.testtype.IBuildReceiver com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IRemoteTest com.android.tradefed.testtype.IRuntimeHintProvider com.android.tradefed.testtype.ITestCollector {
public static final String MODULE_NAME
public static final String MODULE_ABI
public abstract java.lang.String getName ()
public abstract java.lang.String getId ()
public abstract com.android.tradefed.testtype.IAbi getAbi ()
public abstract java.util.Set getTokens ()
public abstract com.android.tradefed.testtype.IRemoteTest getTest ()
public abstract void setPreparerWhitelist (java.util.Set)
public abstract boolean prepare (boolean, java.util.List) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.tradefed.config.ConfigurationDescriptor getConfigurationDescriptor ()
}
com/android/compatibility/common/tradefed/testtype/IModuleRepo.class
IModuleRepo.java
package com.android.compatibility.common.tradefed.testtype
public abstract com.android.compatibility.common.tradefed.testtype.IModuleRepo extends java.lang.Object {
public abstract boolean isInitialized ()
public abstract void initialize (int, java.lang.Integer, java.io.File, java.util.Set, java.util.List, java.util.List, java.util.List, java.util.Set, java.util.Set, com.android.tradefed.util.MultiMap, com.android.tradefed.util.MultiMap, com.android.tradefed.build.IBuildInfo)
public abstract java.util.LinkedList getModules (java.lang.String, int)
public abstract int getNumberOfShards ()
public abstract java.util.List getNonTokenModules ()
public abstract java.util.List getTokenModules ()
public abstract java.lang.String[] getModuleIds ()
public abstract void tearDown ()
}
com/android/compatibility/common/tradefed/testtype/ISubPlan.class
ISubPlan.java
package com.android.compatibility.common.tradefed.testtype
public abstract com.android.compatibility.common.tradefed.testtype.ISubPlan extends java.lang.Object implements com.android.tradefed.testtype.ITestFilterReceiver {
public abstract void parse (java.io.InputStream) throws com.android.tradefed.util.xml.AbstractXmlParser$ParseException
public abstract java.util.Set getIncludeFilters ()
public abstract java.util.Set getExcludeFilters ()
public abstract void serialize (java.io.OutputStream) throws java.io.IOException
}
com/android/compatibility/common/tradefed/testtype/JarHostTest.class
JarHostTest.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.JarHostTest extends com.android.tradefed.testtype.HostTest {
private java.util.Set mJars
public void <init> ()
protected com.android.tradefed.testtype.HostTest createHostTest (java.lang.Class)
Class classObj
com.android.compatibility.common.tradefed.testtype.JarHostTest test
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper createBuildHelper (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
protected java.util.List getClasses () throws java.lang.IllegalArgumentException
Class cls
int modifiers
ClassNotFoundException cnfe
java.util.jar.JarEntry je
String className
java.io.File file
java.util.Enumeration e
java.net.URL[] urls
java.net.URLClassLoader cl
java.io.IOException e
java.util.jar.JarFile jarFile
String jarName
java.util.List classes
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper helper
private static java.lang.String getClassName (java.lang.String)
String name
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
int numTests
long startTime
}
com/android/compatibility/common/tradefed/testtype/JarHostTest$HostTestListener.class
JarHostTest.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.JarHostTest$HostTestListener extends com.android.tradefed.result.ResultForwarder {
final synthetic com.android.compatibility.common.tradefed.testtype.JarHostTest this$0
public void <init> (com.android.compatibility.common.tradefed.testtype.JarHostTest, com.android.tradefed.result.ITestInvocationListener)
com.android.compatibility.common.tradefed.testtype.JarHostTest this$0
com.android.tradefed.result.ITestInvocationListener listener
public void testRunStarted (java.lang.String, int)
String name
int numTests
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map metrics
}
com/android/compatibility/common/tradefed/testtype/ModuleDef.class
ModuleDef.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.ModuleDef extends java.lang.Object implements com.android.compatibility.common.tradefed.testtype.IModuleDef {
private final String mId
private final String mName
private final com.android.tradefed.testtype.IAbi mAbi
private final java.util.Set mTokens
private com.android.tradefed.testtype.IRemoteTest mTest
private java.util.List mDynamicConfigPreparers
private java.util.List mPreconditions
private java.util.List mPreparers
private java.util.List mCleaners
private com.android.tradefed.build.IBuildInfo mBuild
private com.android.tradefed.device.ITestDevice mDevice
private java.util.Set mPreparerWhitelist
private com.android.tradefed.config.ConfigurationDescriptor mConfigurationDescriptor
public void <init> (java.lang.String, com.android.tradefed.testtype.IAbi, com.android.tradefed.testtype.IRemoteTest, java.util.List, com.android.tradefed.config.ConfigurationDescriptor)
String name
com.android.tradefed.testtype.IAbi abi
com.android.tradefed.testtype.IRemoteTest test
java.util.List preparers
com.android.tradefed.config.ConfigurationDescriptor configurationDescriptor
protected void initializePrepareLists (java.util.List) throws java.lang.IllegalArgumentException
com.android.tradefed.targetprep.ITargetPreparer preparer
java.util.List preparers
boolean hasAbiReceiver
protected void checkRequiredInterfaces (boolean) throws java.lang.IllegalArgumentException
boolean hasAbiReceiver
public java.lang.String toString ()
public java.lang.String getId ()
public java.lang.String getName ()
protected java.util.Set getPreparerWhitelist ()
public com.android.tradefed.testtype.IAbi getAbi ()
public java.util.Set getTokens ()
public long getRuntimeHint ()
public com.android.tradefed.testtype.IRemoteTest getTest ()
public void setPreparerWhitelist (java.util.Set)
java.util.Set preparerWhitelist
public int compareTo (com.android.compatibility.common.tradefed.testtype.IModuleDef)
com.android.compatibility.common.tradefed.testtype.IModuleDef moduleDef
public void setBuild (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo build
public com.android.tradefed.device.ITestDevice getDevice ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
com.android.compatibility.common.tradefed.result.IModuleListener moduleListener
com.android.compatibility.common.tradefed.testtype.ModuleDef$ModuleFinisher moduleFinisher
protected void runPreparerTeardowns () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.targetprep.ITargetCleaner cleaner
protected void runPreparerSetups () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.targetprep.ITargetPreparer preparer
com.android.tradefed.targetprep.ITargetPreparer preparer
protected void prepareTestClass ()
public boolean prepare (boolean, java.util.List) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.targetprep.ITargetPreparer preparer
String preconditionArg
RuntimeException e
com.android.tradefed.targetprep.ITargetPreparer preparer
boolean skipPrep
java.util.List preconditionArgs
private void runPreparerSetup (com.android.tradefed.targetprep.ITargetPreparer) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.targetprep.BuildError e
com.android.tradefed.targetprep.TargetSetupError e
com.android.tradefed.targetprep.ITargetPreparer preparer
String preparerName
private void setOption (java.lang.Object, java.lang.String, java.lang.String)
com.android.tradefed.config.OptionSetter setter
com.android.tradefed.config.ConfigurationException e
Object target
String option
String value
public void setCollectTestsOnly (boolean)
boolean collectTestsOnly
public com.android.tradefed.config.ConfigurationDescriptor getConfigurationDescriptor ()
public volatile synthetic int compareTo (java.lang.Object)
static synthetic java.lang.String access$000 (com.android.compatibility.common.tradefed.testtype.ModuleDef)
com.android.compatibility.common.tradefed.testtype.ModuleDef x0
}
com/android/compatibility/common/tradefed/testtype/ModuleDef$ModuleFinisher.class
ModuleDef.java
package com.android.compatibility.common.tradefed.testtype
com.android.compatibility.common.tradefed.testtype.ModuleDef$ModuleFinisher extends com.android.tradefed.result.ResultForwarder {
private boolean mFinished
private com.android.tradefed.result.ITestInvocationListener mListener
final synthetic com.android.compatibility.common.tradefed.testtype.ModuleDef this$0
public void <init> (com.android.compatibility.common.tradefed.testtype.ModuleDef, com.android.tradefed.result.ITestInvocationListener)
com.android.tradefed.result.ITestInvocationListener listener
public void testRunStarted (java.lang.String, int)
String name
int numTests
public void finish ()
}
com/android/compatibility/common/tradefed/testtype/ModuleRepo$1.class
ModuleRepo.java
package com.android.compatibility.common.tradefed.testtype
synthetic com.android.compatibility.common.tradefed.testtype.ModuleRepo$1 extends java.lang.Object {
}
com/android/compatibility/common/tradefed/testtype/ModuleRepo.class
ModuleRepo.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.ModuleRepo extends java.lang.Object implements com.android.compatibility.common.tradefed.testtype.IModuleRepo {
private static final String CONFIG_EXT
private static final java.util.Map ENDING_MODULES
private int mInitCount
private java.util.Set mTokenModuleScheduled
private static Object lock
private int mTotalShards
private Integer mShardIndex
private java.util.Map mDeviceTokens
private java.util.Map mTestArgs
private java.util.Map mModuleArgs
private boolean mIncludeAll
private java.util.Map mIncludeFilters
private java.util.Map mExcludeFilters
private com.android.tradefed.config.IConfigurationFactory mConfigFactory
private volatile boolean mInitialized
private java.util.List mTokenModules
private java.util.List mNonTokenModules
public void <init> ()
public int getNumberOfShards ()
protected java.util.Map getDeviceTokens ()
public java.util.List getNonTokenModules ()
public java.util.List getTokenModules ()
public java.lang.String[] getModuleIds ()
com.android.compatibility.common.tradefed.testtype.IModuleDef moduleDef
com.android.compatibility.common.tradefed.testtype.IModuleDef moduleDef
java.util.Set moduleIdSet
public boolean isInitialized ()
public void initialize (int, java.lang.Integer, java.io.File, java.util.Set, java.util.List, java.util.List, java.util.List, java.util.Set, java.util.Set, com.android.tradefed.util.MultiMap, com.android.tradefed.util.MultiMap, com.android.tradefed.build.IBuildInfo)
String key
String value
java.util.Set list
String[] parts
String line
com.android.tradefed.testtype.IRemoteTest test
com.android.tradefed.testtype.IRemoteTest test
String id
com.android.tradefed.config.IConfiguration config
java.util.Map args
java.util.List tests
java.util.List shardedTests
com.android.tradefed.testtype.IAbi abi
com.android.tradefed.config.ConfigurationException e
String name
String[] pathArg
java.io.File configFile
int totalShards
Integer shardIndex
java.io.File testsDir
java.util.Set abis
java.util.List deviceTokens
java.util.List testArgs
java.util.List moduleArgs
java.util.Set includeFilters
java.util.Set excludeFilters
com.android.tradefed.util.MultiMap metadataIncludeFilters
com.android.tradefed.util.MultiMap metadataExcludeFilters
com.android.tradefed.build.IBuildInfo buildInfo
java.io.File[] configFiles
java.util.Map shardedTestCounts
protected void prepareTestClass (java.lang.String, com.android.tradefed.testtype.IAbi, com.android.tradefed.config.IConfiguration, com.android.tradefed.testtype.IRemoteTest) throws com.android.tradefed.config.ConfigurationException
String name
com.android.tradefed.testtype.IAbi abi
com.android.tradefed.config.IConfiguration config
com.android.tradefed.testtype.IRemoteTest test
String className
java.util.Map testArgsMap
void injectOptionsToConfig (java.util.Map, com.android.tradefed.config.IConfiguration) throws com.android.tradefed.config.ConfigurationException
String key
String value
String entryName
String entryValue
java.util.Map$Entry entry
java.util.Map optionMap
com.android.tradefed.config.IConfiguration config
private java.util.List splitShardableTests (java.util.List, com.android.tradefed.build.IBuildInfo)
int i
com.android.tradefed.testtype.IRemoteTest test
java.util.List tests
com.android.tradefed.build.IBuildInfo buildInfo
java.util.ArrayList shardedList
private void addFilters (java.util.Set, java.util.Map, java.util.Set)
com.android.tradefed.testtype.IAbi a
com.android.compatibility.common.util.TestFilter filter
String abi
String filterString
java.util.Set stringFilters
java.util.Map filters
java.util.Set abis
private void addFilter (java.lang.String, com.android.compatibility.common.util.TestFilter, java.util.Map)
String abi
com.android.compatibility.common.util.TestFilter filter
java.util.Map filters
private java.util.List getFilter (java.util.Map, java.lang.String)
java.util.Map filters
String id
java.util.List fs
protected void addModuleDef (java.lang.String, com.android.tradefed.testtype.IAbi, com.android.tradefed.testtype.IRemoteTest, java.lang.String[]) throws com.android.tradefed.config.ConfigurationException
String name
com.android.tradefed.testtype.IAbi abi
com.android.tradefed.testtype.IRemoteTest test
String[] configPaths
com.android.tradefed.config.IConfiguration config
protected void addModuleDef (com.android.compatibility.common.tradefed.testtype.IModuleDef)
com.android.compatibility.common.tradefed.testtype.IModuleDef moduleDef
java.util.Set tokens
private void addFiltersToTest (com.android.tradefed.testtype.IRemoteTest, com.android.tradefed.testtype.IAbi, java.lang.String)
com.android.tradefed.testtype.IRemoteTest test
com.android.tradefed.testtype.IAbi abi
String name
String moduleId
java.util.List mdIncludes
java.util.List mdExcludes
protected boolean filterByConfigMetadata (com.android.tradefed.config.IConfiguration, com.android.tradefed.util.MultiMap, com.android.tradefed.util.MultiMap)
java.util.Set filters
String key
java.util.Set filters
String key
com.android.tradefed.config.IConfiguration config
com.android.tradefed.util.MultiMap include
com.android.tradefed.util.MultiMap exclude
com.android.tradefed.util.MultiMap metadata
boolean shouldInclude
private boolean shouldRunModule (java.lang.String)
String moduleId
java.util.List mdIncludes
java.util.List mdExcludes
private void addTestIncludes (com.android.tradefed.testtype.ITestFilterReceiver, java.util.List, java.lang.String)
java.io.File includeFile
String filterTestName
com.android.compatibility.common.util.TestFilter include
com.android.tradefed.testtype.ITestFilterReceiver test
java.util.List includes
String name
private void addTestExcludes (com.android.tradefed.testtype.ITestFilterReceiver, java.util.List, java.lang.String)
java.io.File excludeFile
com.android.compatibility.common.util.TestFilter exclude
com.android.tradefed.testtype.ITestFilterReceiver test
java.util.List excludes
String name
private java.io.File createFilterFile (java.lang.String, java.lang.String, java.util.List)
String filterTest
com.android.compatibility.common.util.TestFilter filter
java.io.IOException e
String prefix
String suffix
java.util.List filters
java.io.File filterFile
java.io.PrintWriter out
private boolean containsModuleExclude (java.util.Collection)
com.android.compatibility.common.util.TestFilter exclude
java.util.Collection excludes
public java.util.LinkedList getModules (java.lang.String, int)
com.android.compatibility.common.tradefed.testtype.IModuleDef def
com.android.compatibility.common.tradefed.testtype.IModuleDef def
java.util.Set tokens
String serial
int shardIndex
java.util.List modules
long estimatedTime
int uniqueCount
java.util.LinkedList tests
protected java.util.List getShard (java.util.List, int, int)
java.util.List fullList
int shardIndex
int totalShard
java.util.List res
public static java.util.List getModuleNamesMatching (java.io.File, java.lang.String)
String module
int index
String name
java.io.File directory
String pattern
String[] names
java.util.List modules
private static void putArgs (java.util.List, java.util.Map)
String value
String[] parts
String target
String name
String value
java.util.Map map
java.util.List valueList
String arg
java.util.List args
java.util.Map argsMap
public void tearDown ()
protected com.android.tradefed.config.IConfigurationFactory getConfigFactory ()
static synthetic java.util.Map access$100 ()
static void <clinit> ()
}
com/android/compatibility/common/tradefed/testtype/ModuleRepo$ConfigFilter.class
ModuleRepo.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.ModuleRepo$ConfigFilter extends java.lang.Object implements java.io.FilenameFilter {
public void <init> ()
public boolean accept (java.io.File, java.lang.String)
java.io.File dir
String name
}
com/android/compatibility/common/tradefed/testtype/ModuleRepo$ExecutionOrderComparator.class
ModuleRepo.java
package com.android.compatibility.common.tradefed.testtype
com.android.compatibility.common.tradefed.testtype.ModuleRepo$ExecutionOrderComparator extends java.lang.Object implements java.util.Comparator {
private void <init> ()
public int compare (com.android.compatibility.common.tradefed.testtype.IModuleDef, com.android.compatibility.common.tradefed.testtype.IModuleDef)
int time
com.android.compatibility.common.tradefed.testtype.IModuleDef def1
com.android.compatibility.common.tradefed.testtype.IModuleDef def2
int value1
int value2
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
synthetic void <init> (com.android.compatibility.common.tradefed.testtype.ModuleRepo$1)
com.android.compatibility.common.tradefed.testtype.ModuleRepo$1 x0
}
com/android/compatibility/common/tradefed/testtype/ModuleRepo$NameFilter.class
ModuleRepo.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.ModuleRepo$NameFilter extends java.lang.Object implements java.io.FilenameFilter {
private String mPattern
public void <init> (java.lang.String)
String pattern
public boolean accept (java.io.File, java.lang.String)
java.io.File dir
String name
}
com/android/compatibility/common/tradefed/testtype/retry/RetryFactoryTest.class
RetryFactoryTest.java
package com.android.compatibility.common.tradefed.testtype.retry
public com.android.compatibility.common.tradefed.testtype.retry.RetryFactoryTest extends java.lang.Object implements com.android.tradefed.testtype.IRemoteTest com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IBuildReceiver com.android.tradefed.suite.checker.ISystemStatusCheckerReceiver com.android.tradefed.testtype.IInvocationContextReceiver {
public static final String RETRY_OPTION
private Integer mRetrySessionId
protected String mSubPlan
protected java.util.Set mIncludeFilters
protected java.util.Set mExcludeFilters
protected String mAbiName
protected String mModuleName
protected String mTestName
protected com.android.compatibility.common.tradefed.util.RetryType mRetryType
private java.util.List mStatusCheckers
private com.android.tradefed.build.IBuildInfo mBuildInfo
private com.android.tradefed.device.ITestDevice mDevice
private com.android.tradefed.invoker.IInvocationContext mContext
public void <init> ()
public void setSystemStatusChecker (java.util.List)
java.util.List systemCheckers
public void setBuild (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public com.android.tradefed.device.ITestDevice getDevice ()
public void setInvocationContext (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext invocationContext
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.config.OptionSetter setter
com.android.tradefed.config.ConfigurationException e
com.android.tradefed.result.ITestInvocationListener listener
com.android.compatibility.common.tradefed.testtype.CompatibilityTest test
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
com.android.compatibility.common.tradefed.util.RetryFilterHelper helper
com.android.compatibility.common.tradefed.util.RetryFilterHelper createFilterHelper (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper)
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
com.android.compatibility.common.tradefed.testtype.CompatibilityTest createTest ()
}
com/android/compatibility/common/tradefed/testtype/SubPlan$1.class
SubPlan.java
package com.android.compatibility.common.tradefed.testtype
synthetic com.android.compatibility.common.tradefed.testtype.SubPlan$1 extends java.lang.Object {
}
com/android/compatibility/common/tradefed/testtype/SubPlan.class
SubPlan.java
package com.android.compatibility.common.tradefed.testtype
public com.android.compatibility.common.tradefed.testtype.SubPlan extends com.android.tradefed.util.xml.AbstractXmlParser implements com.android.compatibility.common.tradefed.testtype.ISubPlan {
private final java.util.Set mIncludes
private final java.util.Set mExcludes
private static final String ENCODING
private static final String NS
private static final String VERSION_ATTR
private static final String SUBPLAN_VERSION
private static final String SUBPLAN_TAG
private static final String ENTRY_TAG
private static final String EXCLUDE_ATTR
private static final String INCLUDE_ATTR
private static final String ABI_ATTR
private static final String NAME_ATTR
public void <init> ()
public void addIncludeFilter (java.lang.String)
String filter
public void addAllIncludeFilters (java.util.Set)
java.util.Set filters
public void addExcludeFilter (java.lang.String)
String filter
public void addAllExcludeFilters (java.util.Set)
java.util.Set filters
public java.util.Set getIncludeFilters ()
public java.util.Set getExcludeFilters ()
public void serialize (java.io.OutputStream) throws java.io.IOException
String include
String exclude
java.io.OutputStream stream
org.kxml2.io.KXmlSerializer serializer
java.util.ArrayList sortedIncludes
java.util.ArrayList sortedExcludes
protected org.xml.sax.helpers.DefaultHandler createXmlHandler ()
static synthetic java.util.Set access$100 (com.android.compatibility.common.tradefed.testtype.SubPlan)
com.android.compatibility.common.tradefed.testtype.SubPlan x0
static synthetic java.util.Set access$200 (com.android.compatibility.common.tradefed.testtype.SubPlan)
com.android.compatibility.common.tradefed.testtype.SubPlan x0
static void <clinit> ()
}
com/android/compatibility/common/tradefed/testtype/SubPlan$EntryHandler.class
SubPlan.java
package com.android.compatibility.common.tradefed.testtype
com.android.compatibility.common.tradefed.testtype.SubPlan$EntryHandler extends org.xml.sax.helpers.DefaultHandler {
final synthetic com.android.compatibility.common.tradefed.testtype.SubPlan this$0
private void <init> (com.android.compatibility.common.tradefed.testtype.SubPlan)
public void startElement (java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) throws org.xml.sax.SAXException
String includeString
String excludeString
String abiString
String nameString
String uri
String localName
String name
org.xml.sax.Attributes attributes
private void parseFilter (java.lang.String, java.lang.String, java.lang.String, java.util.Set)
String abi
String name
String filter
java.util.Set filterSet
synthetic void <init> (com.android.compatibility.common.tradefed.testtype.SubPlan, com.android.compatibility.common.tradefed.testtype.SubPlan$1)
com.android.compatibility.common.tradefed.testtype.SubPlan x0
com.android.compatibility.common.tradefed.testtype.SubPlan$1 x1
}
com/android/compatibility/common/tradefed/testtype/suite/CompatibilityTestSuite.class
CompatibilityTestSuite.java
package com.android.compatibility.common.tradefed.testtype.suite
public com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite extends com.android.tradefed.testtype.suite.ITestSuite {
private static final String INCLUDE_FILTER_OPTION
private static final String EXCLUDE_FILTER_OPTION
private static final String SUBPLAN_OPTION
private static final String MODULE_OPTION
private static final String TEST_OPTION
private static final String MODULE_ARG_OPTION
private static final String TEST_ARG_OPTION
private static final String ABI_OPTION
private static final String SKIP_HOST_ARCH_CHECK
private static final String PRIMARY_ABI_RUN
private static final String PRODUCT_CPU_ABI_KEY
private String mSubPlan
private java.util.Set mIncludeFilters
private java.util.Set mExcludeFilters
private String mModuleName
private String mTestName
private java.util.List mModuleArgs
private java.util.List mTestArgs
private String mAbiName
private boolean mSkipHostArchCheck
private boolean mPrimaryAbiRun
private com.android.tradefed.util.MultiMap mModuleMetadataIncludeFilter
private com.android.tradefed.util.MultiMap mModuleMetadataExcludeFilter
private com.android.compatibility.common.tradefed.testtype.suite.ModuleRepoSuite mModuleRepo
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
public void <init> ()
public java.util.LinkedHashMap loadTests ()
java.util.Set abis
Exception e
public void setBuild (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
java.util.Set getAbis (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
String abi
java.util.List deviceAbis
com.android.tradefed.device.ITestDevice device
java.util.Set abis
java.util.Set archAbis
protected java.util.Set getAbisForBuildTargetArch ()
void setupFilters () throws java.io.FileNotFoundException
java.io.File subPlanFile
java.io.InputStream subPlanInputStream
com.android.compatibility.common.tradefed.testtype.ISubPlan subPlan
com.android.tradefed.util.xml.AbstractXmlParser$ParseException e
String moduleName
java.util.List modules
private static void checkFilters (java.util.Set, java.lang.String)
String filter
java.util.Set filters
String moduleName
java.util.Set cleanedFilters
}
com/android/compatibility/common/tradefed/testtype/suite/ModuleRepoSuite.class
ModuleRepoSuite.java
package com.android.compatibility.common.tradefed.testtype.suite
public com.android.compatibility.common.tradefed.testtype.suite.ModuleRepoSuite extends java.lang.Object {
private static final String CONFIG_EXT
private java.util.Map mTestArgs
private java.util.Map mModuleArgs
private boolean mIncludeAll
private java.util.Map mIncludeFilters
private java.util.Map mExcludeFilters
private com.android.tradefed.config.IConfigurationFactory mConfigFactory
public void <init> ()
public java.util.LinkedHashMap loadConfigs (java.io.File, java.util.Set, java.util.List, java.util.List, java.util.Set, java.util.Set, com.android.tradefed.util.MultiMap, com.android.tradefed.util.MultiMap)
String className
java.util.Map testArgsMap
com.android.tradefed.testtype.IRemoteTest test
com.android.tradefed.targetprep.ITargetPreparer preparer
String id
com.android.tradefed.config.IConfiguration config
java.util.Map args
java.util.List tests
java.util.List preparers
com.android.tradefed.testtype.IAbi abi
com.android.tradefed.config.ConfigurationException e
String name
String[] pathArg
java.io.File configFile
java.io.File testsDir
java.util.Set abis
java.util.List testArgs
java.util.List moduleArgs
java.util.Set includeFilters
java.util.Set excludeFilters
com.android.tradefed.util.MultiMap metadataIncludeFilters
com.android.tradefed.util.MultiMap metadataExcludeFilters
java.util.LinkedHashMap toRun
java.io.File[] configFiles
java.util.List listConfigFiles
void injectOptionsToConfig (java.util.Map, com.android.tradefed.config.IConfiguration) throws com.android.tradefed.config.ConfigurationException
String key
String value
String entryName
String entryValue
java.util.Map$Entry entry
java.util.Map optionMap
com.android.tradefed.config.IConfiguration config
protected boolean filterByConfigMetadata (com.android.tradefed.config.IConfiguration, com.android.tradefed.util.MultiMap, com.android.tradefed.util.MultiMap)
java.util.Set filters
String key
java.util.Set filters
String key
com.android.tradefed.config.IConfiguration config
com.android.tradefed.util.MultiMap include
com.android.tradefed.util.MultiMap exclude
com.android.tradefed.util.MultiMap metadata
boolean shouldInclude
private void addFilters (java.util.Set, java.util.Map, java.util.Set)
com.android.tradefed.testtype.IAbi a
com.android.compatibility.common.util.TestFilter filter
String abi
String filterString
java.util.Set stringFilters
java.util.Map filters
java.util.Set abis
private void addFilter (java.lang.String, com.android.compatibility.common.util.TestFilter, java.util.Map)
String abi
com.android.compatibility.common.util.TestFilter filter
java.util.Map filters
private java.util.List getFilterList (java.util.Map, java.lang.String)
java.util.Map filters
String id
java.util.List fs
private void addFiltersToTest (com.android.tradefed.testtype.IRemoteTest, com.android.tradefed.testtype.IAbi, java.lang.String)
com.android.tradefed.testtype.IRemoteTest test
com.android.tradefed.testtype.IAbi abi
String name
String moduleId
java.util.List mdIncludes
java.util.List mdExcludes
private boolean shouldRunModule (java.lang.String)
String moduleId
java.util.List mdIncludes
java.util.List mdExcludes
private void addTestIncludes (com.android.tradefed.testtype.ITestFilterReceiver, java.util.List, java.lang.String)
java.io.File includeFile
String filterTestName
com.android.compatibility.common.util.TestFilter include
com.android.tradefed.testtype.ITestFilterReceiver test
java.util.List includes
String name
private void addTestExcludes (com.android.tradefed.testtype.ITestFilterReceiver, java.util.List, java.lang.String)
java.io.File excludeFile
com.android.compatibility.common.util.TestFilter exclude
com.android.tradefed.testtype.ITestFilterReceiver test
java.util.List excludes
String name
private java.io.File createFilterFile (java.lang.String, java.lang.String, java.util.List)
String filterTest
com.android.compatibility.common.util.TestFilter filter
java.io.IOException e
String prefix
String suffix
java.util.List filters
java.io.File filterFile
java.io.PrintWriter out
private boolean containsModuleExclude (java.util.Collection)
com.android.compatibility.common.util.TestFilter exclude
java.util.Collection excludes
private static void putArgs (java.util.List, java.util.Map)
String[] parts
String target
String key
String value
java.util.Map map
java.util.List valueList
String arg
java.util.List args
java.util.Map argsMap
}
com/android/compatibility/common/tradefed/testtype/suite/ModuleRepoSuite$ConfigFilter.class
ModuleRepoSuite.java
package com.android.compatibility.common.tradefed.testtype.suite
public com.android.compatibility.common.tradefed.testtype.suite.ModuleRepoSuite$ConfigFilter extends java.lang.Object implements java.io.FilenameFilter {
public void <init> ()
public boolean accept (java.io.File, java.lang.String)
java.io.File dir
String name
}
com/android/compatibility/common/tradefed/util/CollectorUtil.class
CollectorUtil.java
package com.android.compatibility.common.tradefed.util
public com.android.compatibility.common.tradefed.util.CollectorUtil extends java.lang.Object {
private static final String ADB_LS_PATTERN
private static final String TEST_METRICS_PATTERN
private void <init> ()
public static void pullFromDevice (com.android.tradefed.device.ITestDevice, java.lang.String, java.lang.String)
String fileName
String srcPath
java.io.File destFile
String listCommand
String fileList
java.util.regex.Pattern p
java.util.regex.Matcher m
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.device.ITestDevice device
String src
String dest
public static void pullFromHost (java.io.File, java.io.File)
java.io.IOException e
java.io.File src
java.io.File dest
public static void reformatRepeatedStreams (java.io.File)
java.io.File reportLog
java.io.File[] reportLogs
java.io.IOException e
java.io.File resultDir
private static java.lang.String readFile (java.io.File) throws java.io.IOException
String line
java.io.BufferedReader reader
java.io.File file
StringBuilder stringBuilder
private static void writeFile (java.io.File, java.lang.String) throws java.io.IOException
java.io.BufferedWriter writer
java.io.File file
String jsonString
public static java.lang.String reformatJsonString (java.lang.String)
String key
String value
String stream
boolean firstValue
String key
String jsonString
StringBuilder newJsonBuilder
java.util.HashMap jsonMap
java.util.regex.Pattern p
java.util.regex.Matcher m
boolean firstLine
}
com/android/compatibility/common/tradefed/util/LinearPartition.class
LinearPartition.java
package com.android.compatibility.common.tradefed.util
public com.android.compatibility.common.tradefed.util.LinearPartition extends java.lang.Object {
public void <init> ()
public static java.util.List split (java.util.List, int)
java.util.ArrayList partition
java.util.ArrayList partition
com.android.compatibility.common.tradefed.testtype.IModuleDef value
int i
java.util.ArrayList partition
int i
java.util.List seq
int k
java.util.ArrayList result
int n
int[][] table
java.util.ArrayList partition
private static int[][] buildPartitionTable (java.util.List, int)
int i
int j
float cost
int x
int j
int i
java.util.List seq
int k
int n
float[][] table
int[][] solution
}
com/android/compatibility/common/tradefed/util/OptionHelper.class
OptionHelper.java
package com.android.compatibility.common.tradefed.util
public final com.android.compatibility.common.tradefed.util.OptionHelper extends java.lang.Object {
private void <init> ()
private static java.util.List getFields (java.lang.Object)
java.lang.reflect.Field declaredField
Object object
java.lang.reflect.Field[] classFields
java.util.List optionFields
static java.util.Set getOptionNames (java.lang.Object)
com.android.tradefed.config.Option option
java.lang.reflect.Field declaredField
Object object
java.util.Set options
java.util.List optionFields
static java.util.Set getOptionShortNames (java.lang.Object)
com.android.tradefed.config.Option option
java.lang.reflect.Field declaredField
Object object
java.util.Set shortNames
java.util.List optionFields
public static java.util.List getValidCliArgs (java.lang.String, java.lang.Object)
String token
java.util.regex.Pattern tokenPattern
java.util.regex.Matcher tokenMatcher
String optionInput
String[] keyNameTokens
String keyName
String commandString
Object object
java.util.Set optionNames
java.util.Set optionShortNames
java.util.List validCliArgs
String quoteMatching
String nonSpacedHypen
java.util.regex.Pattern cliPattern
java.util.regex.Matcher matcher
}
com/android/compatibility/common/tradefed/util/RetryFilterHelper.class
RetryFilterHelper.java
package com.android.compatibility.common.tradefed.util
public com.android.compatibility.common.tradefed.util.RetryFilterHelper extends java.lang.Object {
protected String mSubPlan
protected java.util.Set mIncludeFilters
protected java.util.Set mExcludeFilters
protected String mAbiName
protected String mModuleName
protected String mTestName
protected com.android.compatibility.common.tradefed.util.RetryType mRetryType
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuild
private int mSessionId
private java.util.Set mRetryIncludes
private java.util.Set mRetryExcludes
public void <init> ()
public void <init> (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper, int)
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper build
int sessionId
public void <init> (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper, int, java.lang.String, java.util.Set, java.util.Set, java.lang.String, java.lang.String, java.lang.String, com.android.compatibility.common.tradefed.util.RetryType)
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper build
int sessionId
String subPlan
java.util.Set includeFilters
java.util.Set excludeFilters
String abiName
String moduleName
String testName
com.android.compatibility.common.tradefed.util.RetryType retryType
public void validateBuildFingerprint (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String oldBuildFingerprint
String currentBuildFingerprint
void setAllOptionsFrom (com.android.compatibility.common.tradefed.util.RetryFilterHelper)
com.android.compatibility.common.tradefed.util.RetryFilterHelper obj
public void clearOptions ()
public void setCommandLineOptionsFor (java.lang.Object)
com.android.tradefed.config.ArgsOptionParser parser
com.android.tradefed.config.ConfigurationException e
Object obj
com.android.compatibility.common.util.IInvocationResult result
String retryCommandLineArgs
public com.android.compatibility.common.util.IInvocationResult getResult ()
java.io.FileNotFoundException e
com.android.compatibility.common.util.IInvocationResult result
public void populateRetryFilters ()
com.android.compatibility.common.tradefed.testtype.ISubPlan retrySubPlan
java.util.Set customIncludes
java.util.Set customExcludes
public void populateFiltersBySubPlan ()
com.android.compatibility.common.tradefed.testtype.ISubPlan retryPlan
com.android.tradefed.config.ConfigurationException e
com.android.compatibility.common.tradefed.result.SubPlanHelper retryPlanCreator
private void populatePreviousSessionFilters ()
com.android.compatibility.common.tradefed.testtype.ISubPlan retrySubPlan
String module
java.util.List modules
java.io.FileNotFoundException e
com.android.compatibility.common.tradefed.util.RetryFilterHelper tmpHelper
private static void cleanFilters (java.util.Set, java.lang.String)
String filter
java.util.Set filters
String module
java.util.Set cleanedFilters
public java.util.Set getIncludeFilters ()
public java.util.Set getExcludeFilters ()
public void tearDown ()
}
com/android/compatibility/common/tradefed/util/RetryType.class
RetryType.java
package com.android.compatibility.common.tradefed.util
public final enum com.android.compatibility.common.tradefed.util.RetryType extends java.lang.Enum {
public static final enum com.android.compatibility.common.tradefed.util.RetryType FAILED
public static final enum com.android.compatibility.common.tradefed.util.RetryType NOT_EXECUTED
public static final enum com.android.compatibility.common.tradefed.util.RetryType CUSTOM
private static final synthetic com.android.compatibility.common.tradefed.util.RetryType[] $VALUES
public static com.android.compatibility.common.tradefed.util.RetryType[] values ()
public static com.android.compatibility.common.tradefed.util.RetryType valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
static void <clinit> ()
}
com/android/compatibility/common/tradefed/util/UniqueModuleCountUtil.class
UniqueModuleCountUtil.java
package com.android.compatibility.common.tradefed.util
public com.android.compatibility.common.tradefed.util.UniqueModuleCountUtil extends java.lang.Object {
public void <init> ()
public static int countUniqueModules (java.util.List)
com.android.compatibility.common.tradefed.testtype.IModuleDef subModule
java.util.List listModules
java.util.HashSet uniqueNames
}
com/android/compatibility/SuiteInfo.class
SuiteInfo.java
package com.android.compatibility
public com.android.compatibility.SuiteInfo extends java.lang.Object {
public static final String BUILD_NUMBER
public static final String TARGET_ARCH
public static final String NAME
public static final String FULLNAME
public static final String VERSION
public void <init> ()
}
config/basic-reporters.xml
config/collect-tests-only.xml
config/cts-automated.xml
config/cts-camera.xml
config/cts-common.xml
config/cts-dev.xml
config/cts-device-files.xml
config/cts-exclude.xml
config/cts-filtered-sample.xml
config/cts-global-presubmit.xml
config/cts-java.xml
config/cts-known-failures.xml
config/cts-preconditions.xml
config/cts-presubmit.xml
config/cts-suite-automated.xml
config/cts-suite-virtual-device.xml
config/cts-suite.xml
config/cts-system-checkers.xml
config/cts-virtual-device.xml
config/cts.xml
config/retry.xml
config/security-bulletin.xml
config/common-compatibility-config.xml
config/cts-unit-tests.xml
config/everything.xml
config/metadata-config.xml
report/compatibility_failures.xsl
report/compatibility_result.css
report/compatibility_result.xsd
report/compatibility_result.xsl
report/logo.png