META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/compatibility/
com/android/compatibility/common/
com/android/compatibility/common/util/
com/android/compatibility/common/util/AbiUtils.class
AbiUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.AbiUtils extends java.lang.Object {
public void <init> ()
public static java.lang.String createId (java.lang.String, java.lang.String)
String abi
String name
public static java.lang.String parseAbi (java.lang.String)
String id
public static java.lang.String[] parseId (java.lang.String)
String id
public static java.lang.String parseTestName (java.lang.String)
String id
}
com/android/compatibility/common/util/ApiLevelUtil.class
ApiLevelUtil.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ApiLevelUtil extends java.lang.Object {
public static final String CODENAME
public void <init> ()
public static boolean isBefore (com.android.tradefed.device.ITestDevice, int) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
int version
public static boolean isBefore (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String version
public static boolean isAfter (com.android.tradefed.device.ITestDevice, int) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
int version
public static boolean isAfter (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String version
public static boolean isAtLeast (com.android.tradefed.device.ITestDevice, int) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
int version
public static boolean isAtLeast (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String version
public static boolean isAtMost (com.android.tradefed.device.ITestDevice, int) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
int version
public static boolean isAtMost (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String version
public static int getApiLevel (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean codenameEquals (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String name
public static boolean codenameStartsWith (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String prefix
public static java.lang.String getCodename (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
protected static int resolveVersionString (java.lang.String)
java.lang.reflect.Field versionField
ReflectiveOperationException e2
NumberFormatException e1
String versionString
}
com/android/compatibility/common/util/BackupHostSideUtils$1.class
BackupHostSideUtils.java
package com.android.compatibility.common.util
com.android.compatibility.common.util.BackupHostSideUtils$1 extends com.android.compatibility.common.util.BackupUtils {
final synthetic com.android.tradefed.device.INativeDevice val$device
void <init> (com.android.tradefed.device.INativeDevice)
protected java.io.InputStream executeShellCommand (java.lang.String) throws java.io.IOException
String result
com.android.tradefed.device.DeviceNotAvailableException e
String command
}
com/android/compatibility/common/util/BackupHostSideUtils.class
BackupHostSideUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BackupHostSideUtils extends java.lang.Object {
private static final int USER_SYSTEM
private static final String USER_SETUP_COMPLETE
public void <init> ()
public static com.android.compatibility.common.util.BackupUtils createBackupUtils (com.android.tradefed.device.INativeDevice)
com.android.tradefed.device.INativeDevice device
public static void checkSetupComplete (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
private static boolean isSetupCompleteSettingForSystemUser (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
}
com/android/compatibility/common/util/BackupUtils.class
BackupUtils.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.BackupUtils extends java.lang.Object {
private static final String LOCAL_TRANSPORT_NAME
private static final String LOCAL_TRANSPORT_NAME_PRE_Q
private static final String LOCAL_TRANSPORT_PACKAGE
public static final String LOCAL_TRANSPORT_TOKEN
private static final int BACKUP_PROVISIONING_TIMEOUT_SECONDS
private static final int BACKUP_PROVISIONING_POLL_INTERVAL_SECONDS
private static final long BACKUP_SERVICE_INIT_TIMEOUT_SECS
private static final java.util.regex.Pattern BACKUP_MANAGER_CURRENTLY_ENABLE_STATUS_PATTERN
private static final String MATCH_LINE_BACKUP_MANAGER_IS_NOT_PENDING_INIT
private static final String BACKUP_DUMPSYS_CURRENT_TOKEN_FIELD
public void <init> ()
protected abstract java.io.InputStream executeShellCommand (java.lang.String) throws java.io.IOException
public void executeShellCommandSync (java.lang.String) throws java.io.IOException
String command
public java.lang.String getShellCommandOutput (java.lang.String) throws java.io.IOException
String command
public void backupNowAndAssertSuccess (java.lang.String) throws java.io.IOException
String packageName
public void backupNowAndAssertSuccessForUser (java.lang.String, int) throws java.io.IOException
String packageName
int userId
public void backupNowAndAssertBackupNotAllowed (java.lang.String) throws java.io.IOException
String packageName
public void backupNowSync (java.lang.String) throws java.io.IOException
String packageName
public java.lang.String getBackupNowOutput (java.lang.String) throws java.io.IOException
String packageName
public void restoreAndAssertSuccess (java.lang.String, java.lang.String) throws java.io.IOException
String token
String packageName
public void restoreAndAssertSuccessForUser (java.lang.String, java.lang.String, int) throws java.io.IOException
String token
String packageName
int userId
public void restoreSync (java.lang.String, java.lang.String) throws java.io.IOException
String token
String packageName
public java.lang.String getRestoreOutput (java.lang.String, java.lang.String) throws java.io.IOException
String token
String packageName
public boolean isLocalTransportSelected () throws java.io.IOException
public boolean isLocalTransportSelectedForUser (int) throws java.io.IOException
int userId
public boolean isBackupEnabled () throws java.io.IOException
public boolean isBackupEnabledForUser (int) throws java.io.IOException
int userId
public void wakeAndUnlockDevice () throws java.io.IOException
public java.lang.String getLocalTransportName () throws java.io.IOException
private java.io.InputStream backupNow (java.lang.String) throws java.io.IOException
String packageName
private java.io.InputStream backupNowForUser (java.lang.String, int) throws java.io.IOException
String packageName
int userId
private void assertBackupNotAllowed (java.lang.String, java.lang.String)
String result
String line
String packageName
String backupNowOutput
java.util.Scanner in
boolean found
private void assertBackupIsSuccessful (java.lang.String, java.io.InputStream) throws java.io.IOException
String result
String line
String packageName
java.io.InputStream backupNowOutput
java.io.BufferedReader reader
private java.io.InputStream restore (java.lang.String, java.lang.String) throws java.io.IOException
String token
String packageName
private java.io.InputStream restoreForUser (java.lang.String, java.lang.String, int) throws java.io.IOException
String token
String packageName
int userId
private void assertRestoreIsSuccessful (java.io.InputStream) throws java.io.IOException
String line
java.io.InputStream restoreOutput
java.io.BufferedReader reader
public java.lang.String executeShellCommandAndReturnOutput (java.lang.String) throws java.io.IOException
String command
java.io.InputStream in
java.io.BufferedReader br
String str
StringBuilder out
public boolean enableBackup (boolean) throws java.lang.Exception
boolean previouslyEnabled
boolean enable
boolean previouslyEnabled
String output
java.util.regex.Matcher matcher
public boolean enableBackupForUser (boolean, int) throws java.io.IOException
boolean enable
int userId
boolean previouslyEnabled
public boolean activateBackupForUser (boolean, int) throws java.io.IOException
boolean activate
int userId
boolean previouslyActivated
public boolean isBackupActivatedForUser (int) throws java.io.IOException
int userId
private java.lang.String getLineString (java.io.InputStream) throws java.io.IOException
String str
java.io.InputStream inputStream
java.io.BufferedReader reader
String str
public void waitForBackupInitialization () throws java.io.IOException
InterruptedException e
String output
long tryUntilNanos
public void waitUntilBackupServiceIsRunning (int) throws java.io.IOException java.lang.InterruptedException
int userId
void waitUntilBackupServiceIsRunning (int, long) throws java.io.IOException java.lang.InterruptedException
int userId
long timeout
public boolean userHasBackupTransport (java.lang.String, int) throws java.io.IOException
String t
String transport
int userId
String output
public java.lang.String setBackupTransportForUser (java.lang.String, int) throws java.io.IOException
String transport
int userId
String output
java.util.regex.Pattern pattern
java.util.regex.Matcher matcher
private synthetic boolean lambda$waitUntilBackupServiceIsRunning$0 (int) throws java.io.IOException
int userId
String output
static void <clinit> ()
}
com/android/compatibility/common/util/BusinessLogic$1.class
BusinessLogic.java
package com.android.compatibility.common.util
synthetic com.android.compatibility.common.util.BusinessLogic$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$compatibility$common$util$BusinessLogic$AuthenticationStatusEnum
static void <clinit> ()
}
com/android/compatibility/common/util/BusinessLogic$AuthenticationStatusEnum.class
BusinessLogic.java
package com.android.compatibility.common.util
public final enum com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum extends java.lang.Enum {
public static final enum com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum UNKNOWN
public static final enum com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum NOT_AUTHENTICATED
public static final enum com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum NOT_AUTHORIZED
public static final enum com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum AUTHORIZED
public static final enum com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum NO_DEVICE_INFO
private static final synthetic com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum[] $VALUES
public static com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum[] values ()
public static com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
static void <clinit> ()
}
com/android/compatibility/common/util/BusinessLogic$BusinessLogicRule.class
BusinessLogic.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BusinessLogic$BusinessLogicRule extends java.lang.Object {
protected java.util.List mConditions
protected java.util.List mActions
public void <init> (java.util.List, java.util.List)
java.util.List conditions
java.util.List actions
public boolean invokeConditions (com.android.compatibility.common.util.BusinessLogicExecutor)
com.android.compatibility.common.util.BusinessLogic$BusinessLogicRuleCondition condition
com.android.compatibility.common.util.BusinessLogicExecutor executor
public void invokeActions (com.android.compatibility.common.util.BusinessLogicExecutor)
com.android.compatibility.common.util.BusinessLogic$BusinessLogicRuleAction action
com.android.compatibility.common.util.BusinessLogicExecutor executor
}
com/android/compatibility/common/util/BusinessLogic$BusinessLogicRuleAction.class
BusinessLogic.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BusinessLogic$BusinessLogicRuleAction extends java.lang.Object {
protected String mMethodName
protected java.util.List mMethodArgs
public void <init> (java.lang.String, java.util.List)
String methodName
java.util.List methodArgs
public void invoke (com.android.compatibility.common.util.BusinessLogicExecutor)
com.android.compatibility.common.util.BusinessLogicExecutor executor
}
com/android/compatibility/common/util/BusinessLogic$BusinessLogicRuleCondition.class
BusinessLogic.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BusinessLogic$BusinessLogicRuleCondition extends java.lang.Object {
protected String mMethodName
protected java.util.List mMethodArgs
protected boolean mNegated
public void <init> (java.lang.String, java.util.List, boolean)
String methodName
java.util.List methodArgs
boolean negated
public boolean invoke (com.android.compatibility.common.util.BusinessLogicExecutor)
com.android.compatibility.common.util.BusinessLogicExecutor executor
}
com/android/compatibility/common/util/BusinessLogic$BusinessLogicRulesList.class
BusinessLogic.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BusinessLogic$BusinessLogicRulesList extends java.lang.Object {
protected java.util.List mRulesList
protected String mDescription
public void <init> (java.util.List)
java.util.List rulesList
public void <init> (java.util.List, java.lang.String)
java.util.List rulesList
String description
public java.lang.String getDescription ()
public java.util.List getRules ()
public void invokeRules (com.android.compatibility.common.util.BusinessLogicExecutor)
com.android.compatibility.common.util.BusinessLogic$BusinessLogicRule rule
com.android.compatibility.common.util.BusinessLogicExecutor executor
}
com/android/compatibility/common/util/BusinessLogic.class
BusinessLogic.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BusinessLogic extends java.lang.Object {
public static final String DEVICE_FILE
protected java.util.Map mRules
public boolean mConditionalTestsEnabled
private com.android.compatibility.common.util.BusinessLogic$AuthenticationStatusEnum mAuthenticationStatus
protected java.util.Date mTimestamp
protected java.util.List mRedactionRegexes
public void <init> ()
public boolean hasLogicFor (java.lang.String)
String testName
java.util.List rulesLists
private boolean hasLogicsFor (java.lang.String)
String testName
java.util.List rulesLists
public void applyLogicFor (java.lang.String, com.android.compatibility.common.util.BusinessLogicExecutor)
String testName
com.android.compatibility.common.util.BusinessLogicExecutor executor
com.android.compatibility.common.util.BusinessLogic$BusinessLogicRulesList rulesList
private void applyLogicsFor (java.lang.String, com.android.compatibility.common.util.BusinessLogicExecutor)
RuntimeException re
com.android.compatibility.common.util.BusinessLogic$BusinessLogicRulesList rulesList
String description
int index
String testName
com.android.compatibility.common.util.BusinessLogicExecutor executor
java.util.Map failedMap
java.util.Map skippedMap
java.util.List rulesLists
private static void throwAggregatedException (java.util.Map, boolean)
java.io.StringWriter sw
RuntimeException re
String description
java.util.Map exceptions
boolean failed
java.util.Set keySet
String[] descriptions
StringBuilder msg
private java.lang.String cleanDescription (java.lang.String, int)
String description
int index
public void setAuthenticationStatus (java.lang.String)
IllegalArgumentException e
String authenticationStatus
public boolean isAuthorized ()
public java.util.Date getTimestamp ()
public java.util.List getRedactionRegexes ()
public java.lang.String getAuthenticationStatusMessage ()
}
com/android/compatibility/common/util/BusinessLogicExecutor$ResolvedMethod.class
BusinessLogicExecutor.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BusinessLogicExecutor$ResolvedMethod extends java.lang.Object {
private java.lang.reflect.Method mMethod
java.util.List mArgs
public void <init> (java.lang.reflect.Method)
java.lang.reflect.Method method
public void addArg (java.lang.Object)
Object arg
public java.lang.Object invoke (java.lang.Object) throws java.lang.IllegalAccessException java.lang.reflect.InvocationTargetException
Object instance
}
com/android/compatibility/common/util/BusinessLogicExecutor.class
BusinessLogicExecutor.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.BusinessLogicExecutor extends java.lang.Object {
protected static final String LOG_TAG
protected static final String STRING_CLASS
protected static final String STRING_ARRAY_CLASS
private static final String REDACTED_PLACEHOLDER
protected java.util.List mRedactionRegexes
public void <init> ()
public transient boolean executeCondition (java.lang.String, java.lang.String[])
ReflectiveOperationException e
String method
String[] args
public transient void executeAction (java.lang.String, java.lang.String[])
ReflectiveOperationException e
RuntimeException re
Throwable t
java.lang.reflect.InvocationTargetException e
String method
String[] args
protected transient abstract java.lang.String formatExecutionString (java.lang.String, java.lang.String[])
protected java.lang.String[] formatArgs (java.lang.String[])
String arg
String[] args
java.util.List formattedArgs
private java.lang.String formatArg (java.lang.String)
java.util.regex.Pattern pattern
java.util.regex.Matcher matcher
String regex
String arg
protected transient java.lang.Object invokeMethod (java.lang.String, java.lang.String[]) throws java.lang.ClassNotFoundException java.lang.IllegalAccessException java.lang.InstantiationException java.lang.reflect.InvocationTargetException java.lang.NoSuchMethodException
String method
String[] args
int index
String className
Class cls
Object obj
com.android.compatibility.common.util.BusinessLogicExecutor$ResolvedMethod rm
public transient abstract void logInfo (java.lang.String, java.lang.Object[])
public transient abstract void logDebug (java.lang.String, java.lang.Object[])
protected abstract java.lang.Object getTestObject ()
protected transient abstract com.android.compatibility.common.util.BusinessLogicExecutor$ResolvedMethod getResolvedMethod (java.lang.Class, java.lang.String, java.lang.String[]) throws java.lang.ClassNotFoundException
protected java.util.List getMethodsWithName (java.lang.Class, java.lang.String)
java.lang.reflect.Method m
Class cls
String name
java.util.List methodList
}
com/android/compatibility/common/util/BusinessLogicFactory.class
BusinessLogicFactory.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BusinessLogicFactory extends java.lang.Object {
private static final String BUSINESS_LOGIC_RULES_LISTS
private static final String TEST_NAME
private static final String BUSINESS_LOGIC_RULES
private static final String RULE_CONDITIONS
private static final String RULE_ACTIONS
private static final String RULES_LIST_DESCRIPTION
private static final String METHOD_NAME
private static final String METHOD_ARGS
private static final String AUTHENTICATION_STATUS
public static final String CONDITIONAL_TESTS_ENABLED
private static final String TIMESTAMP
private static final String TIMESTAMP_PATTERN
private static final String REDACTION_REGEXES
public void <init> ()
public static com.android.compatibility.common.util.BusinessLogic createFromFile (java.io.FileInputStream)
String businessLogicString
java.io.IOException e
java.io.FileInputStream stream
public static com.android.compatibility.common.util.BusinessLogic createFromFile (java.io.File)
String businessLogicString
java.io.IOException e
java.io.File f
private static com.android.compatibility.common.util.BusinessLogic createBL (java.lang.String)
String authStatus
boolean enabled
org.json.JSONException e
org.json.JSONObject jsonRulesList
String testName
java.util.List testRulesLists
int i
org.json.JSONObject root
org.json.JSONArray jsonRulesLists
org.json.JSONException e
String businessLogicString
java.util.Map rulesMap
com.android.compatibility.common.util.BusinessLogic bl
private static java.util.List parseRedactionRegexes (org.json.JSONArray) throws org.json.JSONException
int i
org.json.JSONArray redactionRegexesJSONArray
java.util.List redactionRegexes
private static com.android.compatibility.common.util.BusinessLogic$BusinessLogicRulesList extractRulesList (org.json.JSONObject) throws org.json.JSONException
org.json.JSONException e
org.json.JSONObject ruleJSONObject
java.util.List ruleConditions
java.util.List ruleActions
int j
org.json.JSONObject rulesListJSONObject
String description
java.util.List rules
org.json.JSONArray rulesJSONArray
private static java.util.List extractRuleConditionList (org.json.JSONObject) throws org.json.JSONException
org.json.JSONException e
org.json.JSONException e
int j
org.json.JSONObject ruleConditionJSONObject
String methodName
boolean negated
java.util.List methodArgs
org.json.JSONArray methodArgsJSONArray
int i
org.json.JSONObject ruleJSONObject
java.util.List ruleConditions
org.json.JSONArray ruleConditionsJSONArray
private static java.util.List extractRuleActionList (org.json.JSONObject) throws org.json.JSONException
org.json.JSONException e
int j
org.json.JSONObject ruleActionJSONObject
String methodName
java.util.List methodArgs
org.json.JSONArray methodArgsJSONArray
int i
org.json.JSONObject ruleJSONObject
java.util.List ruleActions
org.json.JSONArray ruleActionsJSONArray
private static java.util.Date parseTimestamp (java.lang.String)
java.text.ParseException e
String timestamp
java.text.SimpleDateFormat format
private static java.lang.String readFile (java.io.File) throws java.io.IOException
java.util.Scanner scanner
java.io.File f
StringBuilder sb
String lineSeparator
private static java.lang.String readStream (java.io.FileInputStream) throws java.io.IOException
java.io.Reader ir
java.io.FileInputStream stream
int irChar
StringBuilder builder
}
com/android/compatibility/common/util/BusinessLogicHostExecutor.class
BusinessLogicHostExecutor.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BusinessLogicHostExecutor extends com.android.compatibility.common.util.BusinessLogicExecutor {
private com.android.tradefed.device.ITestDevice mDevice
private com.android.tradefed.build.IBuildInfo mBuild
private Object mTestObj
public void <init> (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo, java.lang.Object, java.util.List)
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo build
Object testObj
java.util.List redactionRegexes
protected java.lang.Object getTestObject ()
public transient void logInfo (java.lang.String, java.lang.Object[])
String format
Object[] args
public transient void logDebug (java.lang.String, java.lang.Object[])
String format
Object[] args
protected transient java.lang.String formatExecutionString (java.lang.String, java.lang.String[])
String method
String[] args
protected transient com.android.compatibility.common.util.BusinessLogicExecutor$ResolvedMethod getResolvedMethod (java.lang.Class, java.lang.String, java.lang.String[]) throws java.lang.ClassNotFoundException
Class paramType
com.android.compatibility.common.util.BusinessLogicExecutor$ResolvedMethod rm
int paramTypesMatched
int argsUsed
Class[] paramTypes
java.lang.reflect.Method m
Class cls
String methodName
String[] args
java.util.List nameMatches
}
com/android/compatibility/common/util/BusinessLogicMapStore.class
BusinessLogicMapStore.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.BusinessLogicMapStore extends java.lang.Object {
private static java.util.Map maps
public void <init> ()
public boolean hasMap (java.lang.String)
String mapName
public transient void putMap (java.lang.String, java.lang.String, java.lang.String[])
String[] tmp
String key
String value
String keyValuePair
String mapName
String separator
String[] keyValuePairs
java.util.Map map
public static java.util.Map getMap (java.lang.String)
String mapName
java.util.Map map
static void <clinit> ()
}
com/android/compatibility/common/util/CaseResult.class
CaseResult.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.CaseResult extends java.lang.Object implements com.android.compatibility.common.util.ICaseResult {
private String mName
private java.util.Map mResults
public void <init> (java.lang.String)
String name
public java.lang.String getName ()
public com.android.compatibility.common.util.ITestResult getOrCreateResult (java.lang.String)
String testName
com.android.compatibility.common.util.ITestResult result
public com.android.compatibility.common.util.ITestResult getResult (java.lang.String)
String testName
public java.util.List getResults (com.android.compatibility.common.util.TestStatus)
com.android.compatibility.common.util.ITestResult result
com.android.compatibility.common.util.TestStatus status
java.util.List results
public java.util.List getResults ()
java.util.ArrayList results
public int countResults (com.android.compatibility.common.util.TestStatus)
com.android.compatibility.common.util.ITestResult result
com.android.compatibility.common.util.TestStatus status
int total
public int compareTo (com.android.compatibility.common.util.ICaseResult)
com.android.compatibility.common.util.ICaseResult another
public void mergeFrom (com.android.compatibility.common.util.ICaseResult)
com.android.compatibility.common.util.ITestResult otherTestResult
com.android.compatibility.common.util.ICaseResult otherCaseResult
public volatile synthetic int compareTo (java.lang.Object)
}
com/android/compatibility/common/util/CddTest.class
CddTest.java
package com.android.compatibility.common.util
public abstract annotation com.android.compatibility.common.util.CddTest extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.String requirement ()
}
com/android/compatibility/common/util/ChecksumReporter$ChecksumValidationException.class
ChecksumReporter.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ChecksumReporter$ChecksumValidationException extends java.lang.Exception {
public void <init> (java.lang.String)
String detailMessage
public void <init> (java.lang.String, java.lang.Throwable)
String detailMessage
Throwable throwable
}
com/android/compatibility/common/util/ChecksumReporter.class
ChecksumReporter.java
package com.android.compatibility.common.util
public final com.android.compatibility.common.util.ChecksumReporter extends java.lang.Object implements java.io.Serializable {
public static final String NAME
public static final String PREV_NAME
private static final double DEFAULT_FPP
private static final String SEPARATOR
private static final String ID_SEPARATOR
private static final String NAME_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
public static boolean tryCreateChecksum (java.io.File, com.android.compatibility.common.util.IInvocationResult)
int totalCount
com.android.compatibility.common.util.ChecksumReporter checksumReporter
Exception e
java.io.File dir
com.android.compatibility.common.util.IInvocationResult result
public static com.android.compatibility.common.util.ChecksumReporter load (java.io.File) throws com.android.compatibility.common.util.ChecksumReporter$ChecksumValidationException
java.io.File directory
com.android.compatibility.common.util.ChecksumReporter reporter
public void <init> (java.io.File) 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
java.io.File file
public void <init> (int, double, short)
int testCount
double fpp
short version
public void addInvocation (com.android.compatibility.common.util.IInvocationResult)
com.android.compatibility.common.util.ITestResult testResult
com.android.compatibility.common.util.ICaseResult caseResult
String buildFingerprint
com.android.compatibility.common.util.IModuleResult module
com.android.compatibility.common.util.IInvocationResult invocationResult
public 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
public 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
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
public void addTestResult (com.android.compatibility.common.util.ITestResult, com.android.compatibility.common.util.IModuleResult, java.lang.String)
com.android.compatibility.common.util.ITestResult testResult
com.android.compatibility.common.util.IModuleResult moduleResult
String buildFingerprint
String signature
public boolean containsTestResult (com.android.compatibility.common.util.ITestResult, com.android.compatibility.common.util.IModuleResult, java.lang.String)
com.android.compatibility.common.util.ITestResult testResult
com.android.compatibility.common.util.IModuleResult moduleResult
String buildFingerprint
String signature
public void addModuleResult (com.android.compatibility.common.util.IModuleResult, java.lang.String)
com.android.compatibility.common.util.IModuleResult moduleResult
String buildFingerprint
public java.lang.Boolean containsModuleResult (com.android.compatibility.common.util.IModuleResult, java.lang.String)
com.android.compatibility.common.util.IModuleResult moduleResult
String buildFingerprint
public 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
double getCapacity ()
static java.lang.String generateTestResultSignature (com.android.compatibility.common.util.ITestResult, com.android.compatibility.common.util.IModuleResult, java.lang.String)
com.android.compatibility.common.util.ITestResult testResult
com.android.compatibility.common.util.IModuleResult module
String buildFingerprint
StringBuilder sb
String stacktrace
static java.lang.String generateTestResultSignature (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
String packageName
String suiteName
String caseName
String testName
String abi
String status
String stacktrace
String buildFingerprint
String testId
StringBuilder sb
private static java.lang.String buildTestId (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
String suiteName
String caseName
String testName
String abi
String name
private static java.lang.String generateModuleResultSignature (com.android.compatibility.common.util.IModuleResult, java.lang.String)
com.android.compatibility.common.util.IModuleResult module
String buildFingerprint
StringBuilder sb
private static java.lang.String generateModuleSummarySignature (com.android.compatibility.common.util.IModuleResult, java.lang.String)
com.android.compatibility.common.util.IModuleResult module
String buildFingerprint
StringBuilder sb
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
private static int countTestResults (com.android.compatibility.common.util.IInvocationResult)
com.android.compatibility.common.util.ICaseResult caseResult
com.android.compatibility.common.util.IModuleResult module
com.android.compatibility.common.util.IInvocationResult invocation
int count
}
com/android/compatibility/common/util/CommonTestUtils$BooleanSupplierWithThrow.class
CommonTestUtils.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.CommonTestUtils$BooleanSupplierWithThrow extends java.lang.Object {
public abstract boolean getAsBoolean () throws java.lang.Throwable
}
com/android/compatibility/common/util/CommonTestUtils.class
CommonTestUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.CommonTestUtils extends java.lang.Object {
public void <init> ()
public static void waitUntil (java.lang.String, long, com.android.compatibility.common.util.CommonTestUtils$BooleanSupplierWithThrow) throws java.lang.Throwable java.lang.InterruptedException
String message
long timeoutSeconds
com.android.compatibility.common.util.CommonTestUtils$BooleanSupplierWithThrow predicate
int sleep
long timeout
}
com/android/compatibility/common/util/CpuFeatures.class
CpuFeatures.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.CpuFeatures extends java.lang.Object {
private static final String UNAME_OPTION_MACHINE_TYPE
private static final String UNAME_OPTION_KERNEL_RELEASE
public void <init> ()
private static java.lang.String uname (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String option
com.android.tradefed.device.CollectingOutputReceiver Out
public static boolean isArm64 (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean isArm32 (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean isX86 (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean isX86_64 (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean isX86_32 (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean isNativeAbi (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String abi
public static boolean kernelVersionLessThan (com.android.tradefed.device.ITestDevice, int, int) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
int major
int minor
String[] kernelVersion
int deviceMajor
int deviceMinor
}
com/android/compatibility/common/util/CrashUtils$BacktraceFrameInfo.class
CrashUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.CrashUtils$BacktraceFrameInfo extends java.lang.Object {
private final String filename
private final String method
public void <init> (java.lang.String, java.lang.String)
String filename
String method
public java.lang.String getFilename ()
public java.lang.String getMethod ()
}
com/android/compatibility/common/util/CrashUtils$Config$BacktraceFilterPattern.class
CrashUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern extends java.lang.Object {
private final java.util.regex.Pattern filenamePattern
private final java.util.regex.Pattern methodPattern
public void <init> (java.lang.String, java.lang.String)
String filenamePattern
String methodPattern
public boolean match (org.json.JSONObject)
org.json.JSONObject frame
String filename
String method
boolean filenameMatches
boolean methodMatches
}
com/android/compatibility/common/util/CrashUtils$Config.class
CrashUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.CrashUtils$Config extends java.lang.Object {
private boolean checkMinAddress
private java.math.BigInteger minCrashAddress
private java.util.List signals
private java.util.List processPatterns
private java.util.List abortMessageIncludes
private java.util.List abortMessageExcludes
private java.util.List backtraceIncludes
private java.util.List backtraceExcludes
public void <init> ()
public com.android.compatibility.common.util.CrashUtils$Config setMinAddress (java.math.BigInteger)
java.math.BigInteger minCrashAddress
public com.android.compatibility.common.util.CrashUtils$Config checkMinAddress (boolean)
boolean checkMinAddress
public transient com.android.compatibility.common.util.CrashUtils$Config setSignals (java.lang.String[])
String[] signals
public transient com.android.compatibility.common.util.CrashUtils$Config appendSignals (java.lang.String[])
String[] signals
public transient com.android.compatibility.common.util.CrashUtils$Config setAbortMessageIncludes (java.lang.String[])
String[] abortMessages
public transient com.android.compatibility.common.util.CrashUtils$Config setAbortMessageIncludes (java.util.regex.Pattern[])
java.util.regex.Pattern[] abortMessages
public transient com.android.compatibility.common.util.CrashUtils$Config appendAbortMessageIncludes (java.lang.String[])
String[] abortMessages
public transient com.android.compatibility.common.util.CrashUtils$Config appendAbortMessageIncludes (java.util.regex.Pattern[])
java.util.regex.Pattern[] abortMessages
public transient com.android.compatibility.common.util.CrashUtils$Config setAbortMessageExcludes (java.lang.String[])
String[] abortMessages
public transient com.android.compatibility.common.util.CrashUtils$Config setAbortMessageExcludes (java.util.regex.Pattern[])
java.util.regex.Pattern[] abortMessages
public transient com.android.compatibility.common.util.CrashUtils$Config appendAbortMessageExcludes (java.lang.String[])
String[] abortMessages
public transient com.android.compatibility.common.util.CrashUtils$Config appendAbortMessageExcludes (java.util.regex.Pattern[])
java.util.regex.Pattern[] abortMessages
public transient com.android.compatibility.common.util.CrashUtils$Config setProcessPatterns (java.lang.String[])
String[] processPatternStrings
public transient com.android.compatibility.common.util.CrashUtils$Config setProcessPatterns (java.util.regex.Pattern[])
java.util.regex.Pattern[] processPatterns
public java.util.List getProcessPatterns ()
public transient com.android.compatibility.common.util.CrashUtils$Config appendProcessPatterns (java.lang.String[])
String[] processPatternStrings
public transient com.android.compatibility.common.util.CrashUtils$Config appendProcessPatterns (java.util.regex.Pattern[])
java.util.regex.Pattern[] processPatterns
public transient com.android.compatibility.common.util.CrashUtils$Config setBacktraceIncludes (com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern[])
com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern[] patterns
public java.util.List getBacktraceIncludes ()
public transient com.android.compatibility.common.util.CrashUtils$Config appendBacktraceIncludes (com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern[])
com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern[] patterns
public transient com.android.compatibility.common.util.CrashUtils$Config setBacktraceExcludes (com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern[])
com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern[] patterns
public java.util.List getBacktraceExcludes ()
public transient com.android.compatibility.common.util.CrashUtils$Config appendBacktraceExcludes (com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern[])
com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern[] patterns
static synthetic java.util.List access$000 (com.android.compatibility.common.util.CrashUtils$Config)
com.android.compatibility.common.util.CrashUtils$Config x0
static synthetic java.util.List access$100 (com.android.compatibility.common.util.CrashUtils$Config)
com.android.compatibility.common.util.CrashUtils$Config x0
static synthetic java.util.List access$200 (com.android.compatibility.common.util.CrashUtils$Config)
com.android.compatibility.common.util.CrashUtils$Config x0
static synthetic java.util.List access$300 (com.android.compatibility.common.util.CrashUtils$Config)
com.android.compatibility.common.util.CrashUtils$Config x0
static synthetic boolean access$400 (com.android.compatibility.common.util.CrashUtils$Config)
com.android.compatibility.common.util.CrashUtils$Config x0
static synthetic java.math.BigInteger access$500 (com.android.compatibility.common.util.CrashUtils$Config)
com.android.compatibility.common.util.CrashUtils$Config x0
}
com/android/compatibility/common/util/CrashUtils.class
CrashUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.CrashUtils extends java.lang.Object {
public static final java.math.BigInteger MIN_CRASH_ADDR
public static final java.util.regex.Pattern sEndofCrashPattern
public static final String DEVICE_PATH
public static final String LOCK_FILENAME
public static final String UPLOAD_REQUEST
public static final java.util.regex.Pattern sUploadRequestPattern
public static final String NEW_TEST_ALERT
public static final java.util.regex.Pattern sNewTestPattern
public static final String SIGNAL
public static final String ABORT_MESSAGE
public static final String NAME
public static final String PROCESS
public static final String PID
public static final String TID
public static final String FAULT_ADDRESS
public static final String FILENAME
public static final String METHOD
public static final String BACKTRACE
private static final java.util.regex.Pattern sCrashBlobPattern
private static final java.util.regex.Pattern sPidtidNamePattern
private static final java.util.regex.Pattern sFaultLinePattern
private static java.util.regex.Pattern sAbortMessagePattern
private static java.util.regex.Pattern sBacktraceNotePattern
private static java.util.regex.Pattern sBacktraceFrameWithBuildIdPattern
private static java.util.regex.Pattern sBacktraceFrameWithoutBuildIdPattern
public static final String SIGSEGV
public static final String SIGBUS
public static final String SIGABRT
public void <init> ()
public static java.lang.String getProcessFileName (org.json.JSONObject) throws org.json.JSONException
org.json.JSONObject crash
public static boolean securityCrashDetected (org.json.JSONArray, com.android.compatibility.common.util.CrashUtils$Config)
org.json.JSONArray crashes
com.android.compatibility.common.util.CrashUtils$Config config
public static java.math.BigInteger getBigInteger (org.json.JSONObject, java.lang.String) throws org.json.JSONException
org.json.JSONObject source
String name
String intString
java.math.BigInteger value
public static org.json.JSONArray matchSecurityCrashes (org.json.JSONArray, com.android.compatibility.common.util.CrashUtils$Config)
String crashAbortMessage
java.math.BigInteger faultAddress
org.json.JSONObject crash
String crashSignal
org.json.JSONArray backtrace
java.util.List backtraceIncludes
java.util.List backtraceExcludes
int i
org.json.JSONArray crashes
com.android.compatibility.common.util.CrashUtils$Config config
org.json.JSONArray securityCrashes
private static boolean matchesAny (java.lang.String, java.util.Collection)
java.util.regex.Pattern p
String input
java.util.Collection patterns
public static org.json.JSONArray addAllCrashes (java.lang.String, org.json.JSONArray)
String faultAddrMatch
int firstEndline
int secondEndline
String nextLine
java.util.regex.Matcher backtraceNoteMatcher
java.util.regex.Matcher backtraceFrameWithBuildIdMatcher
java.util.regex.Matcher backtraceFrameWithoutBuildIdMatcher
java.util.regex.Matcher backtraceFrameMatcher
com.android.compatibility.common.util.CrashUtils$BacktraceFrameInfo frame
org.json.JSONObject crash
org.json.JSONArray backtrace
String crashStr
int tid
int pid
java.math.BigInteger faultAddress
String name
String process
String signal
String abortMessage
java.util.List backtraceFrames
java.util.regex.Matcher pidtidNameMatcher
java.util.regex.Matcher faultLineMatcher
java.util.regex.Matcher abortMessageMatcher
int currentIndex
String input
org.json.JSONArray crashes
java.util.regex.Matcher crashBlobFinder
private static transient java.util.List toPatterns (java.lang.String[])
String[] patternStrings
private static synthetic boolean lambda$matchSecurityCrashes$9 (java.lang.Boolean)
Boolean matched
private static synthetic java.util.stream.Stream lambda$matchSecurityCrashes$8 (java.util.List, org.json.JSONObject)
java.util.List backtraceExcludes
org.json.JSONObject frame
private static synthetic java.lang.Boolean lambda$matchSecurityCrashes$7 (org.json.JSONObject, com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern)
org.json.JSONObject frame
com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern p
private static synthetic org.json.JSONObject lambda$matchSecurityCrashes$6 (org.json.JSONArray, int)
org.json.JSONArray backtrace
int j
private static synthetic boolean lambda$matchSecurityCrashes$5 (java.lang.Boolean)
Boolean matched
private static synthetic java.util.stream.Stream lambda$matchSecurityCrashes$4 (java.util.List, org.json.JSONObject)
java.util.List backtraceIncludes
org.json.JSONObject frame
private static synthetic java.lang.Boolean lambda$matchSecurityCrashes$3 (org.json.JSONObject, com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern)
org.json.JSONObject frame
com.android.compatibility.common.util.CrashUtils$Config$BacktraceFilterPattern p
private static synthetic org.json.JSONObject lambda$matchSecurityCrashes$2 (org.json.JSONArray, int)
org.json.JSONArray backtrace
int j
private static synthetic boolean lambda$matchSecurityCrashes$1 (java.lang.String, java.util.regex.Pattern)
String crashAbortMessage
java.util.regex.Pattern p
private static synthetic boolean lambda$matchSecurityCrashes$0 (java.lang.String, java.util.regex.Pattern)
String crashAbortMessage
java.util.regex.Pattern p
static synthetic java.util.List access$600 (java.lang.String[])
String[] x0
static void <clinit> ()
}
com/android/compatibility/common/util/CtsDownstreamingTest.class
CtsDownstreamingTest.java
package com.android.compatibility.common.util
public abstract annotation com.android.compatibility.common.util.CtsDownstreamingTest extends java.lang.Object implements java.lang.annotation.Annotation {
}
com/android/compatibility/common/util/DescriptionProvider.class
DescriptionProvider.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.DescriptionProvider extends org.junit.rules.TestWatcher {
private volatile org.junit.runner.Description description
public void <init> ()
protected void starting (org.junit.runner.Description)
org.junit.runner.Description description
public org.junit.runner.Description getDescription ()
}
com/android/compatibility/common/util/DeviceInfo.class
DeviceInfo.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.DeviceInfo extends com.android.tradefed.testtype.junit4.BaseHostJUnit4Test {
public static final String RESULT_DIR_NAME
public static final String FILE_SUFFIX
public com.android.tradefed.testtype.DeviceJUnit4ClassRunner$TestLogData mLogger
public void <init> ()
public void testCollectDeviceInfo () throws java.lang.Exception
Exception e
String deviceInfoName
java.io.File jsonFile
com.android.tradefed.result.FileInputStreamSource source
protected abstract void collectDeviceInfo (com.android.compatibility.common.util.HostInfoStore) throws java.lang.Exception
protected void collectDeviceInfo (java.io.File) throws java.lang.Exception
com.android.compatibility.common.util.HostInfoStore store
java.io.File jsonFile
}
com/android/compatibility/common/util/DevicePropertyInfo.class
DevicePropertyInfo.java
package com.android.compatibility.common.util
public final com.android.compatibility.common.util.DevicePropertyInfo extends java.lang.Object {
private final String mAbi
private final String mAbi2
private final String mAbis
private final String mAbis32
private final String mAbis64
private final String mBoard
private final String mBrand
private final String mDevice
private final String mFingerprint
private final String mId
private final String mManufacturer
private final String mModel
private final String mProduct
private final String mReferenceFingerprint
private final String mVendorFingerprint
private final String mSerial
private final String mTags
private final String mType
private final String mVersionBaseOs
private final String mVersionRelease
private final String mVersionSdk
private final String mVersionSecurityPatch
private final String mVersionIncremental
private final String mBootimageFingerprint
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.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
String abi
String abi2
String abis
String abis32
String abis64
String board
String brand
String device
String fingerprint
String vendorFingerprint
String id
String manufacturer
String model
String product
String referenceFingerprint
String serial
String tags
String type
String versionBaseOs
String versionRelease
String versionSdk
String versionSecurityPatch
String versionIncremental
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.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
String abi
String abi2
String abis
String abis32
String abis64
String board
String brand
String device
String fingerprint
String vendorFingerprint
String id
String manufacturer
String model
String product
String referenceFingerprint
String serial
String tags
String type
String versionBaseOs
String versionRelease
String versionSdk
String versionSecurityPatch
String versionIncremental
String bootimageFingerprint
public java.util.Map getPropertytMapWithPrefix (java.lang.String)
String prefix
java.util.Map propertyMap
}
com/android/compatibility/common/util/DynamicConfig.class
DynamicConfig.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.DynamicConfig extends java.lang.Object {
public static final String NS
public static final String CONFIG_TAG
public static final String ENTRY_TAG
public static final String VALUE_TAG
public static final String KEY_ATTR
public static final String REMOTE_CONFIG_REQUIRED_KEY
public static final String REMOTE_CONFIG_RETRIEVED_KEY
public static final String CONFIG_FOLDER_ON_DEVICE
protected java.util.Map mDynamicConfigMap
public void <init> ()
public void initializeConfig (java.io.File) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
java.io.File file
public void initializeConfig (java.io.FileInputStream) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
java.io.FileInputStream fileStream
public java.lang.String getValue (java.lang.String)
String key
java.util.List singleValue
public java.util.List getValues (java.lang.String)
String key
public java.util.Set keySet ()
public boolean remoteConfigRequired ()
String val
public boolean remoteConfigRetrieved ()
String val
public void assertRemoteConfigRequirementMet ()
public static java.io.File getConfigFile (java.io.File, java.lang.String) throws java.io.FileNotFoundException
java.io.File configFolder
String moduleName
java.io.File config
public static java.io.File getConfigFileUnchecked (java.io.File, java.lang.String)
java.io.File configFolder
String moduleName
public static java.util.Map createConfigMap (java.io.File) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
java.io.FileInputStream stream
java.io.File file
public static java.util.Map createConfigMap (java.io.FileInputStream) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
String key
java.util.List valueList
java.io.FileInputStream fileStream
java.util.Map dynamicConfigMap
org.xmlpull.v1.XmlPullParser parser
static void <clinit> ()
}
com/android/compatibility/common/util/DynamicConfigHandler.class
DynamicConfigHandler.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.DynamicConfigHandler extends java.lang.Object {
private static final String FILE_EXT
private static final String NS
private static final String ENCODING
public void <init> ()
public static java.io.File getMergedDynamicConfigFile (java.io.File, java.lang.String, java.lang.String) throws java.io.IOException org.xmlpull.v1.XmlPullParserException org.json.JSONException
java.io.File localConfigFile
String apbsConfigJson
String moduleName
java.util.Map localConfig
java.util.Map apbsConfig
private static void setRemoteConfigRetrieved (java.util.Map, boolean)
java.util.Map config
boolean retrieved
java.util.List val
private static java.util.Map parseJsonToConfigMap (java.lang.String) throws org.json.JSONException
org.json.JSONException e
int j
String key
org.json.JSONArray jsonValues
java.util.List values
int i
String apbsConfigJson
java.util.Map configMap
org.json.JSONObject rootObj
org.json.JSONObject configObject
org.json.JSONArray keys
private static java.io.File storeMergedConfigFile (java.util.Map, java.lang.String) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
String value
String key
java.util.Map configMap
String moduleName
java.io.File mergedConfigFile
java.io.OutputStream stream
org.xmlpull.v1.XmlSerializer serializer
static void <clinit> ()
}
com/android/compatibility/common/util/DynamicConfigHostSide.class
DynamicConfigHostSide.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.DynamicConfigHostSide extends java.lang.Object {
public static final String CONFIG_PATH_PREFIX
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
java.util.Map configMap
java.util.List singleValue
public static java.io.File getDynamicConfigFile (com.android.tradefed.build.IBuildInfo, java.lang.String)
com.android.tradefed.build.VersionedFile vFile
com.android.tradefed.build.IBuildInfo info
String moduleName
}
com/android/compatibility/common/util/FeatureUtil.class
FeatureUtil.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.FeatureUtil extends java.lang.Object {
public static final String AUTOMOTIVE_FEATURE
public static final String LEANBACK_FEATURE
public static final String LOW_RAM_FEATURE
public static final String TELEPHONY_FEATURE
public static final String TV_FEATURE
public static final String WATCH_FEATURE
public static final String FEATURE_MICROPHONE
public void <init> ()
public static boolean hasSystemFeature (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String feature
public static transient boolean hasAnySystemFeature (com.android.tradefed.device.ITestDevice, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
String feature
com.android.tradefed.device.ITestDevice device
String[] features
public static transient boolean hasAllSystemFeatures (com.android.tradefed.device.ITestDevice, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
String feature
com.android.tradefed.device.ITestDevice device
String[] features
public static java.util.Set getAllFeatures (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
String feature
com.android.tradefed.device.ITestDevice device
java.util.Set allFeatures
String output
public static boolean isTV (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean isWatch (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean isAutomotive (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean isLowRam (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean hasTelephony (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean hasMicrophone (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
}
com/android/compatibility/common/util/FileUtil.class
FileUtil.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.FileUtil extends java.lang.Object {
public void <init> ()
public static void recursiveDelete (java.io.File)
java.io.File child
java.io.File[] childFiles
java.io.File rootDir
public static void writeToFile (java.io.InputStream, java.io.File) throws java.io.IOException
java.io.InputStream input
java.io.File destFile
java.io.InputStream origStream
java.io.OutputStream destStream
}
com/android/compatibility/common/util/GasTest.class
GasTest.java
package com.android.compatibility.common.util
public abstract annotation com.android.compatibility.common.util.GasTest extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.String requirement ()
public abstract double minSoftwareVersion ()
public abstract double maxSoftwareVersion ()
public abstract double minHardwareVersion ()
public abstract double maxHardwareVersion ()
}
com/android/compatibility/common/util/GmsTest.class
GmsTest.java
package com.android.compatibility.common.util
public abstract annotation com.android.compatibility.common.util.GmsTest extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.String requirement ()
}
com/android/compatibility/common/util/HostInfoStore.class
HostInfoStore.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.HostInfoStore extends com.android.compatibility.common.util.InfoStore {
protected java.io.File mJsonFile
protected com.android.json.stream.JsonWriter mJsonWriter
public void <init> ()
public void <init> (java.io.File) throws java.lang.Exception
java.io.File file
public void open () throws java.io.IOException
java.io.FileOutputStream out
public void close () throws java.lang.Exception
public void startGroup () throws java.io.IOException
public void startGroup (java.lang.String) throws java.io.IOException
String name
public void endGroup () throws java.io.IOException
public void startArray () throws java.io.IOException
public void startArray (java.lang.String) throws java.io.IOException
String name
public void endArray () throws java.io.IOException
public void addResult (java.lang.String, int) throws java.io.IOException
String name
int value
public void addResult (java.lang.String, long) throws java.io.IOException
String name
long value
public void addResult (java.lang.String, float) throws java.io.IOException
String name
float value
public void addResult (java.lang.String, double) throws java.io.IOException
String name
double value
public void addResult (java.lang.String, boolean) throws java.io.IOException
String name
boolean value
public void addResult (java.lang.String, java.lang.String) throws java.io.IOException
String name
String value
public void addArrayResult (java.lang.String, int[]) throws java.io.IOException
int value
String name
int[] array
public void addArrayResult (java.lang.String, long[]) throws java.io.IOException
long value
String name
long[] array
public void addArrayResult (java.lang.String, float[]) throws java.io.IOException
float value
String name
float[] array
public void addArrayResult (java.lang.String, double[]) throws java.io.IOException
double value
String name
double[] array
public void addArrayResult (java.lang.String, boolean[]) throws java.io.IOException
boolean value
String name
boolean[] array
public void addListResult (java.lang.String, java.util.List) throws java.io.IOException
String value
String name
java.util.List list
}
com/android/compatibility/common/util/HostSideTestUtils$BooleanSupplierWithThrow.class
HostSideTestUtils.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.HostSideTestUtils$BooleanSupplierWithThrow extends java.lang.Object {
public abstract boolean getAsBoolean () throws java.lang.Throwable
}
com/android/compatibility/common/util/HostSideTestUtils.class
HostSideTestUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.HostSideTestUtils extends java.lang.Object {
public void <init> ()
public static void waitUntil (java.lang.String, long, com.android.compatibility.common.util.HostSideTestUtils$BooleanSupplierWithThrow) throws java.lang.Throwable
String message
long timeoutSeconds
com.android.compatibility.common.util.HostSideTestUtils$BooleanSupplierWithThrow predicate
int sleep
long timeout
}
com/android/compatibility/common/util/ICaseResult.class
ICaseResult.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.ICaseResult extends java.lang.Object implements java.lang.Comparable {
public abstract java.lang.String getName ()
public abstract com.android.compatibility.common.util.ITestResult getOrCreateResult (java.lang.String)
public abstract com.android.compatibility.common.util.ITestResult getResult (java.lang.String)
public abstract java.util.List getResults ()
public abstract java.util.List getResults (com.android.compatibility.common.util.TestStatus)
public abstract int countResults (com.android.compatibility.common.util.TestStatus)
public abstract void mergeFrom (com.android.compatibility.common.util.ICaseResult)
}
com/android/compatibility/common/util/IInvocationResult.class
IInvocationResult.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.IInvocationResult extends java.lang.Object {
public abstract long getStartTime ()
public abstract void setStartTime (long)
public abstract int countResults (com.android.compatibility.common.util.TestStatus)
public abstract int getNotExecuted ()
public abstract void setTestPlan (java.lang.String)
public abstract java.lang.String getTestPlan ()
public abstract void addDeviceSerial (java.lang.String)
public abstract java.util.Set getDeviceSerials ()
public abstract com.android.compatibility.common.util.IModuleResult getOrCreateModule (java.lang.String)
public abstract java.util.List getModules ()
public abstract void mergeModuleResult (com.android.compatibility.common.util.IModuleResult)
public abstract void addInvocationInfo (java.lang.String, java.lang.String)
public abstract java.util.Map getInvocationInfo ()
public abstract void setCommandLineArgs (java.lang.String)
public abstract java.lang.String getCommandLineArgs ()
public abstract void setBuildFingerprint (java.lang.String)
public abstract java.lang.String getBuildFingerprint ()
public abstract int getModuleCompleteCount ()
public abstract com.android.compatibility.common.util.RetryChecksumStatus getRetryChecksumStatus ()
public abstract void setRetryChecksumStatus (com.android.compatibility.common.util.RetryChecksumStatus)
public abstract java.io.File getRetryDirectory ()
public abstract void setRetryDirectory (java.io.File)
}
com/android/compatibility/common/util/IModuleResult.class
IModuleResult.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.IModuleResult extends java.lang.Object implements java.lang.Comparable {
public abstract java.lang.String getId ()
public abstract java.lang.String getName ()
public abstract java.lang.String getAbi ()
public abstract void addRuntime (long)
public abstract void resetRuntime ()
public abstract long getRuntime ()
public abstract int getNotExecuted ()
public abstract void setNotExecuted (int)
public abstract boolean isDone ()
public abstract boolean isDoneSoFar ()
public abstract void initializeDone (boolean)
public abstract void setDone (boolean)
public abstract void inProgress (boolean)
public abstract int getExpectedTestRuns ()
public abstract void setExpectedTestRuns (int)
public abstract int getTestRuns ()
public abstract void addTestRun ()
public abstract void resetTestRuns ()
public abstract com.android.compatibility.common.util.ICaseResult getOrCreateResult (java.lang.String)
public abstract com.android.compatibility.common.util.ICaseResult getResult (java.lang.String)
public abstract java.util.List getResults ()
public abstract int countResults (com.android.compatibility.common.util.TestStatus)
public abstract void setFailed ()
public abstract boolean isFailed ()
public abstract void mergeFrom (com.android.compatibility.common.util.IModuleResult)
}
com/android/compatibility/common/util/ITestResult.class
ITestResult.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.ITestResult extends java.lang.Object implements java.lang.Comparable {
public abstract java.lang.String getName ()
public abstract java.lang.String getFullName ()
public abstract com.android.compatibility.common.util.TestStatus getResultStatus ()
public abstract void setResultStatus (com.android.compatibility.common.util.TestStatus)
public abstract java.lang.String getMessage ()
public abstract void setMessage (java.lang.String)
public abstract java.lang.String getStackTrace ()
public abstract void setStackTrace (java.lang.String)
public abstract com.android.compatibility.common.util.ReportLog getReportLog ()
public abstract void setReportLog (com.android.compatibility.common.util.ReportLog)
public abstract java.lang.String getBugReport ()
public abstract void setBugReport (java.lang.String)
public abstract java.lang.String getLog ()
public abstract void setLog (java.lang.String)
public abstract java.lang.String getScreenshot ()
public abstract void setScreenshot (java.lang.String)
public abstract void failed (java.lang.String)
public abstract void passed (com.android.compatibility.common.util.ReportLog)
public abstract void skipped ()
public abstract boolean isSkipped ()
public abstract void reset ()
public abstract void setRetry (boolean)
public abstract boolean isRetry ()
public abstract void removeResult ()
public abstract java.util.List getTestResultHistories ()
public abstract void setTestResultHistories (java.util.List)
}
com/android/compatibility/common/util/InfoStore.class
InfoStore.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.InfoStore extends java.lang.Object implements java.lang.AutoCloseable {
protected static final int MAX_STRING_LENGTH
protected static final int MAX_ARRAY_LENGTH
protected static final int MAX_LIST_LENGTH
public void <init> ()
abstract void open () throws java.io.IOException
public abstract void close () throws java.lang.Exception
abstract void startGroup () throws java.io.IOException
abstract void startGroup (java.lang.String) throws java.io.IOException
abstract void endGroup () throws java.io.IOException
abstract void startArray () throws java.io.IOException
abstract void startArray (java.lang.String) throws java.io.IOException
abstract void endArray () throws java.io.IOException
abstract void addResult (java.lang.String, int) throws java.io.IOException
abstract void addResult (java.lang.String, long) throws java.io.IOException
abstract void addResult (java.lang.String, float) throws java.io.IOException
abstract void addResult (java.lang.String, double) throws java.io.IOException
abstract void addResult (java.lang.String, boolean) throws java.io.IOException
abstract void addResult (java.lang.String, java.lang.String) throws java.io.IOException
abstract void addArrayResult (java.lang.String, int[]) throws java.io.IOException
abstract void addArrayResult (java.lang.String, long[]) throws java.io.IOException
abstract void addArrayResult (java.lang.String, float[]) throws java.io.IOException
abstract void addArrayResult (java.lang.String, double[]) throws java.io.IOException
abstract void addArrayResult (java.lang.String, boolean[]) throws java.io.IOException
abstract void addListResult (java.lang.String, java.util.List) throws java.io.IOException
protected static int[] checkArray (int[])
int[] values
protected static long[] checkArray (long[])
long[] values
protected static float[] checkArray (float[])
float[] values
protected static double[] checkArray (double[])
double[] values
protected static boolean[] checkArray (boolean[])
boolean[] values
protected static java.util.List checkStringList (java.util.List)
java.util.List list
protected static java.lang.String checkString (java.lang.String)
String value
protected static java.lang.String checkName (java.lang.String)
String value
protected static boolean isDoubleNaNOrInfinite (java.lang.Double)
Double value
}
com/android/compatibility/common/util/InvocationResult$RunHistory.class
InvocationResult.java
package com.android.compatibility.common.util
public final com.android.compatibility.common.util.InvocationResult$RunHistory extends java.lang.Object {
public long startTime
public long endTime
public void <init> ()
}
com/android/compatibility/common/util/InvocationResult.class
InvocationResult.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.InvocationResult extends java.lang.Object implements com.android.compatibility.common.util.IInvocationResult {
private java.util.Collection mRunHistories
private long mTimestamp
private java.util.Map mModuleResults
private java.util.Map mInvocationInfo
private java.util.Set mSerials
private String mBuildFingerprint
private String mTestPlan
private String mCommandLineArgs
private com.android.compatibility.common.util.RetryChecksumStatus mRetryChecksumStatus
private java.io.File mRetryDirectory
public void <init> ()
public java.util.Collection getRunHistories ()
public java.util.List getModules ()
java.util.ArrayList modules
public int countResults (com.android.compatibility.common.util.TestStatus)
com.android.compatibility.common.util.IModuleResult m
com.android.compatibility.common.util.TestStatus result
int total
public int getNotExecuted ()
com.android.compatibility.common.util.IModuleResult module
int numTests
public com.android.compatibility.common.util.IModuleResult getOrCreateModule (java.lang.String)
String id
com.android.compatibility.common.util.IModuleResult moduleResult
public void mergeModuleResult (com.android.compatibility.common.util.IModuleResult)
com.android.compatibility.common.util.IModuleResult moduleResult
com.android.compatibility.common.util.IModuleResult existingModuleResult
public void addInvocationInfo (java.lang.String, java.lang.String)
String key
String value
public java.util.Map getInvocationInfo ()
public void setStartTime (long)
long time
public long getStartTime ()
public void setTestPlan (java.lang.String)
String plan
public java.lang.String getTestPlan ()
public void addDeviceSerial (java.lang.String)
String serial
public java.util.Set getDeviceSerials ()
public void setCommandLineArgs (java.lang.String)
String commandLineArgs
public java.lang.String getCommandLineArgs ()
public void setBuildFingerprint (java.lang.String)
String buildFingerprint
public java.lang.String getBuildFingerprint ()
public int getModuleCompleteCount ()
com.android.compatibility.common.util.IModuleResult module
int completeModules
public com.android.compatibility.common.util.RetryChecksumStatus getRetryChecksumStatus ()
public void setRetryChecksumStatus (com.android.compatibility.common.util.RetryChecksumStatus)
com.android.compatibility.common.util.RetryChecksumStatus retryStatus
public java.io.File getRetryDirectory ()
public void setRetryDirectory (java.io.File)
java.io.File resultDir
}
com/android/compatibility/common/util/KeyValueArgsParser.class
KeyValueArgsParser.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.KeyValueArgsParser extends java.lang.Object {
private void <init> ()
public static java.util.HashMap parse (java.lang.String[])
String s
String[] args
java.util.HashMap map
String key
}
com/android/compatibility/common/util/LightInvocationResult.class
LightInvocationResult.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.LightInvocationResult extends java.lang.Object implements com.android.compatibility.common.util.IInvocationResult {
private long mTimestamp
private java.util.Map mInvocationInfo
private java.util.Set mSerials
private String mBuildFingerprint
private String mTestPlan
private String mCommandLineArgs
private int mNotExecuted
private int mModuleCompleteCount
private com.android.compatibility.common.util.RetryChecksumStatus mRetryChecksumStatus
private java.io.File mRetryDirectory
private java.util.Set mModuleIds
private java.util.Map mResultCounts
public void <init> (com.android.compatibility.common.util.IInvocationResult)
com.android.compatibility.common.util.IModuleResult module
com.android.compatibility.common.util.TestStatus status
com.android.compatibility.common.util.IInvocationResult result
public java.util.List getModules ()
String id
java.util.List modules
public int countResults (com.android.compatibility.common.util.TestStatus)
com.android.compatibility.common.util.TestStatus result
public int getNotExecuted ()
public com.android.compatibility.common.util.IModuleResult getOrCreateModule (java.lang.String)
String id
public void mergeModuleResult (com.android.compatibility.common.util.IModuleResult)
com.android.compatibility.common.util.IModuleResult moduleResult
public void addInvocationInfo (java.lang.String, java.lang.String)
String key
String value
public java.util.Map getInvocationInfo ()
public void setStartTime (long)
long time
public long getStartTime ()
public void setTestPlan (java.lang.String)
String plan
public java.lang.String getTestPlan ()
public void addDeviceSerial (java.lang.String)
String serial
public java.util.Set getDeviceSerials ()
public void setCommandLineArgs (java.lang.String)
String commandLineArgs
public java.lang.String getCommandLineArgs ()
public void setBuildFingerprint (java.lang.String)
String buildFingerprint
public java.lang.String getBuildFingerprint ()
public int getModuleCompleteCount ()
public com.android.compatibility.common.util.RetryChecksumStatus getRetryChecksumStatus ()
public void setRetryChecksumStatus (com.android.compatibility.common.util.RetryChecksumStatus)
com.android.compatibility.common.util.RetryChecksumStatus retryStatus
public java.io.File getRetryDirectory ()
public void setRetryDirectory (java.io.File)
java.io.File resultDir
}
com/android/compatibility/common/util/LogcatInspector.class
LogcatInspector.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.LogcatInspector extends java.lang.Object {
private static final int SMALL_LOGCAT_DELAY
public void <init> ()
protected abstract java.io.InputStream executeShellCommand (java.lang.String) throws java.io.IOException
public java.lang.String mark (java.lang.String) throws java.io.IOException
String tag
String uniqueString
public transient void assertLogcatContainsInOrder (java.lang.String, int, java.lang.String[]) throws java.lang.AssertionError java.io.IOException
int nextStringIndex
InterruptedException e
String filterSpec
int maxTimeoutInSeconds
String[] logcatStrings
public transient void assertLogcatDoesNotContainInOrder (int, java.lang.String[]) throws java.io.IOException
int stringsFound
InterruptedException e
int timeInSeconds
String[] logcatStrings
private transient int numberOfLogcatStringsFound (java.lang.String, int, java.lang.String[]) throws java.lang.InterruptedException java.io.IOException
java.io.InputStream logcatStream
java.io.BufferedReader logcat
String line
String filterSpec
int timeInSeconds
String[] logcatStrings
long timeout
int stringIndex
}
com/android/compatibility/common/util/MeasureRun.class
MeasureRun.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.MeasureRun extends java.lang.Object {
public void <init> ()
public void prepare (int) throws java.lang.Exception
int i
public abstract void run (int) throws java.lang.Exception
}
com/android/compatibility/common/util/MeasureTime.class
MeasureTime.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.MeasureTime extends java.lang.Object {
public void <init> ()
public static double[] measure (int, com.android.compatibility.common.util.MeasureRun) throws java.lang.Exception
long start
long end
int i
int count
com.android.compatibility.common.util.MeasureRun run
double[] result
}
com/android/compatibility/common/util/MetricsReportLog.class
MetricsReportLog.java
package com.android.compatibility.common.util
public final com.android.compatibility.common.util.MetricsReportLog extends com.android.compatibility.common.util.ReportLog {
private final String mAbi
private final String mClassMethodName
private final com.android.tradefed.build.IBuildInfo mBuildInfo
private static final String TEMPORARY_REPORT_FOLDER
private com.android.compatibility.common.util.ReportLogHostInfoStore store
public void <init> (com.android.tradefed.build.IBuildInfo, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
com.android.tradefed.build.IBuildInfo buildInfo
String abi
String classMethodName
String reportLogName
String streamName
public void <init> (com.android.tradefed.build.IBuildInfo, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
String tmpDirName
java.io.File dir
java.io.File jsonFile
Exception e
com.android.tradefed.build.IBuildInfo buildInfo
String abi
String classMethodName
String reportLogName
String streamName
boolean deviceDir
public void addValue (java.lang.String, java.lang.String, double, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String source
String message
double value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, double, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
double value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, java.lang.String, double[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String source
String message
double[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, double[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
double[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, int, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
int value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, long, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
long value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, float, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
float value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, boolean, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
boolean value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, java.lang.String, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
String value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, int[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
int[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, long[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
long[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, float[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
float[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, boolean[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
boolean[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, java.util.List, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
java.util.List values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void setSummary (java.lang.String, double, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
Exception e
String message
double value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void submit ()
Exception e
}
com/android/compatibility/common/util/MetricsStore.class
MetricsStore.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.MetricsStore extends java.lang.Object {
private static final java.util.concurrent.ConcurrentHashMap mMap
private static final String START_TIME_TAG
private void <init> ()
public static void storeResult (com.android.tradefed.build.IBuildInfo, java.lang.String, java.lang.String, com.android.compatibility.common.util.ReportLog)
com.android.tradefed.build.IBuildInfo buildInfo
String abi
String classMethodName
com.android.compatibility.common.util.ReportLog reportLog
String startTime
public static com.android.compatibility.common.util.ReportLog removeResult (com.android.tradefed.build.IBuildInfo, java.lang.String, java.lang.String)
com.android.tradefed.build.IBuildInfo buildInfo
String abi
String classMethodName
String startTime
private static java.lang.String generateTestKey (java.lang.String, java.lang.String, java.lang.String)
String startTime
String abi
String classMethodName
static void <clinit> ()
}
com/android/compatibility/common/util/MetricsXmlSerializer.class
MetricsXmlSerializer.java
package com.android.compatibility.common.util
public final com.android.compatibility.common.util.MetricsXmlSerializer extends java.lang.Object {
private final org.xmlpull.v1.XmlSerializer mXmlSerializer
public void <init> (org.xmlpull.v1.XmlSerializer)
org.xmlpull.v1.XmlSerializer xmlSerializer
public void serialize (com.android.compatibility.common.util.ReportLog) throws java.io.IOException
com.android.compatibility.common.util.ReportLog reportLog
com.android.compatibility.common.util.ReportLog$Metric summary
}
com/android/compatibility/common/util/ModuleResult.class
ModuleResult.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ModuleResult extends java.lang.Object implements com.android.compatibility.common.util.IModuleResult {
private String mId
private long mRuntime
private boolean mDone
private boolean mHaveSetDone
private boolean mInProgress
private int mExpectedTestRuns
private int mActualTestRuns
private int mNotExecuted
private boolean mIsFailed
private java.util.Map mResults
public void <init> (java.lang.String)
String id
public boolean isDone ()
public boolean isDoneSoFar ()
public void initializeDone (boolean)
boolean done
public void setDone (boolean)
boolean done
public void inProgress (boolean)
boolean inProgress
public int getExpectedTestRuns ()
public void setExpectedTestRuns (int)
int numRuns
public int getTestRuns ()
public void addTestRun ()
public void resetTestRuns ()
public int getNotExecuted ()
public void setNotExecuted (int)
int numTests
public java.lang.String getId ()
public java.lang.String getName ()
public java.lang.String getAbi ()
public void addRuntime (long)
long elapsedTime
public void resetRuntime ()
public long getRuntime ()
public com.android.compatibility.common.util.ICaseResult getOrCreateResult (java.lang.String)
String caseName
com.android.compatibility.common.util.ICaseResult result
public com.android.compatibility.common.util.ICaseResult getResult (java.lang.String)
String caseName
public java.util.List getResults ()
java.util.ArrayList results
public int countResults (com.android.compatibility.common.util.TestStatus)
com.android.compatibility.common.util.ICaseResult result
com.android.compatibility.common.util.TestStatus status
int total
public int compareTo (com.android.compatibility.common.util.IModuleResult)
com.android.compatibility.common.util.IModuleResult another
public void setFailed ()
public boolean isFailed ()
public void mergeFrom (com.android.compatibility.common.util.IModuleResult)
com.android.compatibility.common.util.ICaseResult caseResult
com.android.compatibility.common.util.ICaseResult otherCaseResult
com.android.compatibility.common.util.IModuleResult otherModuleResult
public volatile synthetic int compareTo (java.lang.Object)
}
com/android/compatibility/common/util/MonitoringUtils.class
MonitoringUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.MonitoringUtils extends java.lang.Object {
private static final long CONNECTIVITY_CHECK_TIME_MS
private static final long CONNECTIVITY_CHECK_INTERVAL_MS
public void <init> ()
public static boolean checkDeviceConnectivity (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
long start
public static void checkDeviceConnectivity (com.android.tradefed.device.ITestDevice, com.android.tradefed.result.ITestInvocationListener, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.result.ITestInvocationListener listener
String tag
}
com/android/compatibility/common/util/MultiLog.class
MultiLog.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.MultiLog extends java.lang.Object {
public transient abstract void logInfo (java.lang.String, java.lang.String, java.lang.Object[])
public transient abstract void logDebug (java.lang.String, java.lang.String, java.lang.Object[])
public transient abstract void logWarn (java.lang.String, java.lang.String, java.lang.Object[])
public transient abstract void logError (java.lang.String, java.lang.String, java.lang.Object[])
}
com/android/compatibility/common/util/MultipartForm.class
MultipartForm.java
package com.android.compatibility.common.util
com.android.compatibility.common.util.MultipartForm extends java.lang.Object {
private static final String FORM_DATA_BOUNDARY
final String mServerUrl
final java.util.Map mFormValues
String mName
String mFileName
byte[] mData
public void <init> (java.lang.String)
String serverUrl
public com.android.compatibility.common.util.MultipartForm addFormValue (java.lang.String, java.lang.String)
String name
String value
public com.android.compatibility.common.util.MultipartForm addFormFile (java.lang.String, java.lang.String, byte[])
String name
String fileName
byte[] data
public int submit () throws java.io.IOException
private int submitForm (java.lang.String) throws java.io.IOException
java.net.URL url
byte[] body
java.io.OutputStream output
java.io.InputStream input
int response
String serverUrl
java.net.HttpURLConnection connection
byte[] getContentBody () throws java.io.IOException
java.util.Map$Entry formValue
java.io.ByteArrayOutputStream byteOutput
java.io.PrintWriter writer
private void writeFormField (java.io.PrintWriter, java.lang.String, java.lang.String)
java.io.PrintWriter writer
String name
String value
private void writeFormFileHeader (java.io.PrintWriter, java.lang.String, java.lang.String)
java.io.PrintWriter writer
String name
String fileName
}
com/android/compatibility/common/util/PackageUtil.class
PackageUtil.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.PackageUtil extends java.lang.Object {
public void <init> ()
public static boolean exists (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String packageName
public static boolean isSystemApp (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String packageName
com.android.tradefed.device.PackageInfo info
public static java.lang.String getVersionString (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String packageName
com.android.tradefed.device.PackageInfo info
}
com/android/compatibility/common/util/PollingCheck$1.class
PollingCheck.java
package com.android.compatibility.common.util
synthetic com.android.compatibility.common.util.PollingCheck$1 extends java.lang.Object {
}
com/android/compatibility/common/util/PollingCheck$PollingCheckClock.class
PollingCheck.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.PollingCheck$PollingCheckClock extends java.lang.Object {
public abstract long currentTimeMillis ()
public void sleep (long) throws java.lang.InterruptedException
long millis
}
com/android/compatibility/common/util/PollingCheck$SystemClock.class
PollingCheck.java
package com.android.compatibility.common.util
com.android.compatibility.common.util.PollingCheck$SystemClock extends java.lang.Object implements com.android.compatibility.common.util.PollingCheck$PollingCheckClock {
private void <init> ()
public long currentTimeMillis ()
synthetic void <init> (com.android.compatibility.common.util.PollingCheck$1)
com.android.compatibility.common.util.PollingCheck$1 x0
}
com/android/compatibility/common/util/PollingCheck.class
PollingCheck.java
package com.android.compatibility.common.util
public abstract com.android.compatibility.common.util.PollingCheck extends java.lang.Object {
public static final com.android.compatibility.common.util.PollingCheck$PollingCheckClock DEFAULT_CLOCK
private static final long TIME_SLICE
public void <init> ()
public static boolean check (com.android.compatibility.common.util.PollingCheck$PollingCheckClock, long, long, java.util.concurrent.Callable) throws java.lang.Exception
com.android.compatibility.common.util.PollingCheck$PollingCheckClock clock
long pollInterval
long timeout
java.util.concurrent.Callable condition
long start
public static boolean check (long, java.util.concurrent.Callable) throws java.lang.Exception
long timeout
java.util.concurrent.Callable condition
public static void check (com.android.compatibility.common.util.PollingCheck$PollingCheckClock, java.lang.String, long, long, java.util.concurrent.Callable) throws java.lang.Exception
com.android.compatibility.common.util.PollingCheck$PollingCheckClock clock
String message
long pollInterval
long timeout
java.util.concurrent.Callable condition
public static void check (java.lang.String, long, java.util.concurrent.Callable) throws java.lang.Exception
String message
long timeout
java.util.concurrent.Callable condition
public static void waitFor (com.android.compatibility.common.util.PollingCheck$PollingCheckClock, long, long, java.util.concurrent.Callable) throws java.lang.Exception
com.android.compatibility.common.util.PollingCheck$PollingCheckClock clock
long pollInterval
long timeout
java.util.concurrent.Callable condition
public static void waitFor (long, java.util.concurrent.Callable) throws java.lang.Exception
long timeout
java.util.concurrent.Callable condition
static void <clinit> ()
}
com/android/compatibility/common/util/PropertyUtil.class
PropertyUtil.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.PropertyUtil extends java.lang.Object {
public static final String FIRST_API_LEVEL
private static final String BOARD_API_LEVEL
private static final String BOARD_FIRST_API_LEVEL
private static final String BUILD_TAGS_PROPERTY
private static final String BUILD_TYPE_PROPERTY
private static final String MANUFACTURER_PROPERTY
private static final String TAG_DEV_KEYS
private static final String VENDOR_BUILD_VERSION_SDK
private static final String VNDK_VERSION
public static final int INT_VALUE_IF_UNSET
public static final int API_LEVEL_CURRENT
public static final String GOOGLE_SETTINGS_QUERY
private void <init> ()
public static boolean isUserBuild (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static boolean isDevKeysBuild (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
String tag
com.android.tradefed.device.ITestDevice device
String buildTags
public static int getFirstApiLevel (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
int firstApiLevel
public static int getVsrApiLevel (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
int apiLevel
String apiLevelProp
com.android.tradefed.device.ITestDevice device
String[] boardApiLevelProps
public static int getVendorApiLevel (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
int apiLevel
String prop
com.android.tradefed.device.ITestDevice device
String[] vendorApiLevelProps
public static boolean isVendorApiLevelNewerThan (com.android.tradefed.device.ITestDevice, int) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
int apiLevel
public static boolean isVendorApiLevelAtLeast (com.android.tradefed.device.ITestDevice, int) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
int apiLevel
public static java.lang.String getManufacturer (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
public static java.util.Map getClientIds (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
String name
String value
java.util.regex.Pattern pattern
java.util.regex.Matcher matcher
String line
com.android.tradefed.device.ITestDevice device
java.util.Map clientIds
String queryOutput
public static boolean propertyExists (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String property
public static boolean propertyEquals (com.android.tradefed.device.ITestDevice, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String property
String value
public static boolean propertyMatches (com.android.tradefed.device.ITestDevice, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String property
String regex
String value
public static int getPropertyInt (com.android.tradefed.device.ITestDevice, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
NumberFormatException e
com.android.tradefed.device.ITestDevice device
String property
String value
}
com/android/compatibility/common/util/ProtoUtils.class
ProtoUtils.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ProtoUtils extends java.lang.Object {
public static final String DUMPSYS_JOB_SCHEDULER
public void <init> ()
public static com.google.protobuf.MessageLite getProto (com.android.tradefed.device.ITestDevice, com.google.protobuf.Parser, java.lang.String) throws java.lang.Exception
com.android.tradefed.device.ITestDevice device
com.google.protobuf.Parser parser
String command
com.android.tradefed.device.CollectingByteOutputReceiver receiver
}
com/android/compatibility/common/util/ReadElf$DynamicEntry.class
ReadElf.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReadElf$DynamicEntry extends java.lang.Object {
private static final int DT_NEEDED
public final long mTag
public final long mValue
void <init> (long, long)
long tag
long value
public boolean isNeeded ()
public long getValue ()
public java.lang.String toString ()
}
com/android/compatibility/common/util/ReadElf$SecHeader.class
ReadElf.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReadElf$SecHeader extends java.lang.Object {
public final long sh_name
public final long sh_type
public final long sh_flags
public final long sh_addr
public final long sh_offset
public final long sh_size
public final long sh_link
public final long sh_info
public final long sh_addralign
public final long sh_entsize
void <init> (long, long, long, long, long, long, long, long, long, long)
long name
long type
long flags
long addr
long offset
long size
long link
long info
long addralign
long entsize
public java.lang.String toString ()
}
com/android/compatibility/common/util/ReadElf$Symbol.class
ReadElf.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReadElf$Symbol extends java.lang.Object {
public static final int STB_LOCAL
public static final int STB_GLOBAL
public static final int STB_WEAK
public static final int STB_LOPROC
public static final int STB_HIPROC
public static final int STT_NOTYPE
public static final int STT_OBJECT
public static final int STT_FUNC
public static final int STT_SECTION
public static final int STT_FILE
public static final int STT_COMMON
public static final int STT_TLS
public static final int SHN_UNDEF
public static final int SHN_ABS
public final String name
public final int bind
public final int type
public final int shndx
public final long value
public final long size
public final int other
public com.android.compatibility.common.util.ReadElf$VerNeed mVerNeed
public com.android.compatibility.common.util.ReadElf$VerDef mVerDef
void <init> (java.lang.String, int, int, long, long, int)
String name
int st_info
int st_shndx
long st_value
long st_size
int st_other
public java.lang.String toString ()
public java.lang.String toBind ()
public java.lang.String toType ()
public java.lang.String toShndx ()
public boolean isGlobalUnd ()
public boolean isExtern ()
public java.lang.String getExternalLibFileName ()
public java.lang.String getExternalLibName ()
public int getExternalLibVer ()
public java.lang.String getVerDefLibName ()
public int getVerDefVersion ()
}
com/android/compatibility/common/util/ReadElf$VerDAux.class
ReadElf.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReadElf$VerDAux extends java.lang.Object {
public final long vda_name
public final long vda_next
public String vda_lib_name
void <init> (java.lang.String)
String lib_name
void <init> (long, long)
long name
long next
public java.lang.String toString ()
}
com/android/compatibility/common/util/ReadElf$VerDef.class
ReadElf.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReadElf$VerDef extends java.lang.Object {
public final int vd_version
public final int vd_flags
public final int vd_ndx
public final int vd_cnt
public final long vd_hash
public final long vd_aux
public final long vd_next
public com.android.compatibility.common.util.ReadElf$VerDAux[] vd_verdaux
void <init> (java.lang.String)
String lib_name
void <init> (int, int, int, int, long, long, long)
int ver
int flags
int ndx
int cnt
long hash
long aux
long next
public java.lang.String toString ()
int i
String vStr
}
com/android/compatibility/common/util/ReadElf$VerNAux.class
ReadElf.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReadElf$VerNAux extends java.lang.Object {
public final long vna_hash
public final int vna_flags
public final int vna_other
public final long vna_name
public final long vna_next
public String vna_lib_name
void <init> (java.lang.String, int)
String lib_name
int ndx
void <init> (long, int, int, long, long)
long hash
int flags
int other
long name
long next
public java.lang.String toString ()
}
com/android/compatibility/common/util/ReadElf$VerNeed.class
ReadElf.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReadElf$VerNeed extends java.lang.Object {
public final int vn_version
public final int vn_cnt
public final long vn_file
public final long vn_aux
public final long vn_next
public String vn_file_name
public com.android.compatibility.common.util.ReadElf$VerNAux[] vn_vernaux
void <init> (java.lang.String, java.lang.String, int)
String file_name
String lib_name
int ndx
void <init> (int, int, long, long, long)
int ver
int cnt
long file
long aux
long next
public java.lang.String toString ()
int i
String vernauxStr
}
com/android/compatibility/common/util/ReadElf.class
ReadElf.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReadElf extends java.lang.Object implements java.lang.AutoCloseable {
private static final byte[] ELFMAG
private static final int EI_NIDENT
private static final int EI_CLASS
private static final int EI_DATA
public static final int ET_DYN
public static final int EM_386
public static final int EM_MIPS
public static final int EM_ARM
public static final int EM_X86_64
public static final int EM_QDSP6
public static final int EM_AARCH64
public static final String ARCH_ARM
public static final String ARCH_X86
public static final String ARCH_MIPS
public static final String ARCH_UNKNOWN
private static final String RODATA
private static final int ELFCLASS32
private static final int ELFCLASS64
private static final int ELFDATA2LSB
private static final int ELFDATA2MSB
private static final int EV_CURRENT
private static final long PT_LOAD
private static final int SHT_PROGBITS
private static final int SHT_SYMTAB
private static final int SHT_STRTAB
private static final int SHT_DYNAMIC
private static final int SHT_DYNSYM
private static final int SHT_GNU_VERDEF
private static final int SHT_GNU_VERNEED
private static final int SHT_GNU_VERSYM
private final String mPath
private final java.io.RandomAccessFile mFile
private final byte[] mBuffer
private int mEndian
private boolean mIsDynamic
private boolean mIsPIE
private int mType
private int mAddrSize
private int mMachine
private long mSymTabOffset
private long mSymTabSize
private int mSymEntCnt
private long mDynSymOffset
private long mDynSymSize
private int mDynSymEntCnt
private long mShStrTabOffset
private long mShStrTabSize
private long mStrTabOffset
private long mStrTabSize
private long mDynStrOffset
private long mDynStrSize
private long mDynamicTabOffset
private long mDynamicTabSize
private long mVerSymTabOffset
private long mVerSymTabSize
private long mVerNeedTabOffset
private long mVerNeedTabSize
private int mVerNeedEntryCnt
private long mVerDefTabOffset
private long mVerDefTabSize
private int mVerDefEntryCnt
private java.util.Map mSymbols
private com.android.compatibility.common.util.ReadElf$Symbol[] mSymArr
private java.util.Map mDynamicSymbols
private com.android.compatibility.common.util.ReadElf$Symbol[] mDynSymArr
private int[] mVerSym
private com.android.compatibility.common.util.ReadElf$VerNeed[] mVerNeedArr
private com.android.compatibility.common.util.ReadElf$VerDef[] mVerDefArr
private java.util.List mDynamicArr
private boolean mHasRodata
private long mRodataOffset
private int mRodataSize
private java.util.List mRoStrings
private byte[] mRoData
public static com.android.compatibility.common.util.ReadElf read (java.io.File) throws java.io.IOException
java.io.File file
public static void main (java.lang.String[]) throws java.io.IOException
int i
int i
String DynDepEntry
String roStr
com.android.compatibility.common.util.ReadElf elf
com.android.compatibility.common.util.ReadElf$Symbol[] symArr
String arg
String[] args
public static boolean isElf (java.io.File)
java.io.RandomAccessFile raFile
byte[] buffer
Exception e
java.io.File file
public int getBits ()
public java.lang.String getArchitecture ()
public java.util.Map getSymbols () throws java.io.IOException
public com.android.compatibility.common.util.ReadElf$Symbol[] getSymArr () throws java.io.IOException
public java.util.Map getDynamicSymbols () throws java.io.IOException
public com.android.compatibility.common.util.ReadElf$Symbol[] getDynSymArr () throws java.io.IOException
public boolean isDynamic ()
public int getType ()
public boolean isPIE ()
private void <init> (java.io.File) throws java.io.IOException
java.io.File file
public void close ()
protected void finalize () throws java.lang.Throwable
private void readHeader () throws java.io.IOException
int elfClass
int e_machine
long e_version
long e_entry
long ph_off
long sh_off
long e_flags
int e_ehsize
int e_phentsize
int e_phnum
int e_shentsize
int e_shnum
int e_shstrndx
private void readSectionHeaders (long, int, int, int) throws java.io.IOException
long sh_name
long sh_type
long sh_flags
long sh_addr
long sh_offset
long sh_size
String symTabName
String strTabName
String strTabName
String strTabName
String strTabName
String strTabName
String strTabName
long sh_name
long sh_type
long sh_flags
long sh_addr
long sh_offset
long sh_size
long sh_link
long sh_info
long sh_addralign
long sh_entsize
int i
long sh_off
int e_shnum
int e_shentsize
int e_shstrndx
private void readProgramHeaders (long, int, int) throws java.io.IOException
long p_offset
long p_vaddr
long p_type
int i
long ph_off
int e_phnum
int e_phentsize
private java.util.HashMap readSymbolTable (com.android.compatibility.common.util.ReadElf$Symbol[], boolean, long, long, long, long) throws java.io.IOException
int st_info
int st_shndx
long st_value
long st_size
int st_other
String symName
long st_name
int st_info
int st_shndx
long st_value
long st_size
int st_other
String symName
com.android.compatibility.common.util.ReadElf$Symbol sym
com.android.compatibility.common.util.ReadElf$Symbol[] symArr
boolean isDynSym
long symStrOffset
long symStrSize
long tableOffset
long tableSize
java.util.HashMap result
int i
private java.lang.String readShStrTabEntry (long) throws java.io.IOException
long strOffset
private java.lang.String readStrTabEntry (long, long, long) throws java.io.IOException
long tableOffset
long tableSize
long strOffset
private java.lang.String readDynStrTabEntry (long) throws java.io.IOException
long strOffset
private int[] getVerSym () throws java.io.IOException
int i
int cnt
public com.android.compatibility.common.util.ReadElf$VerNeed getVerNeed (int) throws java.io.IOException
int j
int i
int ndx
private com.android.compatibility.common.util.ReadElf$VerNeed[] getVerNeedArr () throws java.io.IOException
int j
long idxAux
int i
long idx
private com.android.compatibility.common.util.ReadElf$VerDef[] getVerDef () throws java.io.IOException
int j
long idxAux
int i
long idx
private int readHalf () throws java.io.IOException
private long readWord () throws java.io.IOException
private long readOff () throws java.io.IOException
private long readAddr () throws java.io.IOException
private long readX (int) throws java.io.IOException
int i
int i
int N
int byteCount
int answer
private java.lang.String readString (long) throws java.io.IOException
int i
long offset
long originalOffset
private int readByte () throws java.io.IOException
public com.android.compatibility.common.util.ReadElf$Symbol getSymbol (java.lang.String)
java.io.IOException e
String name
public com.android.compatibility.common.util.ReadElf$Symbol getDynamicSymbol (java.lang.String) throws java.io.IOException
int[] verSmyArr
com.android.compatibility.common.util.ReadElf$VerNeed[] verNeedArr
com.android.compatibility.common.util.ReadElf$VerDef[] verDefArr
java.io.IOException e
String name
public java.util.List getDynamicDependencies () throws java.io.IOException
com.android.compatibility.common.util.ReadElf$DynamicEntry entry
java.util.List result
private java.util.List getDynamicList () throws java.io.IOException
long tag
long value
int entryNo
private java.lang.String readDynStr (long) throws java.io.IOException
long strOffset
int offset
public java.util.List getRoStrings () throws java.io.IOException
String str
int i
int strOffset
byte[] byteArr
public byte[] getRoData () throws java.io.IOException
static void <clinit> ()
}
com/android/compatibility/common/util/ReportLog$Metric.class
ReportLog.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReportLog$Metric extends java.lang.Object implements java.io.Serializable {
private static final int MAX_SOURCE_LENGTH
private static final int MAX_MESSAGE_LENGTH
private static final int MAX_NUM_VALUES
String mSource
String mMessage
double[] mValues
com.android.compatibility.common.util.ResultType mType
com.android.compatibility.common.util.ResultUnit mUnit
void <init> (java.lang.String, java.lang.String, double, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String source
String message
double value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
void <init> (java.lang.String, java.lang.String, double[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String source
String message
double[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
int sourceLength
int messageLength
int valuesLength
public java.lang.String getSource ()
public java.lang.String getMessage ()
public double[] getValues ()
public com.android.compatibility.common.util.ResultType getType ()
public com.android.compatibility.common.util.ResultUnit getUnit ()
void serialize (org.xmlpull.v1.XmlSerializer) throws java.lang.IllegalArgumentException java.lang.IllegalStateException java.io.IOException
double d
org.xmlpull.v1.XmlSerializer serializer
static com.android.compatibility.common.util.ReportLog$Metric parse (org.xmlpull.v1.XmlPullParser) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
int i
org.xmlpull.v1.XmlPullParser parser
String source
String message
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
java.util.List valuesList
int length
double[] values
}
com/android/compatibility/common/util/ReportLog.class
ReportLog.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReportLog extends java.lang.Object implements java.io.Serializable {
private static final String ENCODING
private static final String TYPE
private static final String METRIC_TAG
private static final String MESSAGE_ATTR
private static final String SCORETYPE_ATTR
private static final String SCOREUNIT_ATTR
private static final String SOURCE_ATTR
private static final String SUMMARY_TAG
private static final String VALUE_TAG
private static final String DEFAULT_NAME
protected com.android.compatibility.common.util.ReportLog$Metric mSummary
protected String mReportLogName
protected String mStreamName
public void <init> ()
public void <init> (java.lang.String, java.lang.String)
String reportLogName
String streamName
public void addValues (java.lang.String, double[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
double[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, java.lang.String, double[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String source
String message
double[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, double, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
double value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, java.lang.String, double, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String source
String message
double value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, int, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
int value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, long, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
long value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, float, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
float value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, boolean, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
boolean value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValue (java.lang.String, java.lang.String, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
String value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, int[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
int[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, long[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
long[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, float[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
float[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, boolean[], com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
boolean[] values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public void addValues (java.lang.String, java.util.List, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
java.util.List values
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
void setSummary (com.android.compatibility.common.util.ReportLog$Metric)
com.android.compatibility.common.util.ReportLog$Metric elem
public void setSummary (java.lang.String, double, com.android.compatibility.common.util.ResultType, com.android.compatibility.common.util.ResultUnit)
String message
double value
com.android.compatibility.common.util.ResultType type
com.android.compatibility.common.util.ResultUnit unit
public com.android.compatibility.common.util.ReportLog$Metric getSummary ()
public static java.lang.String serialize (com.android.compatibility.common.util.ReportLog) throws org.xmlpull.v1.XmlPullParserException java.lang.IllegalArgumentException java.lang.IllegalStateException java.io.IOException
com.android.compatibility.common.util.ReportLog reportlog
java.io.ByteArrayOutputStream byteArrayOutputStream
org.xmlpull.v1.XmlSerializer serializer
public static void serialize (org.xmlpull.v1.XmlSerializer, com.android.compatibility.common.util.ReportLog) throws java.io.IOException
org.xmlpull.v1.XmlSerializer serializer
com.android.compatibility.common.util.ReportLog reportLog
com.android.compatibility.common.util.ReportLog$Metric summary
public static com.android.compatibility.common.util.ReportLog parse (java.lang.String) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
org.xmlpull.v1.XmlPullParserException e
String result
org.xmlpull.v1.XmlPullParserFactory factory
org.xmlpull.v1.XmlPullParser parser
public static com.android.compatibility.common.util.ReportLog parse (org.xmlpull.v1.XmlPullParser) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
org.xmlpull.v1.XmlPullParser parser
com.android.compatibility.common.util.ReportLog report
}
com/android/compatibility/common/util/ReportLogHostInfoStore.class
ReportLogHostInfoStore.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ReportLogHostInfoStore extends com.android.compatibility.common.util.HostInfoStore {
private final String mStreamName
private java.io.File tempJsonFile
public void <init> (java.io.File, java.lang.String) throws java.lang.Exception
java.io.File jsonFile
String streamName
public void open () throws java.io.IOException
java.io.BufferedReader jsonReader
String currentLine
String nextLine
java.io.BufferedWriter formatWriter
public void close () throws java.io.IOException
java.io.BufferedWriter formatWriter
String line
java.io.BufferedWriter metricsWriter
java.io.BufferedReader jsonReader
}
com/android/compatibility/common/util/ResultHandler$1.class
ResultHandler.java
package com.android.compatibility.common.util
synthetic com.android.compatibility.common.util.ResultHandler$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$compatibility$common$util$RetryChecksumStatus
static void <clinit> ()
}
com/android/compatibility/common/util/ResultHandler.class
ResultHandler.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ResultHandler extends java.lang.Object {
private static final String ENCODING
private static final String TYPE
private static final String NS
private static final String RESULT_FILE_VERSION
public static final String TEST_RESULT_FILE_NAME
public static final String FAILURE_REPORT_NAME
private static final String FAILURE_XSL_FILE_NAME
public static final String[] RESULT_RESOURCES
private static final String ABI_ATTR
private static final String BUGREPORT_TAG
private static final String BUILD_FINGERPRINT
private static final String BUILD_FINGERPRINT_UNALTERED
private static final String BUILD_ID
private static final String BUILD_PRODUCT
private static final String BUILD_TAG
private static final String CASE_TAG
private static final String COMMAND_LINE_ARGS
private static final String DEVICES_ATTR
private static final String DONE_ATTR
private static final String END_DISPLAY_TIME_ATTR
private static final String END_TIME_ATTR
private static final String FAILED_ATTR
private static final String FAILURE_TAG
private static final String HOST_NAME_ATTR
private static final String JAVA_VENDOR_ATTR
private static final String JAVA_VERSION_ATTR
private static final String LOGCAT_TAG
private static final String LOG_URL_ATTR
private static final String MESSAGE_ATTR
private static final String MODULE_TAG
private static final String MODULES_DONE_ATTR
private static final String MODULES_TOTAL_ATTR
private static final String MODULES_NOT_DONE_REASON
private static final String NAME_ATTR
private static final String OS_ARCH_ATTR
private static final String OS_NAME_ATTR
private static final String OS_VERSION_ATTR
private static final String PASS_ATTR
private static final String REPORT_VERSION_ATTR
private static final String REFERENCE_URL_ATTR
private static final String RESULT_ATTR
private static final String RESULT_TAG
private static final String RUNTIME_ATTR
private static final String RUN_HISTORY_ATTR
private static final String RUN_HISTORY_TAG
private static final String RUN_TAG
private static final String SCREENSHOT_TAG
private static final String SKIPPED_ATTR
private static final String STACK_TAG
private static final String START_DISPLAY_TIME_ATTR
private static final String START_TIME_ATTR
private static final String SUITE_NAME_ATTR
private static final String SUITE_PLAN_ATTR
private static final String SUITE_VERSION_ATTR
private static final String SUITE_BUILD_ATTR
private static final String SUMMARY_TAG
private static final String METRIC_TAG
private static final String TEST_TAG
private static final String LATEST_RESULT_DIR
public void <init> ()
public static java.util.List getLightResults (java.io.File)
com.android.compatibility.common.util.IInvocationResult result
java.io.File resultDir
java.io.File resultsDir
java.util.List results
java.util.List files
public static com.android.compatibility.common.util.IInvocationResult getResultFromDir (java.io.File)
java.io.File resultDir
public static com.android.compatibility.common.util.IInvocationResult getResultFromDir (java.io.File, java.lang.Boolean)
com.android.compatibility.common.util.ChecksumReporter$ChecksumValidationException e
String device
org.xmlpull.v1.XmlPullParserException e
String testName
com.android.compatibility.common.util.ITestResult test
String result
String skipped
Boolean checksumMismatch
String caseName
com.android.compatibility.common.util.ICaseResult testCase
String name
String abi
String moduleId
boolean done
com.android.compatibility.common.util.IModuleResult module
long runtime
Boolean checksumMismatch
Boolean invocationUseChecksum
com.android.compatibility.common.util.IInvocationResult invocation
com.android.compatibility.common.util.ChecksumReporter checksumReporter
org.xmlpull.v1.XmlPullParserFactory factory
org.xmlpull.v1.XmlPullParser parser
String deviceList
String runHistoryValue
String reportFingerprint
String unalteredFingerprint
Boolean fingerprintWasAltered
boolean hasRunHistoryTag
Exception e
java.io.File resultDir
Boolean useChecksum
java.io.File resultFile
private static void parseRunHistory (org.xmlpull.v1.XmlPullParser) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
org.xmlpull.v1.XmlPullParser parser
private static void skipCurrentTag (org.xmlpull.v1.XmlPullParser) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
org.xmlpull.v1.XmlPullParser parser
int depth
public static java.io.File writeResults (java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.android.compatibility.common.util.IInvocationResult, java.io.File, long, long, java.lang.String, java.lang.String, java.lang.String, java.util.Map) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
java.util.Map$Entry entry
String device
java.util.Map$Entry entry
com.android.compatibility.common.util.InvocationResult$RunHistory runHistory
String stackTrace
com.android.compatibility.common.util.TestResultHistory resultHistory
com.android.compatibility.common.util.TestStatus status
String message
String bugreport
String logcat
String screenshot
com.android.compatibility.common.util.ReportLog report
java.util.List testResultHistories
com.android.compatibility.common.util.ITestResult r
com.android.compatibility.common.util.ICaseResult cr
com.android.compatibility.common.util.IModuleResult module
String suiteName
String suiteVersion
String suitePlan
String suiteBuild
com.android.compatibility.common.util.IInvocationResult result
java.io.File resultDir
long startTime
long endTime
String referenceUrl
String logUrl
String commandLineArgs
java.util.Map resultAttributes
int passed
int failed
java.io.File resultFile
java.io.OutputStream stream
org.xmlpull.v1.XmlSerializer serializer
java.util.Set devices
StringBuilder deviceList
boolean first
String hostName
java.util.Collection runHistories
public static java.io.File createFailureReport (java.io.File)
javax.xml.transform.Transformer transformer
java.io.OutputStream outputStream
java.io.InputStream xslStream
java.io.File inputXml
java.io.File failureReport
private static void createChecksum (java.io.File, com.android.compatibility.common.util.IInvocationResult)
java.io.FileOutputStream stream
java.io.File checksumCopy
java.io.File retryDirectory
java.nio.file.Path retryChecksum
java.io.File resultDir
com.android.compatibility.common.util.IInvocationResult invocationResult
com.android.compatibility.common.util.RetryChecksumStatus retryStatus
public static com.android.compatibility.common.util.IInvocationResult findResult (java.io.File, java.lang.Integer)
java.io.File resultsDir
Integer sessionId
private static com.android.compatibility.common.util.IInvocationResult findResult (java.io.File, java.lang.Integer, java.lang.Boolean)
java.io.File resultsDir
Integer sessionId
Boolean useChecksum
java.io.File resultDir
com.android.compatibility.common.util.IInvocationResult result
public static java.io.File getResultDirectory (java.io.File, java.lang.Integer)
java.io.File resultsDir
Integer sessionId
java.util.List allResultDirs
public static java.util.List getResultDirectories (java.io.File)
java.io.File resultFile
java.io.File resultDir
java.io.File resultsDir
java.util.List directoryList
java.io.File[] files
static java.lang.String toReadableDateString (long)
long time
java.text.SimpleDateFormat dateFormat
private static java.lang.String nullToEmpty (java.lang.String)
String nullable
private static synthetic int lambda$getResultDirectories$1 (java.io.File, java.io.File)
java.io.File d1
java.io.File d2
private static synthetic int lambda$getLightResults$0 (com.android.compatibility.common.util.IInvocationResult, com.android.compatibility.common.util.IInvocationResult)
com.android.compatibility.common.util.IInvocationResult result1
com.android.compatibility.common.util.IInvocationResult result2
static void <clinit> ()
}
com/android/compatibility/common/util/ResultType.class
ResultType.java
package com.android.compatibility.common.util
public final enum com.android.compatibility.common.util.ResultType extends java.lang.Enum {
public static final enum com.android.compatibility.common.util.ResultType LOWER_BETTER
public static final enum com.android.compatibility.common.util.ResultType HIGHER_BETTER
public static final enum com.android.compatibility.common.util.ResultType NEUTRAL
public static final enum com.android.compatibility.common.util.ResultType WARNING
private static final synthetic com.android.compatibility.common.util.ResultType[] $VALUES
public static com.android.compatibility.common.util.ResultType[] values ()
public static com.android.compatibility.common.util.ResultType valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
public java.lang.String toReportString ()
public static com.android.compatibility.common.util.ResultType parseReportString (java.lang.String)
String value
static void <clinit> ()
}
com/android/compatibility/common/util/ResultUnit.class
ResultUnit.java
package com.android.compatibility.common.util
public final enum com.android.compatibility.common.util.ResultUnit extends java.lang.Enum {
public static final enum com.android.compatibility.common.util.ResultUnit NONE
public static final enum com.android.compatibility.common.util.ResultUnit MS
public static final enum com.android.compatibility.common.util.ResultUnit FPS
public static final enum com.android.compatibility.common.util.ResultUnit OPS
public static final enum com.android.compatibility.common.util.ResultUnit KBPS
public static final enum com.android.compatibility.common.util.ResultUnit MBPS
public static final enum com.android.compatibility.common.util.ResultUnit BYTE
public static final enum com.android.compatibility.common.util.ResultUnit COUNT
public static final enum com.android.compatibility.common.util.ResultUnit SCORE
public static final enum com.android.compatibility.common.util.ResultUnit RADIAN
public static final enum com.android.compatibility.common.util.ResultUnit FRAMES
private static final synthetic com.android.compatibility.common.util.ResultUnit[] $VALUES
public static com.android.compatibility.common.util.ResultUnit[] values ()
public static com.android.compatibility.common.util.ResultUnit valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
public java.lang.String toReportString ()
public static com.android.compatibility.common.util.ResultUnit parseReportString (java.lang.String)
String value
static void <clinit> ()
}
com/android/compatibility/common/util/ResultUploader.class
ResultUploader.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ResultUploader extends java.lang.Object {
private static final int RESULT_XML_BYTES
com.android.compatibility.common.util.MultipartForm mMultipartForm
public void <init> (java.lang.String, java.lang.String)
String serverUrl
String suiteName
public int uploadResult (java.io.File, java.lang.String) throws java.io.IOException
byte[] data
java.io.File reportFile
String referenceUrl
java.io.InputStream input
private static byte[] getBytes (java.io.InputStream) throws java.io.IOException
java.io.InputStream input
java.io.ByteArrayOutputStream byteOutput
java.util.zip.GZIPOutputStream gzipOutput
byte[] buffer
int count
}
com/android/compatibility/common/util/RetryChecksumStatus.class
RetryChecksumStatus.java
package com.android.compatibility.common.util
public final enum com.android.compatibility.common.util.RetryChecksumStatus extends java.lang.Enum {
public static final enum com.android.compatibility.common.util.RetryChecksumStatus NotRetry
public static final enum com.android.compatibility.common.util.RetryChecksumStatus RetryWithChecksum
public static final enum com.android.compatibility.common.util.RetryChecksumStatus RetryWithoutChecksum
private static final synthetic com.android.compatibility.common.util.RetryChecksumStatus[] $VALUES
public static com.android.compatibility.common.util.RetryChecksumStatus[] values ()
public static com.android.compatibility.common.util.RetryChecksumStatus valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
static void <clinit> ()
}
com/android/compatibility/common/util/RootProcessScanner$MalformedStatMException.class
RootProcessScanner.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.RootProcessScanner$MalformedStatMException extends java.lang.Exception {
void <init> (java.lang.String)
String detailMessage
}
com/android/compatibility/common/util/RootProcessScanner.class
RootProcessScanner.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.RootProcessScanner extends java.lang.Object {
private java.util.Set mPidDirs
private com.android.tradefed.device.ITestDevice mDevice
private static final java.util.regex.Pattern ROOT_PROCESS_WHITELIST_PATTERN
public void <init> (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
String line
com.android.tradefed.device.ITestDevice device
String lsOutput
String[] lines
private static transient java.util.regex.Pattern getRootProcessWhitelistPattern (java.lang.String[])
int i
String[] patterns
StringBuilder rootProcessPattern
public java.util.Set getRootProcesses (boolean) throws com.android.tradefed.device.DeviceNotAvailableException com.android.compatibility.common.util.RootProcessScanner$MalformedStatMException
String dir
boolean approved
java.util.Set rootProcessDirs
java.util.Set rootProcessNames
private java.util.Set getRootProcessDirs (boolean) throws com.android.tradefed.device.DeviceNotAvailableException com.android.compatibility.common.util.RootProcessScanner$MalformedStatMException
String processDir
boolean approved
java.util.Set rootProcesses
private boolean isRootProcessDir (java.lang.String, boolean) throws com.android.tradefed.device.DeviceNotAvailableException com.android.compatibility.common.util.RootProcessScanner$MalformedStatMException
java.util.InputMismatchException e
String pathname
boolean approved
private boolean isKernelProcess (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException com.android.compatibility.common.util.RootProcessScanner$MalformedStatMException
int i
boolean allZero
java.util.Scanner scanner
String processDir
String statm
private java.lang.String getProcessStatM (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String processDir
private boolean isRootProcess (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
boolean rootUid
boolean rootGid
java.util.Scanner scanner
String processDir
String status
private boolean isApproved (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String name
java.util.Scanner scanner
String processDir
String status
private java.lang.String getProcessStatus (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String processDir
private static void findToken (java.util.Scanner, java.lang.String)
String next
java.util.Scanner scanner
String token
private static boolean hasRootId (java.util.Scanner)
java.util.Scanner scanner
int realUid
int effectiveUid
int savedSetUid
int fileSystemUid
private java.lang.String getProcessName (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
java.util.Scanner scanner
String processDir
String status
static void <clinit> ()
}
com/android/compatibility/common/util/Stacktrace.class
Stacktrace.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.Stacktrace extends java.lang.Object {
private static final int SAFETY_DEPTH
private static final String TEST_POSTFIX
private void <init> ()
public static java.lang.String getTestCallerClassMethodName ()
public static java.lang.String getTestCallerClassMethodNameLineNumber ()
private static java.lang.String getTestCallerClassMethodName (boolean)
int i
boolean includeLineNumber
StackTraceElement[] elements
private static java.lang.String buildClassMethodName (java.lang.StackTraceElement[], int, boolean)
StackTraceElement[] elements
int depth
boolean includeLineNumber
StringBuilder builder
}
com/android/compatibility/common/util/Stat$StatResult.class
Stat.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.Stat$StatResult extends java.lang.Object {
public double mAverage
public double mMin
public double mMax
public double mStddev
public int mDataCount
public void <init> (double, double, double, double, int)
double average
double min
double max
double stddev
int dataCount
}
com/android/compatibility/common/util/Stat.class
Stat.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.Stat extends java.lang.Object {
private void <init> ()
public static com.android.compatibility.common.util.Stat$StatResult getStat (double[])
int i
double diff
int i
double[] data
double average
double min
double max
double sumOfSquares
double variance
double stddev
public static com.android.compatibility.common.util.Stat$StatResult getStatWithOutlierRejection (double[], double)
double median
int i
double[] data
double rejectionThreshold
double[] dataCopied
int medianIndex
double median
double thresholdMin
double thresholdMax
double[] validData
int index
public static double getAverage (double[])
int i
double[] data
double sum
public static double getMin (double[])
int i
double[] data
double min
public static double getMax (double[])
int i
double[] data
double max
public static double calcRatePerSec (double, double)
double change
double timeInMSec
public static double[] calcRatePerSecArray (double, double[])
int i
double change
double[] timeInMSec
double[] result
public static double get95PercentileValue (double[])
double[] values
int index
}
com/android/compatibility/common/util/StreamUtil.class
StreamUtil.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.StreamUtil extends java.lang.Object {
private static final int BUFFER_SIZE
public void <init> ()
public static void copyStreams (java.io.InputStream, java.io.OutputStream) throws java.io.IOException
java.io.InputStream inStream
java.io.OutputStream outStream
byte[] buf
int size
public static java.lang.String readInputStream (java.io.InputStream) throws java.io.IOException
java.io.InputStream inputStream
java.io.ByteArrayOutputStream result
byte[] buffer
int length
public static void drainAndClose (java.io.Reader)
java.io.Reader reader
}
com/android/compatibility/common/util/TestFilter.class
TestFilter.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.TestFilter extends java.lang.Object {
private final String mAbi
private final String mName
private final String mTest
public static com.android.compatibility.common.util.TestFilter createFrom (java.lang.String)
int index
String filter
String[] parts
String abi
String name
String test
public void <init> (java.lang.String, java.lang.String, java.lang.String)
String abi
String name
String test
public java.lang.String toString ()
StringBuilder sb
public java.lang.String getAbi ()
public java.lang.String getName ()
public java.lang.String getTest ()
}
com/android/compatibility/common/util/TestResult.class
TestResult.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.TestResult extends java.lang.Object implements com.android.compatibility.common.util.ITestResult {
private final com.android.compatibility.common.util.ICaseResult mParent
private final String mTestName
private com.android.compatibility.common.util.TestStatus mResult
private String mMessage
private String mStackTrace
private com.android.compatibility.common.util.ReportLog mReport
private String mBugReport
private String mLog
private String mScreenshot
private boolean mIsRetry
private boolean mSkipped
private java.util.List mTestResultHistories
public void <init> (com.android.compatibility.common.util.ICaseResult, java.lang.String)
com.android.compatibility.common.util.ICaseResult parent
String name
public java.lang.String getName ()
public java.lang.String getFullName ()
public com.android.compatibility.common.util.TestStatus getResultStatus ()
public void setResultStatus (com.android.compatibility.common.util.TestStatus)
com.android.compatibility.common.util.TestStatus status
public java.lang.String getMessage ()
public void setMessage (java.lang.String)
String message
public java.lang.String getStackTrace ()
public void setStackTrace (java.lang.String)
String stackTrace
public com.android.compatibility.common.util.ReportLog getReportLog ()
public void setReportLog (com.android.compatibility.common.util.ReportLog)
com.android.compatibility.common.util.ReportLog report
public java.lang.String getBugReport ()
public void setBugReport (java.lang.String)
String path
public java.lang.String getLog ()
public void setLog (java.lang.String)
String path
public java.lang.String getScreenshot ()
public void setScreenshot (java.lang.String)
String path
public void failed (java.lang.String)
String trace
int index
public void passed (com.android.compatibility.common.util.ReportLog)
com.android.compatibility.common.util.ReportLog report
public void skipped ()
public boolean isSkipped ()
public void reset ()
public void setRetry (boolean)
boolean isRetry
public boolean isRetry ()
public void removeResult ()
public int compareTo (com.android.compatibility.common.util.ITestResult)
com.android.compatibility.common.util.ITestResult another
static java.lang.String sanitizeStackTrace (java.lang.String)
String trace
public java.util.List getTestResultHistories ()
public void setTestResultHistories (java.util.List)
java.util.List resultHistories
public volatile synthetic int compareTo (java.lang.Object)
}
com/android/compatibility/common/util/TestResultHistory$ExecutionRecord.class
TestResultHistory.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.TestResultHistory$ExecutionRecord extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private final long startTime
private final long endTime
private final boolean isAutomated
public void <init> (long, long, boolean)
long startTime
long endTime
boolean isAutomated
public long getStartTime ()
public long getEndTime ()
public boolean getIsAutomated ()
public boolean equals (java.lang.Object)
Object o
com.android.compatibility.common.util.TestResultHistory$ExecutionRecord that
public int hashCode ()
}
com/android/compatibility/common/util/TestResultHistory.class
TestResultHistory.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.TestResultHistory extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private static final String ENCODING
private static final String TYPE
private static final String SUB_TEST_ATTR
private static final String RUN_HISTORY_TAG
private static final String RUN_TAG
private static final String START_TIME_ATTR
private static final String END_TIME_ATTR
private static final String IS_AUTOMATED_ATTR
private final String mTestName
private final java.util.Set mExecutionRecords
public void <init> (java.lang.String, java.util.Set)
String testName
java.util.Set executionRecords
public java.lang.String getTestName ()
public java.util.Set getExecutionRecords ()
public boolean equals (java.lang.Object)
Object o
com.android.compatibility.common.util.TestResultHistory that
public int hashCode ()
public static void serialize (org.xmlpull.v1.XmlSerializer, com.android.compatibility.common.util.TestResultHistory, java.lang.String) throws java.io.IOException
com.android.compatibility.common.util.TestResultHistory$ExecutionRecord execRecord
org.xmlpull.v1.XmlSerializer serializer
com.android.compatibility.common.util.TestResultHistory resultHistory
String testName
String name
protected static java.lang.String getSubTestName (java.lang.String, java.lang.String)
String testName
String fullTestName
String subTestName
}
com/android/compatibility/common/util/TestStatus.class
TestStatus.java
package com.android.compatibility.common.util
public final enum com.android.compatibility.common.util.TestStatus extends java.lang.Enum {
public static final enum com.android.compatibility.common.util.TestStatus PASS
public static final enum com.android.compatibility.common.util.TestStatus FAIL
private final String mValue
private static final synthetic com.android.compatibility.common.util.TestStatus[] $VALUES
public static com.android.compatibility.common.util.TestStatus[] values ()
public static com.android.compatibility.common.util.TestStatus valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int, java.lang.String)
String storedValue
public java.lang.String getValue ()
static com.android.compatibility.common.util.TestStatus getStatus (java.lang.String)
com.android.compatibility.common.util.TestStatus status
String value
static void <clinit> ()
}
com/android/compatibility/common/util/VendorInterfaceTest.class
VendorInterfaceTest.java
package com.android.compatibility.common.util
public abstract annotation com.android.compatibility.common.util.VendorInterfaceTest extends java.lang.Object implements java.lang.annotation.Annotation {
}
com/android/compatibility/common/util/VersionCodes.class
VersionCodes.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.VersionCodes extends java.lang.Object {
public static final int CUR_DEVELOPMENT
public static final int BASE
public static final int BASE_1_1
public static final int CUPCAKE
public static final int DONUT
public static final int ECLAIR
public static final int ECLAIR_0_1
public static final int ECLAIR_MR1
public static final int FROYO
public static final int GINGERBREAD
public static final int GINGERBREAD_MR1
public static final int HONEYCOMB
public static final int HONEYCOMB_MR1
public static final int HONEYCOMB_MR2
public static final int ICE_CREAM_SANDWICH
public static final int ICE_CREAM_SANDWICH_MR1
public static final int JELLY_BEAN
public static final int JELLY_BEAN_MR1
public static final int JELLY_BEAN_MR2
public static final int KITKAT
public static final int KITKAT_WATCH
public static final int L
public static final int LOLLIPOP
public static final int LOLLIPOP_MR1
public static final int M
public static final int N
public static final int N_MR1
public static final int O
public static final int O_MR1
public static final int P
public static final int Q
public static final int R
public static final int S
public static final int S_V2
public void <init> ()
}
com/android/compatibility/common/util/ZipUtil.class
ZipUtil.java
package com.android.compatibility.common.util
public com.android.compatibility.common.util.ZipUtil extends java.lang.Object {
public void <init> ()
public static void createZip (java.io.File, java.io.File) throws java.io.IOException
java.io.FileOutputStream fileStream
java.io.IOException e
RuntimeException e
java.io.File dir
java.io.File zipFile
java.util.zip.ZipOutputStream out
public static void addToZip (java.util.zip.ZipOutputStream, java.io.File, java.util.List) throws java.io.IOException
java.io.File subFile
java.io.File[] subFiles
java.util.zip.ZipOutputStream out
java.io.File file
java.util.List relativePathSegs
java.util.zip.ZipEntry zipEntry
private static java.lang.String buildPath (java.util.List)
String segment
java.util.List relativePathSegs
StringBuilder pathBuilder
private static void writeToStream (java.io.File, java.io.OutputStream) throws java.io.IOException
java.io.File file
java.io.OutputStream out
java.io.InputStream inputStream
}
com/android/json/
com/android/json/stream/
com/android/json/stream/JsonReader$1.class
JsonReader.java
package com.android.json.stream
synthetic com.android.json.stream.JsonReader$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$json$stream$JsonScope
static void <clinit> ()
}
com/android/json/stream/JsonReader$JsonSyntaxException.class
JsonReader.java
package com.android.json.stream
com.android.json.stream.JsonReader$JsonSyntaxException extends java.io.IOException {
private void <init> (java.lang.String)
String s
synthetic void <init> (java.lang.String, com.android.json.stream.JsonReader$1)
String x0
com.android.json.stream.JsonReader$1 x1
}
com/android/json/stream/JsonReader.class
JsonReader.java
package com.android.json.stream
public final com.android.json.stream.JsonReader extends java.lang.Object implements java.io.Closeable {
private static final String TRUE
private static final String FALSE
private final java.io.Reader in
private boolean lenient
private final char[] buffer
private int pos
private int limit
private final java.util.List stack
private com.android.json.stream.JsonToken token
private String name
private String value
private int valuePos
private int valueLength
private boolean skipping
public void <init> (java.io.Reader)
java.io.Reader in
public void setLenient (boolean)
boolean lenient
public void beginArray () throws java.io.IOException
public void endArray () throws java.io.IOException
public void beginObject () throws java.io.IOException
public void endObject () throws java.io.IOException
private void expect (com.android.json.stream.JsonToken) throws java.io.IOException
com.android.json.stream.JsonToken expected
public boolean hasNext () throws java.io.IOException
public com.android.json.stream.JsonToken peek () throws java.io.IOException
com.android.json.stream.JsonToken firstToken
private com.android.json.stream.JsonToken advance () throws java.io.IOException
com.android.json.stream.JsonToken result
public java.lang.String nextName () throws java.io.IOException
String result
public java.lang.String nextString () throws java.io.IOException
String result
public boolean nextBoolean () throws java.io.IOException
boolean result
public void nextNull () throws java.io.IOException
public double nextDouble () throws java.io.IOException
double result
public long nextLong () throws java.io.IOException
long result
double asDouble
NumberFormatException ignored
long result
public int nextInt () throws java.io.IOException
int result
double asDouble
NumberFormatException ignored
int result
public void close () throws java.io.IOException
public void skipValue () throws java.io.IOException
com.android.json.stream.JsonToken token
int count
private com.android.json.stream.JsonScope peekStack ()
private com.android.json.stream.JsonScope pop ()
private void push (com.android.json.stream.JsonScope)
com.android.json.stream.JsonScope newTop
private void replaceTop (com.android.json.stream.JsonScope)
com.android.json.stream.JsonScope newTop
private com.android.json.stream.JsonToken nextInArray (boolean) throws java.io.IOException
boolean firstElement
private com.android.json.stream.JsonToken nextInObject (boolean) throws java.io.IOException
boolean firstElement
int quote
private com.android.json.stream.JsonToken objectValue () throws java.io.IOException
private com.android.json.stream.JsonToken nextValue () throws java.io.IOException
int c
private boolean fillBuffer (int) throws java.io.IOException
int minimum
int total
private int nextNonWhitespace () throws java.io.IOException
char peek
int c
private void checkLenient () throws java.io.IOException
private void skipToEndOfLine () throws java.io.IOException
char c
private boolean skipTo (java.lang.String) throws java.io.IOException
int c
String toFind
private java.lang.String nextString (char) throws java.io.IOException
int c
int start
char quote
StringBuilder builder
private java.lang.String nextLiteral (boolean) throws java.io.IOException
String result
String result
String result
boolean assignOffsetsOnly
StringBuilder builder
int i
String result
public java.lang.String toString ()
private char readEscapeCharacter () throws java.io.IOException
String hex
char escaped
private com.android.json.stream.JsonToken readLiteral () throws java.io.IOException
private com.android.json.stream.JsonToken decodeLiteral () throws java.io.IOException
private com.android.json.stream.JsonToken decodeNumber (char[], int, int)
char[] chars
int offset
int length
int i
int c
public java.io.IOException syntaxError (java.lang.String) throws java.io.IOException
String message
private java.lang.CharSequence getSnippet ()
StringBuilder snippet
int beforePos
int afterPos
}
com/android/json/stream/JsonScope.class
JsonScope.java
package com.android.json.stream
final enum com.android.json.stream.JsonScope extends java.lang.Enum {
public static final enum com.android.json.stream.JsonScope EMPTY_ARRAY
public static final enum com.android.json.stream.JsonScope NONEMPTY_ARRAY
public static final enum com.android.json.stream.JsonScope EMPTY_OBJECT
public static final enum com.android.json.stream.JsonScope DANGLING_NAME
public static final enum com.android.json.stream.JsonScope NONEMPTY_OBJECT
public static final enum com.android.json.stream.JsonScope EMPTY_DOCUMENT
public static final enum com.android.json.stream.JsonScope NONEMPTY_DOCUMENT
public static final enum com.android.json.stream.JsonScope CLOSED
private static final synthetic com.android.json.stream.JsonScope[] $VALUES
public static com.android.json.stream.JsonScope[] values ()
public static com.android.json.stream.JsonScope valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
static void <clinit> ()
}
com/android/json/stream/JsonToken.class
JsonToken.java
package com.android.json.stream
public final enum com.android.json.stream.JsonToken extends java.lang.Enum {
public static final enum com.android.json.stream.JsonToken BEGIN_ARRAY
public static final enum com.android.json.stream.JsonToken END_ARRAY
public static final enum com.android.json.stream.JsonToken BEGIN_OBJECT
public static final enum com.android.json.stream.JsonToken END_OBJECT
public static final enum com.android.json.stream.JsonToken NAME
public static final enum com.android.json.stream.JsonToken STRING
public static final enum com.android.json.stream.JsonToken NUMBER
public static final enum com.android.json.stream.JsonToken BOOLEAN
public static final enum com.android.json.stream.JsonToken NULL
public static final enum com.android.json.stream.JsonToken END_DOCUMENT
private static final synthetic com.android.json.stream.JsonToken[] $VALUES
public static com.android.json.stream.JsonToken[] values ()
public static com.android.json.stream.JsonToken valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
static void <clinit> ()
}
com/android/json/stream/JsonWriter$1.class
JsonWriter.java
package com.android.json.stream
synthetic com.android.json.stream.JsonWriter$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$json$stream$JsonScope
static void <clinit> ()
}
com/android/json/stream/JsonWriter.class
JsonWriter.java
package com.android.json.stream
public com.android.json.stream.JsonWriter extends java.lang.Object implements java.io.Closeable {
protected final java.io.Writer mOut
protected final java.util.List mStack
private String mIndent
protected String mSeparator
public void <init> (java.io.Writer)
java.io.Writer out
public void setIndent (java.lang.String)
String indent
public com.android.json.stream.JsonWriter beginArray () throws java.io.IOException
public com.android.json.stream.JsonWriter endArray () throws java.io.IOException
public com.android.json.stream.JsonWriter beginObject () throws java.io.IOException
public com.android.json.stream.JsonWriter endObject () throws java.io.IOException
private com.android.json.stream.JsonWriter open (com.android.json.stream.JsonScope, java.lang.String) throws java.io.IOException
com.android.json.stream.JsonScope empty
String openBracket
private com.android.json.stream.JsonWriter close (com.android.json.stream.JsonScope, com.android.json.stream.JsonScope, java.lang.String) throws java.io.IOException
com.android.json.stream.JsonScope empty
com.android.json.stream.JsonScope nonempty
String closeBracket
com.android.json.stream.JsonScope context
protected com.android.json.stream.JsonScope peek ()
protected void replaceTop (com.android.json.stream.JsonScope)
com.android.json.stream.JsonScope topOfStack
public com.android.json.stream.JsonWriter name (java.lang.String) throws java.io.IOException
String name
public com.android.json.stream.JsonWriter value (java.lang.String) throws java.io.IOException
String value
public com.android.json.stream.JsonWriter nullValue () throws java.io.IOException
public com.android.json.stream.JsonWriter value (boolean) throws java.io.IOException
boolean value
public com.android.json.stream.JsonWriter value (double) throws java.io.IOException
double value
public com.android.json.stream.JsonWriter value (long) throws java.io.IOException
long value
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
private void string (java.lang.String) throws java.io.IOException
char c
int i
int length
String value
protected void newline () throws java.io.IOException
int i
protected void beforeName () throws java.io.IOException
com.android.json.stream.JsonScope context
protected void beforeValue (boolean) throws java.io.IOException
boolean root
}
com/android/json/stream/NewlineDelimitedJsonWriter$1.class
NewlineDelimitedJsonWriter.java
package com.android.json.stream
synthetic com.android.json.stream.NewlineDelimitedJsonWriter$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$json$stream$JsonScope
static void <clinit> ()
}
com/android/json/stream/NewlineDelimitedJsonWriter.class
NewlineDelimitedJsonWriter.java
package com.android.json.stream
public com.android.json.stream.NewlineDelimitedJsonWriter extends com.android.json.stream.JsonWriter {
private static final String NEW_LINE
public void <init> (java.io.Writer)
java.io.Writer out
public void setIndent (java.lang.String)
String indent
public void newlineDelimited () throws java.io.IOException
public void close () throws java.io.IOException
protected void beforeValue (boolean) throws java.io.IOException
boolean root
}