META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/compatibility/
com/android/compatibility/common/
com/android/compatibility/common/tradefed/
com/android/compatibility/common/tradefed/build/
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 DYNAMIC_CONFIG_OVERRIDE_URL
private static final String BUSINESS_LOGIC_HOST_FILE
private static final String RETRY_COMMAND_LINE_ARGS
private static final String CONFIG_PATH_PREFIX
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 setBusinessLogicHostFile (java.io.File, java.lang.String)
java.io.File hostFile
String moduleId
String key
public void setModuleIds (java.lang.String[])
String[] moduleIds
public java.util.Map getDynamicConfigFiles ()
com.android.tradefed.build.VersionedFile vFile
java.util.Map configMap
public boolean hasBusinessLogicHostFile ()
public boolean hasBusinessLogicHostFile (java.lang.String)
String moduleId
String key
public java.io.File getBusinessLogicHostFile ()
public java.io.File getBusinessLogicHostFile (java.lang.String)
String moduleId
String key
public java.io.File getRootDir () throws java.io.FileNotFoundException
String rootDir
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 getInvocationLogDir () 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
java.io.File testsDir
public java.io.File getTestFile (java.lang.String) throws java.io.FileNotFoundException
String filename
public java.io.File getTestFile (java.lang.String, com.android.tradefed.testtype.IAbi) throws java.io.FileNotFoundException
java.io.IOException e
String filename
com.android.tradefed.testtype.IAbi abi
java.io.File testsDir
java.io.File testFile
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 com.android.tradefed.testtype.IInvocationContextReceiver {
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
public static final String DYNAMIC_CONFIG_OVERRIDE_URL
private static final String API_KEY
private String mBranch
private String mBuildId
private String mBuildFlavor
private String mBuildFlavorPrefix
private String mBuildTarget
private java.util.Map mBuildAttributes
private boolean mUseDeviceBuildInfo
private String mURL
private String mUrlSuiteNameOverride
private String mSuitePlan
private String mTestTag
private java.io.File mArtificialRootDir
public void <init> ()
private void injectBuildAttributes (com.android.tradefed.build.IBuildInfo)
java.util.Map$Entry entry
com.android.tradefed.build.IBuildInfo buildInfo
public void setInvocationContext (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext invocationContext
public com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
String buildFlavor
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 name
String variant
String buildFlavor
com.android.tradefed.build.IBuildInfo info
String buildAlias
com.android.tradefed.device.ITestDevice device
public void cleanUp (com.android.tradefed.build.IBuildInfo)
java.util.List doNotDelete
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper helper
com.android.tradefed.build.IBuildInfo info
private void addCompatibilitySuiteInfo (com.android.tradefed.build.IBuildInfo)
java.io.File testDir
String suiteName
com.android.tradefed.build.IBuildInfo info
long startTimeMs
String rootDirPath
java.io.File rootDir
java.lang.String getRootDirPath ()
java.io.IOException e
String varName
String rootDirVariable
protected java.lang.String getSuiteInfoName ()
protected java.lang.String getSuiteInfoBuildNumber ()
String buildNumber
String versionFile
com.android.tradefed.invoker.ExecutionFiles getInvocationFiles ()
protected java.lang.String getSuiteInfoFullname ()
protected java.lang.String getSuiteInfoVersion ()
private java.lang.String getDirSuffix (long)
long millis
private static synthetic void lambda$cleanUp$0 (java.io.File)
java.io.File f
static void <clinit> ()
}
com/android/compatibility/common/tradefed/command/
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$10.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$10 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$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 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 parameter
public volatile synthetic void run (java.lang.Object)
}
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 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$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)
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$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)
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$8.class
CompatibilityConsole.java
package com.android.compatibility.common.tradefed.command
com.android.compatibility.common.tradefed.command.CompatibilityConsole$8 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$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.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.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 static final String LATEST_RESULT_DIR
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
private com.android.tradefed.build.IBuildInfo mBuildInfo
public void <init> ()
public void run ()
String buildNumber
String versionFile
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.lang.String)
String abi
java.util.LinkedHashMap configs
String moduleParameter
com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite test
java.util.Set abiStrings
java.util.Set abis
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.io.IOException e
java.io.File resultDir
String moduleProgress
com.android.tradefed.result.suite.SuiteResultHolder holder
com.android.tradefed.util.TableFormatter tableFormatter
java.util.List table
java.util.List resultDirs
java.util.Map holders
com.android.compatibility.common.tradefed.result.suite.CertificationResultXml xmlParser
int i
private java.lang.String printAttributes (com.android.tradefed.util.MultiMap, java.lang.String)
com.android.tradefed.util.MultiMap map
String key
private java.util.List getResults (java.io.File)
java.io.File resultsDir
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.tradefed.build.IBuildInfo build
private com.android.tradefed.build.IBuildInfo getBuild ()
com.android.compatibility.common.tradefed.build.CompatibilityBuildProvider buildProvider
com.android.tradefed.build.BuildRetrievalError e
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, java.lang.String)
com.android.compatibility.common.tradefed.command.CompatibilityConsole x0
String x1
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/
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 boolean mTestSkipped
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.device.ITestDevice primaryDevice
public void testRunStarted (java.lang.String, int)
String id
int numTests
boolean isRepeatModule
public void testStarted (com.android.tradefed.result.TestDescription)
com.android.tradefed.result.TestDescription test
public void testFailed (com.android.tradefed.result.TestDescription, java.lang.String)
com.android.tradefed.result.TestDescription test
String trace
public void testIgnored (com.android.tradefed.result.TestDescription)
com.android.tradefed.result.TestDescription test
public void testAssumptionFailure (com.android.tradefed.result.TestDescription, java.lang.String)
com.android.tradefed.result.TestDescription test
String trace
public void testEnded (com.android.tradefed.result.TestDescription, java.util.HashMap)
com.android.tradefed.result.TestDescription test
java.util.HashMap testMetrics
public void testRunFailed (java.lang.String)
String errorMessage
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map metrics
public void testRunEnded (long, java.util.HashMap)
long elapsedTime
java.util.HashMap 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/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/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.tradefed.result.TestDescription, long)
com.android.tradefed.result.TestDescription test
long startTime
public void testFailed (com.android.tradefed.result.TestDescription, java.lang.String)
com.android.tradefed.result.TestDescription test
String trace
public void testIgnored (com.android.tradefed.result.TestDescription)
com.android.tradefed.result.TestDescription test
public void testAssumptionFailure (com.android.tradefed.result.TestDescription, java.lang.String)
com.android.tradefed.result.TestDescription test
String trace
public void testEnded (com.android.tradefed.result.TestDescription, long, java.util.HashMap)
com.android.tradefed.result.TestDescription test
long endTime
java.util.HashMap 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
public void testRunEnded (long, java.util.HashMap)
long elapsedTime
java.util.HashMap metrics
private static java.lang.String buildTestId (com.android.tradefed.result.TestDescription)
com.android.tradefed.result.TestDescription 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/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
private String mLastSubPlan
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.tradefed.testtype.ISubPlan lastSubPlan
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/suite/
com/android/compatibility/common/tradefed/result/suite/CertificationChecksumHelper.class
CertificationChecksumHelper.java
package com.android.compatibility.common.tradefed.result.suite
public com.android.compatibility.common.tradefed.result.suite.CertificationChecksumHelper extends java.lang.Object {
public static final String NAME
private static final double DEFAULT_FPP
private static final String SEPARATOR
private static final short CURRENT_VERSION
static final short SERIALIZED_FORMAT_CODE
private final com.google.common.hash.BloomFilter mResultChecksum
private final java.util.HashMap mFileChecksum
private final short mVersion
private final String mBuildFingerprint
public void <init> (int, double, short, java.lang.String)
int testCount
double fpp
short version
String buildFingerprint
public void <init> (java.io.File, java.lang.String) throws com.android.compatibility.common.util.ChecksumReporter$ChecksumValidationException
short magicNumber
java.io.ObjectInput objectInput
java.io.InputStream outputStream
java.io.FileInputStream fileStream
Exception e
java.io.File directory
String buildFingerprint
java.io.File file
public static boolean tryCreateChecksum (java.io.File, java.util.Collection, java.lang.String)
int totalCount
com.android.compatibility.common.tradefed.result.suite.CertificationChecksumHelper checksumReporter
Exception e
java.io.File dir
java.util.Collection results
String buildFingerprint
private void saveToFile (java.io.File) throws java.io.IOException
java.io.ObjectOutput objectOutput
java.io.OutputStream outputStream
java.io.FileOutputStream fileStream
java.io.File directory
java.io.File file
private static int countTestResults (java.util.Collection)
com.android.tradefed.result.TestRunResult result
java.util.Collection results
int count
private void addResults (java.util.Collection)
java.util.Map$Entry caseResult
com.android.tradefed.result.TestRunResult moduleResult
java.util.Collection results
boolean containsTestResult (java.util.Map$Entry, com.android.tradefed.result.TestRunResult, java.lang.String)
java.util.Map$Entry testResult
com.android.tradefed.result.TestRunResult moduleResult
String buildFingerprint
String signature
private static java.lang.String generateModuleResultSignature (com.android.tradefed.result.TestRunResult, java.lang.String)
com.android.tradefed.result.TestRunResult module
String buildFingerprint
StringBuilder sb
private static java.lang.String generateModuleSummarySignature (com.android.tradefed.result.TestRunResult, java.lang.String)
com.android.tradefed.result.TestRunResult module
String buildFingerprint
StringBuilder sb
private static java.lang.String generateTestResultSignature (java.util.Map$Entry, com.android.tradefed.result.TestRunResult, java.lang.String)
java.util.Map$Entry testResult
com.android.tradefed.result.TestRunResult module
String buildFingerprint
StringBuilder sb
String stacktrace
public void addDirectory (java.io.File)
java.io.File directory
private void addDirectory (java.io.File, java.lang.String)
java.io.File child
String childName
java.io.File directory
String path
private void addFile (java.io.File, java.lang.String)
byte[] crc
com.android.compatibility.common.util.ChecksumReporter$ChecksumValidationException e
java.io.File file
String path
byte[] crc
String key
boolean containsFile (java.io.File, java.lang.String)
byte[] crc
com.android.compatibility.common.util.ChecksumReporter$ChecksumValidationException e
java.io.File file
String path
String key
private static byte[] calculateFileChecksum (java.io.File) throws com.android.compatibility.common.util.ChecksumReporter$ChecksumValidationException
java.security.MessageDigest hashSum
int cnt
int bufferSize
byte[] buffer
byte[] partialHash
java.io.InputStream inputStream
java.io.FileInputStream fis
java.security.NoSuchAlgorithmException e
java.io.IOException e
java.security.DigestException e
java.io.File file
}
com/android/compatibility/common/tradefed/result/suite/CertificationResultXml.class
CertificationResultXml.java
package com.android.compatibility.common.tradefed.result.suite
public com.android.compatibility.common.tradefed.result.suite.CertificationResultXml extends com.android.tradefed.result.suite.XmlSuiteResultFormatter {
public static final String SUITE_PLAN_ATTR
private static final String LOG_URL_ATTR
private static final String REPORT_VERSION_ATTR
private static final String REFERENCE_URL_ATTR
private static final String RESULT_FILE_VERSION
private static final String SUITE_NAME_ATTR
private static final String SUITE_VERSION_ATTR
private static final String SUITE_BUILD_ATTR
private static final String SUITE_VARIANT_ATTR
private String mSuiteName
private String mSuiteVersion
private String mSuiteVariant
private String mSuitePlan
private String mSuiteBuild
private String mReferenceUrl
private String mLogUrl
private java.util.Map mResultAttributes
public void <init> ()
public void <init> (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)
String suiteName
String suiteVersion
String suiteVariant
String suitePlan
String suiteBuild
String referenceUrl
String logUrl
java.util.Map resultAttributes
public void addSuiteAttributes (org.xmlpull.v1.XmlSerializer) throws java.lang.IllegalArgumentException java.lang.IllegalStateException java.io.IOException
java.util.Map$Entry entry
org.xmlpull.v1.XmlSerializer serializer
public void parseSuiteAttributes (org.xmlpull.v1.XmlPullParser, com.android.tradefed.invoker.IInvocationContext) throws org.xmlpull.v1.XmlPullParserException
org.xmlpull.v1.XmlPullParser parser
com.android.tradefed.invoker.IInvocationContext context
public void addBuildInfoAttributes (org.xmlpull.v1.XmlSerializer, com.android.tradefed.result.suite.SuiteResultHolder) throws java.lang.IllegalArgumentException java.lang.IllegalStateException java.io.IOException
String newKey
String key
com.android.tradefed.build.IBuildInfo build
org.xmlpull.v1.XmlSerializer serializer
com.android.tradefed.result.suite.SuiteResultHolder holder
public void parseBuildInfoAttributes (org.xmlpull.v1.XmlPullParser, com.android.tradefed.invoker.IInvocationContext) throws org.xmlpull.v1.XmlPullParserException
String key
String value
int index
org.xmlpull.v1.XmlPullParser parser
com.android.tradefed.invoker.IInvocationContext context
public java.lang.String getAttributesPrefix ()
}
com/android/compatibility/common/tradefed/result/suite/CertificationSuiteResultReporter$1.class
CertificationSuiteResultReporter.java
package com.android.compatibility.common.tradefed.result.suite
synthetic com.android.compatibility.common.tradefed.result.suite.CertificationSuiteResultReporter$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$tradefed$result$LogDataType
static void <clinit> ()
}
com/android/compatibility/common/tradefed/result/suite/CertificationSuiteResultReporter$SuiteVariant.class
CertificationSuiteResultReporter.java
package com.android.compatibility.common.tradefed.result.suite
final enum com.android.compatibility.common.tradefed.result.suite.CertificationSuiteResultReporter$SuiteVariant extends java.lang.Enum {
public static final enum com.android.compatibility.common.tradefed.result.suite.CertificationSuiteResultReporter$SuiteVariant CTS_ON_GSI
private final String mReportDisplayName
private final String mConfigName
private static final synthetic com.android.compatibility.common.tradefed.result.suite.CertificationSuiteResultReporter$SuiteVariant[] $VALUES
public static com.android.compatibility.common.tradefed.result.suite.CertificationSuiteResultReporter$SuiteVariant[] values ()
public static com.android.compatibility.common.tradefed.result.suite.CertificationSuiteResultReporter$SuiteVariant valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int, java.lang.String, java.lang.String)
String reportName
String configName
public java.lang.String getReportDisplayName ()
public java.lang.String getConfigName ()
static void <clinit> ()
}
com/android/compatibility/common/tradefed/result/suite/CertificationSuiteResultReporter.class
CertificationSuiteResultReporter.java
package com.android.compatibility.common.tradefed.result.suite
public com.android.compatibility.common.tradefed.result.suite.CertificationSuiteResultReporter extends com.android.tradefed.result.suite.XmlFormattedGeneratorReporter implements com.android.tradefed.result.ITestSummaryListener {
public static final String LATEST_LINK_NAME
public static final String SUMMARY_FILE
public static final String HTLM_REPORT_NAME
public static final String REPORT_XSL_FILE_NAME
public static final String FAILURE_REPORT_NAME
public static final String FAILURE_XSL_FILE_NAME
public static final String BUILD_FINGERPRINT
private String mResultServer
private boolean mDisableResultPosting
private boolean mIncludeTestLogTags
private boolean mUseLogSaver
private boolean mCompressLogs
public static final String INCLUDE_HTML_IN_ZIP
private boolean mIncludeHtml
private java.util.Map mResultAttributes
private boolean mCtsOnGsiVariant
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 com.android.tradefed.result.LogFileSaver mTestLogSaver
private java.util.Map mPreInvocationLogs
private com.android.tradefed.result.ILogSaver mLogSaver
private String mReferenceUrl
private java.util.Map mLoggedFiles
private static final String[] RESULT_RESOURCES
public void <init> ()
public final void invocationStarted (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext context
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper createBuildHelper ()
public void testLog (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource)
com.android.tradefed.result.LogFile info
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
private void testLogDeviceInfo (java.lang.String, com.android.tradefed.result.InputStreamSource)
java.io.File ediDir
java.io.File ediFile
java.io.IOException e
String name
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 putSummary (java.util.List)
com.android.tradefed.result.TestSummary summary
java.util.List summaries
public void setLogSaver (com.android.tradefed.result.ILogSaver)
com.android.tradefed.result.ILogSaver saver
private void initializeResultDirectories ()
java.io.FileNotFoundException e
java.io.FileNotFoundException e
com.android.tradefed.result.InputStreamSource source
com.android.tradefed.result.LogFile earlyLog
public com.android.tradefed.result.suite.IFormatterGenerator createFormatter ()
public void preFormattingSetup (com.android.tradefed.result.suite.IFormatterGenerator)
java.io.File summaryFile
java.io.IOException e
com.android.tradefed.result.suite.IFormatterGenerator formater
com.android.tradefed.result.TestSummary summary
public java.io.File createResultDir () throws java.io.IOException
public void postFormattingStep (java.io.File, java.io.File)
java.nio.file.Path latestLink
java.io.IOException e
java.io.File resultDir
java.io.File reportFile
java.io.File report
java.io.File failureReport
java.io.File zippedResults
private java.lang.String getLogUrl ()
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
private void copyDynamicConfigFiles ()
java.io.IOException e
java.io.File destFile
java.io.File srcFile
String moduleName
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper helper
java.util.Map dcFiles
com.android.tradefed.build.IBuildInfo buildInfo
java.io.File configDir
java.util.Set uniqueModules
private 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
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 static java.io.File zipResults (java.io.File)
java.io.IOException e
java.io.File resultsDir
java.io.File zipResultFile
private void uploadResult (java.io.File)
java.io.IOException ioe
java.io.File resultFile
private java.io.File createReport (java.io.File)
javax.xml.transform.Transformer transformer
java.io.OutputStream outputStream
java.io.InputStream xslStream
Exception ignored
java.io.File inputXml
java.io.File report
private java.io.File createFailureReport (java.io.File)
javax.xml.transform.Transformer transformer
java.io.OutputStream outputStream
java.io.InputStream xslStream
Exception ignored
java.io.File inputXml
java.io.File failureReport
private void createChecksum (java.io.File, java.util.Collection, java.lang.String)
java.io.File resultDir
java.util.Collection results
String buildFingerprint
private void logReportFiles (com.android.tradefed.config.IConfiguration, java.io.File, java.lang.String, com.android.tradefed.result.LogDataType)
java.io.InputStream stream
java.io.IOException e
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.result.LogFile loggedFile
com.android.tradefed.result.FileInputStreamSource source
com.android.tradefed.config.IConfiguration configuration
java.io.File resultFile
String dataName
com.android.tradefed.result.LogDataType type
com.android.tradefed.result.ILogSaver saver
java.util.List listeners
private java.lang.String createSuiteName (java.lang.String)
String commandLine
String originalSuiteName
private java.lang.String createSuiteVariant ()
com.android.compatibility.common.tradefed.result.suite.CertificationSuiteResultReporter$SuiteVariant var
com.android.tradefed.config.IConfiguration currentConfig
String commandLine
static void <clinit> ()
}
com/android/compatibility/common/tradefed/result/suite/CompatibilityProtoResultReporter.class
CompatibilityProtoResultReporter.java
package com.android.compatibility.common.tradefed.result.suite
public com.android.compatibility.common.tradefed.result.suite.CompatibilityProtoResultReporter extends com.android.tradefed.result.proto.FileProtoResultReporter {
public static final String PROTO_FILE_NAME
public static final String PROTO_DIR
private boolean mSkipProtoCompacting
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
private java.io.File mResultDir
private java.io.File mBaseProtoFile
public void <init> ()
public void processStartInvocation (com.android.tradefed.result.proto.TestRecordProto$TestRecord, com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.result.proto.TestRecordProto$TestRecord invocationStartRecord
com.android.tradefed.invoker.IInvocationContext invocationContext
public void processFinalProto (com.android.tradefed.result.proto.TestRecordProto$TestRecord)
RuntimeException e
com.android.tradefed.result.proto.TestRecordProto$TestRecord invocationEndedProto
int index
private java.io.File getProtoResultDirectory ()
java.io.File resultDir
java.io.FileNotFoundException e
java.io.File protoDir
private void compactAllProtos ()
java.io.IOException e
com.android.tradefed.result.proto.FileProtoResultReporter fprr
com.android.tradefed.result.proto.ProtoResultParser parser
int index
}
com/android/compatibility/common/tradefed/result/suite/PreviousResultLoader.class
PreviousResultLoader.java
package com.android.compatibility.common.tradefed.result.suite
public final com.android.compatibility.common.tradefed.result.suite.PreviousResultLoader extends java.lang.Object implements com.android.tradefed.testtype.suite.retry.ITestSuiteResultLoader {
public static final String BUILD_FINGERPRINT
public static final String BUILD_VENDOR_FINGERPRINT
public static final String BUILD_FINGERPRINT_UNALTERED
public static final String RUN_HISTORY_KEY
private static final String COMMAND_LINE_ARGS
public static final String RETRY_OPTION
private Integer mRetrySessionId
private String mFingerprintProperty
private com.android.tradefed.result.proto.TestRecordProto$TestRecord mTestRecord
private String mProtoPath
private com.android.tradefed.invoker.IInvocationContext mPreviousContext
private String mExpectedFingerprint
private String mExpectedVendorFingerprint
private String mUnalteredFingerprint
private java.io.File mResultDir
private com.android.tradefed.build.IBuildProvider mProvider
private java.util.Collection mRunHistories
public void <init> ()
public void init ()
com.android.tradefed.build.BuildRetrievalError e
java.io.File protoDir
java.io.IOException e
com.google.protobuf.InvalidProtocolBufferException e
com.google.gson.Gson gson
com.android.tradefed.result.suite.XmlSuiteResultFormatter$RunHistory[] runHistories
com.android.compatibility.common.tradefed.result.suite.CertificationResultXml xmlParser
com.android.tradefed.result.suite.SuiteResultHolder holder
com.android.tradefed.result.suite.XmlSuiteResultFormatter$RunHistory newRun
java.io.IOException e
com.android.tradefed.build.IBuildInfo info
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper helperBuild
com.android.tradefed.invoker.proto.InvocationContext$Context contextProto
String runHistoryJSON
public java.lang.String getCommandLine ()
java.util.List command
public com.android.tradefed.result.CollectingTestListener loadPreviousResults ()
java.io.IOException e
int index
com.android.tradefed.result.CollectingTestListener results
com.android.tradefed.result.proto.ProtoResultParser parser
public final void cleanUp ()
public final void customizeConfiguration (com.android.tradefed.config.IConfiguration)
com.android.tradefed.config.IConfiguration config
java.util.List preparers
java.util.List newList
com.android.compatibility.common.tradefed.targetprep.BuildFingerPrintPreparer fingerprintChecker
java.util.List listeners
com.android.compatibility.common.tradefed.result.suite.PreviousSessionFileCopier copier
com.google.gson.Gson gson
protected void setProvider (com.android.tradefed.build.IBuildProvider)
com.android.tradefed.build.IBuildProvider provider
private com.android.tradefed.build.IBuildProvider getProvider ()
}
com/android/compatibility/common/tradefed/result/suite/PreviousSessionFileCopier.class
PreviousSessionFileCopier.java
package com.android.compatibility.common.tradefed.result.suite
public com.android.compatibility.common.tradefed.result.suite.PreviousSessionFileCopier extends java.lang.Object implements com.android.tradefed.result.ITestInvocationListener {
private static final java.util.List NOT_RETRY_FILES
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
private java.io.File mPreviousSessionDir
public void <init> ()
public void setPreviousSessionDir (java.io.File)
java.io.File previousSessionDir
public void invocationStarted (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext context
public void invocationEnded (long)
long elapsedTime
java.io.File resultDir
protected com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper createCompatibilityHelper (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
private 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 java.io.File getResultDirectory ()
java.io.FileNotFoundException e
java.io.File resultDir
static void <clinit> ()
}
com/android/compatibility/common/tradefed/targetprep/
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.invoker.TestInformation, java.lang.String) throws com.android.tradefed.targetprep.TargetSetupError
java.io.FileNotFoundException e
com.android.tradefed.invoker.TestInformation testInfo
String apkFileName
java.io.File apkFile
}
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/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.config.IConfigurationReceiver {
protected String mApkFileName
protected String mPackageName
protected com.android.compatibility.common.tradefed.targetprep.ApkInstrumentationPreparer$When mWhen
protected boolean mThrowError
private java.util.Set mIncludeFilters
private com.android.tradefed.config.IConfiguration mConfiguration
public void <init> ()
public void setConfiguration (com.android.tradefed.config.IConfiguration)
com.android.tradefed.config.IConfiguration configuration
public void run (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
java.io.FileNotFoundException e
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
public void tearDown (com.android.tradefed.invoker.TestInformation, java.lang.Throwable) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.FileNotFoundException e1
com.android.tradefed.invoker.TestInformation testInfo
Throwable e
private boolean instrument (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.device.DeviceNotAvailableException java.io.FileNotFoundException
java.util.Map$Entry results
com.android.tradefed.invoker.TestInformation testInfo
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
java.io.File apkFile
com.android.tradefed.device.ITestDevice device
com.android.tradefed.result.CollectingTestListener listener
com.android.tradefed.testtype.AndroidJUnitTest instrTest
com.android.tradefed.result.TestRunResult result
}
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/BuildFingerPrintPreparer.class
BuildFingerPrintPreparer.java
package com.android.compatibility.common.tradefed.targetprep
public final com.android.compatibility.common.tradefed.targetprep.BuildFingerPrintPreparer extends com.android.tradefed.targetprep.BaseTargetPreparer {
private String mExpectedFingerprint
private String mExpectedVendorFingerprint
private String mUnalteredFingerprint
private String mFingerprintProperty
private String mVendorFingerprintProperty
public void <init> ()
public void setUp (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String currentBuildVendorFingerprint
String compare
String currentBuildFingerprint
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
public void setExpectedFingerprint (java.lang.String)
String expectedFingerprint
public java.lang.String getExpectedFingerprint ()
public void setFingerprintProperty (java.lang.String)
String property
public void setUnalteredFingerprint (java.lang.String)
String unalteredFingerprint
public void setExpectedVendorFingerprint (java.lang.String)
String expectedVendorFingerprint
}
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 com.android.tradefed.targetprep.BaseTargetPreparer implements com.android.tradefed.testtype.IAbiReceiver com.android.tradefed.testtype.IInvocationContextReceiver {
private static final String SUITE_PLACEHOLDER
private static final String GLOBAL_APE_API_KEY
private static final String FILE_LOCATION
private static final String BL_CACHE_FILE
private static final int BL_CACHE_DAYS
private static final long BL_CACHE_MILLIS
private static final String FILE_EXT
private static final int DEFAULT_CONNECTION_TIME
private static final long SLEEP_BETWEEN_CONNECTIONS_MS
private static final String DYNAMIC_CONFIG_FEATURES_KEY
private static final String DYNAMIC_CONFIG_PROPERTIES_KEY
private static final String DYNAMIC_CONFIG_PACKAGES_KEY
private static final String DYNAMIC_CONFIG_EXTENDED_DEVICE_INFO_KEY
private String mUrl
private String mApiKey
private String mApiScope
private boolean mCache
private boolean mCleanCache
private boolean mIgnoreFailure
private int mMaxConnectionTime
private String mModuleName
private String mModuleVersion
private String mDeviceFilePushed
private String mHostFilePushed
private com.android.tradefed.testtype.IAbi mAbi
private com.android.tradefed.invoker.IInvocationContext mModuleContext
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 setInvocationContext (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext invocationContext
public void setUp (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
java.io.IOException e
java.io.File hostFile
String bitness
java.io.IOException e
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.build.IBuildInfo buildInfo
com.android.tradefed.device.ITestDevice device
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
String requestParams
String baseUrl
String businessLogicString
long start
java.lang.String buildRequestParams (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.device.DeviceNotAvailableException
String feature
String property
String pkg
String deviceInfo
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
com.android.tradefed.util.MultiMap paramMap
String suiteVersion
com.android.tradefed.util.net.IHttpHelper helper
String paramString
java.lang.String getSuiteName ()
java.util.List testSuiteTags
String suiteName
private java.util.List getBusinessLogicProperties (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.device.DeviceNotAvailableException
java.util.Map$Entry id
String value
String name
java.util.List propertyNames
Exception e
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
java.util.List properties
java.util.Map clientIds
private java.util.List getBusinessLogicFeatures (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.device.DeviceNotAvailableException
java.util.List dynamicConfigFeatures
java.util.Set deviceFeatures
Exception e
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
private java.util.List getBusinessLogicPackages (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.device.DeviceNotAvailableException
java.util.List dynamicConfigPackages
java.util.Set devicePackages
Exception e
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
private java.util.List getExtendedDeviceInfo (com.android.tradefed.build.IBuildInfo)
Exception e
String jsonString
org.json.JSONObject jsonObj
String value
String ediEntry
Exception e
com.android.tradefed.build.IBuildInfo buildInfo
java.util.List extendedDeviceInfo
java.io.File deviceInfoPath
java.util.List requiredDeviceInfo
java.io.File ediFile
String[] fileAndKey
private boolean shouldReadCache ()
private boolean shouldWriteCache ()
private static synchronized java.lang.String readFromCache (java.lang.String, java.lang.String)
com.android.compatibility.common.util.BusinessLogic cachedLogic
java.util.Date cachedDate
java.io.IOException e
String baseUrl
String params
java.io.File cachedFile
private static synchronized void writeToCache (java.lang.String, java.lang.String, java.lang.String, boolean)
java.io.IOException e
String blString
String baseUrl
String params
boolean overwrite
java.io.File cachedFile
private static java.io.File getCachedFile (java.lang.String, java.lang.String)
String baseUrl
String params
int hashCode
private java.lang.String doPost (java.lang.String, java.lang.String) throws java.io.IOException
java.io.DataOutputStream wr
String baseUrl
String params
String accessToken
java.net.URL url
java.net.HttpURLConnection conn
int responseCode
public void tearDown (com.android.tradefed.invoker.TestInformation, java.lang.Throwable) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.invoker.TestInformation testInfo
Throwable e
private static void removeDeviceFile (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
private java.lang.String getToken ()
java.io.File globalKeyFile
com.google.api.client.auth.oauth2.Credential credential
java.io.FileNotFoundException e
java.io.IOException e
String keyFilePath
}
com/android/compatibility/common/tradefed/targetprep/CrashReporter$CrashReporterReceiver.class
CrashReporter.java
package com.android.compatibility.common.tradefed.targetprep
com.android.compatibility.common.tradefed.targetprep.CrashReporter$CrashReporterReceiver extends com.android.ddmlib.MultiLineReceiver {
private String mTestName
private org.json.JSONArray mCrashes
private StringBuilder mLogcatChunk
private com.android.tradefed.device.ITestDevice mDevice
final synthetic com.android.compatibility.common.tradefed.targetprep.CrashReporter this$0
public void <init> (com.android.compatibility.common.tradefed.targetprep.CrashReporter, com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
private void processLogLine (java.lang.String)
String line
java.util.regex.Matcher m
public synchronized void processNewLines (java.lang.String[])
String line
String[] lines
public boolean isCancelled ()
}
com/android/compatibility/common/tradefed/targetprep/CrashReporter.class
CrashReporter.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.CrashReporter extends com.android.tradefed.targetprep.BaseTargetPreparer {
private com.android.tradefed.device.BackgroundDeviceAction mBackgroundThread
public void <init> ()
private static void upload (com.android.tradefed.device.ITestDevice, java.lang.String, org.json.JSONArray)
java.io.BufferedWriter writer
java.io.File reportFile
java.nio.file.Path tmpPath
Exception e
com.android.tradefed.device.ITestDevice device
String testname
org.json.JSONArray crashes
public void setUp (com.android.tradefed.invoker.TestInformation)
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
com.android.compatibility.common.tradefed.targetprep.CrashReporter$CrashReporterReceiver receiver
public void tearDown (com.android.tradefed.invoker.TestInformation, java.lang.Throwable)
com.android.tradefed.invoker.TestInformation testInfo
Throwable e
static synthetic void access$000 (com.android.tradefed.device.ITestDevice, java.lang.String, org.json.JSONArray)
com.android.tradefed.device.ITestDevice x0
String x1
org.json.JSONArray x2
static synthetic com.android.tradefed.device.BackgroundDeviceAction access$100 (com.android.compatibility.common.tradefed.targetprep.CrashReporter)
com.android.compatibility.common.tradefed.targetprep.CrashReporter x0
}
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.util.Map mPropertyMap
private java.io.File mResultFile
public void <init> ()
public void run (com.android.tradefed.invoker.TestInformation)
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
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
private boolean matchProperties (com.android.tradefed.device.ITestDevice)
String actualValue
com.android.tradefed.device.DeviceNotAvailableException e
java.util.Map$Entry propEntry
com.android.tradefed.device.ITestDevice device
}
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 implements com.android.tradefed.result.ITestLoggerReceiver {
public static final String DEVICE_INFO_DIR
public static final String SKIP_DEVICE_INFO_OPTION
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 VENDOR_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 boolean mForceCollectDeviceInfo
private String mSrcDir
private String mDestDir
private String mTempDir
private com.android.tradefed.log.ITestLogger mLogger
private java.io.File deviceInfoDir
public void <init> ()
public void setUp (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String property
java.util.Map$Entry entry
com.android.tradefed.result.FileInputStreamSource source
java.io.File deviceInfoFile
java.io.IOException e
com.android.tradefed.invoker.TestInformation testInfo
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.invoker.TestInformation, java.lang.Throwable) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.invoker.TestInformation testInfo
Throwable e
public void setTestLogger (com.android.tradefed.log.ITestLogger)
com.android.tradefed.log.ITestLogger testLogger
private static java.lang.String nullToEmpty (java.lang.String)
String value
}
com/android/compatibility/common/tradefed/targetprep/DeviceInteractionHelperInstaller.class
DeviceInteractionHelperInstaller.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.DeviceInteractionHelperInstaller extends com.android.tradefed.targetprep.BaseTargetPreparer {
private String mDefaultHelperPackage
private String mHelperPackagePropertyKey
private java.util.Set mInstalledPackages
public void <init> ()
public void setUp (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
java.io.File defaultHelpers
java.io.FileNotFoundException e
String apkName
java.io.File apkFile
java.io.FileNotFoundException e
String pkg
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
String defaultHelperName
String searchPath
public void tearDown (com.android.tradefed.invoker.TestInformation, java.lang.Throwable) throws com.android.tradefed.device.DeviceNotAvailableException
String msg
String pkg
com.android.tradefed.invoker.TestInformation testInfo
Throwable t
com.android.tradefed.device.ITestDevice device
private void checkApkFile (com.android.tradefed.device.ITestDevice, java.io.File, java.lang.String) throws com.android.tradefed.targetprep.BuildError
com.android.tradefed.device.ITestDevice device
java.io.File apkFile
String expectedPackage
String path
com.android.tradefed.util.AaptParser parser
String apkPackage
protected com.android.tradefed.util.AaptParser parseApk (java.io.File)
java.io.File apkFile
private void installHelperApk (com.android.tradefed.device.ITestDevice, java.io.File, java.lang.String) throws com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException com.android.tradefed.targetprep.TargetSetupError
com.android.tradefed.device.ITestDevice device
java.io.File apkFile
String apkPackage
java.util.List extraArgs
String msg
}
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/DynamicConfigPusher.class
DynamicConfigPusher.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher extends com.android.tradefed.targetprep.BaseTargetPreparer implements com.android.tradefed.testtype.IInvocationContextReceiver {
private static final String API_KEY
private String mApiKey
private boolean mCleanup
private String mConfigUrl
private String mModuleName
private com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher$TestTarget mTarget
private String mVersion
private boolean mExtractFromResource
private String mResourceFileName
private String mDynamicConfigName
private String mDeviceFilePushed
private com.android.tradefed.invoker.IInvocationContext mModuleContext
public void <init> ()
void setModuleName (java.lang.String)
String moduleName
public void setInvocationContext (com.android.tradefed.invoker.IInvocationContext)
com.android.tradefed.invoker.IInvocationContext invocationContext
public void setUp (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String deviceDest
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.build.IBuildInfo buildInfo
com.android.tradefed.device.ITestDevice device
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
java.io.File localConfigFile
String suiteName
String apfeConfigInJson
java.io.File hostFile
public void tearDown (com.android.tradefed.invoker.TestInformation, java.lang.Throwable) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.invoker.TestInformation testInfo
Throwable e
java.lang.String getSuiteName ()
java.util.List testSuiteTags
String suiteName
final java.io.File getLocalConfigFile (com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper, com.android.tradefed.device.ITestDevice) throws com.android.tradefed.targetprep.TargetSetupError
java.io.IOException e
String lookupName
java.io.InputStream dynamicFileRes
String lookupName
java.io.FileNotFoundException e
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
com.android.tradefed.device.ITestDevice device
java.io.File localConfigFile
java.io.File mergeConfigFiles (java.io.File, java.lang.String, java.lang.String, com.android.tradefed.device.ITestDevice) throws com.android.tradefed.targetprep.TargetSetupError
Exception e
java.io.File localConfigFile
String apfeConfigInJson
String moduleName
com.android.tradefed.device.ITestDevice device
java.io.File hostFile
java.lang.String resolveUrl (java.lang.String) throws com.android.tradefed.targetprep.TargetSetupError
String requestUrl
java.net.URL request
java.io.IOException e
String suiteName
}
com/android/compatibility/common/tradefed/targetprep/FilePusher.class
FilePusher.java
package com.android.compatibility.common.tradefed.targetprep
public final com.android.compatibility.common.tradefed.targetprep.FilePusher extends com.android.tradefed.targetprep.PushFilePreparer {
private boolean mAppendBitness
public void <init> ()
public java.io.File resolveRelativeFilePath (com.android.tradefed.build.IBuildInfo, java.lang.String)
com.android.tradefed.build.IBuildInfo buildInfo
String fileName
public boolean shouldAppendBitness ()
}
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 LOCATION_MODE_ON
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.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.invoker.TestInformation testInfo
}
com/android/compatibility/common/tradefed/targetprep/MediaPreparer$1.class
MediaPreparer.java
package com.android.compatibility.common.tradefed.targetprep
synthetic com.android.compatibility.common.tradefed.targetprep.MediaPreparer$1 extends java.lang.Object {
}
com/android/compatibility/common/tradefed/targetprep/MediaPreparer$MediaPreparerListener.class
MediaPreparer.java
package com.android.compatibility.common.tradefed.targetprep
com.android.compatibility.common.tradefed.targetprep.MediaPreparer$MediaPreparerListener extends java.lang.Object implements com.android.tradefed.result.ITestInvocationListener {
final synthetic com.android.compatibility.common.tradefed.targetprep.MediaPreparer this$0
private void <init> (com.android.compatibility.common.tradefed.targetprep.MediaPreparer)
public void testEnded (com.android.tradefed.result.TestDescription, java.util.HashMap)
com.android.tradefed.result.TestDescription test
java.util.HashMap metrics
com.android.tradefed.metrics.proto.MetricMeasurement$Metric resMetric
public void testFailed (com.android.tradefed.result.TestDescription, java.lang.String)
com.android.tradefed.result.TestDescription test
String trace
synthetic void <init> (com.android.compatibility.common.tradefed.targetprep.MediaPreparer, com.android.compatibility.common.tradefed.targetprep.MediaPreparer$1)
com.android.compatibility.common.tradefed.targetprep.MediaPreparer x0
com.android.compatibility.common.tradefed.targetprep.MediaPreparer$1 x1
}
com/android/compatibility/common/tradefed/targetprep/MediaPreparer$Resolution.class
MediaPreparer.java
package com.android.compatibility.common.tradefed.targetprep
public final com.android.compatibility.common.tradefed.targetprep.MediaPreparer$Resolution extends java.lang.Object {
private static final String PATTERN
private static final int WIDTH_INDEX
private static final int HEIGHT_INDEX
private final int width
private final int height
private void <init> (int, int)
int width
int height
private void <init> (java.lang.String)
String resolution
java.util.regex.Pattern pattern
java.util.regex.Matcher matcher
public java.lang.String toString ()
public int getWidth ()
synthetic void <init> (int, int, com.android.compatibility.common.tradefed.targetprep.MediaPreparer$1)
int x0
int x1
com.android.compatibility.common.tradefed.targetprep.MediaPreparer$1 x2
static synthetic int access$100 (com.android.compatibility.common.tradefed.targetprep.MediaPreparer$Resolution)
com.android.compatibility.common.tradefed.targetprep.MediaPreparer$Resolution x0
synthetic void <init> (java.lang.String, com.android.compatibility.common.tradefed.targetprep.MediaPreparer$1)
String x0
com.android.compatibility.common.tradefed.targetprep.MediaPreparer$1 x1
}
com/android/compatibility/common/tradefed/targetprep/MediaPreparer.class
MediaPreparer.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.MediaPreparer extends com.android.tradefed.targetprep.BaseTargetPreparer {
private String mLocalMediaPath
private boolean mSkipMediaDownload
private boolean mSimpleCachingSemantics
private boolean mMediaDownloadOnly
private boolean mImagesOnly
private boolean mPushAll
private String mDynamicConfigModule
private String mMediaFolderName
protected String mBaseDeviceModuleDir
protected String mBaseDeviceShortDir
protected String mBaseDeviceFullDir
protected String mBaseDeviceImagesDir
protected com.android.compatibility.common.tradefed.targetprep.MediaPreparer$Resolution mMaxRes
protected String mFailureStackTrace
protected static final String MEDIA_FOLDER_NAME
private static final String MEDIA_FILES_URL_KEY
private static final String APP_APK
private static final String APP_PKG_NAME
private static final String RESOLUTION_STRING_KEY
private static final String LOG_TAG
protected static final com.android.compatibility.common.tradefed.targetprep.MediaPreparer$Resolution DEFAULT_MAX_RESOLUTION
protected static final com.android.compatibility.common.tradefed.targetprep.MediaPreparer$Resolution[] RESOLUTIONS
protected static final String TOC_NAME
public void <init> ()
public static java.io.File getDefaultMediaDir ()
protected java.io.File getMediaDir ()
protected boolean mediaFilesExistOnDevice (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
String deviceShortFilePath
String deviceFullFilePath
com.android.compatibility.common.tradefed.targetprep.MediaPreparer$Resolution resolution
com.android.tradefed.device.ITestDevice device
private void updateLocalMediaPath (com.android.tradefed.device.ITestDevice, java.io.File) throws com.android.tradefed.targetprep.TargetSetupError
com.android.tradefed.device.ITestDevice device
java.io.File mediaFolder
String[] entries
int slot
private void generateDirectoryToc (java.io.FileWriter, java.io.File, java.lang.String) throws java.io.IOException
String prefixPath
String newLeading
java.io.File oneFile
String fileName
java.io.FileWriter myWriter
java.io.File myFolder
String leadingPath
String prefixPath
private java.io.File downloadMediaToHost (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError
java.io.File oneFile
String line
java.io.File tocFile
Exception e
boolean passing
java.io.BufferedReader tocReader
String mediaUrlString
java.net.URL url
Exception e
java.io.File tocFile
java.net.URLConnection conn
java.io.InputStream in
java.io.IOException e
java.io.File mediaFolder
java.net.URL url
java.io.File mediaFolderZip
java.io.FileWriter tocWriter
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
protected void copyMediaFiles (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
protected void copyVideoFiles (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
String localShortDirName
String localFullDirName
java.io.File localShortDir
java.io.File localFullDir
String deviceShortFilePath
String deviceFullFilePath
com.android.compatibility.common.tradefed.targetprep.MediaPreparer$Resolution resolution
com.android.tradefed.device.ITestDevice device
protected void copyImagesFiles (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
protected void copyAll (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
protected void setMountPoint (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
String mountPoint
public void setUp (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
java.io.File mediaFolder
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
private void setMaxRes (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.FileNotFoundException e
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
java.io.File apkFile
com.android.tradefed.testtype.AndroidJUnitTest instrTest
static void <clinit> ()
}
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 com.android.tradefed.suite.checker.StatusCheckerResult 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.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
}
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 com.android.tradefed.targetprep.BaseTargetPreparer {
public static final String SKIP_PRECONDITIONS_OPTION
public static final String PRECONDITION_ARG_OPTION
private boolean mSkipPreconditions
private java.util.List mPreconditionArgs
protected final String mLogTag
public void <init> ()
public void setUp (com.android.tradefed.invoker.TestInformation) 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.invoker.TestInformation testInfo
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 void run (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.invoker.TestInformation testInfo
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
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 {
private String mPropertyName
private String mExpectedPropertyValue
private boolean mPropertyValueIsSetOnly
private boolean mThrowError
public void <init> ()
public void run (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String msg
String msg
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
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 com.android.tradefed.targetprep.BaseTargetPreparer {
private String mSrcDir
private String mDestDir
private String mTempReportFolder
private boolean mDeviceDir
public void <init> ()
public void setUp (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.invoker.TestInformation testInfo
private void prepareReportLogContainers (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
public void tearDown (com.android.tradefed.invoker.TestInformation, java.lang.Throwable)
java.io.File resultDir
String tmpDirName
java.io.File hostReportDir
Exception exception
com.android.tradefed.invoker.TestInformation testInfo
Throwable e
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
}
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/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.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String currentSettingValue
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
String shellCmdGet
String shellCmdPut
String currentSettingValue
}
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.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String value
com.android.tradefed.invoker.TestInformation testInfo
static void <clinit> ()
}
com/android/compatibility/common/tradefed/targetprep/VtsDeviceInfoCollector.class
VtsDeviceInfoCollector.java
package com.android.compatibility.common.tradefed.targetprep
public com.android.compatibility.common.tradefed.targetprep.VtsDeviceInfoCollector extends java.lang.Object implements com.android.tradefed.targetprep.ITargetPreparer {
private static final java.util.Map BUILD_KEYS
private static final java.util.Map BUILD_LEGACY_PROPERTIES
static final String SYSPROP_VTS_NATIVE_SERVER
private boolean mDisableFramework
public void <init> ()
public void setUp (com.android.tradefed.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
String propertyValue
java.util.Map$Entry entry
String odmDeviceAndSku
String[] splitBuildFingerprint
String odmDevice
String sku
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo buildInfo
String buildFingerprint
String buildVersionIncremental
private static java.lang.String nullToEmpty (java.lang.String)
String value
static void <clinit> ()
}
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.invoker.TestInformation) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.targetprep.BuildError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.device.ITestDevice device
}
com/android/compatibility/common/tradefed/testtype/
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.tradefed.testtype.junit4.BaseHostJUnit4Test {
private static final String PARAM_START
public org.junit.rules.TestName mTestCase
protected com.android.compatibility.common.util.BusinessLogic mBusinessLogic
protected boolean mCanReadBusinessLogic
public void <init> ()
public void handleBusinessLogic ()
protected void executeBusinessLogic ()
com.android.compatibility.common.util.BusinessLogicExecutor executor
String methodName
String testName
protected void loadBusinessLogic ()
String bitness
String moduleName
java.io.File businessLogicFile
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper helper
public static void skipTest (java.lang.String)
String message
public static void failTest (java.lang.String)
String message
}
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 void serialize (java.io.OutputStream) throws java.io.IOException
}
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$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/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 clearExcludeFilters ()
public void clearIncludeFilters ()
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/retry/
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 com.android.tradefed.testtype.IShardableTest com.android.tradefed.config.IConfigurationReceiver {
public static final String RETRY_OPTION
public static final String RETRY_TYPE_OPTION
private Integer mRetrySessionId
protected String mSubPlan
protected java.util.Set mIncludeFilters
protected java.util.Set mExcludeFilters
protected String mAbiName
protected boolean mPrimaryAbiRun
protected String mModuleName
protected String mTestName
private java.util.List mModuleArgs
private java.util.List mTestArgs
protected com.android.compatibility.common.tradefed.util.RetryType mRetryType
private java.util.List mConfigPatterns
private com.android.tradefed.util.MultiMap mModuleMetadataIncludeFilter
private com.android.tradefed.util.MultiMap mModuleMetadataExcludeFilter
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
private com.android.tradefed.config.IConfiguration mMainConfiguration
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 setConfiguration (com.android.tradefed.config.IConfiguration)
com.android.tradefed.config.IConfiguration configuration
public void run (com.android.tradefed.invoker.TestInformation, com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.invoker.TestInformation testInfo
com.android.tradefed.result.ITestInvocationListener listener
com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite test
public java.util.Collection split (int)
com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite test
com.android.tradefed.device.DeviceNotAvailableException e
int shardCountHint
private com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite loadSuite () throws com.android.tradefed.device.DeviceNotAvailableException
String moduleArg
String testArg
com.android.tradefed.config.OptionSetter setter
com.android.tradefed.config.ConfigurationException e
com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite test
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper
com.android.compatibility.common.tradefed.util.RetryFilterHelper helper
protected 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.suite.CompatibilityTestSuite createTest ()
protected java.lang.Integer getRetrySessionId ()
}
com/android/compatibility/common/tradefed/testtype/suite/
com/android/compatibility/common/tradefed/testtype/suite/CompatibilitySuiteModuleLoader.class
CompatibilitySuiteModuleLoader.java
package com.android.compatibility.common.tradefed.testtype.suite
public com.android.compatibility.common.tradefed.testtype.suite.CompatibilitySuiteModuleLoader extends com.android.tradefed.testtype.suite.SuiteModuleLoader {
public void <init> (java.util.Map, java.util.Map, java.util.List, java.util.List)
java.util.Map includeFilters
java.util.Map excludeFilters
java.util.List testArgs
java.util.List moduleArgs
public void addFiltersToTest (com.android.tradefed.testtype.IRemoteTest, com.android.tradefed.testtype.IAbi, java.lang.String, java.util.Map, java.util.Map)
com.android.tradefed.testtype.IRemoteTest test
com.android.tradefed.testtype.IAbi abi
String name
java.util.Map includeFilters
java.util.Map excludeFilters
String moduleId
}
com/android/compatibility/common/tradefed/testtype/suite/CompatibilityTestSuite.class
CompatibilityTestSuite.java
package com.android.compatibility.common.tradefed.testtype.suite
public final com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite extends com.android.tradefed.testtype.suite.BaseTestSuite {
public static final String SUBPLAN_OPTION
private Integer mRetrySessionId
private String mSubPlan
private com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper mBuildHelper
public void <init> ()
com.android.tradefed.config.OptionSetter setter
com.android.tradefed.config.ConfigurationException e
public void setBuild (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public java.io.File getTestsDir () throws java.io.FileNotFoundException
public com.android.tradefed.testtype.suite.SuiteModuleLoader createModuleLoader (java.util.Map, java.util.Map, java.util.List, java.util.List)
java.util.Map includeFiltersFormatted
java.util.Map excludeFiltersFormatted
java.util.List testArgs
java.util.List moduleArgs
public java.util.LinkedHashMap loadTests ()
protected final void setupFilters (java.io.File) 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
java.io.File testDir
public final void resetRetryId ()
public java.util.LinkedHashMap loadingStrategy (java.util.Set, java.util.List, java.lang.String, java.lang.String)
java.util.Set abis
java.util.List testsDirs
String suitePrefix
String suiteTag
java.util.LinkedHashMap loadedConfigs
}
com/android/compatibility/common/tradefed/util/
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/DynamicConfigFileReader.class
DynamicConfigFileReader.java
package com.android.compatibility.common.tradefed.util
public com.android.compatibility.common.tradefed.util.DynamicConfigFileReader extends java.lang.Object {
public void <init> ()
public static java.lang.String getValueFromConfig (java.io.File, java.lang.String) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
java.io.File file
String key
com.android.compatibility.common.util.DynamicConfig config
public static java.util.List getValuesFromConfig (java.io.File, java.lang.String) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
java.io.File file
String key
com.android.compatibility.common.util.DynamicConfig config
public static java.lang.String getValueFromConfig (com.android.tradefed.build.IBuildInfo, java.lang.String, java.lang.String) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
com.android.tradefed.build.IBuildInfo info
String moduleName
String key
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper helper
java.io.File dynamicConfig
public static java.util.List getValuesFromConfig (com.android.tradefed.build.IBuildInfo, java.lang.String, java.lang.String) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
String message
com.android.tradefed.build.IBuildInfo info
String moduleName
String key
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper helper
java.io.File dynamicConfig
}
com/android/compatibility/common/tradefed/util/FingerprintComparisonException.class
FingerprintComparisonException.java
package com.android.compatibility.common.tradefed.util
public com.android.compatibility.common.tradefed.util.FingerprintComparisonException extends java.lang.RuntimeException {
static final long serialVersionUID
public void <init> (java.lang.String)
String message
}
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
private static java.lang.String cleanNameValueDelimiter (java.lang.String)
String optionNameValue
}
com/android/compatibility/common/tradefed/util/RetryFilterHelper$NameFilter.class
RetryFilterHelper.java
package com.android.compatibility.common.tradefed.util
public com.android.compatibility.common.tradefed.util.RetryFilterHelper$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/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 void setBuildInfoRetryCommand (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
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 ()
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
}
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> ()
}
config/
config/common-compatibility-config.xml
config/everything.xml
config/metadata-config.xml
report/
report/compatibility_failures.xsl
report/compatibility_result.css
report/compatibility_result.xsl
report/logo.png