META-INF/
META-INF/MANIFEST.MF
org/
org/kxml2/
org/kxml2/io/
org/kxml2/io/KXmlSerializer.class
package org.kxml2.io
public org.kxml2.io.KXmlSerializer extends java.lang.Object implements org.xmlpull.v1.XmlSerializer {
private java.io.Writer writer
private boolean pending
private int auto
private int depth
private String[] elementStack
private int[] nspCounts
private String[] nspStack
private boolean[] indent
private boolean unicode
private String encoding
public void ()
private final void check (boolean) throws java.io.IOException
private final void writeEscaped (java.lang.String, int) throws java.io.IOException
public void docdecl (java.lang.String) throws java.io.IOException
public void endDocument () throws java.io.IOException
public void entityRef (java.lang.String) throws java.io.IOException
public boolean getFeature (java.lang.String)
public java.lang.String getPrefix (java.lang.String, boolean)
private final java.lang.String getPrefix (java.lang.String, boolean, boolean) throws java.io.IOException
public java.lang.Object getProperty (java.lang.String)
public void ignorableWhitespace (java.lang.String) throws java.io.IOException
public void setFeature (java.lang.String, boolean)
public void setProperty (java.lang.String, java.lang.Object)
public void setPrefix (java.lang.String, java.lang.String) throws java.io.IOException
public void setOutput (java.io.Writer)
public void setOutput (java.io.OutputStream, java.lang.String) throws java.io.IOException
public void startDocument (java.lang.String, java.lang.Boolean) throws java.io.IOException
public org.xmlpull.v1.XmlSerializer startTag (java.lang.String, java.lang.String) throws java.io.IOException
public org.xmlpull.v1.XmlSerializer attribute (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException
public void flush () throws java.io.IOException
public org.xmlpull.v1.XmlSerializer endTag (java.lang.String, java.lang.String) throws java.io.IOException
public java.lang.String getNamespace ()
public java.lang.String getName ()
public int getDepth ()
public org.xmlpull.v1.XmlSerializer text (java.lang.String) throws java.io.IOException
public org.xmlpull.v1.XmlSerializer text (char[], int, int) throws java.io.IOException
public void cdsect (java.lang.String) throws java.io.IOException
public void comment (java.lang.String) throws java.io.IOException
public void processingInstruction (java.lang.String) throws java.io.IOException
}
org/kxml2/io/KXmlParser.class
package org.kxml2.io
public org.kxml2.io.KXmlParser extends java.lang.Object implements org.xmlpull.v1.XmlPullParser {
private Object location
private static final String UNEXPECTED_EOF
private static final String ILLEGAL_TYPE
private static final int LEGACY
private static final int XML_DECL
private String version
private Boolean standalone
private boolean processNsp
private boolean relaxed
private java.util.Hashtable entityMap
private int depth
private String[] elementStack
private String[] nspStack
private int[] nspCounts
private java.io.Reader reader
private String encoding
private char[] srcBuf
private int srcPos
private int srcCount
private int line
private int column
private char[] txtBuf
private int txtPos
private int type
private boolean isWhitespace
private String namespace
private String prefix
private String name
private boolean degenerated
private int attributeCount
private String[] attributes
private int stackMismatch
private String error
private int[] peek
private int peekCount
private boolean wasCR
private boolean unresolved
private boolean token
public void ()
private final boolean isProp (java.lang.String, boolean, java.lang.String)
private final boolean adjustNsp () throws org.xmlpull.v1.XmlPullParserException
private final java.lang.String[] ensureCapacity (java.lang.String[], int)
private final void error (java.lang.String) throws org.xmlpull.v1.XmlPullParserException
private final void exception (java.lang.String) throws org.xmlpull.v1.XmlPullParserException
private final void nextImpl () throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final int parseLegacy (boolean) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final void parseDoctype (boolean) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final void parseEndTag () throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final int peekType () throws java.io.IOException
private final java.lang.String get (int)
private final void push (int)
private final void parseStartTag (boolean) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final void pushEntity () throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final void pushText (int, boolean) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final void read (char) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final int read () throws java.io.IOException
private final int peek (int) throws java.io.IOException
private final java.lang.String readName () throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final void skip () throws java.io.IOException
public void setInput (java.io.Reader) throws org.xmlpull.v1.XmlPullParserException
public void setInput (java.io.InputStream, java.lang.String) throws org.xmlpull.v1.XmlPullParserException
public boolean getFeature (java.lang.String)
public java.lang.String getInputEncoding ()
public void defineEntityReplacementText (java.lang.String, java.lang.String) throws org.xmlpull.v1.XmlPullParserException
public java.lang.Object getProperty (java.lang.String)
public int getNamespaceCount (int)
public java.lang.String getNamespacePrefix (int)
public java.lang.String getNamespaceUri (int)
public java.lang.String getNamespace (java.lang.String)
public int getDepth ()
public java.lang.String getPositionDescription ()
public int getLineNumber ()
public int getColumnNumber ()
public boolean isWhitespace () throws org.xmlpull.v1.XmlPullParserException
public java.lang.String getText ()
public char[] getTextCharacters (int[])
public java.lang.String getNamespace ()
public java.lang.String getName ()
public java.lang.String getPrefix ()
public boolean isEmptyElementTag () throws org.xmlpull.v1.XmlPullParserException
public int getAttributeCount ()
public java.lang.String getAttributeType (int)
public boolean isAttributeDefault (int)
public java.lang.String getAttributeNamespace (int)
public java.lang.String getAttributeName (int)
public java.lang.String getAttributePrefix (int)
public java.lang.String getAttributeValue (int)
public java.lang.String getAttributeValue (java.lang.String, java.lang.String)
public int getEventType () throws org.xmlpull.v1.XmlPullParserException
public int next () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public int nextToken () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public int nextTag () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public void require (int, java.lang.String, java.lang.String) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public java.lang.String nextText () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public void setFeature (java.lang.String, boolean) throws org.xmlpull.v1.XmlPullParserException
public void setProperty (java.lang.String, java.lang.Object) throws org.xmlpull.v1.XmlPullParserException
public void skipSubTree () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
}
org/kxml2/wap/
org/kxml2/wap/WbxmlParser.class
package org.kxml2.wap
public org.kxml2.wap.WbxmlParser extends java.lang.Object implements org.xmlpull.v1.XmlPullParser {
static final String HEX_DIGITS
public static final int WAP_EXTENSION
private static final String UNEXPECTED_EOF
private static final String ILLEGAL_TYPE
private java.io.InputStream in
private int TAG_TABLE
private int ATTR_START_TABLE
private int ATTR_VALUE_TABLE
private String[] attrStartTable
private String[] attrValueTable
private String[] tagTable
private byte[] stringTable
private java.util.Hashtable cacheStringTable
private boolean processNsp
private int depth
private String[] elementStack
private String[] nspStack
private int[] nspCounts
private int attributeCount
private String[] attributes
private int nextId
private java.util.Vector tables
private int version
private int publicIdentifierId
private String prefix
private String namespace
private String name
private String text
private Object wapExtensionData
private int wapCode
private int type
private boolean degenerated
private boolean isWhitespace
private String encoding
public void ()
public boolean getFeature (java.lang.String)
public java.lang.String getInputEncoding ()
public void defineEntityReplacementText (java.lang.String, java.lang.String) throws org.xmlpull.v1.XmlPullParserException
public java.lang.Object getProperty (java.lang.String)
public int getNamespaceCount (int)
public java.lang.String getNamespacePrefix (int)
public java.lang.String getNamespaceUri (int)
public java.lang.String getNamespace (java.lang.String)
public int getDepth ()
public java.lang.String getPositionDescription ()
public int getLineNumber ()
public int getColumnNumber ()
public boolean isWhitespace () throws org.xmlpull.v1.XmlPullParserException
public java.lang.String getText ()
public char[] getTextCharacters (int[])
public java.lang.String getNamespace ()
public java.lang.String getName ()
public java.lang.String getPrefix ()
public boolean isEmptyElementTag () throws org.xmlpull.v1.XmlPullParserException
public int getAttributeCount ()
public java.lang.String getAttributeType (int)
public boolean isAttributeDefault (int)
public java.lang.String getAttributeNamespace (int)
public java.lang.String getAttributeName (int)
public java.lang.String getAttributePrefix (int)
public java.lang.String getAttributeValue (int)
public java.lang.String getAttributeValue (java.lang.String, java.lang.String)
public int getEventType () throws org.xmlpull.v1.XmlPullParserException
public int next () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public int nextToken () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public int nextTag () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public java.lang.String nextText () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public void require (int, java.lang.String, java.lang.String) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public void setInput (java.io.Reader) throws org.xmlpull.v1.XmlPullParserException
public void setInput (java.io.InputStream, java.lang.String) throws org.xmlpull.v1.XmlPullParserException
public void setFeature (java.lang.String, boolean) throws org.xmlpull.v1.XmlPullParserException
public void setProperty (java.lang.String, java.lang.Object) throws org.xmlpull.v1.XmlPullParserException
private final boolean adjustNsp () throws org.xmlpull.v1.XmlPullParserException
private final void setTable (int, int, java.lang.String[])
private final void exception (java.lang.String) throws org.xmlpull.v1.XmlPullParserException
private void selectPage (int, boolean) throws org.xmlpull.v1.XmlPullParserException
private final void nextImpl () throws java.io.IOException org.xmlpull.v1.XmlPullParserException
public java.lang.Object parseWapExtension (int) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
public void readAttr () throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private int peekId () throws java.io.IOException
protected java.lang.String resolveWapExtension (int, java.lang.Object)
java.lang.String resolveId (java.lang.String[], int) throws java.io.IOException
void parseElement (int) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
private final java.lang.String[] ensureCapacity (java.lang.String[], int)
int readByte () throws java.io.IOException
int readInt () throws java.io.IOException
java.lang.String readStrI () throws java.io.IOException
java.lang.String readStrT () throws java.io.IOException
public void setTagTable (int, java.lang.String[])
public void setAttrStartTable (int, java.lang.String[])
public void setAttrValueTable (int, java.lang.String[])
public int getWapCode ()
public java.lang.Object getWapExtensionData ()
}
org/kxml2/wap/wml/
org/kxml2/wap/wml/Wml.class
package org.kxml2.wap.wml
public abstract org.kxml2.wap.wml.Wml extends java.lang.Object {
public static final String[] TAG_TABLE
public static final String[] ATTR_START_TABLE
public static final String[] ATTR_VALUE_TABLE
public void ()
public static org.kxml2.wap.WbxmlParser createParser ()
public static org.kxml2.wap.WbxmlSerializer createSerializer ()
static void ()
}
org/kxml2/wap/Wbxml.class
package org.kxml2.wap
public abstract org.kxml2.wap.Wbxml extends java.lang.Object {
public static final int SWITCH_PAGE
public static final int END
public static final int ENTITY
public static final int STR_I
public static final int LITERAL
public static final int EXT_I_0
public static final int EXT_I_1
public static final int EXT_I_2
public static final int PI
public static final int LITERAL_C
public static final int EXT_T_0
public static final int EXT_T_1
public static final int EXT_T_2
public static final int STR_T
public static final int LITERAL_A
public static final int EXT_0
public static final int EXT_1
public static final int EXT_2
public static final int OPAQUE
public static final int LITERAL_AC
}
org/kxml2/wap/WbxmlSerializer.class
package org.kxml2.wap
public org.kxml2.wap.WbxmlSerializer extends java.lang.Object implements org.xmlpull.v1.XmlSerializer {
java.util.Hashtable stringTable
java.io.OutputStream out
java.io.ByteArrayOutputStream buf
java.io.ByteArrayOutputStream stringTableBuf
String pending
int depth
String name
String namespace
java.util.Vector attributes
java.util.Hashtable attrStartTable
java.util.Hashtable attrValueTable
java.util.Hashtable tagTable
private int attrPage
private int tagPage
private String encoding
public void ()
public org.xmlpull.v1.XmlSerializer attribute (java.lang.String, java.lang.String, java.lang.String)
public void cdsect (java.lang.String) throws java.io.IOException
public void comment (java.lang.String)
public void docdecl (java.lang.String)
public void entityRef (java.lang.String)
public int getDepth ()
public boolean getFeature (java.lang.String)
public java.lang.String getNamespace ()
public java.lang.String getName ()
public java.lang.String getPrefix (java.lang.String, boolean)
public java.lang.Object getProperty (java.lang.String)
public void ignorableWhitespace (java.lang.String)
public void endDocument () throws java.io.IOException
public void flush ()
public void checkPending (boolean) throws java.io.IOException
public void processingInstruction (java.lang.String)
public void setFeature (java.lang.String, boolean)
public void setOutput (java.io.Writer)
public void setOutput (java.io.OutputStream, java.lang.String) throws java.io.IOException
public void setPrefix (java.lang.String, java.lang.String)
public void setProperty (java.lang.String, java.lang.Object)
public void startDocument (java.lang.String, java.lang.Boolean) throws java.io.IOException
public org.xmlpull.v1.XmlSerializer startTag (java.lang.String, java.lang.String) throws java.io.IOException
public org.xmlpull.v1.XmlSerializer text (char[], int, int) throws java.io.IOException
public org.xmlpull.v1.XmlSerializer text (java.lang.String) throws java.io.IOException
private void writeStr (java.lang.String) throws java.io.IOException
public org.xmlpull.v1.XmlSerializer endTag (java.lang.String, java.lang.String) throws java.io.IOException
public void writeWapExtension (int, java.lang.Object) throws java.io.IOException
static void writeInt (java.io.OutputStream, int) throws java.io.IOException
void writeStrI (java.io.OutputStream, java.lang.String) throws java.io.IOException
private final void writeStrT (java.lang.String, boolean) throws java.io.IOException
public void setTagTable (int, java.lang.String[])
public void setAttrStartTable (int, java.lang.String[])
public void setAttrValueTable (int, java.lang.String[])
}
org/kxml2/wap/syncml/
org/kxml2/wap/syncml/SyncML.class
package org.kxml2.wap.syncml
public abstract org.kxml2.wap.syncml.SyncML extends java.lang.Object {
public static final String[] TAG_TABLE_0
public static final String[] TAG_TABLE_1
public static final String[] TAG_TABLE_2_DM
public void ()
public static org.kxml2.wap.WbxmlParser createParser ()
public static org.kxml2.wap.WbxmlSerializer createSerializer ()
public static org.kxml2.wap.WbxmlParser createDMParser ()
public static org.kxml2.wap.WbxmlSerializer createDMSerializer ()
static void ()
}
org/kxml2/wap/wv/
org/kxml2/wap/wv/WV.class
package org.kxml2.wap.wv
public abstract org.kxml2.wap.wv.WV extends java.lang.Object {
public static final String[] tagTablePage0
public static final String[] tagTablePage1
public static final String[] tagTablePage2
public static final String[] tagTablePage3
public static final String[] tagTablePage4
public static final String[] tagTablePage5
public static final String[] tagTablePage6
public static final String[] tagTablePage7
public static final String[] tagTablePage8
public static final String[] tagTablePage9
public static final String[] tagTablePageA
public static final String[] attrStartTable
public static final String[] attrValueTable
public void ()
public static org.kxml2.wap.WbxmlParser createParser () throws java.io.IOException
static void ()
}
org/kxml2/kdom/
org/kxml2/kdom/Element.class
package org.kxml2.kdom
public org.kxml2.kdom.Element extends org.kxml2.kdom.Node {
protected String namespace
protected String name
protected java.util.Vector attributes
protected org.kxml2.kdom.Node parent
protected java.util.Vector prefixes
public void ()
public void init ()
public void clear ()
public org.kxml2.kdom.Element createElement (java.lang.String, java.lang.String)
public int getAttributeCount ()
public java.lang.String getAttributeNamespace (int)
public java.lang.String getAttributeName (int)
public java.lang.String getAttributeValue (int)
public java.lang.String getAttributeValue (java.lang.String, java.lang.String)
public org.kxml2.kdom.Node getRoot ()
public java.lang.String getName ()
public java.lang.String getNamespace ()
public java.lang.String getNamespaceUri (java.lang.String)
public int getNamespaceCount ()
public java.lang.String getNamespacePrefix (int)
public java.lang.String getNamespaceUri (int)
public org.kxml2.kdom.Node getParent ()
public void parse (org.xmlpull.v1.XmlPullParser) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
public void setAttribute (java.lang.String, java.lang.String, java.lang.String)
public void setPrefix (java.lang.String, java.lang.String)
public void setName (java.lang.String)
public void setNamespace (java.lang.String)
protected void setParent (org.kxml2.kdom.Node)
public void write (org.xmlpull.v1.XmlSerializer) throws java.io.IOException
}
org/kxml2/kdom/Document.class
package org.kxml2.kdom
public org.kxml2.kdom.Document extends org.kxml2.kdom.Node {
protected int rootIndex
String encoding
Boolean standalone
public void ()
public java.lang.String getEncoding ()
public void setEncoding (java.lang.String)
public void setStandalone (java.lang.Boolean)
public java.lang.Boolean getStandalone ()
public java.lang.String getName ()
public void addChild (int, int, java.lang.Object)
public void parse (org.xmlpull.v1.XmlPullParser) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
public void removeChild (int)
public org.kxml2.kdom.Element getRootElement ()
public void write (org.xmlpull.v1.XmlSerializer) throws java.io.IOException
}
org/kxml2/kdom/Node.class
package org.kxml2.kdom
public org.kxml2.kdom.Node extends java.lang.Object {
public static final int DOCUMENT
public static final int ELEMENT
public static final int TEXT
public static final int CDSECT
public static final int ENTITY_REF
public static final int IGNORABLE_WHITESPACE
public static final int PROCESSING_INSTRUCTION
public static final int COMMENT
public static final int DOCDECL
protected java.util.Vector children
protected StringBuffer types
public void ()
public void addChild (int, int, java.lang.Object)
public void addChild (int, java.lang.Object)
public org.kxml2.kdom.Element createElement (java.lang.String, java.lang.String)
public java.lang.Object getChild (int)
public int getChildCount ()
public org.kxml2.kdom.Element getElement (int)
public org.kxml2.kdom.Element getElement (java.lang.String, java.lang.String)
public java.lang.String getText (int)
public int getType (int)
public int indexOf (java.lang.String, java.lang.String, int)
public boolean isText (int)
public void parse (org.xmlpull.v1.XmlPullParser) throws java.io.IOException org.xmlpull.v1.XmlPullParserException
public void removeChild (int)
public void write (org.xmlpull.v1.XmlSerializer) throws java.io.IOException
public void writeChildren (org.xmlpull.v1.XmlSerializer) throws java.io.IOException
}
org/xmlpull/
org/xmlpull/v1/
org/xmlpull/v1/XmlSerializer.classXmlSerializer.java
package org.xmlpull.v1
public abstract org.xmlpull.v1.XmlSerializer extends java.lang.Object {
public abstract void setFeature (java.lang.String, boolean) throws java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract boolean getFeature (java.lang.String)
public abstract void setProperty (java.lang.String, java.lang.Object) throws java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract java.lang.Object getProperty (java.lang.String)
public abstract void setOutput (java.io.OutputStream, java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void setOutput (java.io.Writer) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void startDocument (java.lang.String, java.lang.Boolean) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void endDocument () throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void setPrefix (java.lang.String, java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract java.lang.String getPrefix (java.lang.String, boolean) throws java.lang.IllegalArgumentException
public abstract int getDepth ()
public abstract java.lang.String getNamespace ()
public abstract java.lang.String getName ()
public abstract org.xmlpull.v1.XmlSerializer startTag (java.lang.String, java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract org.xmlpull.v1.XmlSerializer attribute (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract org.xmlpull.v1.XmlSerializer endTag (java.lang.String, java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract org.xmlpull.v1.XmlSerializer text (java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract org.xmlpull.v1.XmlSerializer text (char[], int, int) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void cdsect (java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void entityRef (java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void processingInstruction (java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void comment (java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void docdecl (java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void ignorableWhitespace (java.lang.String) throws java.io.IOException java.lang.IllegalArgumentException java.lang.IllegalStateException
public abstract void flush () throws java.io.IOException
}
org/xmlpull/v1/XmlPullParser.classXmlPullParser.java
package org.xmlpull.v1
public abstract org.xmlpull.v1.XmlPullParser extends java.lang.Object {
public static final String NO_NAMESPACE
public static final int START_DOCUMENT
public static final int END_DOCUMENT
public static final int START_TAG
public static final int END_TAG
public static final int TEXT
public static final int CDSECT
public static final int ENTITY_REF
public static final int IGNORABLE_WHITESPACE
public static final int PROCESSING_INSTRUCTION
public static final int COMMENT
public static final int DOCDECL
public static final String[] TYPES
public static final String FEATURE_PROCESS_NAMESPACES
public static final String FEATURE_REPORT_NAMESPACE_ATTRIBUTES
public static final String FEATURE_PROCESS_DOCDECL
public static final String FEATURE_VALIDATION
public abstract void setFeature (java.lang.String, boolean) throws org.xmlpull.v1.XmlPullParserException
public abstract boolean getFeature (java.lang.String)
public abstract void setProperty (java.lang.String, java.lang.Object) throws org.xmlpull.v1.XmlPullParserException
public abstract java.lang.Object getProperty (java.lang.String)
public abstract void setInput (java.io.Reader) throws org.xmlpull.v1.XmlPullParserException
public abstract void setInput (java.io.InputStream, java.lang.String) throws org.xmlpull.v1.XmlPullParserException
public abstract java.lang.String getInputEncoding ()
public abstract void defineEntityReplacementText (java.lang.String, java.lang.String) throws org.xmlpull.v1.XmlPullParserException
public abstract int getNamespaceCount (int) throws org.xmlpull.v1.XmlPullParserException
public abstract java.lang.String getNamespacePrefix (int) throws org.xmlpull.v1.XmlPullParserException
public abstract java.lang.String getNamespaceUri (int) throws org.xmlpull.v1.XmlPullParserException
public abstract java.lang.String getNamespace (java.lang.String)
public abstract int getDepth ()
public abstract java.lang.String getPositionDescription ()
public abstract int getLineNumber ()
public abstract int getColumnNumber ()
public abstract boolean isWhitespace () throws org.xmlpull.v1.XmlPullParserException
public abstract java.lang.String getText ()
public abstract char[] getTextCharacters (int[])
public abstract java.lang.String getNamespace ()
public abstract java.lang.String getName ()
public abstract java.lang.String getPrefix ()
public abstract boolean isEmptyElementTag () throws org.xmlpull.v1.XmlPullParserException
public abstract int getAttributeCount ()
public abstract java.lang.String getAttributeNamespace (int)
public abstract java.lang.String getAttributeName (int)
public abstract java.lang.String getAttributePrefix (int)
public abstract java.lang.String getAttributeType (int)
public abstract boolean isAttributeDefault (int)
public abstract java.lang.String getAttributeValue (int)
public abstract java.lang.String getAttributeValue (java.lang.String, java.lang.String)
public abstract int getEventType () throws org.xmlpull.v1.XmlPullParserException
public abstract int next () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public abstract int nextToken () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public abstract void require (int, java.lang.String, java.lang.String) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public abstract java.lang.String nextText () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
public abstract int nextTag () throws org.xmlpull.v1.XmlPullParserException java.io.IOException
static void ()
}
org/xmlpull/v1/XmlPullParserException.classXmlPullParserException.java
package org.xmlpull.v1
public org.xmlpull.v1.XmlPullParserException extends java.lang.Exception {
protected Throwable detail
protected int row
protected int column
public void (java.lang.String)
String s
public void (java.lang.String, org.xmlpull.v1.XmlPullParser, java.lang.Throwable)
String msg
org.xmlpull.v1.XmlPullParser parser
Throwable chain
public java.lang.Throwable getDetail ()
public int getLineNumber ()
public int getColumnNumber ()
public void printStackTrace ()
}
org/xmlpull/v1/XmlPullParserFactory.classXmlPullParserFactory.java
package org.xmlpull.v1
public org.xmlpull.v1.XmlPullParserFactory extends java.lang.Object {
static final Class referenceContextClass
public static final String PROPERTY_NAME
private static final String RESOURCE_NAME
protected java.util.Vector parserClasses
protected String classNamesLocation
protected java.util.Vector serializerClasses
protected java.util.Hashtable features
protected void ()
public void setFeature (java.lang.String, boolean) throws org.xmlpull.v1.XmlPullParserException
String name
boolean state
public boolean getFeature (java.lang.String)
String name
Boolean value
public void setNamespaceAware (boolean)
boolean awareness
public boolean isNamespaceAware ()
public void setValidating (boolean)
boolean validating
public boolean isValidating ()
public org.xmlpull.v1.XmlPullParser newPullParser () throws org.xmlpull.v1.XmlPullParserException
StringBuffer issues
int i
Class ppClass
org.xmlpull.v1.XmlPullParser pp
java.util.Enumeration e
String key
Boolean value
Exception ex
public org.xmlpull.v1.XmlSerializer newSerializer () throws org.xmlpull.v1.XmlPullParserException
StringBuffer issues
int i
Class ppClass
org.xmlpull.v1.XmlSerializer ser
Exception ex
public static org.xmlpull.v1.XmlPullParserFactory newInstance () throws org.xmlpull.v1.XmlPullParserException
public static org.xmlpull.v1.XmlPullParserFactory newInstance (java.lang.String, java.lang.Class) throws org.xmlpull.v1.XmlPullParserException
String classNames
Class context
String classNamesLocation
java.io.InputStream is
StringBuffer sb
int ch
Exception e
org.xmlpull.v1.XmlPullParserFactory factory
java.util.Vector parserClasses
java.util.Vector serializerClasses
int pos
int cut
String name
Class candidate
Object instance
Exception e
boolean recognized
static void ()
org.xmlpull.v1.XmlPullParserFactory f
}
org/json/
org/json/JSONObject.classJSONObject.java
package org.json
public org.json.JSONObject extends java.lang.Object {
private static final Double NEGATIVE_ZERO
public static final Object NULL
private final java.util.Map nameValuePairs
public void ()
public void (java.util.Map)
public void (org.json.JSONTokener) throws org.json.JSONException
public void (java.lang.String) throws org.json.JSONException
public void (org.json.JSONObject, java.lang.String[]) throws org.json.JSONException
public int length ()
public org.json.JSONObject put (java.lang.String, boolean) throws org.json.JSONException
public org.json.JSONObject put (java.lang.String, double) throws org.json.JSONException
public org.json.JSONObject put (java.lang.String, int) throws org.json.JSONException
public org.json.JSONObject put (java.lang.String, long) throws org.json.JSONException
public org.json.JSONObject put (java.lang.String, java.lang.Object) throws org.json.JSONException
public org.json.JSONObject putOpt (java.lang.String, java.lang.Object) throws org.json.JSONException
public org.json.JSONObject accumulate (java.lang.String, java.lang.Object) throws org.json.JSONException
java.lang.String checkName (java.lang.String) throws org.json.JSONException
public java.lang.Object remove (java.lang.String)
public boolean isNull (java.lang.String)
public boolean has (java.lang.String)
public java.lang.Object get (java.lang.String) throws org.json.JSONException
public java.lang.Object opt (java.lang.String)
public boolean getBoolean (java.lang.String) throws org.json.JSONException
public boolean optBoolean (java.lang.String)
public boolean optBoolean (java.lang.String, boolean)
public double getDouble (java.lang.String) throws org.json.JSONException
public double optDouble (java.lang.String)
public double optDouble (java.lang.String, double)
public int getInt (java.lang.String) throws org.json.JSONException
public int optInt (java.lang.String)
public int optInt (java.lang.String, int)
public long getLong (java.lang.String) throws org.json.JSONException
public long optLong (java.lang.String)
public long optLong (java.lang.String, long)
public java.lang.String getString (java.lang.String) throws org.json.JSONException
public java.lang.String optString (java.lang.String)
public java.lang.String optString (java.lang.String, java.lang.String)
public org.json.JSONArray getJSONArray (java.lang.String) throws org.json.JSONException
public org.json.JSONArray optJSONArray (java.lang.String)
public org.json.JSONObject getJSONObject (java.lang.String) throws org.json.JSONException
public org.json.JSONObject optJSONObject (java.lang.String)
public org.json.JSONArray toJSONArray (org.json.JSONArray) throws org.json.JSONException
public java.util.Iterator keys ()
public org.json.JSONArray names ()
public java.lang.String toString ()
public java.lang.String toString (int) throws org.json.JSONException
void writeTo (org.json.JSONStringer) throws org.json.JSONException
public static java.lang.String numberToString (java.lang.Number) throws org.json.JSONException
public static java.lang.String quote (java.lang.String)
static void ()
}
org/json/JSONStringer.classJSONStringer.java
package org.json
public org.json.JSONStringer extends java.lang.Object {
final StringBuilder out
private final java.util.List stack
private final String indent
public void ()
void (int)
public org.json.JSONStringer array () throws org.json.JSONException
public org.json.JSONStringer endArray () throws org.json.JSONException
public org.json.JSONStringer object () throws org.json.JSONException
public org.json.JSONStringer endObject () throws org.json.JSONException
org.json.JSONStringer open (org.json.JSONStringer$Scope, java.lang.String) throws org.json.JSONException
org.json.JSONStringer close (org.json.JSONStringer$Scope, org.json.JSONStringer$Scope, java.lang.String) throws org.json.JSONException
private org.json.JSONStringer$Scope peek () throws org.json.JSONException
private void replaceTop (org.json.JSONStringer$Scope)
public org.json.JSONStringer value (java.lang.Object) throws org.json.JSONException
public org.json.JSONStringer value (boolean) throws org.json.JSONException
public org.json.JSONStringer value (double) throws org.json.JSONException
public org.json.JSONStringer value (long) throws org.json.JSONException
private void string (java.lang.String)
private void newline ()
public org.json.JSONStringer key (java.lang.String) throws org.json.JSONException
private void beforeKey () throws org.json.JSONException
private void beforeValue () throws org.json.JSONException
public java.lang.String toString ()
}
org/json/JSONStringer$Scope.classJSONStringer.java
package org.json
final org.json.JSONStringer$Scope extends java.lang.Enum {
public static final org.json.JSONStringer$Scope EMPTY_ARRAY
public static final org.json.JSONStringer$Scope NONEMPTY_ARRAY
public static final org.json.JSONStringer$Scope EMPTY_OBJECT
public static final org.json.JSONStringer$Scope DANGLING_KEY
public static final org.json.JSONStringer$Scope NONEMPTY_OBJECT
public static final org.json.JSONStringer$Scope NULL
private static final org.json.JSONStringer$Scope[] $VALUES
public static org.json.JSONStringer$Scope[] values ()
public static org.json.JSONStringer$Scope valueOf (java.lang.String)
private void (java.lang.String, int)
static void ()
}
org/json/JSON.classJSON.java
package org.json
org.json.JSON extends java.lang.Object {
void ()
static double checkDouble (double) throws org.json.JSONException
static java.lang.Boolean toBoolean (java.lang.Object)
static java.lang.Double toDouble (java.lang.Object)
static java.lang.Integer toInteger (java.lang.Object)
static java.lang.Long toLong (java.lang.Object)
static java.lang.String toString (java.lang.Object)
public static org.json.JSONException typeMismatch (java.lang.Object, java.lang.Object, java.lang.String) throws org.json.JSONException
public static org.json.JSONException typeMismatch (java.lang.Object, java.lang.String) throws org.json.JSONException
}
org/json/JSONObject$1.classJSONObject.java
package org.json
final org.json.JSONObject$1 extends java.lang.Object {
void ()
public boolean equals (java.lang.Object)
public java.lang.String toString ()
}
org/json/JSONException.classJSONException.java
package org.json
public org.json.JSONException extends java.lang.Exception {
public void (java.lang.String)
}
org/json/JSONTokener.classJSONTokener.java
package org.json
public org.json.JSONTokener extends java.lang.Object {
private final String in
private int pos
public void (java.lang.String)
public java.lang.Object nextValue () throws org.json.JSONException
private int nextCleanInternal () throws org.json.JSONException
private void skipToEndOfLine ()
public java.lang.String nextString (char) throws org.json.JSONException
private char readEscapeCharacter () throws org.json.JSONException
private java.lang.Object readLiteral () throws org.json.JSONException
private java.lang.String nextToInternal (java.lang.String)
private org.json.JSONObject readObject () throws org.json.JSONException
private org.json.JSONArray readArray () throws org.json.JSONException
public org.json.JSONException syntaxError (java.lang.String)
public java.lang.String toString ()
public boolean more ()
public char next ()
public char next (char) throws org.json.JSONException
public char nextClean () throws org.json.JSONException
public java.lang.String next (int) throws org.json.JSONException
public java.lang.String nextTo (java.lang.String)
public java.lang.String nextTo (char)
public void skipPast (java.lang.String)
public char skipTo (char)
public void back ()
public static int dehexchar (char)
}
org/json/JSONArray.classJSONArray.java
package org.json
public org.json.JSONArray extends java.lang.Object {
private final java.util.List values
public void ()
public void (java.util.Collection)
public void (org.json.JSONTokener) throws org.json.JSONException
public void (java.lang.String) throws org.json.JSONException
public int length ()
public org.json.JSONArray put (boolean)
public org.json.JSONArray put (double) throws org.json.JSONException
public org.json.JSONArray put (int)
public org.json.JSONArray put (long)
public org.json.JSONArray put (java.lang.Object)
public org.json.JSONArray put (int, boolean) throws org.json.JSONException
public org.json.JSONArray put (int, double) throws org.json.JSONException
public org.json.JSONArray put (int, int) throws org.json.JSONException
public org.json.JSONArray put (int, long) throws org.json.JSONException
public org.json.JSONArray put (int, java.lang.Object) throws org.json.JSONException
public boolean isNull (int)
public java.lang.Object get (int) throws org.json.JSONException
public java.lang.Object opt (int)
public boolean getBoolean (int) throws org.json.JSONException
public boolean optBoolean (int)
public boolean optBoolean (int, boolean)
public double getDouble (int) throws org.json.JSONException
public double optDouble (int)
public double optDouble (int, double)
public int getInt (int) throws org.json.JSONException
public int optInt (int)
public int optInt (int, int)
public long getLong (int) throws org.json.JSONException
public long optLong (int)
public long optLong (int, long)
public java.lang.String getString (int) throws org.json.JSONException
public java.lang.String optString (int)
public java.lang.String optString (int, java.lang.String)
public org.json.JSONArray getJSONArray (int) throws org.json.JSONException
public org.json.JSONArray optJSONArray (int)
public org.json.JSONObject getJSONObject (int) throws org.json.JSONException
public org.json.JSONObject optJSONObject (int)
public org.json.JSONObject toJSONObject (org.json.JSONArray) throws org.json.JSONException
public java.lang.String join (java.lang.String) throws org.json.JSONException
public java.lang.String toString ()
public java.lang.String toString (int) throws org.json.JSONException
void writeTo (org.json.JSONStringer) throws org.json.JSONException
public boolean equals (java.lang.Object)
public int hashCode ()
}
org/hamcrest/
org/hamcrest/Description.classDescription.java
package org.hamcrest
public abstract org.hamcrest.Description extends java.lang.Object {
public abstract org.hamcrest.Description appendText (java.lang.String)
public abstract org.hamcrest.Description appendDescriptionOf (org.hamcrest.SelfDescribing)
public abstract org.hamcrest.Description appendValue (java.lang.Object)
public transient abstract org.hamcrest.Description appendValueList (java.lang.String, java.lang.String, java.lang.String, java.lang.Object[])
public abstract org.hamcrest.Description appendValueList (java.lang.String, java.lang.String, java.lang.String, java.lang.Iterable)
public abstract org.hamcrest.Description appendList (java.lang.String, java.lang.String, java.lang.String, java.lang.Iterable)
}
org/hamcrest/BaseDescription.classBaseDescription.java
package org.hamcrest
public abstract org.hamcrest.BaseDescription extends java.lang.Object implements org.hamcrest.Description {
public void ()
public org.hamcrest.Description appendText (java.lang.String)
String text
public org.hamcrest.Description appendDescriptionOf (org.hamcrest.SelfDescribing)
org.hamcrest.SelfDescribing value
public org.hamcrest.Description appendValue (java.lang.Object)
Object value
public transient org.hamcrest.Description appendValueList (java.lang.String, java.lang.String, java.lang.String, java.lang.Object[])
String start
String separator
String end
Object[] values
public org.hamcrest.Description appendValueList (java.lang.String, java.lang.String, java.lang.String, java.lang.Iterable)
String start
String separator
String end
Iterable values
private org.hamcrest.Description appendValueList (java.lang.String, java.lang.String, java.lang.String, java.util.Iterator)
String start
String separator
String end
java.util.Iterator values
public org.hamcrest.Description appendList (java.lang.String, java.lang.String, java.lang.String, java.lang.Iterable)
String start
String separator
String end
Iterable values
private org.hamcrest.Description appendList (java.lang.String, java.lang.String, java.lang.String, java.util.Iterator)
String start
String separator
String end
java.util.Iterator i
boolean separate
protected void append (java.lang.String)
int i
String str
protected abstract void append (char)
private void toJavaSyntax (java.lang.String)
int i
String unformatted
private void toJavaSyntax (char)
char ch
}
org/hamcrest/StringDescription.classStringDescription.java
package org.hamcrest
public org.hamcrest.StringDescription extends org.hamcrest.BaseDescription {
private final Appendable out
public void ()
public void (java.lang.Appendable)
Appendable out
public static java.lang.String toString (org.hamcrest.SelfDescribing)
org.hamcrest.SelfDescribing value
public static java.lang.String asString (org.hamcrest.SelfDescribing)
org.hamcrest.SelfDescribing selfDescribing
protected void append (java.lang.String)
java.io.IOException e
String str
protected void append (char)
java.io.IOException e
char c
public java.lang.String toString ()
}
org/hamcrest/SelfDescribing.classSelfDescribing.java
package org.hamcrest
public abstract org.hamcrest.SelfDescribing extends java.lang.Object {
public abstract void describeTo (org.hamcrest.Description)
}
org/hamcrest/CoreMatchers.classCoreMatchers.java
package org.hamcrest
public org.hamcrest.CoreMatchers extends java.lang.Object {
public void ()
public static org.hamcrest.Matcher is (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public static org.hamcrest.Matcher is (java.lang.Object)
Object value
public static org.hamcrest.Matcher is (java.lang.Class)
Class type
public static org.hamcrest.Matcher not (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public static org.hamcrest.Matcher not (java.lang.Object)
Object value
public static org.hamcrest.Matcher equalTo (java.lang.Object)
Object operand
public static org.hamcrest.Matcher instanceOf (java.lang.Class)
Class type
public static transient org.hamcrest.Matcher allOf (org.hamcrest.Matcher[])
org.hamcrest.Matcher[] matchers
public static org.hamcrest.Matcher allOf (java.lang.Iterable)
Iterable matchers
public static transient org.hamcrest.Matcher anyOf (org.hamcrest.Matcher[])
org.hamcrest.Matcher[] matchers
public static org.hamcrest.Matcher anyOf (java.lang.Iterable)
Iterable matchers
public static org.hamcrest.Matcher sameInstance (java.lang.Object)
Object object
public static org.hamcrest.Matcher anything ()
public static org.hamcrest.Matcher anything (java.lang.String)
String description
public static org.hamcrest.Matcher any (java.lang.Class)
Class type
public static org.hamcrest.Matcher nullValue ()
public static org.hamcrest.Matcher nullValue (java.lang.Class)
Class type
public static org.hamcrest.Matcher notNullValue ()
public static org.hamcrest.Matcher notNullValue (java.lang.Class)
Class type
public static transient org.hamcrest.Matcher describedAs (java.lang.String, org.hamcrest.Matcher, java.lang.Object[])
String description
org.hamcrest.Matcher matcher
Object[] values
}
org/hamcrest/core/
org/hamcrest/core/IsNull.classIsNull.java
package org.hamcrest.core
public org.hamcrest.core.IsNull extends org.hamcrest.BaseMatcher {
public void ()
public boolean matches (java.lang.Object)
Object o
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public static org.hamcrest.Matcher nullValue ()
public static org.hamcrest.Matcher notNullValue ()
public static org.hamcrest.Matcher nullValue (java.lang.Class)
Class type
public static org.hamcrest.Matcher notNullValue (java.lang.Class)
Class type
}
org/hamcrest/core/IsNot.classIsNot.java
package org.hamcrest.core
public org.hamcrest.core.IsNot extends org.hamcrest.BaseMatcher {
private final org.hamcrest.Matcher matcher
public void (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public boolean matches (java.lang.Object)
Object arg
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public static org.hamcrest.Matcher not (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public static org.hamcrest.Matcher not (java.lang.Object)
Object value
}
org/hamcrest/core/DescribedAs.classDescribedAs.java
package org.hamcrest.core
public org.hamcrest.core.DescribedAs extends org.hamcrest.BaseMatcher {
private final String descriptionTemplate
private final org.hamcrest.Matcher matcher
private final Object[] values
private static final java.util.regex.Pattern ARG_PATTERN
public void (java.lang.String, org.hamcrest.Matcher, java.lang.Object[])
String descriptionTemplate
org.hamcrest.Matcher matcher
Object[] values
public boolean matches (java.lang.Object)
Object o
public void describeTo (org.hamcrest.Description)
int argIndex
org.hamcrest.Description description
java.util.regex.Matcher arg
int textStart
public static transient org.hamcrest.Matcher describedAs (java.lang.String, org.hamcrest.Matcher, java.lang.Object[])
String description
org.hamcrest.Matcher matcher
Object[] values
static void ()
}
org/hamcrest/core/Is.classIs.java
package org.hamcrest.core
public org.hamcrest.core.Is extends org.hamcrest.BaseMatcher {
private final org.hamcrest.Matcher matcher
public void (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public boolean matches (java.lang.Object)
Object arg
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public static org.hamcrest.Matcher is (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public static org.hamcrest.Matcher is (java.lang.Object)
Object value
public static org.hamcrest.Matcher is (java.lang.Class)
Class type
}
org/hamcrest/core/AllOf.classAllOf.java
package org.hamcrest.core
public org.hamcrest.core.AllOf extends org.hamcrest.BaseMatcher {
private final Iterable matchers
public void (java.lang.Iterable)
Iterable matchers
public boolean matches (java.lang.Object)
org.hamcrest.Matcher matcher
Object o
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public static transient org.hamcrest.Matcher allOf (org.hamcrest.Matcher[])
org.hamcrest.Matcher[] matchers
public static org.hamcrest.Matcher allOf (java.lang.Iterable)
Iterable matchers
}
org/hamcrest/core/AnyOf.classAnyOf.java
package org.hamcrest.core
public org.hamcrest.core.AnyOf extends org.hamcrest.BaseMatcher {
private final Iterable matchers
public void (java.lang.Iterable)
Iterable matchers
public boolean matches (java.lang.Object)
org.hamcrest.Matcher matcher
Object o
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public static transient org.hamcrest.Matcher anyOf (org.hamcrest.Matcher[])
org.hamcrest.Matcher[] matchers
public static org.hamcrest.Matcher anyOf (java.lang.Iterable)
Iterable matchers
}
org/hamcrest/core/IsEqual.classIsEqual.java
package org.hamcrest.core
public org.hamcrest.core.IsEqual extends org.hamcrest.BaseMatcher {
private final Object object
public void (java.lang.Object)
Object equalArg
public boolean matches (java.lang.Object)
Object arg
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
private static boolean areEqual (java.lang.Object, java.lang.Object)
Object o1
Object o2
private static boolean areArraysEqual (java.lang.Object, java.lang.Object)
Object o1
Object o2
private static boolean areArrayLengthsEqual (java.lang.Object, java.lang.Object)
Object o1
Object o2
private static boolean areArrayElementsEqual (java.lang.Object, java.lang.Object)
int i
Object o1
Object o2
private static boolean isArray (java.lang.Object)
Object o
public static org.hamcrest.Matcher equalTo (java.lang.Object)
Object operand
}
org/hamcrest/core/IsSame.classIsSame.java
package org.hamcrest.core
public org.hamcrest.core.IsSame extends org.hamcrest.BaseMatcher {
private final Object object
public void (java.lang.Object)
Object object
public boolean matches (java.lang.Object)
Object arg
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public static org.hamcrest.Matcher sameInstance (java.lang.Object)
Object object
}
org/hamcrest/core/IsInstanceOf.classIsInstanceOf.java
package org.hamcrest.core
public org.hamcrest.core.IsInstanceOf extends org.hamcrest.BaseMatcher {
private final Class theClass
public void (java.lang.Class)
Class theClass
public boolean matches (java.lang.Object)
Object item
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public static org.hamcrest.Matcher instanceOf (java.lang.Class)
Class type
}
org/hamcrest/core/IsAnything.classIsAnything.java
package org.hamcrest.core
public org.hamcrest.core.IsAnything extends org.hamcrest.BaseMatcher {
private final String description
public void ()
public void (java.lang.String)
String description
public boolean matches (java.lang.Object)
Object o
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public static org.hamcrest.Matcher anything ()
public static org.hamcrest.Matcher anything (java.lang.String)
String description
public static org.hamcrest.Matcher any (java.lang.Class)
Class type
}
org/hamcrest/BaseMatcher.classBaseMatcher.java
package org.hamcrest
public abstract org.hamcrest.BaseMatcher extends java.lang.Object implements org.hamcrest.Matcher {
public void ()
public final void _dont_implement_Matcher___instead_extend_BaseMatcher_ ()
public java.lang.String toString ()
}
org/hamcrest/Matcher.classMatcher.java
package org.hamcrest
public abstract org.hamcrest.Matcher extends java.lang.Object implements org.hamcrest.SelfDescribing {
public abstract boolean matches (java.lang.Object)
public abstract void _dont_implement_Matcher___instead_extend_BaseMatcher_ ()
}
org/hamcrest/internal/
org/hamcrest/internal/ArrayIterator.classArrayIterator.java
package org.hamcrest.internal
public org.hamcrest.internal.ArrayIterator extends java.lang.Object implements java.util.Iterator {
private final Object array
private int currentIndex
public void (java.lang.Object)
Object array
public boolean hasNext ()
public java.lang.Object next ()
public void remove ()
}
org/hamcrest/internal/SelfDescribingValueIterator.classSelfDescribingValueIterator.java
package org.hamcrest.internal
public org.hamcrest.internal.SelfDescribingValueIterator extends java.lang.Object implements java.util.Iterator {
private java.util.Iterator values
public void (java.util.Iterator)
java.util.Iterator values
public boolean hasNext ()
public org.hamcrest.SelfDescribing next ()
public void remove ()
public volatile java.lang.Object next ()
}
org/hamcrest/internal/SelfDescribingValue.classSelfDescribingValue.java
package org.hamcrest.internal
public org.hamcrest.internal.SelfDescribingValue extends java.lang.Object implements org.hamcrest.SelfDescribing {
private Object value
public void (java.lang.Object)
Object value
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
}
org/hamcrest/Factory.classFactory.java
package org.hamcrest
public abstract org.hamcrest.Factory extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/
org/junit/ComparisonFailure.classComparisonFailure.java
package org.junit
public org.junit.ComparisonFailure extends java.lang.AssertionError {
private static final int MAX_CONTEXT_LENGTH
private static final long serialVersionUID
private String fExpected
private String fActual
public void (java.lang.String, java.lang.String, java.lang.String)
String message
String expected
String actual
public java.lang.String getMessage ()
public java.lang.String getActual ()
public java.lang.String getExpected ()
}
org/junit/Before.classBefore.java
package org.junit
public abstract org.junit.Before extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/runners/
org/junit/runners/JUnit4.classJUnit4.java
package org.junit.runners
public final org.junit.runners.JUnit4 extends org.junit.runners.BlockJUnit4ClassRunner {
public void (java.lang.Class) throws org.junit.runners.model.InitializationError
Class klass
}
org/junit/runners/BlockJUnit4ClassRunner$1.classBlockJUnit4ClassRunner.java
package org.junit.runners
org.junit.runners.BlockJUnit4ClassRunner$1 extends org.junit.internal.runners.model.ReflectiveCallable {
final org.junit.runners.BlockJUnit4ClassRunner this$0
void (org.junit.runners.BlockJUnit4ClassRunner)
org.junit.runners.BlockJUnit4ClassRunner this$0
protected java.lang.Object runReflectiveCall () throws java.lang.Throwable
}
org/junit/runners/ParentRunner$2.classParentRunner.java
package org.junit.runners
org.junit.runners.ParentRunner$2 extends org.junit.runners.model.Statement {
final org.junit.runner.notification.RunNotifier val$notifier
final org.junit.runners.ParentRunner this$0
void (org.junit.runners.ParentRunner, org.junit.runner.notification.RunNotifier)
org.junit.runners.ParentRunner this$0
public void evaluate ()
}
org/junit/runners/Parameterized$Parameters.classParameterized.java
package org.junit.runners
public abstract org.junit.runners.Parameterized$Parameters extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/runners/Suite.classSuite.java
package org.junit.runners
public org.junit.runners.Suite extends org.junit.runners.ParentRunner {
private final java.util.List fRunners
public static org.junit.runner.Runner emptySuite ()
org.junit.runners.model.InitializationError e
private static java.lang.Class[] getAnnotatedClasses (java.lang.Class) throws org.junit.runners.model.InitializationError
Class klass
org.junit.runners.Suite$SuiteClasses annotation
public void (java.lang.Class, org.junit.runners.model.RunnerBuilder) throws org.junit.runners.model.InitializationError
Class klass
org.junit.runners.model.RunnerBuilder builder
public void (org.junit.runners.model.RunnerBuilder, java.lang.Class[]) throws org.junit.runners.model.InitializationError
org.junit.runners.model.RunnerBuilder builder
Class[] classes
protected void (java.lang.Class, java.lang.Class[]) throws org.junit.runners.model.InitializationError
Class klass
Class[] suiteClasses
protected void (org.junit.runners.model.RunnerBuilder, java.lang.Class, java.lang.Class[]) throws org.junit.runners.model.InitializationError
org.junit.runners.model.RunnerBuilder builder
Class klass
Class[] suiteClasses
protected void (java.lang.Class, java.util.List) throws org.junit.runners.model.InitializationError
Class klass
java.util.List runners
protected java.util.List getChildren ()
protected org.junit.runner.Description describeChild (org.junit.runner.Runner)
org.junit.runner.Runner child
protected void runChild (org.junit.runner.Runner, org.junit.runner.notification.RunNotifier)
org.junit.runner.Runner runner
org.junit.runner.notification.RunNotifier notifier
protected volatile void runChild (java.lang.Object, org.junit.runner.notification.RunNotifier)
protected volatile org.junit.runner.Description describeChild (java.lang.Object)
}
org/junit/runners/ParentRunner$4.classParentRunner.java
package org.junit.runners
org.junit.runners.ParentRunner$4 extends java.lang.Object implements java.util.Comparator {
final org.junit.runners.ParentRunner this$0
void (org.junit.runners.ParentRunner)
org.junit.runners.ParentRunner this$0
public int compare (java.lang.Object, java.lang.Object)
Object o1
Object o2
}
org/junit/runners/AllTests.classAllTests.java
package org.junit.runners
public org.junit.runners.AllTests extends org.junit.internal.runners.SuiteMethod {
public void (java.lang.Class) throws java.lang.Throwable
Class klass
}
org/junit/runners/Parameterized$TestClassRunnerForParameters.classParameterized.java
package org.junit.runners
org.junit.runners.Parameterized$TestClassRunnerForParameters extends org.junit.runners.BlockJUnit4ClassRunner {
private final int fParameterSetNumber
private final java.util.List fParameterList
final org.junit.runners.Parameterized this$0
void (org.junit.runners.Parameterized, java.lang.Class, java.util.List, int) throws org.junit.runners.model.InitializationError
Class type
java.util.List parameterList
int i
public java.lang.Object createTest () throws java.lang.Exception
private java.lang.Object[] computeParams () throws java.lang.Exception
ClassCastException e
protected java.lang.String getName ()
protected java.lang.String testName (org.junit.runners.model.FrameworkMethod)
org.junit.runners.model.FrameworkMethod method
protected void validateConstructor (java.util.List)
java.util.List errors
protected org.junit.runners.model.Statement classBlock (org.junit.runner.notification.RunNotifier)
org.junit.runner.notification.RunNotifier notifier
protected java.lang.annotation.Annotation[] getRunnerAnnotations ()
}
org/junit/runners/ParentRunner$3.classParentRunner.java
package org.junit.runners
org.junit.runners.ParentRunner$3 extends java.lang.Object implements java.lang.Runnable {
final Object val$each
final org.junit.runner.notification.RunNotifier val$notifier
final org.junit.runners.ParentRunner this$0
void (org.junit.runners.ParentRunner, java.lang.Object, org.junit.runner.notification.RunNotifier)
org.junit.runners.ParentRunner this$0
public void run ()
}
org/junit/runners/model/
org/junit/runners/model/FrameworkMember.classFrameworkMember.java
package org.junit.runners.model
abstract org.junit.runners.model.FrameworkMember extends java.lang.Object {
void ()
abstract java.lang.annotation.Annotation[] getAnnotations ()
abstract boolean isShadowedBy (org.junit.runners.model.FrameworkMember)
boolean isShadowedBy (java.util.List)
org.junit.runners.model.FrameworkMember each
java.util.List members
}
org/junit/runners/model/MultipleFailureException.classMultipleFailureException.java
package org.junit.runners.model
public org.junit.runners.model.MultipleFailureException extends java.lang.Exception {
private static final long serialVersionUID
private final java.util.List fErrors
public void (java.util.List)
java.util.List errors
public java.util.List getFailures ()
public java.lang.String getMessage ()
Throwable e
StringBuilder sb
public static void assertEmpty (java.util.List) throws java.lang.Throwable
java.util.List errors
}
org/junit/runners/model/NoGenericTypeParametersValidator.classNoGenericTypeParametersValidator.java
package org.junit.runners.model
org.junit.runners.model.NoGenericTypeParametersValidator extends java.lang.Object {
private final java.lang.reflect.Method fMethod
void (java.lang.reflect.Method)
java.lang.reflect.Method method
void validate (java.util.List)
java.lang.reflect.Type each
java.util.List errors
private void validateNoTypeParameterOnType (java.lang.reflect.Type, java.util.List)
java.lang.reflect.Type type
java.util.List errors
private void validateNoTypeParameterOnParameterizedType (java.lang.reflect.ParameterizedType, java.util.List)
java.lang.reflect.Type each
java.lang.reflect.ParameterizedType parameterized
java.util.List errors
private void validateNoTypeParameterOnWildcardType (java.lang.reflect.WildcardType, java.util.List)
java.lang.reflect.Type each
java.lang.reflect.Type each
java.lang.reflect.WildcardType wildcard
java.util.List errors
private void validateNoTypeParameterOnGenericArrayType (java.lang.reflect.GenericArrayType, java.util.List)
java.lang.reflect.GenericArrayType arrayType
java.util.List errors
}
org/junit/runners/model/FrameworkField.classFrameworkField.java
package org.junit.runners.model
public org.junit.runners.model.FrameworkField extends org.junit.runners.model.FrameworkMember {
private final java.lang.reflect.Field fField
void (java.lang.reflect.Field)
java.lang.reflect.Field field
public java.lang.String getName ()
public java.lang.annotation.Annotation[] getAnnotations ()
public boolean isPublic ()
int modifiers
public boolean isShadowedBy (org.junit.runners.model.FrameworkField)
org.junit.runners.model.FrameworkField otherMember
public boolean isStatic ()
int modifiers
public java.lang.reflect.Field getField ()
public java.lang.Class getType ()
public java.lang.Object get (java.lang.Object) throws java.lang.IllegalArgumentException java.lang.IllegalAccessException
Object target
public volatile boolean isShadowedBy (org.junit.runners.model.FrameworkMember)
}
org/junit/runners/model/TestClass.classTestClass.java
package org.junit.runners.model
public org.junit.runners.model.TestClass extends java.lang.Object {
private final Class fClass
private java.util.Map fMethodsForAnnotations
private java.util.Map fFieldsForAnnotations
public void (java.lang.Class)
java.lang.reflect.Method eachMethod
java.lang.reflect.Field eachField
Class eachClass
Class klass
private void addToAnnotationLists (org.junit.runners.model.FrameworkMember, java.util.Map)
Class type
java.util.List members
java.lang.annotation.Annotation each
org.junit.runners.model.FrameworkMember member
java.util.Map map
public java.util.List getAnnotatedMethods (java.lang.Class)
Class annotationClass
public java.util.List getAnnotatedFields (java.lang.Class)
Class annotationClass
private java.util.List getAnnotatedMembers (java.util.Map, java.lang.Class)
java.util.Map map
Class type
private boolean runsTopToBottom (java.lang.Class)
Class annotation
private java.util.List getSuperClasses (java.lang.Class)
Class testClass
java.util.ArrayList results
Class current
public java.lang.Class getJavaClass ()
public java.lang.String getName ()
public java.lang.reflect.Constructor getOnlyConstructor ()
java.lang.reflect.Constructor[] constructors
public java.lang.annotation.Annotation[] getAnnotations ()
public java.util.List getAnnotatedFieldValues (java.lang.Object, java.lang.Class, java.lang.Class)
Object fieldValue
IllegalAccessException e
org.junit.runners.model.FrameworkField each
Object test
Class annotationClass
Class valueClass
java.util.List results
public boolean isANonStaticInnerClass ()
}
org/junit/runners/model/Statement.classStatement.java
package org.junit.runners.model
public abstract org.junit.runners.model.Statement extends java.lang.Object {
public void ()
public abstract void evaluate () throws java.lang.Throwable
}
org/junit/runners/model/FrameworkMethod.classFrameworkMethod.java
package org.junit.runners.model
public org.junit.runners.model.FrameworkMethod extends org.junit.runners.model.FrameworkMember {
final java.lang.reflect.Method fMethod
public void (java.lang.reflect.Method)
java.lang.reflect.Method method
public java.lang.reflect.Method getMethod ()
public transient java.lang.Object invokeExplosively (java.lang.Object, java.lang.Object[]) throws java.lang.Throwable
Object target
Object[] params
public java.lang.String getName ()
public void validatePublicVoidNoArg (boolean, java.util.List)
boolean isStatic
java.util.List errors
public void validatePublicVoid (boolean, java.util.List)
String state
boolean isStatic
java.util.List errors
public void validateNoTypeParametersOnArgs (java.util.List)
java.util.List errors
public boolean isShadowedBy (org.junit.runners.model.FrameworkMethod)
int i
org.junit.runners.model.FrameworkMethod other
public boolean equals (java.lang.Object)
Object obj
public int hashCode ()
public boolean producesType (java.lang.reflect.Type)
java.lang.reflect.Type type
private java.lang.Class[] getParameterTypes ()
public java.lang.annotation.Annotation[] getAnnotations ()
public java.lang.annotation.Annotation getAnnotation (java.lang.Class)
Class annotationType
public volatile boolean isShadowedBy (org.junit.runners.model.FrameworkMember)
}
org/junit/runners/model/InitializationError.classInitializationError.java
package org.junit.runners.model
public org.junit.runners.model.InitializationError extends java.lang.Exception {
private static final long serialVersionUID
private final java.util.List fErrors
public void (java.util.List)
java.util.List errors
public void (java.lang.Throwable)
Throwable error
public void (java.lang.String)
String string
public java.util.List getCauses ()
}
org/junit/runners/model/RunnerScheduler.classRunnerScheduler.java
package org.junit.runners.model
public abstract org.junit.runners.model.RunnerScheduler extends java.lang.Object {
public abstract void schedule (java.lang.Runnable)
public abstract void finished ()
}
org/junit/runners/model/FrameworkMethod$1.classFrameworkMethod.java
package org.junit.runners.model
org.junit.runners.model.FrameworkMethod$1 extends org.junit.internal.runners.model.ReflectiveCallable {
final Object val$target
final Object[] val$params
final org.junit.runners.model.FrameworkMethod this$0
void (org.junit.runners.model.FrameworkMethod, java.lang.Object, java.lang.Object[])
org.junit.runners.model.FrameworkMethod this$0
protected java.lang.Object runReflectiveCall () throws java.lang.Throwable
}
org/junit/runners/model/RunnerBuilder.classRunnerBuilder.java
package org.junit.runners.model
public abstract org.junit.runners.model.RunnerBuilder extends java.lang.Object {
private final java.util.Set parents
public void ()
public abstract org.junit.runner.Runner runnerForClass (java.lang.Class) throws java.lang.Throwable
public org.junit.runner.Runner safeRunnerForClass (java.lang.Class)
Throwable e
Class testClass
java.lang.Class addParent (java.lang.Class) throws org.junit.runners.model.InitializationError
Class parent
void removeParent (java.lang.Class)
Class klass
public java.util.List runners (java.lang.Class, java.lang.Class[]) throws org.junit.runners.model.InitializationError
Class parent
Class[] children
public java.util.List runners (java.lang.Class, java.util.List) throws org.junit.runners.model.InitializationError
Class parent
java.util.List children
private java.util.List runners (java.lang.Class[])
org.junit.runner.Runner childRunner
Class each
Class[] children
java.util.ArrayList runners
}
org/junit/runners/Suite$SuiteClasses.classSuite.java
package org.junit.runners
public abstract org.junit.runners.Suite$SuiteClasses extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.Class[] value ()
}
org/junit/runners/ParentRunner$1.classParentRunner.java
package org.junit.runners
org.junit.runners.ParentRunner$1 extends java.lang.Object implements org.junit.runners.model.RunnerScheduler {
final org.junit.runners.ParentRunner this$0
void (org.junit.runners.ParentRunner)
org.junit.runners.ParentRunner this$0
public void schedule (java.lang.Runnable)
Runnable childStatement
public void finished ()
}
org/junit/runners/BlockJUnit4ClassRunner.classBlockJUnit4ClassRunner.java
package org.junit.runners
public org.junit.runners.BlockJUnit4ClassRunner extends org.junit.runners.ParentRunner {
public void (java.lang.Class) throws org.junit.runners.model.InitializationError
Class klass
protected void runChild (org.junit.runners.model.FrameworkMethod, org.junit.runner.notification.RunNotifier)
org.junit.runners.model.FrameworkMethod method
org.junit.runner.notification.RunNotifier notifier
org.junit.runner.Description description
protected org.junit.runner.Description describeChild (org.junit.runners.model.FrameworkMethod)
org.junit.runners.model.FrameworkMethod method
protected java.util.List getChildren ()
protected java.util.List computeTestMethods ()
protected void collectInitializationErrors (java.util.List)
java.util.List errors
protected void validateNoNonStaticInnerClass (java.util.List)
String gripe
java.util.List errors
protected void validateConstructor (java.util.List)
java.util.List errors
protected void validateOnlyOneConstructor (java.util.List)
String gripe
java.util.List errors
protected void validateZeroArgConstructor (java.util.List)
String gripe
java.util.List errors
private boolean hasOneConstructor ()
protected void validateInstanceMethods (java.util.List)
java.util.List errors
private void validateFields (java.util.List)
java.util.List errors
protected void validateTestMethods (java.util.List)
java.util.List errors
protected java.lang.Object createTest () throws java.lang.Exception
protected java.lang.String testName (org.junit.runners.model.FrameworkMethod)
org.junit.runners.model.FrameworkMethod method
protected org.junit.runners.model.Statement methodBlock (org.junit.runners.model.FrameworkMethod)
Throwable e
org.junit.runners.model.FrameworkMethod method
Object test
Object test
org.junit.runners.model.Statement statement
protected org.junit.runners.model.Statement methodInvoker (org.junit.runners.model.FrameworkMethod, java.lang.Object)
org.junit.runners.model.FrameworkMethod method
Object test
protected org.junit.runners.model.Statement possiblyExpectingExceptions (org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement)
org.junit.runners.model.FrameworkMethod method
Object test
org.junit.runners.model.Statement next
org.junit.Test annotation
protected org.junit.runners.model.Statement withPotentialTimeout (org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement)
org.junit.runners.model.FrameworkMethod method
Object test
org.junit.runners.model.Statement next
long timeout
protected org.junit.runners.model.Statement withBefores (org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement)
org.junit.runners.model.FrameworkMethod method
Object target
org.junit.runners.model.Statement statement
java.util.List befores
protected org.junit.runners.model.Statement withAfters (org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement)
org.junit.runners.model.FrameworkMethod method
Object target
org.junit.runners.model.Statement statement
java.util.List afters
private org.junit.runners.model.Statement withRules (org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement)
org.junit.runners.model.FrameworkMethod method
Object target
org.junit.runners.model.Statement statement
org.junit.runners.model.Statement result
private org.junit.runners.model.Statement withMethodRules (org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement)
org.junit.rules.MethodRule each
org.junit.runners.model.FrameworkMethod method
Object target
org.junit.runners.model.Statement result
java.util.List testRules
private java.util.List getMethodRules (java.lang.Object)
Object target
protected java.util.List rules (java.lang.Object)
Object target
private org.junit.runners.model.Statement withTestRules (org.junit.runners.model.FrameworkMethod, java.lang.Object, org.junit.runners.model.Statement)
org.junit.runners.model.FrameworkMethod method
Object target
org.junit.runners.model.Statement statement
java.util.List testRules
protected java.util.List getTestRules (java.lang.Object)
Object target
private java.lang.Class getExpectedException (org.junit.Test)
org.junit.Test annotation
private boolean expectsException (org.junit.Test)
org.junit.Test annotation
private long getTimeout (org.junit.Test)
org.junit.Test annotation
protected volatile void runChild (java.lang.Object, org.junit.runner.notification.RunNotifier)
protected volatile org.junit.runner.Description describeChild (java.lang.Object)
}
org/junit/runners/Parameterized.classParameterized.java
package org.junit.runners
public org.junit.runners.Parameterized extends org.junit.runners.Suite {
private final java.util.ArrayList runners
public void (java.lang.Class) throws java.lang.Throwable
int i
Class klass
java.util.List parametersList
protected java.util.List getChildren ()
private java.util.List getParametersList (org.junit.runners.model.TestClass) throws java.lang.Throwable
org.junit.runners.model.TestClass klass
private org.junit.runners.model.FrameworkMethod getParametersMethod (org.junit.runners.model.TestClass) throws java.lang.Exception
int modifiers
org.junit.runners.model.FrameworkMethod each
org.junit.runners.model.TestClass testClass
java.util.List methods
static org.junit.runners.model.FrameworkMethod access$000 (org.junit.runners.Parameterized, org.junit.runners.model.TestClass) throws java.lang.Exception
org.junit.runners.Parameterized x0
org.junit.runners.model.TestClass x1
}
org/junit/runners/ParentRunner.classParentRunner.java
package org.junit.runners
public abstract org.junit.runners.ParentRunner extends org.junit.runner.Runner implements org.junit.runner.manipulation.Filterable org.junit.runner.manipulation.Sortable {
private final org.junit.runners.model.TestClass fTestClass
private org.junit.runner.manipulation.Sorter fSorter
private java.util.List fFilteredChildren
private org.junit.runners.model.RunnerScheduler fScheduler
protected void (java.lang.Class) throws org.junit.runners.model.InitializationError
Class testClass
protected abstract java.util.List getChildren ()
protected abstract org.junit.runner.Description describeChild (java.lang.Object)
protected abstract void runChild (java.lang.Object, org.junit.runner.notification.RunNotifier)
protected void collectInitializationErrors (java.util.List)
java.util.List errors
protected void validatePublicVoidNoArgMethods (java.lang.Class, boolean, java.util.List)
org.junit.runners.model.FrameworkMethod eachTestMethod
Class annotation
boolean isStatic
java.util.List errors
java.util.List methods
private void validateClassRules (java.util.List)
java.util.List errors
protected org.junit.runners.model.Statement classBlock (org.junit.runner.notification.RunNotifier)
org.junit.runner.notification.RunNotifier notifier
org.junit.runners.model.Statement statement
protected org.junit.runners.model.Statement withBeforeClasses (org.junit.runners.model.Statement)
org.junit.runners.model.Statement statement
java.util.List befores
protected org.junit.runners.model.Statement withAfterClasses (org.junit.runners.model.Statement)
org.junit.runners.model.Statement statement
java.util.List afters
private org.junit.runners.model.Statement withClassRules (org.junit.runners.model.Statement)
org.junit.runners.model.Statement statement
java.util.List classRules
protected java.util.List classRules ()
protected org.junit.runners.model.Statement childrenInvoker (org.junit.runner.notification.RunNotifier)
org.junit.runner.notification.RunNotifier notifier
private void runChildren (org.junit.runner.notification.RunNotifier)
Object each
org.junit.runner.notification.RunNotifier notifier
protected java.lang.String getName ()
public final org.junit.runners.model.TestClass getTestClass ()
protected final void runLeaf (org.junit.runners.model.Statement, org.junit.runner.Description, org.junit.runner.notification.RunNotifier)
org.junit.internal.AssumptionViolatedException e
Throwable e
org.junit.runners.model.Statement statement
org.junit.runner.Description description
org.junit.runner.notification.RunNotifier notifier
org.junit.internal.runners.model.EachTestNotifier eachNotifier
protected java.lang.annotation.Annotation[] getRunnerAnnotations ()
public org.junit.runner.Description getDescription ()
Object child
org.junit.runner.Description description
public void run (org.junit.runner.notification.RunNotifier)
org.junit.runners.model.Statement statement
org.junit.internal.AssumptionViolatedException e
org.junit.runner.notification.StoppedByUserException e
Throwable e
org.junit.runner.notification.RunNotifier notifier
org.junit.internal.runners.model.EachTestNotifier testNotifier
public void filter (org.junit.runner.manipulation.Filter) throws org.junit.runner.manipulation.NoTestsRemainException
org.junit.runner.manipulation.NoTestsRemainException e
Object each
java.util.Iterator iter
org.junit.runner.manipulation.Filter filter
public void sort (org.junit.runner.manipulation.Sorter)
Object each
org.junit.runner.manipulation.Sorter sorter
private void validate () throws org.junit.runners.model.InitializationError
java.util.List errors
private java.util.List getFilteredChildren ()
private void sortChild (java.lang.Object)
Object child
private boolean shouldRun (org.junit.runner.manipulation.Filter, java.lang.Object)
org.junit.runner.manipulation.Filter filter
Object each
private java.util.Comparator comparator ()
public void setScheduler (org.junit.runners.model.RunnerScheduler)
org.junit.runners.model.RunnerScheduler scheduler
static void access$000 (org.junit.runners.ParentRunner, org.junit.runner.notification.RunNotifier)
org.junit.runners.ParentRunner x0
org.junit.runner.notification.RunNotifier x1
static org.junit.runner.manipulation.Sorter access$100 (org.junit.runners.ParentRunner)
org.junit.runners.ParentRunner x0
}
org/junit/After.classAfter.java
package org.junit
public abstract org.junit.After extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/ClassRule.classClassRule.java
package org.junit
public abstract org.junit.ClassRule extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/rules/
org/junit/rules/Timeout.classTimeout.java
package org.junit.rules
public org.junit.rules.Timeout extends java.lang.Object implements org.junit.rules.TestRule {
private final int fMillis
public void (int)
int millis
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
}
org/junit/rules/ExternalResource$1.classExternalResource.java
package org.junit.rules
org.junit.rules.ExternalResource$1 extends org.junit.runners.model.Statement {
final org.junit.runners.model.Statement val$base
final org.junit.rules.ExternalResource this$0
void (org.junit.rules.ExternalResource, org.junit.runners.model.Statement)
org.junit.rules.ExternalResource this$0
public void evaluate () throws java.lang.Throwable
}
org/junit/rules/TestWatchman.classTestWatchman.java
package org.junit.rules
public org.junit.rules.TestWatchman extends java.lang.Object implements org.junit.rules.MethodRule {
public void ()
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runners.model.FrameworkMethod, java.lang.Object)
org.junit.runners.model.Statement base
org.junit.runners.model.FrameworkMethod method
Object target
public void succeeded (org.junit.runners.model.FrameworkMethod)
org.junit.runners.model.FrameworkMethod method
public void failed (java.lang.Throwable, org.junit.runners.model.FrameworkMethod)
Throwable e
org.junit.runners.model.FrameworkMethod method
public void starting (org.junit.runners.model.FrameworkMethod)
org.junit.runners.model.FrameworkMethod method
public void finished (org.junit.runners.model.FrameworkMethod)
org.junit.runners.model.FrameworkMethod method
}
org/junit/rules/TemporaryFolder.classTemporaryFolder.java
package org.junit.rules
public org.junit.rules.TemporaryFolder extends org.junit.rules.ExternalResource {
private java.io.File folder
public void ()
protected void before () throws java.lang.Throwable
protected void after ()
public void create () throws java.io.IOException
public java.io.File newFile (java.lang.String) throws java.io.IOException
String fileName
java.io.File file
public java.io.File newFile () throws java.io.IOException
public transient java.io.File newFolder (java.lang.String[])
String folderName
String[] folderNames
java.io.File file
public java.io.File newFolder () throws java.io.IOException
java.io.File createdFolder
public java.io.File getRoot ()
public void delete ()
private void recursiveDelete (java.io.File)
java.io.File each
java.io.File file
java.io.File[] files
}
org/junit/rules/ExpectedException.classExpectedException.java
package org.junit.rules
public org.junit.rules.ExpectedException extends java.lang.Object implements org.junit.rules.TestRule {
private org.hamcrest.Matcher fMatcher
public static org.junit.rules.ExpectedException none ()
private void ()
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
public void expect (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public void expect (java.lang.Class)
Class type
public void expectMessage (java.lang.String)
String substring
public void expectMessage (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
private org.hamcrest.Matcher hasMessage (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
static org.hamcrest.Matcher access$000 (org.junit.rules.ExpectedException)
org.junit.rules.ExpectedException x0
}
org/junit/rules/MethodRule.classMethodRule.java
package org.junit.rules
public abstract org.junit.rules.MethodRule extends java.lang.Object {
public abstract org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runners.model.FrameworkMethod, java.lang.Object)
}
org/junit/rules/ExpectedException$1.classExpectedException.java
package org.junit.rules
org.junit.rules.ExpectedException$1 extends org.junit.internal.matchers.TypeSafeMatcher {
final org.hamcrest.Matcher val$matcher
final org.junit.rules.ExpectedException this$0
void (org.junit.rules.ExpectedException, org.hamcrest.Matcher)
org.junit.rules.ExpectedException this$0
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public boolean matchesSafely (java.lang.Throwable)
Throwable item
public volatile boolean matchesSafely (java.lang.Object)
}
org/junit/rules/TestWatchman$1.classTestWatchman.java
package org.junit.rules
org.junit.rules.TestWatchman$1 extends org.junit.runners.model.Statement {
final org.junit.runners.model.FrameworkMethod val$method
final org.junit.runners.model.Statement val$base
final org.junit.rules.TestWatchman this$0
void (org.junit.rules.TestWatchman, org.junit.runners.model.FrameworkMethod, org.junit.runners.model.Statement)
org.junit.rules.TestWatchman this$0
public void evaluate () throws java.lang.Throwable
org.junit.internal.AssumptionViolatedException e
Throwable t
}
org/junit/rules/Verifier.classVerifier.java
package org.junit.rules
public org.junit.rules.Verifier extends java.lang.Object implements org.junit.rules.TestRule {
public void ()
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
protected void verify () throws java.lang.Throwable
}
org/junit/rules/ExternalResource.classExternalResource.java
package org.junit.rules
public abstract org.junit.rules.ExternalResource extends java.lang.Object implements org.junit.rules.TestRule {
public void ()
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
private org.junit.runners.model.Statement statement (org.junit.runners.model.Statement)
org.junit.runners.model.Statement base
protected void before () throws java.lang.Throwable
protected void after ()
}
org/junit/rules/RunRules.classRunRules.java
package org.junit.rules
public org.junit.rules.RunRules extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement statement
public void (org.junit.runners.model.Statement, java.lang.Iterable, org.junit.runner.Description)
org.junit.runners.model.Statement base
Iterable rules
org.junit.runner.Description description
public void evaluate () throws java.lang.Throwable
private static org.junit.runners.model.Statement applyAll (org.junit.runners.model.Statement, java.lang.Iterable, org.junit.runner.Description)
org.junit.rules.TestRule each
org.junit.runners.model.Statement result
Iterable rules
org.junit.runner.Description description
}
org/junit/rules/TestWatcher$1.classTestWatcher.java
package org.junit.rules
org.junit.rules.TestWatcher$1 extends org.junit.runners.model.Statement {
final org.junit.runner.Description val$description
final org.junit.runners.model.Statement val$base
final org.junit.rules.TestWatcher this$0
void (org.junit.rules.TestWatcher, org.junit.runner.Description, org.junit.runners.model.Statement)
org.junit.rules.TestWatcher this$0
public void evaluate () throws java.lang.Throwable
org.junit.internal.AssumptionViolatedException e
Throwable t
}
org/junit/rules/ErrorCollector$1.classErrorCollector.java
package org.junit.rules
org.junit.rules.ErrorCollector$1 extends java.lang.Object implements java.util.concurrent.Callable {
final String val$reason
final Object val$value
final org.hamcrest.Matcher val$matcher
final org.junit.rules.ErrorCollector this$0
void (org.junit.rules.ErrorCollector, java.lang.String, java.lang.Object, org.hamcrest.Matcher)
org.junit.rules.ErrorCollector this$0
public java.lang.Object call () throws java.lang.Exception
}
org/junit/rules/TestWatcher.classTestWatcher.java
package org.junit.rules
public abstract org.junit.rules.TestWatcher extends java.lang.Object implements org.junit.rules.TestRule {
public void ()
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
protected void succeeded (org.junit.runner.Description)
org.junit.runner.Description description
protected void failed (java.lang.Throwable, org.junit.runner.Description)
Throwable e
org.junit.runner.Description description
protected void starting (org.junit.runner.Description)
org.junit.runner.Description description
protected void finished (org.junit.runner.Description)
org.junit.runner.Description description
}
org/junit/rules/ErrorCollector.classErrorCollector.java
package org.junit.rules
public org.junit.rules.ErrorCollector extends org.junit.rules.Verifier {
private java.util.List errors
public void ()
protected void verify () throws java.lang.Throwable
public void addError (java.lang.Throwable)
Throwable error
public void checkThat (java.lang.Object, org.hamcrest.Matcher)
Object value
org.hamcrest.Matcher matcher
public void checkThat (java.lang.String, java.lang.Object, org.hamcrest.Matcher)
String reason
Object value
org.hamcrest.Matcher matcher
public java.lang.Object checkSucceeds (java.util.concurrent.Callable)
Throwable e
java.util.concurrent.Callable callable
}
org/junit/rules/ExpectedException$ExpectedExceptionStatement.classExpectedException.java
package org.junit.rules
org.junit.rules.ExpectedException$ExpectedExceptionStatement extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement fNext
final org.junit.rules.ExpectedException this$0
public void (org.junit.rules.ExpectedException, org.junit.runners.model.Statement)
org.junit.runners.model.Statement base
public void evaluate () throws java.lang.Throwable
Throwable e
}
org/junit/rules/Verifier$1.classVerifier.java
package org.junit.rules
org.junit.rules.Verifier$1 extends org.junit.runners.model.Statement {
final org.junit.runners.model.Statement val$base
final org.junit.rules.Verifier this$0
void (org.junit.rules.Verifier, org.junit.runners.model.Statement)
org.junit.rules.Verifier this$0
public void evaluate () throws java.lang.Throwable
}
org/junit/rules/RuleChain.classRuleChain.java
package org.junit.rules
public org.junit.rules.RuleChain extends java.lang.Object implements org.junit.rules.TestRule {
private static final org.junit.rules.RuleChain EMPTY_CHAIN
private java.util.List rulesStartingWithInnerMost
public static org.junit.rules.RuleChain emptyRuleChain ()
public static org.junit.rules.RuleChain outerRule (org.junit.rules.TestRule)
org.junit.rules.TestRule outerRule
private void (java.util.List)
java.util.List rules
public org.junit.rules.RuleChain around (org.junit.rules.TestRule)
org.junit.rules.TestRule enclosedRule
java.util.List rulesOfNewChain
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.rules.TestRule each
org.junit.runners.model.Statement base
org.junit.runner.Description description
static void ()
}
org/junit/rules/TestName.classTestName.java
package org.junit.rules
public org.junit.rules.TestName extends org.junit.rules.TestWatcher {
private String fName
public void ()
protected void starting (org.junit.runner.Description)
org.junit.runner.Description d
public java.lang.String getMethodName ()
}
org/junit/rules/TestRule.classTestRule.java
package org.junit.rules
public abstract org.junit.rules.TestRule extends java.lang.Object {
public abstract org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
}
org/junit/Assume.classAssume.java
package org.junit
public org.junit.Assume extends java.lang.Object {
public void ()
public static void assumeTrue (boolean)
boolean b
public static transient void assumeNotNull (java.lang.Object[])
Object[] objects
public static void assumeThat (java.lang.Object, org.hamcrest.Matcher)
Object actual
org.hamcrest.Matcher matcher
public static void assumeNoException (java.lang.Throwable)
Throwable t
}
org/junit/AfterClass.classAfterClass.java
package org.junit
public abstract org.junit.AfterClass extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/Test$None.classTest.java
package org.junit
public org.junit.Test$None extends java.lang.Throwable {
private static final long serialVersionUID
private void ()
}
org/junit/Rule.classRule.java
package org.junit
public abstract org.junit.Rule extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/Test.classTest.java
package org.junit
public abstract org.junit.Test extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.Class expected ()
public abstract long timeout ()
}
org/junit/ComparisonFailure$ComparisonCompactor.classComparisonFailure.java
package org.junit
org.junit.ComparisonFailure$ComparisonCompactor extends java.lang.Object {
private static final String ELLIPSIS
private static final String DELTA_END
private static final String DELTA_START
private int fContextLength
private String fExpected
private String fActual
private int fPrefix
private int fSuffix
public void (int, java.lang.String, java.lang.String)
int contextLength
String expected
String actual
private java.lang.String compact (java.lang.String)
String message
String expected
String actual
private java.lang.String compactString (java.lang.String)
String source
String result
private void findCommonPrefix ()
int end
private void findCommonSuffix ()
int expectedSuffix
int actualSuffix
private java.lang.String computeCommonPrefix ()
private java.lang.String computeCommonSuffix ()
int end
private boolean areStringsEqual ()
static java.lang.String access$000 (org.junit.ComparisonFailure$ComparisonCompactor, java.lang.String)
org.junit.ComparisonFailure$ComparisonCompactor x0
String x1
}
org/junit/BeforeClass.classBeforeClass.java
package org.junit
public abstract org.junit.BeforeClass extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/matchers/
org/junit/matchers/JUnitMatchers.classJUnitMatchers.java
package org.junit.matchers
public org.junit.matchers.JUnitMatchers extends java.lang.Object {
public void ()
public static org.hamcrest.Matcher hasItem (java.lang.Object)
Object element
public static org.hamcrest.Matcher hasItem (org.hamcrest.Matcher)
org.hamcrest.Matcher elementMatcher
public static transient org.hamcrest.Matcher hasItems (java.lang.Object[])
Object[] elements
public static transient org.hamcrest.Matcher hasItems (org.hamcrest.Matcher[])
org.hamcrest.Matcher[] elementMatchers
public static org.hamcrest.Matcher everyItem (org.hamcrest.Matcher)
org.hamcrest.Matcher elementMatcher
public static org.hamcrest.Matcher containsString (java.lang.String)
String substring
public static org.junit.internal.matchers.CombinableMatcher both (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public static org.junit.internal.matchers.CombinableMatcher either (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
}
org/junit/runner/
org/junit/runner/RunWith.classRunWith.java
package org.junit.runner
public abstract org.junit.runner.RunWith extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.Class value ()
}
org/junit/runner/Request.classRequest.java
package org.junit.runner
public abstract org.junit.runner.Request extends java.lang.Object {
public void ()
public static org.junit.runner.Request method (java.lang.Class, java.lang.String)
Class clazz
String methodName
org.junit.runner.Description method
public static org.junit.runner.Request aClass (java.lang.Class)
Class clazz
public static org.junit.runner.Request classWithoutSuiteMethod (java.lang.Class)
Class clazz
public static transient org.junit.runner.Request classes (org.junit.runner.Computer, java.lang.Class[])
org.junit.internal.builders.AllDefaultPossibilitiesBuilder builder
org.junit.runner.Runner suite
org.junit.runners.model.InitializationError e
org.junit.runner.Computer computer
Class[] classes
public static transient org.junit.runner.Request classes (java.lang.Class[])
Class[] classes
public static org.junit.runner.Request errorReport (java.lang.Class, java.lang.Throwable)
Class klass
Throwable cause
public static org.junit.runner.Request runner (org.junit.runner.Runner)
org.junit.runner.Runner runner
public abstract org.junit.runner.Runner getRunner ()
public org.junit.runner.Request filterWith (org.junit.runner.manipulation.Filter)
org.junit.runner.manipulation.Filter filter
public org.junit.runner.Request filterWith (org.junit.runner.Description)
org.junit.runner.Description desiredDescription
public org.junit.runner.Request sortWith (java.util.Comparator)
java.util.Comparator comparator
}
org/junit/runner/Request$1.classRequest.java
package org.junit.runner
final org.junit.runner.Request$1 extends org.junit.runner.Request {
final org.junit.runner.Runner val$runner
void (org.junit.runner.Runner)
public org.junit.runner.Runner getRunner ()
}
org/junit/runner/Computer.classComputer.java
package org.junit.runner
public org.junit.runner.Computer extends java.lang.Object {
public void ()
public static org.junit.runner.Computer serial ()
public org.junit.runner.Runner getSuite (org.junit.runners.model.RunnerBuilder, java.lang.Class[]) throws org.junit.runners.model.InitializationError
org.junit.runners.model.RunnerBuilder builder
Class[] classes
protected org.junit.runner.Runner getRunner (org.junit.runners.model.RunnerBuilder, java.lang.Class) throws java.lang.Throwable
org.junit.runners.model.RunnerBuilder builder
Class testClass
}
org/junit/runner/Describable.classDescribable.java
package org.junit.runner
public abstract org.junit.runner.Describable extends java.lang.Object {
public abstract org.junit.runner.Description getDescription ()
}
org/junit/runner/Computer$1.classComputer.java
package org.junit.runner
org.junit.runner.Computer$1 extends org.junit.runners.model.RunnerBuilder {
final org.junit.runners.model.RunnerBuilder val$builder
final org.junit.runner.Computer this$0
void (org.junit.runner.Computer, org.junit.runners.model.RunnerBuilder)
org.junit.runner.Computer this$0
public org.junit.runner.Runner runnerForClass (java.lang.Class) throws java.lang.Throwable
Class testClass
}
org/junit/runner/JUnitCore.classJUnitCore.java
package org.junit.runner
public org.junit.runner.JUnitCore extends java.lang.Object {
private org.junit.runner.notification.RunNotifier fNotifier
public void ()
public static transient void main (java.lang.String[])
String[] args
public static transient void runMainAndExit (org.junit.internal.JUnitSystem, java.lang.String[])
org.junit.internal.JUnitSystem system
String[] args
org.junit.runner.Result result
public static transient org.junit.runner.Result runClasses (org.junit.runner.Computer, java.lang.Class[])
org.junit.runner.Computer computer
Class[] classes
public static transient org.junit.runner.Result runClasses (java.lang.Class[])
Class[] classes
public transient org.junit.runner.Result runMain (org.junit.internal.JUnitSystem, java.lang.String[])
org.junit.runner.Description description
org.junit.runner.notification.Failure failure
ClassNotFoundException e
String each
org.junit.runner.notification.Failure each
org.junit.internal.JUnitSystem system
String[] args
java.util.List classes
java.util.List missingClasses
org.junit.runner.notification.RunListener listener
org.junit.runner.Result result
public java.lang.String getVersion ()
public transient org.junit.runner.Result run (java.lang.Class[])
Class[] classes
public transient org.junit.runner.Result run (org.junit.runner.Computer, java.lang.Class[])
org.junit.runner.Computer computer
Class[] classes
public org.junit.runner.Result run (org.junit.runner.Request)
org.junit.runner.Request request
public org.junit.runner.Result run (junit.framework.Test)
junit.framework.Test test
public org.junit.runner.Result run (org.junit.runner.Runner)
org.junit.runner.Runner runner
org.junit.runner.Result result
org.junit.runner.notification.RunListener listener
public void addListener (org.junit.runner.notification.RunListener)
org.junit.runner.notification.RunListener listener
public void removeListener (org.junit.runner.notification.RunListener)
org.junit.runner.notification.RunListener listener
static org.junit.runner.Computer defaultComputer ()
}
org/junit/runner/Description.classDescription.java
package org.junit.runner
public org.junit.runner.Description extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
public static final org.junit.runner.Description EMPTY
public static final org.junit.runner.Description TEST_MECHANISM
private final java.util.ArrayList fChildren
private final String fDisplayName
private final java.lang.annotation.Annotation[] fAnnotations
public static transient org.junit.runner.Description createSuiteDescription (java.lang.String, java.lang.annotation.Annotation[])
String name
java.lang.annotation.Annotation[] annotations
public static transient org.junit.runner.Description createTestDescription (java.lang.Class, java.lang.String, java.lang.annotation.Annotation[])
Class clazz
String name
java.lang.annotation.Annotation[] annotations
public static org.junit.runner.Description createTestDescription (java.lang.Class, java.lang.String)
Class clazz
String name
public static org.junit.runner.Description createSuiteDescription (java.lang.Class)
Class testClass
private transient void (java.lang.String, java.lang.annotation.Annotation[])
String displayName
java.lang.annotation.Annotation[] annotations
public java.lang.String getDisplayName ()
public void addChild (org.junit.runner.Description)
org.junit.runner.Description description
public java.util.ArrayList getChildren ()
public boolean isSuite ()
public boolean isTest ()
public int testCount ()
org.junit.runner.Description child
int result
public int hashCode ()
public boolean equals (java.lang.Object)
Object obj
org.junit.runner.Description d
public java.lang.String toString ()
public boolean isEmpty ()
public org.junit.runner.Description childlessCopy ()
public java.lang.annotation.Annotation getAnnotation (java.lang.Class)
java.lang.annotation.Annotation each
Class annotationType
public java.util.Collection getAnnotations ()
public java.lang.Class getTestClass ()
ClassNotFoundException e
String name
public java.lang.String getClassName ()
java.util.regex.Matcher matcher
public java.lang.String getMethodName ()
private java.lang.String parseMethod ()
java.util.regex.Matcher matcher
private java.util.regex.Matcher methodStringMatcher ()
static void ()
}
org/junit/runner/Result$1.classResult.java
package org.junit.runner
org.junit.runner.Result$1 extends java.lang.Object {
}
org/junit/runner/notification/
org/junit/runner/notification/RunNotifier$4.classRunNotifier.java
package org.junit.runner.notification
org.junit.runner.notification.RunNotifier$4 extends org.junit.runner.notification.RunNotifier$SafeNotifier {
final org.junit.runner.notification.Failure val$failure
final org.junit.runner.notification.RunNotifier this$0
void (org.junit.runner.notification.RunNotifier, org.junit.runner.notification.Failure)
org.junit.runner.notification.RunNotifier this$0
protected void notifyListener (org.junit.runner.notification.RunListener) throws java.lang.Exception
org.junit.runner.notification.RunListener each
}
org/junit/runner/notification/RunNotifier$SafeNotifier.classRunNotifier.java
package org.junit.runner.notification
abstract org.junit.runner.notification.RunNotifier$SafeNotifier extends java.lang.Object {
final org.junit.runner.notification.RunNotifier this$0
private void (org.junit.runner.notification.RunNotifier)
void run ()
Exception e
java.util.Iterator all
protected abstract void notifyListener (org.junit.runner.notification.RunListener) throws java.lang.Exception
void (org.junit.runner.notification.RunNotifier, org.junit.runner.notification.RunNotifier$1)
org.junit.runner.notification.RunNotifier x0
org.junit.runner.notification.RunNotifier$1 x1
}
org/junit/runner/notification/RunNotifier$3.classRunNotifier.java
package org.junit.runner.notification
org.junit.runner.notification.RunNotifier$3 extends org.junit.runner.notification.RunNotifier$SafeNotifier {
final org.junit.runner.Description val$description
final org.junit.runner.notification.RunNotifier this$0
void (org.junit.runner.notification.RunNotifier, org.junit.runner.Description)
org.junit.runner.notification.RunNotifier this$0
protected void notifyListener (org.junit.runner.notification.RunListener) throws java.lang.Exception
org.junit.runner.notification.RunListener each
}
org/junit/runner/notification/RunNotifier$1.classRunNotifier.java
package org.junit.runner.notification
org.junit.runner.notification.RunNotifier$1 extends org.junit.runner.notification.RunNotifier$SafeNotifier {
final org.junit.runner.Description val$description
final org.junit.runner.notification.RunNotifier this$0
void (org.junit.runner.notification.RunNotifier, org.junit.runner.Description)
org.junit.runner.notification.RunNotifier this$0
protected void notifyListener (org.junit.runner.notification.RunListener) throws java.lang.Exception
org.junit.runner.notification.RunListener each
}
org/junit/runner/notification/RunNotifier$7.classRunNotifier.java
package org.junit.runner.notification
org.junit.runner.notification.RunNotifier$7 extends org.junit.runner.notification.RunNotifier$SafeNotifier {
final org.junit.runner.Description val$description
final org.junit.runner.notification.RunNotifier this$0
void (org.junit.runner.notification.RunNotifier, org.junit.runner.Description)
org.junit.runner.notification.RunNotifier this$0
protected void notifyListener (org.junit.runner.notification.RunListener) throws java.lang.Exception
org.junit.runner.notification.RunListener each
}
org/junit/runner/notification/RunListener.classRunListener.java
package org.junit.runner.notification
public org.junit.runner.notification.RunListener extends java.lang.Object {
public void ()
public void testRunStarted (org.junit.runner.Description) throws java.lang.Exception
org.junit.runner.Description description
public void testRunFinished (org.junit.runner.Result) throws java.lang.Exception
org.junit.runner.Result result
public void testStarted (org.junit.runner.Description) throws java.lang.Exception
org.junit.runner.Description description
public void testFinished (org.junit.runner.Description) throws java.lang.Exception
org.junit.runner.Description description
public void testFailure (org.junit.runner.notification.Failure) throws java.lang.Exception
org.junit.runner.notification.Failure failure
public void testAssumptionFailure (org.junit.runner.notification.Failure)
org.junit.runner.notification.Failure failure
public void testIgnored (org.junit.runner.Description) throws java.lang.Exception
org.junit.runner.Description description
}
org/junit/runner/notification/RunNotifier.classRunNotifier.java
package org.junit.runner.notification
public org.junit.runner.notification.RunNotifier extends java.lang.Object {
private final java.util.List fListeners
private boolean fPleaseStop
public void ()
public void addListener (org.junit.runner.notification.RunListener)
org.junit.runner.notification.RunListener listener
public void removeListener (org.junit.runner.notification.RunListener)
org.junit.runner.notification.RunListener listener
public void fireTestRunStarted (org.junit.runner.Description)
org.junit.runner.Description description
public void fireTestRunFinished (org.junit.runner.Result)
org.junit.runner.Result result
public void fireTestStarted (org.junit.runner.Description) throws org.junit.runner.notification.StoppedByUserException
org.junit.runner.Description description
public void fireTestFailure (org.junit.runner.notification.Failure)
org.junit.runner.notification.Failure failure
public void fireTestAssumptionFailed (org.junit.runner.notification.Failure)
org.junit.runner.notification.Failure failure
public void fireTestIgnored (org.junit.runner.Description)
org.junit.runner.Description description
public void fireTestFinished (org.junit.runner.Description)
org.junit.runner.Description description
public void pleaseStop ()
public void addFirstListener (org.junit.runner.notification.RunListener)
org.junit.runner.notification.RunListener listener
static java.util.List access$000 (org.junit.runner.notification.RunNotifier)
org.junit.runner.notification.RunNotifier x0
}
org/junit/runner/notification/StoppedByUserException.classStoppedByUserException.java
package org.junit.runner.notification
public org.junit.runner.notification.StoppedByUserException extends java.lang.RuntimeException {
private static final long serialVersionUID
public void ()
}
org/junit/runner/notification/RunNotifier$5.classRunNotifier.java
package org.junit.runner.notification
org.junit.runner.notification.RunNotifier$5 extends org.junit.runner.notification.RunNotifier$SafeNotifier {
final org.junit.runner.notification.Failure val$failure
final org.junit.runner.notification.RunNotifier this$0
void (org.junit.runner.notification.RunNotifier, org.junit.runner.notification.Failure)
org.junit.runner.notification.RunNotifier this$0
protected void notifyListener (org.junit.runner.notification.RunListener) throws java.lang.Exception
org.junit.runner.notification.RunListener each
}
org/junit/runner/notification/Failure.classFailure.java
package org.junit.runner.notification
public org.junit.runner.notification.Failure extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private final org.junit.runner.Description fDescription
private final Throwable fThrownException
public void (org.junit.runner.Description, java.lang.Throwable)
org.junit.runner.Description description
Throwable thrownException
public java.lang.String getTestHeader ()
public org.junit.runner.Description getDescription ()
public java.lang.Throwable getException ()
public java.lang.String toString ()
StringBuffer buffer
public java.lang.String getTrace ()
java.io.StringWriter stringWriter
java.io.PrintWriter writer
StringBuffer buffer
public java.lang.String getMessage ()
}
org/junit/runner/notification/RunNotifier$6.classRunNotifier.java
package org.junit.runner.notification
org.junit.runner.notification.RunNotifier$6 extends org.junit.runner.notification.RunNotifier$SafeNotifier {
final org.junit.runner.Description val$description
final org.junit.runner.notification.RunNotifier this$0
void (org.junit.runner.notification.RunNotifier, org.junit.runner.Description)
org.junit.runner.notification.RunNotifier this$0
protected void notifyListener (org.junit.runner.notification.RunListener) throws java.lang.Exception
org.junit.runner.notification.RunListener each
}
org/junit/runner/notification/RunNotifier$2.classRunNotifier.java
package org.junit.runner.notification
org.junit.runner.notification.RunNotifier$2 extends org.junit.runner.notification.RunNotifier$SafeNotifier {
final org.junit.runner.Result val$result
final org.junit.runner.notification.RunNotifier this$0
void (org.junit.runner.notification.RunNotifier, org.junit.runner.Result)
org.junit.runner.notification.RunNotifier this$0
protected void notifyListener (org.junit.runner.notification.RunListener) throws java.lang.Exception
org.junit.runner.notification.RunListener each
}
org/junit/runner/Runner.classRunner.java
package org.junit.runner
public abstract org.junit.runner.Runner extends java.lang.Object implements org.junit.runner.Describable {
public void ()
public abstract org.junit.runner.Description getDescription ()
public abstract void run (org.junit.runner.notification.RunNotifier)
public int testCount ()
}
org/junit/runner/Result.classResult.java
package org.junit.runner
public org.junit.runner.Result extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private java.util.concurrent.atomic.AtomicInteger fCount
private java.util.concurrent.atomic.AtomicInteger fIgnoreCount
private final java.util.List fFailures
private long fRunTime
private long fStartTime
public void ()
public int getRunCount ()
public int getFailureCount ()
public long getRunTime ()
public java.util.List getFailures ()
public int getIgnoreCount ()
public boolean wasSuccessful ()
public org.junit.runner.notification.RunListener createListener ()
static long access$002 (org.junit.runner.Result, long)
org.junit.runner.Result x0
long x1
static long access$100 (org.junit.runner.Result)
org.junit.runner.Result x0
static long access$102 (org.junit.runner.Result, long)
org.junit.runner.Result x0
long x1
static long access$000 (org.junit.runner.Result)
org.junit.runner.Result x0
static java.util.concurrent.atomic.AtomicInteger access$200 (org.junit.runner.Result)
org.junit.runner.Result x0
static java.util.List access$300 (org.junit.runner.Result)
org.junit.runner.Result x0
static java.util.concurrent.atomic.AtomicInteger access$400 (org.junit.runner.Result)
org.junit.runner.Result x0
}
org/junit/runner/Result$Listener.classResult.java
package org.junit.runner
org.junit.runner.Result$Listener extends org.junit.runner.notification.RunListener {
final org.junit.runner.Result this$0
private void (org.junit.runner.Result)
public void testRunStarted (org.junit.runner.Description) throws java.lang.Exception
org.junit.runner.Description description
public void testRunFinished (org.junit.runner.Result) throws java.lang.Exception
org.junit.runner.Result result
long endTime
public void testFinished (org.junit.runner.Description) throws java.lang.Exception
org.junit.runner.Description description
public void testFailure (org.junit.runner.notification.Failure) throws java.lang.Exception
org.junit.runner.notification.Failure failure
public void testIgnored (org.junit.runner.Description) throws java.lang.Exception
org.junit.runner.Description description
public void testAssumptionFailure (org.junit.runner.notification.Failure)
org.junit.runner.notification.Failure failure
void (org.junit.runner.Result, org.junit.runner.Result$1)
org.junit.runner.Result x0
org.junit.runner.Result$1 x1
}
org/junit/runner/manipulation/
org/junit/runner/manipulation/Sortable.classSortable.java
package org.junit.runner.manipulation
public abstract org.junit.runner.manipulation.Sortable extends java.lang.Object {
public abstract void sort (org.junit.runner.manipulation.Sorter)
}
org/junit/runner/manipulation/Filter.classFilter.java
package org.junit.runner.manipulation
public abstract org.junit.runner.manipulation.Filter extends java.lang.Object {
public static org.junit.runner.manipulation.Filter ALL
public void ()
public static org.junit.runner.manipulation.Filter matchMethodDescription (org.junit.runner.Description)
org.junit.runner.Description desiredDescription
public abstract boolean shouldRun (org.junit.runner.Description)
public abstract java.lang.String describe ()
public void apply (java.lang.Object) throws org.junit.runner.manipulation.NoTestsRemainException
Object child
org.junit.runner.manipulation.Filterable filterable
public org.junit.runner.manipulation.Filter intersect (org.junit.runner.manipulation.Filter)
org.junit.runner.manipulation.Filter second
org.junit.runner.manipulation.Filter first
static void ()
}
org/junit/runner/manipulation/NoTestsRemainException.classNoTestsRemainException.java
package org.junit.runner.manipulation
public org.junit.runner.manipulation.NoTestsRemainException extends java.lang.Exception {
private static final long serialVersionUID
public void ()
}
org/junit/runner/manipulation/Filterable.classFilterable.java
package org.junit.runner.manipulation
public abstract org.junit.runner.manipulation.Filterable extends java.lang.Object {
public abstract void filter (org.junit.runner.manipulation.Filter) throws org.junit.runner.manipulation.NoTestsRemainException
}
org/junit/runner/manipulation/Sorter.classSorter.java
package org.junit.runner.manipulation
public org.junit.runner.manipulation.Sorter extends java.lang.Object implements java.util.Comparator {
public static org.junit.runner.manipulation.Sorter NULL
private final java.util.Comparator fComparator
public void (java.util.Comparator)
java.util.Comparator comparator
public void apply (java.lang.Object)
org.junit.runner.manipulation.Sortable sortable
Object object
public int compare (org.junit.runner.Description, org.junit.runner.Description)
org.junit.runner.Description o1
org.junit.runner.Description o2
public volatile int compare (java.lang.Object, java.lang.Object)
static void ()
}
org/junit/runner/manipulation/Filter$1.classFilter.java
package org.junit.runner.manipulation
final org.junit.runner.manipulation.Filter$1 extends org.junit.runner.manipulation.Filter {
void ()
public boolean shouldRun (org.junit.runner.Description)
org.junit.runner.Description description
public java.lang.String describe ()
public void apply (java.lang.Object) throws org.junit.runner.manipulation.NoTestsRemainException
Object child
public org.junit.runner.manipulation.Filter intersect (org.junit.runner.manipulation.Filter)
org.junit.runner.manipulation.Filter second
}
org/junit/runner/manipulation/Filter$2.classFilter.java
package org.junit.runner.manipulation
final org.junit.runner.manipulation.Filter$2 extends org.junit.runner.manipulation.Filter {
final org.junit.runner.Description val$desiredDescription
void (org.junit.runner.Description)
public boolean shouldRun (org.junit.runner.Description)
org.junit.runner.Description each
org.junit.runner.Description description
public java.lang.String describe ()
}
org/junit/runner/manipulation/Sorter$1.classSorter.java
package org.junit.runner.manipulation
final org.junit.runner.manipulation.Sorter$1 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (org.junit.runner.Description, org.junit.runner.Description)
org.junit.runner.Description o1
org.junit.runner.Description o2
public volatile int compare (java.lang.Object, java.lang.Object)
}
org/junit/runner/manipulation/Filter$3.classFilter.java
package org.junit.runner.manipulation
org.junit.runner.manipulation.Filter$3 extends org.junit.runner.manipulation.Filter {
final org.junit.runner.manipulation.Filter val$first
final org.junit.runner.manipulation.Filter val$second
final org.junit.runner.manipulation.Filter this$0
void (org.junit.runner.manipulation.Filter, org.junit.runner.manipulation.Filter, org.junit.runner.manipulation.Filter)
org.junit.runner.manipulation.Filter this$0
public boolean shouldRun (org.junit.runner.Description)
org.junit.runner.Description description
public java.lang.String describe ()
}
org/junit/Ignore.classIgnore.java
package org.junit
public abstract org.junit.Ignore extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.String value ()
}
org/junit/Assert.classAssert.java
package org.junit
public org.junit.Assert extends java.lang.Object {
protected void ()
public static void assertTrue (java.lang.String, boolean)
String message
boolean condition
public static void assertTrue (boolean)
boolean condition
public static void assertFalse (java.lang.String, boolean)
String message
boolean condition
public static void assertFalse (boolean)
boolean condition
public static void fail (java.lang.String)
String message
public static void fail ()
public static void assertEquals (java.lang.String, java.lang.Object, java.lang.Object)
String cleanMessage
String message
Object expected
Object actual
private static boolean isEquals (java.lang.Object, java.lang.Object)
Object expected
Object actual
public static void assertEquals (java.lang.Object, java.lang.Object)
Object expected
Object actual
public static void assertArrayEquals (java.lang.String, java.lang.Object[], java.lang.Object[]) throws org.junit.internal.ArrayComparisonFailure
String message
Object[] expecteds
Object[] actuals
public static void assertArrayEquals (java.lang.Object[], java.lang.Object[])
Object[] expecteds
Object[] actuals
public static void assertArrayEquals (java.lang.String, byte[], byte[]) throws org.junit.internal.ArrayComparisonFailure
String message
byte[] expecteds
byte[] actuals
public static void assertArrayEquals (byte[], byte[])
byte[] expecteds
byte[] actuals
public static void assertArrayEquals (java.lang.String, char[], char[]) throws org.junit.internal.ArrayComparisonFailure
String message
char[] expecteds
char[] actuals
public static void assertArrayEquals (char[], char[])
char[] expecteds
char[] actuals
public static void assertArrayEquals (java.lang.String, short[], short[]) throws org.junit.internal.ArrayComparisonFailure
String message
short[] expecteds
short[] actuals
public static void assertArrayEquals (short[], short[])
short[] expecteds
short[] actuals
public static void assertArrayEquals (java.lang.String, int[], int[]) throws org.junit.internal.ArrayComparisonFailure
String message
int[] expecteds
int[] actuals
public static void assertArrayEquals (int[], int[])
int[] expecteds
int[] actuals
public static void assertArrayEquals (java.lang.String, long[], long[]) throws org.junit.internal.ArrayComparisonFailure
String message
long[] expecteds
long[] actuals
public static void assertArrayEquals (long[], long[])
long[] expecteds
long[] actuals
public static void assertArrayEquals (java.lang.String, double[], double[], double) throws org.junit.internal.ArrayComparisonFailure
String message
double[] expecteds
double[] actuals
double delta
public static void assertArrayEquals (double[], double[], double)
double[] expecteds
double[] actuals
double delta
public static void assertArrayEquals (java.lang.String, float[], float[], float) throws org.junit.internal.ArrayComparisonFailure
String message
float[] expecteds
float[] actuals
float delta
public static void assertArrayEquals (float[], float[], float)
float[] expecteds
float[] actuals
float delta
private static void internalArrayEquals (java.lang.String, java.lang.Object, java.lang.Object) throws org.junit.internal.ArrayComparisonFailure
String message
Object expecteds
Object actuals
public static void assertEquals (java.lang.String, double, double, double)
String message
double expected
double actual
double delta
public static void assertEquals (long, long)
long expected
long actual
public static void assertEquals (java.lang.String, long, long)
String message
long expected
long actual
public static void assertEquals (double, double)
double expected
double actual
public static void assertEquals (java.lang.String, double, double)
String message
double expected
double actual
public static void assertEquals (double, double, double)
double expected
double actual
double delta
public static void assertNotNull (java.lang.String, java.lang.Object)
String message
Object object
public static void assertNotNull (java.lang.Object)
Object object
public static void assertNull (java.lang.String, java.lang.Object)
String message
Object object
public static void assertNull (java.lang.Object)
Object object
public static void assertSame (java.lang.String, java.lang.Object, java.lang.Object)
String message
Object expected
Object actual
public static void assertSame (java.lang.Object, java.lang.Object)
Object expected
Object actual
public static void assertNotSame (java.lang.String, java.lang.Object, java.lang.Object)
String message
Object unexpected
Object actual
public static void assertNotSame (java.lang.Object, java.lang.Object)
Object unexpected
Object actual
private static void failSame (java.lang.String)
String message
String formatted
private static void failNotSame (java.lang.String, java.lang.Object, java.lang.Object)
String message
Object expected
Object actual
String formatted
private static void failNotEquals (java.lang.String, java.lang.Object, java.lang.Object)
String message
Object expected
Object actual
static java.lang.String format (java.lang.String, java.lang.Object, java.lang.Object)
String message
Object expected
Object actual
String formatted
String expectedString
String actualString
private static java.lang.String formatClassAndValue (java.lang.Object, java.lang.String)
Object value
String valueString
String className
public static void assertEquals (java.lang.String, java.lang.Object[], java.lang.Object[])
String message
Object[] expecteds
Object[] actuals
public static void assertEquals (java.lang.Object[], java.lang.Object[])
Object[] expecteds
Object[] actuals
public static void assertThat (java.lang.Object, org.hamcrest.Matcher)
Object actual
org.hamcrest.Matcher matcher
public static void assertThat (java.lang.String, java.lang.Object, org.hamcrest.Matcher)
org.hamcrest.Description description
String reason
Object actual
org.hamcrest.Matcher matcher
}
org/junit/experimental/
org/junit/experimental/max/
org/junit/experimental/max/MaxCore$1$1.classMaxCore.java
package org.junit.experimental.max
org.junit.experimental.max.MaxCore$1$1 extends org.junit.runners.Suite {
final org.junit.experimental.max.MaxCore$1 this$1
void (org.junit.experimental.max.MaxCore$1, java.lang.Class, java.util.List)
org.junit.experimental.max.MaxCore$1 this$1
Class klass
java.util.List runners
}
org/junit/experimental/max/MaxHistory.classMaxHistory.java
package org.junit.experimental.max
public org.junit.experimental.max.MaxHistory extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private final java.util.Map fDurations
private final java.util.Map fFailureTimestamps
private final java.io.File fHistoryStore
public static org.junit.experimental.max.MaxHistory forFolder (java.io.File)
org.junit.experimental.max.CouldNotReadCoreException e
java.io.File file
private static org.junit.experimental.max.MaxHistory readHistory (java.io.File) throws org.junit.experimental.max.CouldNotReadCoreException
java.io.ObjectInputStream stream
java.io.FileInputStream file
Exception e
java.io.File storedResults
private void (java.io.File)
java.io.File storedResults
private void save () throws java.io.IOException
java.io.ObjectOutputStream stream
java.lang.Long getFailureTimestamp (org.junit.runner.Description)
org.junit.runner.Description key
void putTestFailureTimestamp (org.junit.runner.Description, long)
org.junit.runner.Description key
long end
boolean isNewTest (org.junit.runner.Description)
org.junit.runner.Description key
java.lang.Long getTestDuration (org.junit.runner.Description)
org.junit.runner.Description key
void putTestDuration (org.junit.runner.Description, long)
org.junit.runner.Description description
long duration
public org.junit.runner.notification.RunListener listener ()
public java.util.Comparator testComparator ()
static void access$000 (org.junit.experimental.max.MaxHistory) throws java.io.IOException
org.junit.experimental.max.MaxHistory x0
}
org/junit/experimental/max/MaxHistory$TestComparator.classMaxHistory.java
package org.junit.experimental.max
org.junit.experimental.max.MaxHistory$TestComparator extends java.lang.Object implements java.util.Comparator {
final org.junit.experimental.max.MaxHistory this$0
private void (org.junit.experimental.max.MaxHistory)
public int compare (org.junit.runner.Description, org.junit.runner.Description)
org.junit.runner.Description o1
org.junit.runner.Description o2
int result
private java.lang.Long getFailure (org.junit.runner.Description)
org.junit.runner.Description key
Long result
public volatile int compare (java.lang.Object, java.lang.Object)
void (org.junit.experimental.max.MaxHistory, org.junit.experimental.max.MaxHistory$1)
org.junit.experimental.max.MaxHistory x0
org.junit.experimental.max.MaxHistory$1 x1
}
org/junit/experimental/max/MaxHistory$1.classMaxHistory.java
package org.junit.experimental.max
org.junit.experimental.max.MaxHistory$1 extends java.lang.Object {
}
org/junit/experimental/max/MaxCore.classMaxCore.java
package org.junit.experimental.max
public org.junit.experimental.max.MaxCore extends java.lang.Object {
private static final String MALFORMED_JUNIT_3_TEST_CLASS_PREFIX
private final org.junit.experimental.max.MaxHistory fHistory
public static org.junit.experimental.max.MaxCore forFolder (java.lang.String)
String folderName
public static org.junit.experimental.max.MaxCore storedLocally (java.io.File)
java.io.File storedResults
private void (java.io.File)
java.io.File storedResults
public org.junit.runner.Result run (java.lang.Class)
Class testClass
public org.junit.runner.Result run (org.junit.runner.Request)
org.junit.runner.Request request
public org.junit.runner.Result run (org.junit.runner.Request, org.junit.runner.JUnitCore)
org.junit.runner.Request request
org.junit.runner.JUnitCore core
public org.junit.runner.Request sortRequest (org.junit.runner.Request)
org.junit.runner.Request request
java.util.List leaves
private org.junit.runner.Request constructLeafRequest (java.util.List)
org.junit.runner.Description each
java.util.List leaves
java.util.List runners
private org.junit.runner.Runner buildRunner (org.junit.runner.Description)
org.junit.runner.Description each
Class type
String methodName
private java.lang.Class getMalformedTestClass (org.junit.runner.Description)
ClassNotFoundException e
org.junit.runner.Description each
public java.util.List sortedLeavesForTest (org.junit.runner.Request)
org.junit.runner.Request request
private java.util.List findLeaves (org.junit.runner.Request)
org.junit.runner.Request request
java.util.List results
private void findLeaves (org.junit.runner.Description, org.junit.runner.Description, java.util.List)
org.junit.runner.Description each
org.junit.runner.Description parent
org.junit.runner.Description description
java.util.List results
}
org/junit/experimental/max/MaxHistory$RememberingListener.classMaxHistory.java
package org.junit.experimental.max
final org.junit.experimental.max.MaxHistory$RememberingListener extends org.junit.runner.notification.RunListener {
private long overallStart
private java.util.Map starts
final org.junit.experimental.max.MaxHistory this$0
private void (org.junit.experimental.max.MaxHistory)
public void testStarted (org.junit.runner.Description) throws java.lang.Exception
org.junit.runner.Description description
public void testFinished (org.junit.runner.Description) throws java.lang.Exception
org.junit.runner.Description description
long end
long start
public void testFailure (org.junit.runner.notification.Failure) throws java.lang.Exception
org.junit.runner.notification.Failure failure
public void testRunFinished (org.junit.runner.Result) throws java.lang.Exception
org.junit.runner.Result result
void (org.junit.experimental.max.MaxHistory, org.junit.experimental.max.MaxHistory$1)
org.junit.experimental.max.MaxHistory x0
org.junit.experimental.max.MaxHistory$1 x1
}
org/junit/experimental/max/MaxCore$1.classMaxCore.java
package org.junit.experimental.max
org.junit.experimental.max.MaxCore$1 extends org.junit.runner.Request {
final java.util.List val$runners
final org.junit.experimental.max.MaxCore this$0
void (org.junit.experimental.max.MaxCore, java.util.List)
org.junit.experimental.max.MaxCore this$0
public org.junit.runner.Runner getRunner ()
org.junit.runners.model.InitializationError e
}
org/junit/experimental/max/CouldNotReadCoreException.classCouldNotReadCoreException.java
package org.junit.experimental.max
public org.junit.experimental.max.CouldNotReadCoreException extends java.lang.Exception {
private static final long serialVersionUID
public void (java.lang.Throwable)
Throwable e
}
org/junit/experimental/runners/
org/junit/experimental/runners/Enclosed.classEnclosed.java
package org.junit.experimental.runners
public org.junit.experimental.runners.Enclosed extends org.junit.runners.Suite {
public void (java.lang.Class, org.junit.runners.model.RunnerBuilder) throws java.lang.Throwable
Class klass
org.junit.runners.model.RunnerBuilder builder
}
org/junit/experimental/categories/
org/junit/experimental/categories/Category.classCategory.java
package org.junit.experimental.categories
public abstract org.junit.experimental.categories.Category extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.Class[] value ()
}
org/junit/experimental/categories/Categories$ExcludeCategory.classCategories.java
package org.junit.experimental.categories
public abstract org.junit.experimental.categories.Categories$ExcludeCategory extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.Class value ()
}
org/junit/experimental/categories/Categories$IncludeCategory.classCategories.java
package org.junit.experimental.categories
public abstract org.junit.experimental.categories.Categories$IncludeCategory extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.Class value ()
}
org/junit/experimental/categories/Categories$CategoryFilter.classCategories.java
package org.junit.experimental.categories
public org.junit.experimental.categories.Categories$CategoryFilter extends org.junit.runner.manipulation.Filter {
private final Class fIncluded
private final Class fExcluded
public static org.junit.experimental.categories.Categories$CategoryFilter include (java.lang.Class)
Class categoryType
public void (java.lang.Class, java.lang.Class)
Class includedCategory
Class excludedCategory
public java.lang.String describe ()
public boolean shouldRun (org.junit.runner.Description)
org.junit.runner.Description each
org.junit.runner.Description description
private boolean hasCorrectCategoryAnnotation (org.junit.runner.Description)
Class each
Class each
org.junit.runner.Description description
java.util.List categories
private java.util.List categories (org.junit.runner.Description)
org.junit.runner.Description description
java.util.ArrayList categories
private org.junit.runner.Description parentDescription (org.junit.runner.Description)
org.junit.runner.Description description
Class testClass
private java.lang.Class[] directCategories (org.junit.runner.Description)
org.junit.runner.Description description
org.junit.experimental.categories.Category annotation
}
org/junit/experimental/categories/Categories.classCategories.java
package org.junit.experimental.categories
public org.junit.experimental.categories.Categories extends org.junit.runners.Suite {
public void (java.lang.Class, org.junit.runners.model.RunnerBuilder) throws org.junit.runners.model.InitializationError
org.junit.runner.manipulation.NoTestsRemainException e
Class klass
org.junit.runners.model.RunnerBuilder builder
private java.lang.Class getIncludedCategory (java.lang.Class)
Class klass
org.junit.experimental.categories.Categories$IncludeCategory annotation
private java.lang.Class getExcludedCategory (java.lang.Class)
Class klass
org.junit.experimental.categories.Categories$ExcludeCategory annotation
private void assertNoCategorizedDescendentsOfUncategorizeableParents (org.junit.runner.Description) throws org.junit.runners.model.InitializationError
org.junit.runner.Description each
org.junit.runner.Description description
private void assertNoDescendantsHaveCategoryAnnotations (org.junit.runner.Description) throws org.junit.runners.model.InitializationError
org.junit.runner.Description each
org.junit.runner.Description description
private static boolean canHaveCategorizedChildren (org.junit.runner.Description)
org.junit.runner.Description each
org.junit.runner.Description description
}
org/junit/experimental/ParallelComputer.classParallelComputer.java
package org.junit.experimental
public org.junit.experimental.ParallelComputer extends org.junit.runner.Computer {
private final boolean fClasses
private final boolean fMethods
public void (boolean, boolean)
boolean classes
boolean methods
public static org.junit.runner.Computer classes ()
public static org.junit.runner.Computer methods ()
private static org.junit.runner.Runner parallelize (org.junit.runner.Runner)
org.junit.runner.Runner runner
public org.junit.runner.Runner getSuite (org.junit.runners.model.RunnerBuilder, java.lang.Class[]) throws org.junit.runners.model.InitializationError
org.junit.runners.model.RunnerBuilder builder
Class[] classes
org.junit.runner.Runner suite
protected org.junit.runner.Runner getRunner (org.junit.runners.model.RunnerBuilder, java.lang.Class) throws java.lang.Throwable
org.junit.runners.model.RunnerBuilder builder
Class testClass
org.junit.runner.Runner runner
}
org/junit/experimental/results/
org/junit/experimental/results/ResultMatchers$1.classResultMatchers.java
package org.junit.experimental.results
final org.junit.experimental.results.ResultMatchers$1 extends org.junit.internal.matchers.TypeSafeMatcher {
final int val$count
void (int)
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public boolean matchesSafely (org.junit.experimental.results.PrintableResult)
org.junit.experimental.results.PrintableResult item
public volatile boolean matchesSafely (java.lang.Object)
}
org/junit/experimental/results/ResultMatchers$3.classResultMatchers.java
package org.junit.experimental.results
final org.junit.experimental.results.ResultMatchers$3 extends org.hamcrest.BaseMatcher {
final String val$string
void (java.lang.String)
public boolean matches (java.lang.Object)
Object item
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
}
org/junit/experimental/results/FailureList.classFailureList.java
package org.junit.experimental.results
org.junit.experimental.results.FailureList extends java.lang.Object {
private final java.util.List failures
public void (java.util.List)
java.util.List failures
public org.junit.runner.Result result ()
Exception e
org.junit.runner.notification.Failure failure
org.junit.runner.Result result
org.junit.runner.notification.RunListener listener
}
org/junit/experimental/results/ResultMatchers.classResultMatchers.java
package org.junit.experimental.results
public org.junit.experimental.results.ResultMatchers extends java.lang.Object {
public void ()
public static org.hamcrest.Matcher isSuccessful ()
public static org.hamcrest.Matcher failureCountIs (int)
int count
public static org.hamcrest.Matcher hasSingleFailureContaining (java.lang.String)
String string
public static org.hamcrest.Matcher hasFailureContaining (java.lang.String)
String string
}
org/junit/experimental/results/PrintableResult.classPrintableResult.java
package org.junit.experimental.results
public org.junit.experimental.results.PrintableResult extends java.lang.Object {
private org.junit.runner.Result result
public static org.junit.experimental.results.PrintableResult testResult (java.lang.Class)
Class type
public static org.junit.experimental.results.PrintableResult testResult (org.junit.runner.Request)
org.junit.runner.Request request
public void (java.util.List)
java.util.List failures
private void (org.junit.runner.Result)
org.junit.runner.Result result
public java.lang.String toString ()
java.io.ByteArrayOutputStream stream
public int failureCount ()
}
org/junit/experimental/results/ResultMatchers$2.classResultMatchers.java
package org.junit.experimental.results
final org.junit.experimental.results.ResultMatchers$2 extends org.hamcrest.BaseMatcher {
final String val$string
void (java.lang.String)
public boolean matches (java.lang.Object)
Object item
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
}
org/junit/experimental/ParallelComputer$1.classParallelComputer.java
package org.junit.experimental
final org.junit.experimental.ParallelComputer$1 extends java.lang.Object implements org.junit.runners.model.RunnerScheduler {
private final java.util.List fResults
private final java.util.concurrent.ExecutorService fService
void ()
public void schedule (java.lang.Runnable)
Runnable childStatement
public void finished ()
Exception e
java.util.concurrent.Future each
}
org/junit/experimental/theories/
org/junit/experimental/theories/suppliers/
org/junit/experimental/theories/suppliers/TestedOnSupplier.classTestedOnSupplier.java
package org.junit.experimental.theories.suppliers
public org.junit.experimental.theories.suppliers.TestedOnSupplier extends org.junit.experimental.theories.ParameterSupplier {
public void ()
public java.util.List getValueSources (org.junit.experimental.theories.ParameterSignature)
int i
org.junit.experimental.theories.ParameterSignature sig
java.util.List list
org.junit.experimental.theories.suppliers.TestedOn testedOn
int[] ints
}
org/junit/experimental/theories/suppliers/TestedOn.classTestedOn.java
package org.junit.experimental.theories.suppliers
public abstract org.junit.experimental.theories.suppliers.TestedOn extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract int[] ints ()
}
org/junit/experimental/theories/DataPoint.classDataPoint.java
package org.junit.experimental.theories
public abstract org.junit.experimental.theories.DataPoint extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/experimental/theories/DataPoints.classDataPoints.java
package org.junit.experimental.theories
public abstract org.junit.experimental.theories.DataPoints extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/junit/experimental/theories/PotentialAssignment$CouldNotGenerateValueException.classPotentialAssignment.java
package org.junit.experimental.theories
public org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException extends java.lang.Exception {
private static final long serialVersionUID
public void ()
}
org/junit/experimental/theories/Theories$TheoryAnchor$1.classTheories.java
package org.junit.experimental.theories
org.junit.experimental.theories.Theories$TheoryAnchor$1 extends org.junit.runners.BlockJUnit4ClassRunner {
final org.junit.experimental.theories.internal.Assignments val$complete
final org.junit.experimental.theories.Theories$TheoryAnchor this$0
void (org.junit.experimental.theories.Theories$TheoryAnchor, java.lang.Class, org.junit.experimental.theories.internal.Assignments)
org.junit.experimental.theories.Theories$TheoryAnchor this$0
Class klass
protected void collectInitializationErrors (java.util.List)
java.util.List errors
public org.junit.runners.model.Statement methodBlock (org.junit.runners.model.FrameworkMethod)
org.junit.runners.model.FrameworkMethod method
org.junit.runners.model.Statement statement
protected org.junit.runners.model.Statement methodInvoker (org.junit.runners.model.FrameworkMethod, java.lang.Object)
org.junit.runners.model.FrameworkMethod method
Object test
public java.lang.Object createTest () throws java.lang.Exception
}
org/junit/experimental/theories/Theories.classTheories.java
package org.junit.experimental.theories
public org.junit.experimental.theories.Theories extends org.junit.runners.BlockJUnit4ClassRunner {
public void (java.lang.Class) throws org.junit.runners.model.InitializationError
Class klass
protected void collectInitializationErrors (java.util.List)
java.util.List errors
private void validateDataPointFields (java.util.List)
java.lang.reflect.Field each
java.util.List errors
java.lang.reflect.Field[] fields
protected void validateConstructor (java.util.List)
java.util.List errors
protected void validateTestMethods (java.util.List)
org.junit.runners.model.FrameworkMethod each
java.util.List errors
protected java.util.List computeTestMethods ()
java.util.List testMethods
java.util.List theoryMethods
public org.junit.runners.model.Statement methodBlock (org.junit.runners.model.FrameworkMethod)
org.junit.runners.model.FrameworkMethod method
}
org/junit/experimental/theories/ParameterSignature.classParameterSignature.java
package org.junit.experimental.theories
public org.junit.experimental.theories.ParameterSignature extends java.lang.Object {
private final Class type
private final java.lang.annotation.Annotation[] annotations
public static java.util.ArrayList signatures (java.lang.reflect.Method)
java.lang.reflect.Method method
public static java.util.List signatures (java.lang.reflect.Constructor)
java.lang.reflect.Constructor constructor
private static java.util.ArrayList signatures (java.lang.Class[], java.lang.annotation.Annotation[][])
int i
Class[] parameterTypes
java.lang.annotation.Annotation[][] parameterAnnotations
java.util.ArrayList sigs
private void (java.lang.Class, java.lang.annotation.Annotation[])
Class type
java.lang.annotation.Annotation[] annotations
public boolean canAcceptType (java.lang.Class)
Class candidate
public java.lang.Class getType ()
public java.util.List getAnnotations ()
public boolean canAcceptArrayType (java.lang.Class)
Class type
public boolean hasAnnotation (java.lang.Class)
Class type
public java.lang.annotation.Annotation findDeepAnnotation (java.lang.Class)
Class annotationType
java.lang.annotation.Annotation[] annotations2
private java.lang.annotation.Annotation findDeepAnnotation (java.lang.annotation.Annotation[], java.lang.Class, int)
java.lang.annotation.Annotation candidate
java.lang.annotation.Annotation each
java.lang.annotation.Annotation[] annotations
Class annotationType
int depth
public java.lang.annotation.Annotation getAnnotation (java.lang.Class)
java.lang.annotation.Annotation each
Class annotationType
}
org/junit/experimental/theories/Theory.classTheory.java
package org.junit.experimental.theories
public abstract org.junit.experimental.theories.Theory extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract boolean nullsAccepted ()
}
org/junit/experimental/theories/Theories$TheoryAnchor.classTheories.java
package org.junit.experimental.theories
public org.junit.experimental.theories.Theories$TheoryAnchor extends org.junit.runners.model.Statement {
private int successes
private org.junit.runners.model.FrameworkMethod fTestMethod
private org.junit.runners.model.TestClass fTestClass
private java.util.List fInvalidParameters
public void (org.junit.runners.model.FrameworkMethod, org.junit.runners.model.TestClass)
org.junit.runners.model.FrameworkMethod method
org.junit.runners.model.TestClass testClass
private org.junit.runners.model.TestClass getTestClass ()
public void evaluate () throws java.lang.Throwable
protected void runWithAssignment (org.junit.experimental.theories.internal.Assignments) throws java.lang.Throwable
org.junit.experimental.theories.internal.Assignments parameterAssignment
protected void runWithIncompleteAssignment (org.junit.experimental.theories.internal.Assignments) throws java.lang.InstantiationException java.lang.IllegalAccessException java.lang.Throwable
org.junit.experimental.theories.PotentialAssignment source
org.junit.experimental.theories.internal.Assignments incomplete
protected void runWithCompleteAssignment (org.junit.experimental.theories.internal.Assignments) throws java.lang.InstantiationException java.lang.IllegalAccessException java.lang.reflect.InvocationTargetException java.lang.NoSuchMethodException java.lang.Throwable
org.junit.experimental.theories.internal.Assignments complete
private org.junit.runners.model.Statement methodCompletesWithParameters (org.junit.runners.model.FrameworkMethod, org.junit.experimental.theories.internal.Assignments, java.lang.Object)
org.junit.runners.model.FrameworkMethod method
org.junit.experimental.theories.internal.Assignments complete
Object freshInstance
protected void handleAssumptionViolation (org.junit.internal.AssumptionViolatedException)
org.junit.internal.AssumptionViolatedException e
protected transient void reportParameterizedError (java.lang.Throwable, java.lang.Object[]) throws java.lang.Throwable
Throwable e
Object[] params
private boolean nullsOk ()
org.junit.experimental.theories.Theory annotation
protected void handleDataPointSuccess ()
static boolean access$000 (org.junit.experimental.theories.Theories$TheoryAnchor)
org.junit.experimental.theories.Theories$TheoryAnchor x0
static org.junit.runners.model.Statement access$100 (org.junit.experimental.theories.Theories$TheoryAnchor, org.junit.runners.model.FrameworkMethod, org.junit.experimental.theories.internal.Assignments, java.lang.Object)
org.junit.experimental.theories.Theories$TheoryAnchor x0
org.junit.runners.model.FrameworkMethod x1
org.junit.experimental.theories.internal.Assignments x2
Object x3
}
org/junit/experimental/theories/PotentialAssignment$1.classPotentialAssignment.java
package org.junit.experimental.theories
final org.junit.experimental.theories.PotentialAssignment$1 extends org.junit.experimental.theories.PotentialAssignment {
final Object val$value
final String val$name
void (java.lang.Object, java.lang.String)
public java.lang.Object getValue () throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
public java.lang.String toString ()
public java.lang.String getDescription () throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
}
org/junit/experimental/theories/PotentialAssignment.classPotentialAssignment.java
package org.junit.experimental.theories
public abstract org.junit.experimental.theories.PotentialAssignment extends java.lang.Object {
public void ()
public static org.junit.experimental.theories.PotentialAssignment forValue (java.lang.String, java.lang.Object)
String name
Object value
public abstract java.lang.Object getValue () throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
public abstract java.lang.String getDescription () throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
}
org/junit/experimental/theories/ParametersSuppliedBy.classParametersSuppliedBy.java
package org.junit.experimental.theories
public abstract org.junit.experimental.theories.ParametersSuppliedBy extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.Class value ()
}
org/junit/experimental/theories/Theories$TheoryAnchor$2.classTheories.java
package org.junit.experimental.theories
org.junit.experimental.theories.Theories$TheoryAnchor$2 extends org.junit.runners.model.Statement {
final org.junit.experimental.theories.internal.Assignments val$complete
final org.junit.runners.model.FrameworkMethod val$method
final Object val$freshInstance
final org.junit.experimental.theories.Theories$TheoryAnchor this$0
void (org.junit.experimental.theories.Theories$TheoryAnchor, org.junit.experimental.theories.internal.Assignments, org.junit.runners.model.FrameworkMethod, java.lang.Object)
org.junit.experimental.theories.Theories$TheoryAnchor this$0
public void evaluate () throws java.lang.Throwable
Object[] values
}
org/junit/experimental/theories/internal/
org/junit/experimental/theories/internal/Assignments.classAssignments.java
package org.junit.experimental.theories.internal
public org.junit.experimental.theories.internal.Assignments extends java.lang.Object {
private java.util.List fAssigned
private final java.util.List fUnassigned
private final org.junit.runners.model.TestClass fClass
private void (java.util.List, java.util.List, org.junit.runners.model.TestClass)
java.util.List assigned
java.util.List unassigned
org.junit.runners.model.TestClass testClass
public static org.junit.experimental.theories.internal.Assignments allUnassigned (java.lang.reflect.Method, org.junit.runners.model.TestClass) throws java.lang.Exception
java.lang.reflect.Method testMethod
org.junit.runners.model.TestClass testClass
java.util.List signatures
public boolean isComplete ()
public org.junit.experimental.theories.ParameterSignature nextUnassigned ()
public org.junit.experimental.theories.internal.Assignments assignNext (org.junit.experimental.theories.PotentialAssignment)
org.junit.experimental.theories.PotentialAssignment source
java.util.List assigned
public java.lang.Object[] getActualValues (int, int, boolean) throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
Object value
int i
int start
int stop
boolean nullsOk
Object[] values
public java.util.List potentialsForNextUnassigned () throws java.lang.InstantiationException java.lang.IllegalAccessException
org.junit.experimental.theories.ParameterSignature unassigned
public org.junit.experimental.theories.ParameterSupplier getSupplier (org.junit.experimental.theories.ParameterSignature) throws java.lang.InstantiationException java.lang.IllegalAccessException
org.junit.experimental.theories.ParameterSignature unassigned
org.junit.experimental.theories.ParameterSupplier supplier
public org.junit.experimental.theories.ParameterSupplier getAnnotatedSupplier (org.junit.experimental.theories.ParameterSignature) throws java.lang.InstantiationException java.lang.IllegalAccessException
org.junit.experimental.theories.ParameterSignature unassigned
org.junit.experimental.theories.ParametersSuppliedBy annotation
public java.lang.Object[] getConstructorArguments (boolean) throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
boolean nullsOk
public java.lang.Object[] getMethodArguments (boolean) throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
boolean nullsOk
public java.lang.Object[] getAllArguments (boolean) throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
boolean nullsOk
private int getConstructorParameterCount ()
java.util.List signatures
int constructorParameterCount
public java.lang.Object[] getArgumentStrings (boolean) throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
int i
boolean nullsOk
Object[] values
}
org/junit/experimental/theories/internal/AllMembersSupplier.classAllMembersSupplier.java
package org.junit.experimental.theories.internal
public org.junit.experimental.theories.internal.AllMembersSupplier extends org.junit.experimental.theories.ParameterSupplier {
private final org.junit.runners.model.TestClass fClass
public void (org.junit.runners.model.TestClass)
org.junit.runners.model.TestClass type
public java.util.List getValueSources (org.junit.experimental.theories.ParameterSignature)
org.junit.experimental.theories.ParameterSignature sig
java.util.List list
private void addMultiPointMethods (java.util.List)
org.junit.runners.model.FrameworkMethod dataPointsMethod
java.util.List list
private void addSinglePointMethods (org.junit.experimental.theories.ParameterSignature, java.util.List)
Class type
org.junit.runners.model.FrameworkMethod dataPointMethod
org.junit.experimental.theories.ParameterSignature sig
java.util.List list
private void addFields (org.junit.experimental.theories.ParameterSignature, java.util.List)
Class type
java.lang.reflect.Field field
org.junit.experimental.theories.ParameterSignature sig
java.util.List list
private void addArrayValues (java.lang.String, java.util.List, java.lang.Object)
int i
String name
java.util.List list
Object array
private java.lang.Object getStaticFieldValue (java.lang.reflect.Field)
IllegalArgumentException e
IllegalAccessException e
java.lang.reflect.Field field
}
org/junit/experimental/theories/internal/AllMembersSupplier$MethodParameterValue.classAllMembersSupplier.java
package org.junit.experimental.theories.internal
org.junit.experimental.theories.internal.AllMembersSupplier$MethodParameterValue extends org.junit.experimental.theories.PotentialAssignment {
private final org.junit.runners.model.FrameworkMethod fMethod
private void (org.junit.runners.model.FrameworkMethod)
org.junit.runners.model.FrameworkMethod dataPointMethod
public java.lang.Object getValue () throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
IllegalArgumentException e
IllegalAccessException e
Throwable e
public java.lang.String getDescription () throws org.junit.experimental.theories.PotentialAssignment$CouldNotGenerateValueException
void (org.junit.runners.model.FrameworkMethod, org.junit.experimental.theories.internal.AllMembersSupplier$1)
org.junit.runners.model.FrameworkMethod x0
org.junit.experimental.theories.internal.AllMembersSupplier$1 x1
}
org/junit/experimental/theories/internal/AllMembersSupplier$1.classAllMembersSupplier.java
package org.junit.experimental.theories.internal
org.junit.experimental.theories.internal.AllMembersSupplier$1 extends java.lang.Object {
}
org/junit/experimental/theories/internal/ParameterizedAssertionError.classParameterizedAssertionError.java
package org.junit.experimental.theories.internal
public org.junit.experimental.theories.internal.ParameterizedAssertionError extends java.lang.RuntimeException {
private static final long serialVersionUID
public transient void (java.lang.Throwable, java.lang.String, java.lang.Object[])
Throwable targetException
String methodName
Object[] params
public boolean equals (java.lang.Object)
Object obj
public static transient java.lang.String join (java.lang.String, java.lang.Object[])
String delimiter
Object[] params
public static java.lang.String join (java.lang.String, java.util.Collection)
Object next
String delimiter
java.util.Collection values
StringBuffer buffer
java.util.Iterator iter
private static java.lang.String stringValueOf (java.lang.Object)
Throwable e
Object next
}
org/junit/experimental/theories/Theories$TheoryAnchor$1$1.classTheories.java
package org.junit.experimental.theories
org.junit.experimental.theories.Theories$TheoryAnchor$1$1 extends org.junit.runners.model.Statement {
final org.junit.runners.model.Statement val$statement
final org.junit.experimental.theories.Theories$TheoryAnchor$1 this$1
void (org.junit.experimental.theories.Theories$TheoryAnchor$1, org.junit.runners.model.Statement)
org.junit.experimental.theories.Theories$TheoryAnchor$1 this$1
public void evaluate () throws java.lang.Throwable
org.junit.internal.AssumptionViolatedException e
Throwable e
}
org/junit/experimental/theories/ParameterSupplier.classParameterSupplier.java
package org.junit.experimental.theories
public abstract org.junit.experimental.theories.ParameterSupplier extends java.lang.Object {
public void ()
public abstract java.util.List getValueSources (org.junit.experimental.theories.ParameterSignature)
}
org/junit/experimental/ParallelComputer$1$1.classParallelComputer.java
package org.junit.experimental
org.junit.experimental.ParallelComputer$1$1 extends java.lang.Object implements java.util.concurrent.Callable {
final Runnable val$childStatement
final org.junit.experimental.ParallelComputer$1 this$0
void (org.junit.experimental.ParallelComputer$1, java.lang.Runnable)
org.junit.experimental.ParallelComputer$1 this$0
public java.lang.Object call () throws java.lang.Exception
}
org/junit/internal/
org/junit/internal/requests/
org/junit/internal/requests/FilterRequest.classFilterRequest.java
package org.junit.internal.requests
public final org.junit.internal.requests.FilterRequest extends org.junit.runner.Request {
private final org.junit.runner.Request fRequest
private final org.junit.runner.manipulation.Filter fFilter
public void (org.junit.runner.Request, org.junit.runner.manipulation.Filter)
org.junit.runner.Request classRequest
org.junit.runner.manipulation.Filter filter
public org.junit.runner.Runner getRunner ()
org.junit.runner.Runner runner
org.junit.runner.manipulation.NoTestsRemainException e
}
org/junit/internal/requests/ClassRequest.classClassRequest.java
package org.junit.internal.requests
public org.junit.internal.requests.ClassRequest extends org.junit.runner.Request {
private final Class fTestClass
private boolean fCanUseSuiteMethod
public void (java.lang.Class, boolean)
Class testClass
boolean canUseSuiteMethod
public void (java.lang.Class)
Class testClass
public org.junit.runner.Runner getRunner ()
}
org/junit/internal/requests/SortingRequest.classSortingRequest.java
package org.junit.internal.requests
public org.junit.internal.requests.SortingRequest extends org.junit.runner.Request {
private final org.junit.runner.Request fRequest
private final java.util.Comparator fComparator
public void (org.junit.runner.Request, java.util.Comparator)
org.junit.runner.Request request
java.util.Comparator comparator
public org.junit.runner.Runner getRunner ()
org.junit.runner.Runner runner
}
org/junit/internal/AssumptionViolatedException.classAssumptionViolatedException.java
package org.junit.internal
public org.junit.internal.AssumptionViolatedException extends java.lang.RuntimeException implements org.hamcrest.SelfDescribing {
private static final long serialVersionUID
private final Object fValue
private final org.hamcrest.Matcher fMatcher
public void (java.lang.Object, org.hamcrest.Matcher)
Object value
org.hamcrest.Matcher matcher
public void (java.lang.String)
String assumption
public java.lang.String getMessage ()
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
}
org/junit/internal/runners/
org/junit/internal/runners/MethodRoadie$1$1.classMethodRoadie.java
package org.junit.internal.runners
org.junit.internal.runners.MethodRoadie$1$1 extends java.lang.Object implements java.util.concurrent.Callable {
final org.junit.internal.runners.MethodRoadie$1 this$1
void (org.junit.internal.runners.MethodRoadie$1)
org.junit.internal.runners.MethodRoadie$1 this$1
public java.lang.Object call () throws java.lang.Exception
}
org/junit/internal/runners/ErrorReportingRunner.classErrorReportingRunner.java
package org.junit.internal.runners
public org.junit.internal.runners.ErrorReportingRunner extends org.junit.runner.Runner {
private final java.util.List fCauses
private final Class fTestClass
public void (java.lang.Class, java.lang.Throwable)
Class testClass
Throwable cause
public org.junit.runner.Description getDescription ()
Throwable each
org.junit.runner.Description description
public void run (org.junit.runner.notification.RunNotifier)
Throwable each
org.junit.runner.notification.RunNotifier notifier
private java.util.List getCauses (java.lang.Throwable)
Throwable cause
private org.junit.runner.Description describeCause (java.lang.Throwable)
Throwable child
private void runCause (java.lang.Throwable, org.junit.runner.notification.RunNotifier)
Throwable child
org.junit.runner.notification.RunNotifier notifier
org.junit.runner.Description description
}
org/junit/internal/runners/FailedBefore.classFailedBefore.java
package org.junit.internal.runners
org.junit.internal.runners.FailedBefore extends java.lang.Exception {
private static final long serialVersionUID
void ()
}
org/junit/internal/runners/MethodRoadie.classMethodRoadie.java
package org.junit.internal.runners
public org.junit.internal.runners.MethodRoadie extends java.lang.Object {
private final Object fTest
private final org.junit.runner.notification.RunNotifier fNotifier
private final org.junit.runner.Description fDescription
private org.junit.internal.runners.TestMethod fTestMethod
public void (java.lang.Object, org.junit.internal.runners.TestMethod, org.junit.runner.notification.RunNotifier, org.junit.runner.Description)
Object test
org.junit.internal.runners.TestMethod method
org.junit.runner.notification.RunNotifier notifier
org.junit.runner.Description description
public void run ()
long timeout
private void runWithTimeout (long)
long timeout
public void runTest ()
public void runBeforesThenTestThenAfters (java.lang.Runnable)
Exception e
Runnable test
protected void runTestMethod ()
String message
Throwable actual
java.lang.reflect.InvocationTargetException e
Throwable e
private void runBefores () throws org.junit.internal.runners.FailedBefore
java.lang.reflect.Method before
java.util.List befores
java.lang.reflect.InvocationTargetException e
org.junit.internal.AssumptionViolatedException e
Throwable e
private void runAfters ()
java.lang.reflect.InvocationTargetException e
Throwable e
java.lang.reflect.Method after
java.util.List afters
protected void addFailure (java.lang.Throwable)
Throwable e
}
org/junit/internal/runners/rules/
org/junit/internal/runners/rules/RuleFieldValidator.classRuleFieldValidator.java
package org.junit.internal.runners.rules
public final org.junit.internal.runners.rules.RuleFieldValidator extends java.lang.Enum {
public static final org.junit.internal.runners.rules.RuleFieldValidator CLASS_RULE_VALIDATOR
public static final org.junit.internal.runners.rules.RuleFieldValidator RULE_VALIDATOR
private final Class fAnnotation
private final boolean fOnlyStaticFields
private static final org.junit.internal.runners.rules.RuleFieldValidator[] $VALUES
public static org.junit.internal.runners.rules.RuleFieldValidator[] values ()
public static org.junit.internal.runners.rules.RuleFieldValidator valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.Class, boolean)
Class annotation
boolean onlyStaticFields
public void validate (org.junit.runners.model.TestClass, java.util.List)
org.junit.runners.model.FrameworkField each
org.junit.runners.model.TestClass target
java.util.List errors
java.util.List fields
private void validateField (org.junit.runners.model.FrameworkField, java.util.List)
org.junit.runners.model.FrameworkField field
java.util.List errors
private void optionallyValidateStatic (org.junit.runners.model.FrameworkField, java.util.List)
org.junit.runners.model.FrameworkField field
java.util.List errors
private void validatePublic (org.junit.runners.model.FrameworkField, java.util.List)
org.junit.runners.model.FrameworkField field
java.util.List errors
private void validateTestRuleOrMethodRule (org.junit.runners.model.FrameworkField, java.util.List)
org.junit.runners.model.FrameworkField field
java.util.List errors
private boolean isTestRule (org.junit.runners.model.FrameworkField)
org.junit.runners.model.FrameworkField target
private boolean isMethodRule (org.junit.runners.model.FrameworkField)
org.junit.runners.model.FrameworkField target
private void addError (java.util.List, org.junit.runners.model.FrameworkField, java.lang.String)
java.util.List errors
org.junit.runners.model.FrameworkField field
String suffix
String message
static void ()
}
org/junit/internal/runners/statements/
org/junit/internal/runners/statements/RunAfters.classRunAfters.java
package org.junit.internal.runners.statements
public org.junit.internal.runners.statements.RunAfters extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement fNext
private final Object fTarget
private final java.util.List fAfters
public void (org.junit.runners.model.Statement, java.util.List, java.lang.Object)
org.junit.runners.model.Statement next
java.util.List afters
Object target
public void evaluate () throws java.lang.Throwable
Throwable e
org.junit.runners.model.FrameworkMethod each
Throwable e
Throwable e
org.junit.runners.model.FrameworkMethod each
Throwable e
org.junit.runners.model.FrameworkMethod each
java.util.List errors
}
org/junit/internal/runners/statements/Fail.classFail.java
package org.junit.internal.runners.statements
public org.junit.internal.runners.statements.Fail extends org.junit.runners.model.Statement {
private final Throwable fError
public void (java.lang.Throwable)
Throwable e
public void evaluate () throws java.lang.Throwable
}
org/junit/internal/runners/statements/FailOnTimeout.classFailOnTimeout.java
package org.junit.internal.runners.statements
public org.junit.internal.runners.statements.FailOnTimeout extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement fOriginalStatement
private final long fTimeout
public void (org.junit.runners.model.Statement, long)
org.junit.runners.model.Statement originalStatement
long timeout
public void evaluate () throws java.lang.Throwable
org.junit.internal.runners.statements.FailOnTimeout$StatementThread thread
private org.junit.internal.runners.statements.FailOnTimeout$StatementThread evaluateStatement () throws java.lang.InterruptedException
org.junit.internal.runners.statements.FailOnTimeout$StatementThread thread
private void throwExceptionForUnfinishedThread (org.junit.internal.runners.statements.FailOnTimeout$StatementThread) throws java.lang.Throwable
org.junit.internal.runners.statements.FailOnTimeout$StatementThread thread
private void throwTimeoutException (org.junit.internal.runners.statements.FailOnTimeout$StatementThread) throws java.lang.Exception
org.junit.internal.runners.statements.FailOnTimeout$StatementThread thread
Exception exception
}
org/junit/internal/runners/statements/FailOnTimeout$StatementThread.classFailOnTimeout.java
package org.junit.internal.runners.statements
org.junit.internal.runners.statements.FailOnTimeout$StatementThread extends java.lang.Thread {
private final org.junit.runners.model.Statement fStatement
private boolean fFinished
private Throwable fExceptionThrownByOriginalStatement
public void (org.junit.runners.model.Statement)
org.junit.runners.model.Statement statement
public void run ()
Throwable e
static boolean access$000 (org.junit.internal.runners.statements.FailOnTimeout$StatementThread)
org.junit.internal.runners.statements.FailOnTimeout$StatementThread x0
static java.lang.Throwable access$100 (org.junit.internal.runners.statements.FailOnTimeout$StatementThread)
org.junit.internal.runners.statements.FailOnTimeout$StatementThread x0
}
org/junit/internal/runners/statements/ExpectException.classExpectException.java
package org.junit.internal.runners.statements
public org.junit.internal.runners.statements.ExpectException extends org.junit.runners.model.Statement {
private org.junit.runners.model.Statement fNext
private final Class fExpected
public void (org.junit.runners.model.Statement, java.lang.Class)
org.junit.runners.model.Statement next
Class expected
public void evaluate () throws java.lang.Exception
org.junit.internal.AssumptionViolatedException e
String message
Throwable e
boolean complete
}
org/junit/internal/runners/statements/InvokeMethod.classInvokeMethod.java
package org.junit.internal.runners.statements
public org.junit.internal.runners.statements.InvokeMethod extends org.junit.runners.model.Statement {
private final org.junit.runners.model.FrameworkMethod fTestMethod
private Object fTarget
public void (org.junit.runners.model.FrameworkMethod, java.lang.Object)
org.junit.runners.model.FrameworkMethod testMethod
Object target
public void evaluate () throws java.lang.Throwable
}
org/junit/internal/runners/statements/RunBefores.classRunBefores.java
package org.junit.internal.runners.statements
public org.junit.internal.runners.statements.RunBefores extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement fNext
private final Object fTarget
private final java.util.List fBefores
public void (org.junit.runners.model.Statement, java.util.List, java.lang.Object)
org.junit.runners.model.Statement next
java.util.List befores
Object target
public void evaluate () throws java.lang.Throwable
org.junit.runners.model.FrameworkMethod before
}
org/junit/internal/runners/JUnit4ClassRunner$1.classJUnit4ClassRunner.java
package org.junit.internal.runners
org.junit.internal.runners.JUnit4ClassRunner$1 extends java.lang.Object implements java.lang.Runnable {
final org.junit.runner.notification.RunNotifier val$notifier
final org.junit.internal.runners.JUnit4ClassRunner this$0
void (org.junit.internal.runners.JUnit4ClassRunner, org.junit.runner.notification.RunNotifier)
org.junit.internal.runners.JUnit4ClassRunner this$0
public void run ()
}
org/junit/internal/runners/ClassRoadie.classClassRoadie.java
package org.junit.internal.runners
public org.junit.internal.runners.ClassRoadie extends java.lang.Object {
private org.junit.runner.notification.RunNotifier fNotifier
private org.junit.internal.runners.TestClass fTestClass
private org.junit.runner.Description fDescription
private final Runnable fRunnable
public void (org.junit.runner.notification.RunNotifier, org.junit.internal.runners.TestClass, org.junit.runner.Description, java.lang.Runnable)
org.junit.runner.notification.RunNotifier notifier
org.junit.internal.runners.TestClass testClass
org.junit.runner.Description description
Runnable runnable
protected void runUnprotected ()
protected void addFailure (java.lang.Throwable)
Throwable targetException
public void runProtected ()
private void runBefores () throws org.junit.internal.runners.FailedBefore
java.lang.reflect.Method before
java.util.List befores
java.lang.reflect.InvocationTargetException e
org.junit.internal.AssumptionViolatedException e
Throwable e
private void runAfters ()
java.lang.reflect.InvocationTargetException e
Throwable e
java.lang.reflect.Method after
java.util.List afters
}
org/junit/internal/runners/TestClass.classTestClass.java
package org.junit.internal.runners
public org.junit.internal.runners.TestClass extends java.lang.Object {
private final Class fClass
public void (java.lang.Class)
Class klass
public java.util.List getTestMethods ()
java.util.List getBefores ()
java.util.List getAfters ()
public java.util.List getAnnotatedMethods (java.lang.Class)
java.lang.annotation.Annotation annotation
java.lang.reflect.Method eachMethod
java.lang.reflect.Method[] methods
Class eachClass
Class annotationClass
java.util.List results
private boolean runsTopToBottom (java.lang.Class)
Class annotation
private boolean isShadowed (java.lang.reflect.Method, java.util.List)
java.lang.reflect.Method each
java.lang.reflect.Method method
java.util.List results
private boolean isShadowed (java.lang.reflect.Method, java.lang.reflect.Method)
int i
java.lang.reflect.Method current
java.lang.reflect.Method previous
private java.util.List getSuperClasses (java.lang.Class)
Class testClass
java.util.ArrayList results
Class current
public java.lang.reflect.Constructor getConstructor () throws java.lang.SecurityException java.lang.NoSuchMethodException
public java.lang.Class getJavaClass ()
public java.lang.String getName ()
}
org/junit/internal/runners/MethodRoadie$1.classMethodRoadie.java
package org.junit.internal.runners
org.junit.internal.runners.MethodRoadie$1 extends java.lang.Object implements java.lang.Runnable {
final long val$timeout
final org.junit.internal.runners.MethodRoadie this$0
void (org.junit.internal.runners.MethodRoadie, long)
org.junit.internal.runners.MethodRoadie this$0
public void run ()
boolean terminated
java.util.concurrent.TimeoutException e
Exception e
java.util.concurrent.ExecutorService service
java.util.concurrent.Callable callable
java.util.concurrent.Future result
}
org/junit/internal/runners/MethodRoadie$2.classMethodRoadie.java
package org.junit.internal.runners
org.junit.internal.runners.MethodRoadie$2 extends java.lang.Object implements java.lang.Runnable {
final org.junit.internal.runners.MethodRoadie this$0
void (org.junit.internal.runners.MethodRoadie)
org.junit.internal.runners.MethodRoadie this$0
public void run ()
}
org/junit/internal/runners/JUnit4ClassRunner.classJUnit4ClassRunner.java
package org.junit.internal.runners
public org.junit.internal.runners.JUnit4ClassRunner extends org.junit.runner.Runner implements org.junit.runner.manipulation.Filterable org.junit.runner.manipulation.Sortable {
private final java.util.List fTestMethods
private org.junit.internal.runners.TestClass fTestClass
public void (java.lang.Class) throws org.junit.internal.runners.InitializationError
Class klass
protected java.util.List getTestMethods ()
protected void validate () throws org.junit.internal.runners.InitializationError
org.junit.internal.runners.MethodValidator methodValidator
public void run (org.junit.runner.notification.RunNotifier)
org.junit.runner.notification.RunNotifier notifier
protected void runMethods (org.junit.runner.notification.RunNotifier)
java.lang.reflect.Method method
org.junit.runner.notification.RunNotifier notifier
public org.junit.runner.Description getDescription ()
java.lang.reflect.Method method
org.junit.runner.Description spec
java.util.List testMethods
protected java.lang.annotation.Annotation[] classAnnotations ()
protected java.lang.String getName ()
protected java.lang.Object createTest () throws java.lang.Exception
protected void invokeTestMethod (java.lang.reflect.Method, org.junit.runner.notification.RunNotifier)
java.lang.reflect.InvocationTargetException e
Exception e
java.lang.reflect.Method method
org.junit.runner.notification.RunNotifier notifier
org.junit.runner.Description description
Object test
Object test
org.junit.internal.runners.TestMethod testMethod
private void testAborted (org.junit.runner.notification.RunNotifier, org.junit.runner.Description, java.lang.Throwable)
org.junit.runner.notification.RunNotifier notifier
org.junit.runner.Description description
Throwable e
protected org.junit.internal.runners.TestMethod wrapMethod (java.lang.reflect.Method)
java.lang.reflect.Method method
protected java.lang.String testName (java.lang.reflect.Method)
java.lang.reflect.Method method
protected org.junit.runner.Description methodDescription (java.lang.reflect.Method)
java.lang.reflect.Method method
protected java.lang.annotation.Annotation[] testAnnotations (java.lang.reflect.Method)
java.lang.reflect.Method method
public void filter (org.junit.runner.manipulation.Filter) throws org.junit.runner.manipulation.NoTestsRemainException
java.lang.reflect.Method method
java.util.Iterator iter
org.junit.runner.manipulation.Filter filter
public void sort (org.junit.runner.manipulation.Sorter)
org.junit.runner.manipulation.Sorter sorter
protected org.junit.internal.runners.TestClass getTestClass ()
}
org/junit/internal/runners/MethodValidator.classMethodValidator.java
package org.junit.internal.runners
public org.junit.internal.runners.MethodValidator extends java.lang.Object {
private final java.util.List fErrors
private org.junit.internal.runners.TestClass fTestClass
public void (org.junit.internal.runners.TestClass)
org.junit.internal.runners.TestClass testClass
public void validateInstanceMethods ()
java.util.List methods
public void validateStaticMethods ()
public java.util.List validateMethodsForDefaultRunner ()
public void assertValid () throws org.junit.internal.runners.InitializationError
public void validateNoArgConstructor ()
Exception e
private void validateTestMethods (java.lang.Class, boolean)
String state
java.lang.reflect.Method each
Class annotation
boolean isStatic
java.util.List methods
}
org/junit/internal/runners/model/
org/junit/internal/runners/model/MultipleFailureException.classMultipleFailureException.java
package org.junit.internal.runners.model
public org.junit.internal.runners.model.MultipleFailureException extends org.junit.runners.model.MultipleFailureException {
private static final long serialVersionUID
public void (java.util.List)
java.util.List errors
}
org/junit/internal/runners/model/ReflectiveCallable.classReflectiveCallable.java
package org.junit.internal.runners.model
public abstract org.junit.internal.runners.model.ReflectiveCallable extends java.lang.Object {
public void ()
public java.lang.Object run () throws java.lang.Throwable
java.lang.reflect.InvocationTargetException e
protected abstract java.lang.Object runReflectiveCall () throws java.lang.Throwable
}
org/junit/internal/runners/model/EachTestNotifier.classEachTestNotifier.java
package org.junit.internal.runners.model
public org.junit.internal.runners.model.EachTestNotifier extends java.lang.Object {
private final org.junit.runner.notification.RunNotifier fNotifier
private final org.junit.runner.Description fDescription
public void (org.junit.runner.notification.RunNotifier, org.junit.runner.Description)
org.junit.runner.notification.RunNotifier notifier
org.junit.runner.Description description
public void addFailure (java.lang.Throwable)
Throwable targetException
private void addMultipleFailureException (org.junit.runners.model.MultipleFailureException)
Throwable each
org.junit.runners.model.MultipleFailureException mfe
public void addFailedAssumption (org.junit.internal.AssumptionViolatedException)
org.junit.internal.AssumptionViolatedException e
public void fireTestFinished ()
public void fireTestStarted ()
public void fireTestIgnored ()
}
org/junit/internal/runners/InitializationError.classInitializationError.java
package org.junit.internal.runners
public org.junit.internal.runners.InitializationError extends java.lang.Exception {
private static final long serialVersionUID
private final java.util.List fErrors
public void (java.util.List)
java.util.List errors
public transient void (java.lang.Throwable[])
Throwable[] errors
public void (java.lang.String)
String string
public java.util.List getCauses ()
}
org/junit/internal/runners/JUnit38ClassRunner$OldTestClassAdaptingListener.classJUnit38ClassRunner.java
package org.junit.internal.runners
final org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener extends java.lang.Object implements junit.framework.TestListener {
private final org.junit.runner.notification.RunNotifier fNotifier
final org.junit.internal.runners.JUnit38ClassRunner this$0
private void (org.junit.internal.runners.JUnit38ClassRunner, org.junit.runner.notification.RunNotifier)
org.junit.runner.notification.RunNotifier notifier
public void endTest (junit.framework.Test)
junit.framework.Test test
public void startTest (junit.framework.Test)
junit.framework.Test test
public void addError (junit.framework.Test, java.lang.Throwable)
junit.framework.Test test
Throwable t
org.junit.runner.notification.Failure failure
private org.junit.runner.Description asDescription (junit.framework.Test)
org.junit.runner.Describable facade
junit.framework.Test test
private java.lang.Class getEffectiveClass (junit.framework.Test)
junit.framework.Test test
private java.lang.String getName (junit.framework.Test)
junit.framework.Test test
public void addFailure (junit.framework.Test, junit.framework.AssertionFailedError)
junit.framework.Test test
junit.framework.AssertionFailedError t
void (org.junit.internal.runners.JUnit38ClassRunner, org.junit.runner.notification.RunNotifier, org.junit.internal.runners.JUnit38ClassRunner$1)
org.junit.internal.runners.JUnit38ClassRunner x0
org.junit.runner.notification.RunNotifier x1
org.junit.internal.runners.JUnit38ClassRunner$1 x2
}
org/junit/internal/runners/SuiteMethod.classSuiteMethod.java
package org.junit.internal.runners
public org.junit.internal.runners.SuiteMethod extends org.junit.internal.runners.JUnit38ClassRunner {
public void (java.lang.Class) throws java.lang.Throwable
Class klass
public static junit.framework.Test testFromSuiteMethod (java.lang.Class) throws java.lang.Throwable
java.lang.reflect.InvocationTargetException e
Class klass
java.lang.reflect.Method suiteMethod
junit.framework.Test suite
}
org/junit/internal/runners/JUnit38ClassRunner.classJUnit38ClassRunner.java
package org.junit.internal.runners
public org.junit.internal.runners.JUnit38ClassRunner extends org.junit.runner.Runner implements org.junit.runner.manipulation.Filterable org.junit.runner.manipulation.Sortable {
private junit.framework.Test fTest
public void (java.lang.Class)
Class klass
public void (junit.framework.Test)
junit.framework.Test test
public void run (org.junit.runner.notification.RunNotifier)
org.junit.runner.notification.RunNotifier notifier
junit.framework.TestResult result
public junit.framework.TestListener createAdaptingListener (org.junit.runner.notification.RunNotifier)
org.junit.runner.notification.RunNotifier notifier
public org.junit.runner.Description getDescription ()
private static org.junit.runner.Description makeDescription (junit.framework.Test)
junit.framework.TestCase tc
org.junit.runner.Description made
int i
junit.framework.TestSuite ts
String name
org.junit.runner.Description description
int n
org.junit.runner.Describable adapter
junit.extensions.TestDecorator decorator
junit.framework.Test test
private static java.lang.String createSuiteDescription (junit.framework.TestSuite)
junit.framework.TestSuite ts
int count
String example
public void filter (org.junit.runner.manipulation.Filter) throws org.junit.runner.manipulation.NoTestsRemainException
org.junit.runner.manipulation.Filterable adapter
junit.framework.Test test
int i
junit.framework.TestSuite suite
junit.framework.TestSuite filtered
int n
org.junit.runner.manipulation.Filter filter
public void sort (org.junit.runner.manipulation.Sorter)
org.junit.runner.manipulation.Sortable adapter
org.junit.runner.manipulation.Sorter sorter
private void setTest (junit.framework.Test)
junit.framework.Test test
private junit.framework.Test getTest ()
}
org/junit/internal/runners/TestMethod.classTestMethod.java
package org.junit.internal.runners
public org.junit.internal.runners.TestMethod extends java.lang.Object {
private final java.lang.reflect.Method fMethod
private org.junit.internal.runners.TestClass fTestClass
public void (java.lang.reflect.Method, org.junit.internal.runners.TestClass)
java.lang.reflect.Method method
org.junit.internal.runners.TestClass testClass
public boolean isIgnored ()
public long getTimeout ()
org.junit.Test annotation
long timeout
protected java.lang.Class getExpectedException ()
org.junit.Test annotation
boolean isUnexpected (java.lang.Throwable)
Throwable exception
boolean expectsException ()
java.util.List getBefores ()
java.util.List getAfters ()
public void invoke (java.lang.Object) throws java.lang.IllegalArgumentException java.lang.IllegalAccessException java.lang.reflect.InvocationTargetException
Object test
}
org/junit/internal/runners/JUnit38ClassRunner$1.classJUnit38ClassRunner.java
package org.junit.internal.runners
org.junit.internal.runners.JUnit38ClassRunner$1 extends java.lang.Object {
}
org/junit/internal/runners/JUnit4ClassRunner$2.classJUnit4ClassRunner.java
package org.junit.internal.runners
org.junit.internal.runners.JUnit4ClassRunner$2 extends java.lang.Object implements java.util.Comparator {
final org.junit.runner.manipulation.Sorter val$sorter
final org.junit.internal.runners.JUnit4ClassRunner this$0
void (org.junit.internal.runners.JUnit4ClassRunner, org.junit.runner.manipulation.Sorter)
org.junit.internal.runners.JUnit4ClassRunner this$0
public int compare (java.lang.reflect.Method, java.lang.reflect.Method)
java.lang.reflect.Method o1
java.lang.reflect.Method o2
public volatile int compare (java.lang.Object, java.lang.Object)
}
org/junit/internal/JUnitSystem.classJUnitSystem.java
package org.junit.internal
public abstract org.junit.internal.JUnitSystem extends java.lang.Object {
public abstract void exit (int)
public abstract java.io.PrintStream out ()
}
org/junit/internal/ExactComparisonCriteria.classExactComparisonCriteria.java
package org.junit.internal
public org.junit.internal.ExactComparisonCriteria extends org.junit.internal.ComparisonCriteria {
public void ()
protected void assertElementsEqual (java.lang.Object, java.lang.Object)
Object expected
Object actual
}
org/junit/internal/InexactComparisonCriteria.classInexactComparisonCriteria.java
package org.junit.internal
public org.junit.internal.InexactComparisonCriteria extends org.junit.internal.ComparisonCriteria {
public double fDelta
public void (double)
double delta
protected void assertElementsEqual (java.lang.Object, java.lang.Object)
Object expected
Object actual
}
org/junit/internal/ArrayComparisonFailure.classArrayComparisonFailure.java
package org.junit.internal
public org.junit.internal.ArrayComparisonFailure extends java.lang.AssertionError {
private static final long serialVersionUID
private java.util.List fIndices
private final String fMessage
private final AssertionError fCause
public void (java.lang.String, java.lang.AssertionError, int)
String message
AssertionError cause
int index
public void addDimension (int)
int index
public java.lang.String getMessage ()
int each
StringBuilder builder
public java.lang.String toString ()
}
org/junit/internal/builders/
org/junit/internal/builders/JUnit4Builder.classJUnit4Builder.java
package org.junit.internal.builders
public org.junit.internal.builders.JUnit4Builder extends org.junit.runners.model.RunnerBuilder {
public void ()
public org.junit.runner.Runner runnerForClass (java.lang.Class) throws java.lang.Throwable
Class testClass
}
org/junit/internal/builders/IgnoredBuilder.classIgnoredBuilder.java
package org.junit.internal.builders
public org.junit.internal.builders.IgnoredBuilder extends org.junit.runners.model.RunnerBuilder {
public void ()
public org.junit.runner.Runner runnerForClass (java.lang.Class)
Class testClass
}
org/junit/internal/builders/IgnoredClassRunner.classIgnoredClassRunner.java
package org.junit.internal.builders
public org.junit.internal.builders.IgnoredClassRunner extends org.junit.runner.Runner {
private final Class fTestClass
public void (java.lang.Class)
Class testClass
public void run (org.junit.runner.notification.RunNotifier)
org.junit.runner.notification.RunNotifier notifier
public org.junit.runner.Description getDescription ()
}
org/junit/internal/builders/AnnotatedBuilder.classAnnotatedBuilder.java
package org.junit.internal.builders
public org.junit.internal.builders.AnnotatedBuilder extends org.junit.runners.model.RunnerBuilder {
private static final String CONSTRUCTOR_ERROR_FORMAT
private org.junit.runners.model.RunnerBuilder fSuiteBuilder
public void (org.junit.runners.model.RunnerBuilder)
org.junit.runners.model.RunnerBuilder suiteBuilder
public org.junit.runner.Runner runnerForClass (java.lang.Class) throws java.lang.Exception
Class testClass
org.junit.runner.RunWith annotation
public org.junit.runner.Runner buildRunner (java.lang.Class, java.lang.Class) throws java.lang.Exception
String simpleName
NoSuchMethodException e2
NoSuchMethodException e
Class runnerClass
Class testClass
}
org/junit/internal/builders/JUnit3Builder.classJUnit3Builder.java
package org.junit.internal.builders
public org.junit.internal.builders.JUnit3Builder extends org.junit.runners.model.RunnerBuilder {
public void ()
public org.junit.runner.Runner runnerForClass (java.lang.Class) throws java.lang.Throwable
Class testClass
boolean isPre4Test (java.lang.Class)
Class testClass
}
org/junit/internal/builders/SuiteMethodBuilder.classSuiteMethodBuilder.java
package org.junit.internal.builders
public org.junit.internal.builders.SuiteMethodBuilder extends org.junit.runners.model.RunnerBuilder {
public void ()
public org.junit.runner.Runner runnerForClass (java.lang.Class) throws java.lang.Throwable
Class each
public boolean hasSuiteMethod (java.lang.Class)
NoSuchMethodException e
Class testClass
}
org/junit/internal/builders/AllDefaultPossibilitiesBuilder.classAllDefaultPossibilitiesBuilder.java
package org.junit.internal.builders
public org.junit.internal.builders.AllDefaultPossibilitiesBuilder extends org.junit.runners.model.RunnerBuilder {
private final boolean fCanUseSuiteMethod
public void (boolean)
boolean canUseSuiteMethod
public org.junit.runner.Runner runnerForClass (java.lang.Class) throws java.lang.Throwable
org.junit.runner.Runner runner
org.junit.runners.model.RunnerBuilder each
Class testClass
java.util.List builders
protected org.junit.internal.builders.JUnit4Builder junit4Builder ()
protected org.junit.internal.builders.JUnit3Builder junit3Builder ()
protected org.junit.internal.builders.AnnotatedBuilder annotatedBuilder ()
protected org.junit.internal.builders.IgnoredBuilder ignoredBuilder ()
protected org.junit.runners.model.RunnerBuilder suiteMethodBuilder ()
}
org/junit/internal/builders/NullBuilder.classNullBuilder.java
package org.junit.internal.builders
public org.junit.internal.builders.NullBuilder extends org.junit.runners.model.RunnerBuilder {
public void ()
public org.junit.runner.Runner runnerForClass (java.lang.Class) throws java.lang.Throwable
Class each
}
org/junit/internal/RealSystem.classRealSystem.java
package org.junit.internal
public org.junit.internal.RealSystem extends java.lang.Object implements org.junit.internal.JUnitSystem {
public void ()
public void exit (int)
int code
public java.io.PrintStream out ()
}
org/junit/internal/matchers/
org/junit/internal/matchers/Each.classEach.java
package org.junit.internal.matchers
public org.junit.internal.matchers.Each extends java.lang.Object {
public void ()
public static org.hamcrest.Matcher each (org.hamcrest.Matcher)
org.hamcrest.Matcher individual
org.hamcrest.Matcher allItemsAre
}
org/junit/internal/matchers/IsCollectionContaining.classIsCollectionContaining.java
package org.junit.internal.matchers
public org.junit.internal.matchers.IsCollectionContaining extends org.junit.internal.matchers.TypeSafeMatcher {
private final org.hamcrest.Matcher elementMatcher
public void (org.hamcrest.Matcher)
org.hamcrest.Matcher elementMatcher
public boolean matchesSafely (java.lang.Iterable)
Object item
Iterable collection
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public static org.hamcrest.Matcher hasItem (org.hamcrest.Matcher)
org.hamcrest.Matcher elementMatcher
public static org.hamcrest.Matcher hasItem (java.lang.Object)
Object element
public static transient org.hamcrest.Matcher hasItems (org.hamcrest.Matcher[])
org.hamcrest.Matcher elementMatcher
org.hamcrest.Matcher[] elementMatchers
java.util.Collection all
public static transient org.hamcrest.Matcher hasItems (java.lang.Object[])
Object element
Object[] elements
java.util.Collection all
public volatile boolean matchesSafely (java.lang.Object)
}
org/junit/internal/matchers/TypeSafeMatcher.classTypeSafeMatcher.java
package org.junit.internal.matchers
public abstract org.junit.internal.matchers.TypeSafeMatcher extends org.hamcrest.BaseMatcher {
private Class expectedType
public abstract boolean matchesSafely (java.lang.Object)
protected void ()
private static java.lang.Class findExpectedType (java.lang.Class)
java.lang.reflect.Method method
Class c
Class fromClass
private static boolean isMatchesSafelyMethod (java.lang.reflect.Method)
java.lang.reflect.Method method
protected void (java.lang.Class)
Class expectedType
public final boolean matches (java.lang.Object)
Object item
}
org/junit/internal/matchers/Each$1.classEach.java
package org.junit.internal.matchers
final org.junit.internal.matchers.Each$1 extends org.hamcrest.BaseMatcher {
final org.hamcrest.Matcher val$allItemsAre
final org.hamcrest.Matcher val$individual
void (org.hamcrest.Matcher, org.hamcrest.Matcher)
public boolean matches (java.lang.Object)
Object item
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
}
org/junit/internal/matchers/StringContains.classStringContains.java
package org.junit.internal.matchers
public org.junit.internal.matchers.StringContains extends org.junit.internal.matchers.SubstringMatcher {
public void (java.lang.String)
String substring
protected boolean evalSubstringOf (java.lang.String)
String s
protected java.lang.String relationship ()
public static org.hamcrest.Matcher containsString (java.lang.String)
String substring
}
org/junit/internal/matchers/SubstringMatcher.classSubstringMatcher.java
package org.junit.internal.matchers
public abstract org.junit.internal.matchers.SubstringMatcher extends org.junit.internal.matchers.TypeSafeMatcher {
protected final String substring
protected void (java.lang.String)
String substring
public boolean matchesSafely (java.lang.String)
String item
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
protected abstract boolean evalSubstringOf (java.lang.String)
protected abstract java.lang.String relationship ()
public volatile boolean matchesSafely (java.lang.Object)
}
org/junit/internal/matchers/CombinableMatcher.classCombinableMatcher.java
package org.junit.internal.matchers
public org.junit.internal.matchers.CombinableMatcher extends org.hamcrest.BaseMatcher {
private final org.hamcrest.Matcher fMatcher
public void (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public boolean matches (java.lang.Object)
Object item
public void describeTo (org.hamcrest.Description)
org.hamcrest.Description description
public org.junit.internal.matchers.CombinableMatcher and (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
public org.junit.internal.matchers.CombinableMatcher or (org.hamcrest.Matcher)
org.hamcrest.Matcher matcher
}
org/junit/internal/TextListener.classTextListener.java
package org.junit.internal
public org.junit.internal.TextListener extends org.junit.runner.notification.RunListener {
private final java.io.PrintStream fWriter
public void (org.junit.internal.JUnitSystem)
org.junit.internal.JUnitSystem system
public void (java.io.PrintStream)
java.io.PrintStream writer
public void testRunFinished (org.junit.runner.Result)
org.junit.runner.Result result
public void testStarted (org.junit.runner.Description)
org.junit.runner.Description description
public void testFailure (org.junit.runner.notification.Failure)
org.junit.runner.notification.Failure failure
public void testIgnored (org.junit.runner.Description)
org.junit.runner.Description description
private java.io.PrintStream getWriter ()
protected void printHeader (long)
long runTime
protected void printFailures (org.junit.runner.Result)
org.junit.runner.notification.Failure each
org.junit.runner.Result result
java.util.List failures
int i
protected void printFailure (org.junit.runner.notification.Failure, java.lang.String)
org.junit.runner.notification.Failure each
String prefix
protected void printFooter (org.junit.runner.Result)
org.junit.runner.Result result
protected java.lang.String elapsedTimeAsString (long)
long runTime
}
org/junit/internal/ComparisonCriteria.classComparisonCriteria.java
package org.junit.internal
public abstract org.junit.internal.ComparisonCriteria extends java.lang.Object {
public void ()
public void arrayEquals (java.lang.String, java.lang.Object, java.lang.Object) throws org.junit.internal.ArrayComparisonFailure
org.junit.internal.ArrayComparisonFailure e
AssertionError e
Object expected
Object actual
int i
String message
Object expecteds
Object actuals
String header
int expectedsLength
private boolean isArray (java.lang.Object)
Object expected
private int assertArraysAreSameLength (java.lang.Object, java.lang.Object, java.lang.String)
Object expecteds
Object actuals
String header
int actualsLength
int expectedsLength
protected abstract void assertElementsEqual (java.lang.Object, java.lang.Object)
}
com/
com/android/
com/android/tradefed/
com/android/tradefed/testtype/
com/android/tradefed/testtype/UiAutomatorTest$LoggingWrapper.classUiAutomatorTest.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.UiAutomatorTest$LoggingWrapper extends com.android.tradefed.result.StubTestInvocationListener {
com.android.tradefed.result.ITestInvocationListener mListener
private boolean mLoggedTestFailure
private boolean mLoggedTestRunFailure
final com.android.tradefed.testtype.UiAutomatorTest this$0
public void (com.android.tradefed.testtype.UiAutomatorTest, com.android.tradefed.result.ITestInvocationListener)
com.android.tradefed.result.ITestInvocationListener listener
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
private void captureFailureLog (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testRunFailed (java.lang.String)
String errorMessage
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map runMetrics
}
com/android/tradefed/testtype/PythonUnitTestResultParser.classPythonUnitTestResultParser.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.PythonUnitTestResultParser extends com.android.ddmlib.MultiLineReceiver {
String[] mAllLines
String mCurrentLine
int mLineNum
com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState mCurrentParseState
com.android.ddmlib.testrunner.TestIdentifier mCurrentTestId
StringBuilder mCurrentTraceback
long mTotalElapsedTime
int mTotalTestCount
private java.util.Map mTestResultCache
private int mFailedTestCount
private final java.util.Collection mListeners
private final String mRunName
static final String EQLINE
static final String LINE
static final String CASE_OK
static final String RUN_OK
static final String RUN_FAILED
public void (java.util.Collection, java.lang.String)
java.util.Collection listeners
String runName
public void processNewLines (java.lang.String[])
com.android.tradefed.testtype.PythonUnitTestResultParser$PythonUnitTestParseException e
String[] lines
void init (java.lang.String[])
String[] lines
void parse () throws com.android.tradefed.testtype.PythonUnitTestResultParser$PythonUnitTestParseException
void testResult () throws com.android.tradefed.testtype.PythonUnitTestResultParser$PythonUnitTestParseException
String status
String testName
String testClass
ArrayIndexOutOfBoundsException e
String[] toks
void failMessage () throws com.android.tradefed.testtype.PythonUnitTestResultParser$PythonUnitTestParseException
String testName
String testClass
ArrayIndexOutOfBoundsException e
String[] toks
void traceback () throws com.android.tradefed.testtype.PythonUnitTestResultParser$PythonUnitTestParseException
void summary () throws com.android.tradefed.testtype.PythonUnitTestResultParser$PythonUnitTestParseException
NumberFormatException e
NumberFormatException e
String[] toks
double time
boolean completeTestRun () throws com.android.tradefed.testtype.PythonUnitTestResultParser$PythonUnitTestParseException
java.util.Map$Entry test
com.android.ddmlib.testrunner.ITestRunListener listener
String failReason
boolean eqline ()
boolean line ()
boolean advance ()
private void parseError (java.lang.String) throws com.android.tradefed.testtype.PythonUnitTestResultParser$PythonUnitTestParseException
String expected
private void markTestSuccess ()
private void markTestFailure ()
public boolean isCancelled ()
}
com/android/tradefed/testtype/IBuildReceiver.classIBuildReceiver.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.IBuildReceiver extends java.lang.Object {
public abstract void setBuild (com.android.tradefed.build.IBuildInfo)
}
com/android/tradefed/testtype/UiAutomatorRunner.classUiAutomatorRunner.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.UiAutomatorRunner extends java.lang.Object implements com.android.ddmlib.testrunner.IRemoteAndroidTestRunner {
private static final String CLASS_ARG_NAME
private static final String DEBUG_ARG_NAME
private static final String RUNNER_ARG_NAME
private static final char METHOD_SEPARATOR
private static final char CLASS_SEPARATOR
private static final String DEFAULT_RUNNER_NAME
private static final String UIAUTOMATOR_RUNNER_PATH
private java.util.Map mArgsMap
private String[] mJarPaths
private String mPackageName
private long mMaxTimeToOutputResponse
private com.android.ddmlib.IDevice mRemoteDevice
private String mRunName
private com.android.ddmlib.testrunner.InstrumentationResultParser mParser
private String mRunnerPath
private String mRunnerName
private boolean mIgnoreSighup
public void (com.android.ddmlib.IDevice, java.lang.String[], java.lang.String)
com.android.ddmlib.IDevice remoteDevice
String[] jarPaths
String runnerPath
public java.lang.String getPackageName ()
public java.lang.String getRunnerName ()
protected java.lang.String getRunnerPath ()
public void setIgnoreSighup (boolean)
boolean value
protected java.lang.String getRunCommand ()
String jarArg
String command
private java.lang.String getArgsCommand ()
String argCmd
java.util.Map$Entry argPair
StringBuilder commandBuilder
public void setClassName (java.lang.String)
String className
int pos
public void setClassNames (java.lang.String[])
int i
String[] classNames
StringBuilder classArgBuilder
public void setMethodName (java.lang.String, java.lang.String)
String className
String testName
public void setTestPackageName (java.lang.String)
String packageName
public void setTestSize (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize)
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize size
public void addInstrumentationArg (java.lang.String, java.lang.String)
String name
String value
public void removeInstrumentationArg (java.lang.String)
String name
public void addBooleanArg (java.lang.String, boolean)
String name
boolean value
public void setLogOnly (boolean)
boolean logOnly
public void setDebug (boolean)
boolean debug
public void setCoverage (boolean)
boolean coverage
public void setTestCollection (boolean)
boolean b
public void setMaxtimeToOutputResponse (int)
int maxTimeToOutputResponse
public void setMaxTimeToOutputResponse (long, java.util.concurrent.TimeUnit)
long timeout
java.util.concurrent.TimeUnit unit
public void setRunName (java.lang.String)
String runName
public transient void run (com.android.ddmlib.testrunner.ITestRunListener[]) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
com.android.ddmlib.testrunner.ITestRunListener[] listeners
public void run (java.util.Collection) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
java.io.IOException e
com.android.ddmlib.ShellCommandUnresponsiveException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
java.util.Collection listeners
String cmdLine
String runName
public void cancel ()
}
com/android/tradefed/testtype/InstrumentationTest.classInstrumentationTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.InstrumentationTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IResumableTest com.android.tradefed.testtype.ITestCollector com.android.tradefed.testtype.IAbiReceiver {
private static final String LOG_TAG
private static final int COLLECT_TESTS_ATTEMPTS
private static final String TEST_FILE_INST_ARGS_KEY
static final String DELAY_MSEC_ARG
static final String TEST_TIMEOUT_INST_ARGS_KEY
private String mPackageName
private String mRunnerName
private String mTestClassName
private String mTestMethodName
private String mTestPackageName
private Integer mTimeout
private long mShellTimeout
private int mTestTimeout
private String mTestSize
private boolean mIsRerunMode
private boolean mIsResumeMode
private int mTestDelay
private java.io.File mInstallFile
private String mRunName
private java.util.Map mInstrArgMap
private com.android.tradefed.result.BugreportCollector$Freq mBugreportFrequency
private boolean mScreenshotOnFailure
private boolean mLogcatOnFailure
private int mMaxLogcatBytes
private boolean mReRunUsingTestFile
private int mReRunUsingTestFileAttempts
private boolean mFallbackToSerialRerun
private boolean mRebootBeforeReRun
private String mForceAbi
private boolean mCollectTestsOnly
private boolean mDebug
private com.android.tradefed.testtype.IAbi mAbi
private java.util.Collection mInstallArgs
private com.android.tradefed.device.ITestDevice mDevice
private com.android.ddmlib.testrunner.IRemoteAndroidTestRunner mRunner
private java.util.Collection mRemainingTests
private String mCoverageTarget
private String mTestFilePathOnDevice
private boolean mForceBatchMode
public void ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public void setPackageName (java.lang.String)
String packageName
public void setRunnerName (java.lang.String)
String runnerName
public java.lang.String getRunnerName ()
public void setClassName (java.lang.String)
String testClassName
public void setMethodName (java.lang.String)
String testMethodName
public void setTestFilePathOnDevice (java.lang.String)
String testFilePathOnDevice
public void setTestSize (java.lang.String)
String size
public java.lang.String getPackageName ()
public java.lang.String getRunName ()
public void setRunName (java.lang.String)
String runName
public void setTestsToRun (java.util.Collection, boolean)
java.util.Collection tests
boolean forceBatchMode
java.lang.String getClassName ()
java.lang.String getMethodName ()
java.lang.String getTestFilePathOnDevice ()
java.lang.String getTestPackageName ()
public void setTestPackageName (java.lang.String)
String testPackageName
java.lang.String getTestSize ()
public void setShellTimeout (long)
long timeout
public void setTestTimeout (int)
int timeout
public void setCoverageTarget (java.lang.String)
String coverageTarget
public java.lang.String getCoverageTarget ()
boolean isRerunMode ()
public boolean isResumable ()
public void setRerunMode (boolean)
boolean rerun
public void setResumeMode (boolean)
boolean resume
long getShellTimeout ()
int getTestTimeout ()
long getTestDelay ()
public void setInstallFile (java.io.File)
java.io.File installFile
public com.android.tradefed.device.ITestDevice getDevice ()
public void setCollectsTestsShellTimeout (int)
int timeout
public void setBugreportFrequency (com.android.tradefed.result.BugreportCollector$Freq)
com.android.tradefed.result.BugreportCollector$Freq freq
public void addInstrumentationArg (java.lang.String, java.lang.String)
String key
String value
public void setForceAbi (java.lang.String)
String abi
public java.lang.String getForceAbi ()
public void setScreenshotOnFailure (boolean)
boolean screenshotOnFailure
public void setLogcatOnFailure (boolean)
boolean logcatOnFailure
public void setLogcatOnFailureSize (int)
int logcatOnFailureSize
public void setReRunUsingTestFile (boolean)
boolean reRunUsingTestFile
public void setFallbackToSerialRerun (boolean)
boolean reRunSerially
public void setRebootBeforeReRun (boolean)
boolean rebootBeforeReRun
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner createRemoteAndroidTestRunner (java.lang.String, java.lang.String, com.android.ddmlib.IDevice) throws com.android.tradefed.device.DeviceNotAvailableException
String packageName
String runnerName
com.android.ddmlib.IDevice device
com.android.ddmlib.testrunner.RemoteAndroidTestRunner runner
String abiName
private java.lang.String resolveAbiName () throws com.android.tradefed.device.DeviceNotAvailableException
String abiName
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
protected void setRunnerArgs (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner)
java.util.Map$Entry argEntry
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
private void addTimeoutsToRunner (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner)
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
private void doTestRun (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.BugreportCollector$Predicate pred
com.android.tradefed.result.BugreportCollector collector
com.android.tradefed.testtype.InstrumentationTest$FailedTestScreenshotGenerator screenListener
com.android.tradefed.testtype.InstrumentationTest$FailedTestLogcatGenerator logcatListener
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.result.ITestInvocationListener testCollectionListener
private void runWithRerun (com.android.tradefed.result.ITestInvocationListener, java.util.Collection) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
java.util.Collection expectedTests
com.android.tradefed.result.CollectingTestListener testTracker
private void rerunTests (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
private void reRunTestsFromFile (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.testtype.InstrumentationFileTest testReRunner
com.android.tradefed.result.CollectingTestListener testTracker
com.android.tradefed.config.ConfigurationException e
com.android.tradefed.result.ITestInvocationListener listener
private void reRunTestsSerially (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.testtype.InstrumentationSerialTest testReRunner
com.android.tradefed.result.CollectingTestListener testTracker
com.android.tradefed.config.ConfigurationException e
com.android.tradefed.result.ITestInvocationListener listener
private void calculateRemainingTests (java.util.Collection, com.android.tradefed.result.CollectingTestListener)
java.util.Collection expectedTests
com.android.tradefed.result.CollectingTestListener testTracker
private java.util.Collection collectTestsToRun (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
java.util.Collection tests
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
com.android.tradefed.result.ITestInvocationListener listener
private java.util.Collection collectTestsAndRetry (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.CollectingTestListener collector
boolean instrResult
com.android.ddmlib.testrunner.TestRunResult runResults
int i
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
com.android.tradefed.result.ITestInvocationListener listener
boolean communicationFailure
public void setCollectTestsOnly (boolean)
boolean shouldCollectTest
public void setAbi (com.android.tradefed.testtype.IAbi)
com.android.tradefed.testtype.IAbi abi
}
com/android/tradefed/testtype/DeviceTestSuite.classDeviceTestSuite.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.DeviceTestSuite extends junit.framework.TestSuite implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IRemoteTest {
private com.android.tradefed.device.ITestDevice mDevice
public void (java.lang.Class)
Class testClass
public void ()
public com.android.tradefed.device.ITestDevice getDevice ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
public void addTestSuite (java.lang.Class)
Class testClass
public void runTest (junit.framework.Test, junit.framework.TestResult)
com.android.tradefed.testtype.IDeviceTest deviceTest
junit.framework.Test test
junit.framework.TestResult result
}
com/android/tradefed/testtype/InstrumentationFileTest.classInstrumentationFileTest.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.InstrumentationFileTest extends java.lang.Object implements com.android.tradefed.testtype.IRemoteTest {
private static final String ON_DEVICE_TEST_DIR_LOCATION
private static final char METHOD_SEPARATOR
private com.android.tradefed.testtype.InstrumentationTest mInstrumentationTest
private final java.util.Collection mTests
private String mFilePathOnDevice
private int mAttemps
private int mMaxAttemps
private boolean mRetrySerially
void (com.android.tradefed.testtype.InstrumentationTest, java.util.Collection, boolean, int) throws com.android.tradefed.config.ConfigurationException
com.android.tradefed.testtype.InstrumentationTest instrumentationTest
java.util.Collection testsToRun
boolean retrySerially
int maxAttempts
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
private void writeTestsToFileAndRun (java.util.Collection, com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.testrunner.TestIdentifier testToRun
java.io.BufferedWriter bw
java.io.IOException e
java.util.Collection tests
com.android.tradefed.result.ITestInvocationListener listener
java.io.File testFile
private void runTests (com.android.tradefed.testtype.InstrumentationTest, com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
java.util.Collection completedTests
java.util.Collection completedTests
com.android.tradefed.testtype.InstrumentationTest runner
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.result.CollectingTestListener testTracker
private void reRunTestsSerially (com.android.tradefed.testtype.InstrumentationTest, com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.testtype.InstrumentationTest runner
com.android.tradefed.result.ITestInvocationListener listener
boolean pushFileToTestDevice (java.io.File, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File file
String destinationPath
void deleteTestFileFromDevice (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String pathToFile
com.android.tradefed.testtype.InstrumentationTest createInstrumentationTest ()
}
com/android/tradefed/testtype/PythonUnitTestResultParser$1.classPythonUnitTestResultParser.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.PythonUnitTestResultParser$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$tradefed$testtype$PythonUnitTestResultParser$ParserState
static void ()
}
com/android/tradefed/testtype/GoogleBenchmarkTest.classGoogleBenchmarkTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.GoogleBenchmarkTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IRemoteTest {
static final String DEFAULT_TEST_PATH
private static final String GBENCHMARK_JSON_OUTPUT_FORMAT
private java.util.List mFileExclusionFilterRegex
private String mDeviceTestPath
private String mTestModule
private String mReportRunName
private long mMaxRunTime
private com.android.tradefed.device.ITestDevice mDevice
public void ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public com.android.tradefed.device.ITestDevice getDevice ()
public void setModuleName (java.lang.String)
String moduleName
public java.lang.String getModuleName ()
public void setReportRunName (java.lang.String)
String reportRunName
void addFileExclusionFilterRegex (java.lang.String)
String regex
private java.lang.String getTestPath ()
StringBuilder testPath
private void doRunAllTestsInSubdirectory (java.lang.String, com.android.tradefed.device.ITestDevice, com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
String child
String cmd
long elapsedTime
long elapsedTime
String rootEntry
String runName
long startTime
java.util.Map metricMap
com.android.tradefed.device.CollectingOutputReceiver outputCollector
com.android.tradefed.testtype.GoogleBenchmarkResultParser resultParser
String root
com.android.tradefed.device.ITestDevice testDevice
com.android.tradefed.result.ITestInvocationListener listener
protected boolean shouldSkipFile (java.lang.String)
String regex
String fullPath
com.android.tradefed.device.CollectingOutputReceiver createOutputCollector ()
com.android.tradefed.testtype.GoogleBenchmarkResultParser createResultParser (java.lang.String, com.android.tradefed.result.ITestInvocationListener)
String runName
com.android.tradefed.result.ITestInvocationListener listener
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
String testPath
}
com/android/tradefed/testtype/DeviceTestResult$RuntimeDeviceNotAvailableException.classDeviceTestResult.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.DeviceTestResult$RuntimeDeviceNotAvailableException extends java.lang.RuntimeException {
private com.android.tradefed.device.DeviceNotAvailableException mException
final com.android.tradefed.testtype.DeviceTestResult this$0
void (com.android.tradefed.testtype.DeviceTestResult, com.android.tradefed.device.DeviceNotAvailableException)
com.android.tradefed.testtype.DeviceTestResult this$0
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.device.DeviceNotAvailableException getDeviceException ()
}
com/android/tradefed/testtype/testdefs/
com/android/tradefed/testtype/testdefs/InstrumentationTestDef.classInstrumentationTestDef.java
package com.android.tradefed.testtype.testdefs
com.android.tradefed.testtype.testdefs.InstrumentationTestDef extends java.lang.Object {
private final String mName
private final String mPackage
private String mRunner
private String mClassName
private boolean mIsContinuous
private String mCoverageTarget
public void (java.lang.String, java.lang.String)
String testName
String packageName
void setRunner (java.lang.String)
String runnerName
void setClassName (java.lang.String)
String className
void setContinuous (boolean)
boolean isContinuous
void setCoverageTarget (java.lang.String)
String coverageTarget
java.lang.String getName ()
java.lang.String getPackage ()
java.lang.String getRunner ()
java.lang.String getClassName ()
boolean isContinuous ()
java.lang.String getCoverageTarget ()
}
com/android/tradefed/testtype/testdefs/XmlDefsTest.classXmlDefsTest.java
package com.android.tradefed.testtype.testdefs
public com.android.tradefed.testtype.testdefs.XmlDefsTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IResumableTest com.android.tradefed.testtype.IShardableTest {
private static final String LOG_TAG
public static final String COVERAGE_TARGET_KEY
private com.android.tradefed.device.ITestDevice mDevice
private Integer mTimeout
private long mShellTimeout
private int mTestTimeout
private String mTestSize
private boolean mIsRerunMode
private boolean mIsResumeMode
private java.util.Collection mLocalFiles
private java.util.Collection mRemotePaths
private boolean mSendCoverage
private int mNumShards
private java.util.List mTests
public void ()
public com.android.tradefed.device.ITestDevice getDevice ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
void addRemoteFilePath (java.lang.String)
String path
void addLocalFilePath (java.io.File)
java.io.File file
void setSendCoverage (boolean)
boolean sendCoverage
void setNumShards (int)
int shards
java.util.List getTests ()
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
private void buildTests () throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File testDefFile
java.io.File testDefFile
com.android.tradefed.testtype.InstrumentationTest test
com.android.tradefed.testtype.testdefs.InstrumentationTestDef def
com.android.tradefed.testtype.testdefs.XmlDefsParser parser
private void parseFile (com.android.tradefed.testtype.testdefs.XmlDefsParser, java.io.File)
java.io.FileNotFoundException e
com.android.tradefed.util.xml.AbstractXmlParser$ParseException e
com.android.tradefed.testtype.testdefs.XmlDefsParser parser
java.io.File testDefFile
private void doRun (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.testtype.InstrumentationTest test
com.android.tradefed.result.ITestInvocationListener listener
private void sendCoverage (java.lang.String, java.lang.String, com.android.tradefed.result.ITestInvocationListener)
String packageName
String coverageTarget
com.android.tradefed.result.ITestInvocationListener listener
java.util.Map coverageMetric
private java.util.Collection getRemoteFile (java.util.Collection) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File tmpFile
java.io.IOException e
String remoteFilePath
java.util.Collection remoteFilePaths
java.util.Collection files
void setShellTimeout (long)
long timeout
long getShellTimeout ()
int getTestTimeout ()
java.lang.String getTestSize ()
com.android.tradefed.testtype.testdefs.XmlDefsParser createParser ()
com.android.tradefed.testtype.InstrumentationTest createInstrumentationTest ()
public boolean isResumable ()
public java.util.Collection split ()
com.android.tradefed.testtype.testdefs.XmlDefsTest shard
int i
com.android.tradefed.testtype.InstrumentationTest test
com.android.tradefed.testtype.testdefs.XmlDefsTest shard
java.util.Queue shardQueue
}
com/android/tradefed/testtype/testdefs/XmlDefsParser$1.classXmlDefsParser.java
package com.android.tradefed.testtype.testdefs
com.android.tradefed.testtype.testdefs.XmlDefsParser$1 extends java.lang.Object {
}
com/android/tradefed/testtype/testdefs/XmlDefsParser$DefsHandler.classXmlDefsParser.java
package com.android.tradefed.testtype.testdefs
com.android.tradefed.testtype.testdefs.XmlDefsParser$DefsHandler extends org.xml.sax.helpers.DefaultHandler {
private static final String TEST_TAG
final com.android.tradefed.testtype.testdefs.XmlDefsParser this$0
private void (com.android.tradefed.testtype.testdefs.XmlDefsParser)
public void startElement (java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) throws org.xml.sax.SAXException
String defName
com.android.tradefed.testtype.testdefs.InstrumentationTestDef def
String uri
String localName
String name
org.xml.sax.Attributes attributes
void (com.android.tradefed.testtype.testdefs.XmlDefsParser, com.android.tradefed.testtype.testdefs.XmlDefsParser$1)
com.android.tradefed.testtype.testdefs.XmlDefsParser x0
com.android.tradefed.testtype.testdefs.XmlDefsParser$1 x1
}
com/android/tradefed/testtype/testdefs/XmlDefsParser.classXmlDefsParser.java
package com.android.tradefed.testtype.testdefs
com.android.tradefed.testtype.testdefs.XmlDefsParser extends com.android.tradefed.util.xml.AbstractXmlParser {
private java.util.Map mTestDefsMap
void ()
public java.util.Collection getTestDefs ()
protected org.xml.sax.helpers.DefaultHandler createXmlHandler ()
static java.util.Map access$000 (com.android.tradefed.testtype.testdefs.XmlDefsParser)
com.android.tradefed.testtype.testdefs.XmlDefsParser x0
}
com/android/tradefed/testtype/JUnitRunUtil.classJUnitRunUtil.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.JUnitRunUtil extends java.lang.Object {
public void ()
public static void runTest (com.android.tradefed.result.ITestInvocationListener, junit.framework.Test) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
junit.framework.Test junitTest
public static void runTest (com.android.tradefed.result.ITestInvocationListener, junit.framework.Test, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
java.util.Map emptyMap
com.android.tradefed.testtype.DeviceTestResult$RuntimeDeviceNotAvailableException e
java.util.Map emptyMap
com.android.tradefed.result.ITestInvocationListener listener
junit.framework.Test junitTest
String runName
long startTime
com.android.tradefed.result.JUnitToInvocationResultForwarder resultForwarder
com.android.tradefed.testtype.DeviceTestResult result
}
com/android/tradefed/testtype/GTestResultParser$TestResult.classGTestResultParser.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.GTestResultParser$TestResult extends java.lang.Object {
private String mTestName
private String mTestClass
private StringBuilder mStackTrace
private Long mRunTime
private void ()
boolean isComplete ()
boolean hasStackTrace ()
java.lang.String getTrace ()
public java.lang.String toString ()
StringBuilder output
void (com.android.tradefed.testtype.GTestResultParser$1)
com.android.tradefed.testtype.GTestResultParser$1 x0
static java.lang.String access$100 (com.android.tradefed.testtype.GTestResultParser$TestResult)
com.android.tradefed.testtype.GTestResultParser$TestResult x0
static java.lang.String access$102 (com.android.tradefed.testtype.GTestResultParser$TestResult, java.lang.String)
com.android.tradefed.testtype.GTestResultParser$TestResult x0
String x1
static java.lang.String access$202 (com.android.tradefed.testtype.GTestResultParser$TestResult, java.lang.String)
com.android.tradefed.testtype.GTestResultParser$TestResult x0
String x1
static java.lang.String access$200 (com.android.tradefed.testtype.GTestResultParser$TestResult)
com.android.tradefed.testtype.GTestResultParser$TestResult x0
static java.lang.Long access$302 (com.android.tradefed.testtype.GTestResultParser$TestResult, java.lang.Long)
com.android.tradefed.testtype.GTestResultParser$TestResult x0
Long x1
static java.lang.StringBuilder access$400 (com.android.tradefed.testtype.GTestResultParser$TestResult)
com.android.tradefed.testtype.GTestResultParser$TestResult x0
static java.lang.StringBuilder access$402 (com.android.tradefed.testtype.GTestResultParser$TestResult, java.lang.StringBuilder)
com.android.tradefed.testtype.GTestResultParser$TestResult x0
StringBuilder x1
}
com/android/tradefed/testtype/InstrumentationSerialTest.classInstrumentationSerialTest.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.InstrumentationSerialTest extends java.lang.Object implements com.android.tradefed.testtype.IRemoteTest {
static final int FAILED_RUN_TEST_ATTEMPTS
private final java.util.Collection mTests
private com.android.tradefed.testtype.InstrumentationTest mInstrumentationTest
void (com.android.tradefed.testtype.InstrumentationTest, java.util.Collection) throws com.android.tradefed.config.ConfigurationException
com.android.tradefed.testtype.InstrumentationTest instrumentationTest
java.util.Collection testsToRun
com.android.tradefed.testtype.InstrumentationTest createInstrumentationTest (com.android.tradefed.testtype.InstrumentationTest) throws com.android.tradefed.config.ConfigurationException
com.android.tradefed.testtype.InstrumentationTest instrumentationTest
com.android.tradefed.testtype.InstrumentationTest runner
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
private void runTestsIndividually (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.testtype.InstrumentationTest runner
com.android.ddmlib.testrunner.TestIdentifier testToRun
com.android.tradefed.config.ConfigurationException e
com.android.tradefed.result.ITestInvocationListener listener
private void runTest (com.android.tradefed.testtype.InstrumentationTest, com.android.tradefed.result.ITestInvocationListener, com.android.ddmlib.testrunner.TestIdentifier) throws com.android.tradefed.device.DeviceNotAvailableException
int i
com.android.tradefed.testtype.InstrumentationTest runner
com.android.tradefed.result.ITestInvocationListener listener
com.android.ddmlib.testrunner.TestIdentifier testToRun
com.android.tradefed.testtype.InstrumentationSerialTest$TestTrackingListener trackingListener
}
com/android/tradefed/testtype/GTestResultParser$Prefixes.classGTestResultParser.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.GTestResultParser$Prefixes extends java.lang.Object {
private static final String INFORMATIONAL_MARKER
private static final String START_TEST_RUN_MARKER
private static final String TEST_RUN_MARKER
private static final String START_TEST_MARKER
private static final String OK_TEST_MARKER
private static final String FAILED_TEST_MARKER
private static final String ALT_OK_MARKER
private static final String TIMEOUT_MARKER
private void ()
}
com/android/tradefed/testtype/FakeTest.classFakeTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.FakeTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IRemoteTest {
private java.util.Map mRuns
private String mFailInvocationWithCause
private static final java.util.regex.Pattern INNER_PAREN_SEGMENT
private static final java.util.regex.Pattern RLE_SEGMENT
static final java.util.Map EMPTY_MAP
private com.android.tradefed.device.ITestDevice mDevice
public void ()
public com.android.tradefed.device.ITestDevice getDevice ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
int toIntOrDefault (java.lang.String, int) throws java.lang.IllegalArgumentException
NumberFormatException e
String number
int defValue
java.lang.String decodeRle (java.lang.String) throws java.lang.IllegalArgumentException
int k
String c
int repeat
java.util.regex.Matcher m
String encoded
StringBuilder out
int i
java.lang.String decode (java.lang.String) throws java.lang.IllegalArgumentException
int k
String prefix
String subsection
int repeat
String suffix
StringBuilder nextState
String encoded
String work
java.util.regex.Matcher m
void executeTestRun (com.android.ddmlib.testrunner.ITestRunListener, java.lang.String, java.lang.String) throws java.lang.IllegalArgumentException
String testName
com.android.ddmlib.testrunner.TestIdentifier test
char c
com.android.ddmlib.testrunner.ITestRunListener listener
String runName
String spec
int i
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
String name
String testSpec
java.util.Map$Entry run
com.android.tradefed.result.ITestInvocationListener listener
static void ()
}
com/android/tradefed/testtype/CompanionAwareTest.classCompanionAwareTest.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.CompanionAwareTest extends java.lang.Object implements com.android.tradefed.testtype.IRemoteTest com.android.tradefed.testtype.IDeviceTest {
private com.android.tradefed.device.ITestDevice mCompanionDevice
public void ()
protected com.android.tradefed.device.ITestDevice getCompanion ()
}
com/android/tradefed/testtype/InstalledInstrumentationsTest.classInstalledInstrumentationsTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.InstalledInstrumentationsTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IResumableTest com.android.tradefed.testtype.IShardableTest {
public static final String COVERAGE_TARGET_KEY
private static final java.util.regex.Pattern LIST_INSTR_PATTERN
private com.android.tradefed.device.ITestDevice mDevice
private Integer mTimeout
private long mShellTimeout
private int mTestTimeout
private String mTestSize
private String mRunner
private boolean mIsRerunMode
private boolean mIsResumeMode
private boolean mSendCoverage
private com.android.tradefed.result.BugreportCollector$Freq mBugreportFrequency
private boolean mScreenshotOnFailure
private boolean mLogcatOnFailures
private int mMaxLogcatBytes
private String mTestClass
private String mTestPackageName
private java.util.Map mInstrArgMap
private boolean mReRunUsingTestFile
private int mReRunUsingTestFileAttempts
private boolean mFallbackToSerialRerun
private boolean mRebootBeforeReRun
private int mShards
private int mTotalShards
private int mShardIndex
private java.util.List mTests
private String mForceAbi
public void ()
public com.android.tradefed.device.ITestDevice getDevice ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
void setSendCoverage (boolean)
boolean sendCoverage
java.util.List getTests ()
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
private void buildTests () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.config.ConfigurationException e
com.android.tradefed.testtype.InstrumentationTest t
com.android.tradefed.util.ListInstrumentationParser$InstrumentationTarget target
com.android.tradefed.util.ListInstrumentationParser parser
private void doRun (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.testtype.InstrumentationTest test
com.android.tradefed.result.ITestInvocationListener listener
private void sendCoverage (java.lang.String, java.lang.String, com.android.tradefed.result.ITestInvocationListener)
String packageName
String coverageTarget
com.android.tradefed.result.ITestInvocationListener listener
java.util.Map coverageMetric
long getShellTimeout ()
int getTestTimeout ()
java.lang.String getTestSize ()
com.android.tradefed.testtype.InstrumentationTest createInstrumentationTest ()
public boolean isResumable ()
public java.util.Collection split ()
com.android.tradefed.config.ConfigurationException e
com.android.tradefed.testtype.InstalledInstrumentationsTest shard
int index
java.util.Collection shards
static void ()
}
com/android/tradefed/testtype/ITestCollector.classITestCollector.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.ITestCollector extends java.lang.Object {
public abstract void setCollectTestsOnly (boolean)
}
com/android/tradefed/testtype/IAbi.classIAbi.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.IAbi extends java.lang.Object {
public abstract java.lang.String getName ()
public abstract java.lang.String getBitness ()
}
com/android/tradefed/testtype/GTestXmlResultParser.classGTestXmlResultParser.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.GTestXmlResultParser extends java.lang.Object {
private static final String TEST_SUITE_TAG
private static final String TEST_CASE_TAG
private final String mTestRunName
private int mNumTestsRun
private int mNumTestsExpected
private int mTotalNumberOfTestFailed
private long mTotalRunTime
private final java.util.Collection mTestListeners
public void (java.lang.String, java.util.Collection)
String testRunName
java.util.Collection listeners
public void (java.lang.String, com.android.ddmlib.testrunner.ITestRunListener)
String testRunName
com.android.ddmlib.testrunner.ITestRunListener listener
public void parseResult (java.io.File, com.android.tradefed.device.CollectingOutputReceiver)
javax.xml.parsers.DocumentBuilder db
String errorMessage
com.android.ddmlib.testrunner.ITestRunListener listener
Exception e
int j
org.w3c.dom.NodeList testcasesList
int i
com.android.ddmlib.testrunner.ITestRunListener listener
com.android.ddmlib.testrunner.ITestRunListener listener
java.io.File f
com.android.tradefed.device.CollectingOutputReceiver output
javax.xml.parsers.DocumentBuilderFactory dbf
org.w3c.dom.Document result
org.w3c.dom.Element rootNode
org.w3c.dom.NodeList testSuiteList
private java.util.Map getRunMetrics ()
java.util.Map metricsMap
private void getTestSuitesInfo (org.w3c.dom.Element)
org.w3c.dom.Element rootNode
private void reportTestRunStarted ()
com.android.ddmlib.testrunner.ITestRunListener listener
private void processTestResult (org.w3c.dom.Element)
com.android.ddmlib.testrunner.ITestRunListener listener
com.android.ddmlib.testrunner.ITestRunListener listener
String trace
com.android.ddmlib.testrunner.ITestRunListener listener
org.w3c.dom.Element testcase
String classname
String testname
String runtime
com.android.tradefed.testtype.GTestXmlResultParser$ParsedTestInfo parsedResults
com.android.ddmlib.testrunner.TestIdentifier testId
java.util.Map map
}
com/android/tradefed/testtype/Abi.classAbi.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.Abi extends java.lang.Object implements com.android.tradefed.testtype.IAbi {
private final String mName
private final String mBitness
public void (java.lang.String, java.lang.String)
String name
String bitness
public java.lang.String getName ()
public java.lang.String getBitness ()
}
com/android/tradefed/testtype/InstrumentationSerialTest$TestTrackingListener.classInstrumentationSerialTest.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.InstrumentationSerialTest$TestTrackingListener extends com.android.tradefed.result.ResultForwarder {
private String mRunErrorMsg
private final com.android.ddmlib.testrunner.TestIdentifier mExpectedTest
private boolean mDidTestRun
private String mRunName
public void (com.android.tradefed.result.ITestInvocationListener, com.android.ddmlib.testrunner.TestIdentifier)
com.android.tradefed.result.ITestInvocationListener listener
com.android.ddmlib.testrunner.TestIdentifier testToRun
public void testRunStarted (java.lang.String, int)
String runName
int testCount
public void testRunFailed (java.lang.String)
String errorMessage
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
public boolean didTestRun ()
public void markTestAsFailed ()
}
com/android/tradefed/testtype/GTest.classGTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.GTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IRemoteTest com.android.tradefed.testtype.ITestFilterReceiver com.android.tradefed.testtype.IRuntimeHintProvider com.android.tradefed.testtype.ITestCollector {
static final String DEFAULT_NATIVETEST_PATH
private com.android.tradefed.device.ITestDevice mDevice
private boolean mRunDisabledTests
private String mNativeTestDevicePath
private java.util.List mFileExclusionFilterRegex
private String mTestModule
private String mTestNamePositiveFilter
private String mTestNameNegativeFilter
private java.util.Set mIncludeFilters
private java.util.Set mExcludeFilters
private int mMaxTestTimeMs
private boolean mSendCoverage
private boolean mPrependFileName
private java.util.List mBeforeTestCmd
private java.util.List mAfterTestCmd
private String mLdLibraryPath
private java.util.List mGTestFlags
private long mRuntimeHint
private boolean mEnableXmlOutput
private boolean mStopRuntime
private boolean mCollectTestsOnly
private String mTestFilterKey
private static final String COVERAGE_TARGET
private static final String GTEST_FLAG_PRINT_TIME
private static final String GTEST_FLAG_FILTER
private static final String GTEST_FLAG_RUN_DISABLED_TESTS
private static final String GTEST_FLAG_LIST_TESTS
private static final String GTEST_XML_OUTPUT
private static final int GTEST_CMD_CHAR_LIMIT
protected static final String FILTER_EXTENSION
public void ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public com.android.tradefed.device.ITestDevice getDevice ()
public void setEnableXmlOutput (boolean)
boolean b
public void setModuleName (java.lang.String)
String moduleName
public java.lang.String getModuleName ()
public void setRunDisabled (boolean)
boolean runDisabled
public boolean getRunDisabledTests ()
void setMaxTestTimeMs (int)
int timeout
void addFileExclusionFilterRegex (java.lang.String)
String regex
public long getRuntimeHint ()
public void addIncludeFilter (java.lang.String)
String filter
public void addAllIncludeFilters (java.util.Set)
String filter
java.util.Set filters
public void addExcludeFilter (java.lang.String)
String filter
public void addAllExcludeFilters (java.util.Set)
String filter
java.util.Set filters
private java.lang.String cleanFilter (java.lang.String)
String filter
private java.lang.String getGTestFilters (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String fileFilters
String binaryOnDevice
StringBuilder filter
private java.lang.String loadFilter (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
org.json.JSONObject filter
String key
org.json.JSONObject filterObject
org.json.JSONException e
String content
String binaryOnDevice
String filterFile
private java.lang.String getAllGTestFlags (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String gTestFlag
String binaryOnDevice
String flags
private java.lang.String getTestPath ()
StringBuilder testPath
void doRunAllTestsInSubdirectory (java.lang.String, com.android.tradefed.device.ITestDevice, com.android.ddmlib.testrunner.ITestRunListener) throws com.android.tradefed.device.DeviceNotAvailableException
String child
com.android.ddmlib.IShellOutputReceiver resultParser
String flags
String root
com.android.tradefed.device.ITestDevice testDevice
com.android.ddmlib.testrunner.ITestRunListener listener
java.lang.String getFileName (java.lang.String)
String fullPath
int pos
String fileName
protected boolean shouldSkipFile (java.lang.String)
String regex
String fullPath
protected void executeCommandByScript (com.android.tradefed.device.ITestDevice, java.lang.String, com.android.ddmlib.IShellOutputReceiver) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice testDevice
String cmd
com.android.ddmlib.IShellOutputReceiver resultParser
String tmpFileDevice
private void runTest (com.android.tradefed.device.ITestDevice, com.android.ddmlib.IShellOutputReceiver, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String cmd
String cmd
String cmd
com.android.tradefed.device.DeviceNotAvailableException e
RuntimeException e
String cmd
com.android.tradefed.device.ITestDevice testDevice
com.android.ddmlib.IShellOutputReceiver resultParser
String fullPath
String flags
private void runTestXml (com.android.tradefed.device.ITestDevice, java.lang.String, java.lang.String, com.android.ddmlib.testrunner.ITestRunListener) throws com.android.tradefed.device.DeviceNotAvailableException
String testRunName
String tmpResName
String extraFlag
String fullFlagCmd
com.android.tradefed.testtype.GTestXmlResultParser parser
String cmd
Exception e
java.io.IOException e
String cmd
com.android.tradefed.device.ITestDevice testDevice
String fullPath
String flags
com.android.ddmlib.testrunner.ITestRunListener listener
com.android.tradefed.device.CollectingOutputReceiver outputCollector
java.io.File tmpOutput
com.android.tradefed.testtype.GTestXmlResultParser createXmlParser (java.lang.String, com.android.ddmlib.testrunner.ITestRunListener)
String testRunName
com.android.ddmlib.testrunner.ITestRunListener listener
protected java.lang.String getGTestCmdLine (java.lang.String, java.lang.String)
String fullPath
String flags
StringBuilder gTestCmdLine
com.android.ddmlib.IShellOutputReceiver createResultParser (java.lang.String, com.android.ddmlib.testrunner.ITestRunListener)
com.android.tradefed.testtype.GTestListTestParser resultParser
com.android.tradefed.testtype.GTestResultParser resultParser
String runName
com.android.ddmlib.testrunner.ITestRunListener listener
com.android.ddmlib.IShellOutputReceiver receiver
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
Throwable t
com.android.tradefed.result.ITestInvocationListener listener
String testPath
Throwable throwable
public void setCollectTestsOnly (boolean)
boolean shouldCollectTest
protected void setLoadFilterFromFile (java.lang.String)
String loadFilterFromFile
}
com/android/tradefed/testtype/IAbiReceiver.classIAbiReceiver.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.IAbiReceiver extends java.lang.Object {
public abstract void setAbi (com.android.tradefed.testtype.IAbi)
}
com/android/tradefed/testtype/GTestResultParser$1.classGTestResultParser.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.GTestResultParser$1 extends java.lang.Object {
}
com/android/tradefed/testtype/DeviceTestResult.classDeviceTestResult.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.DeviceTestResult extends junit.framework.TestResult {
public void ()
public void runProtected (junit.framework.Test, junit.framework.Protectable)
junit.framework.AssertionFailedError e
ThreadDeath e
com.android.tradefed.device.DeviceNotAvailableException e
Throwable e
junit.framework.Test test
junit.framework.Protectable p
protected void run (junit.framework.TestCase)
junit.framework.TestCase test
junit.framework.Protectable p
}
com/android/tradefed/testtype/PythonUnitTestResultParser$PythonUnitTestParseException.classPythonUnitTestResultParser.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.PythonUnitTestResultParser$PythonUnitTestParseException extends java.lang.Exception {
final com.android.tradefed.testtype.PythonUnitTestResultParser this$0
public void (com.android.tradefed.testtype.PythonUnitTestResultParser, java.lang.String)
String reason
}
com/android/tradefed/testtype/GTestXmlResultParser$ParsedTestInfo.classGTestXmlResultParser.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.GTestXmlResultParser$ParsedTestInfo extends java.lang.Object {
String mTestName
String mTestClassName
String mTestRunTime
public void (java.lang.String, java.lang.String, java.lang.String)
String testName
String testClassName
String testRunTime
}
com/android/tradefed/testtype/InstrumentationTest$FailedTestScreenshotGenerator.classInstrumentationTest.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.InstrumentationTest$FailedTestScreenshotGenerator extends com.android.tradefed.result.ResultForwarder {
private com.android.tradefed.device.ITestDevice mDevice
public void (com.android.tradefed.result.ITestInvocationListener, com.android.tradefed.device.ITestDevice)
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.device.ITestDevice device
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.tradefed.result.InputStreamSource screenSource
com.android.tradefed.device.DeviceNotAvailableException e
com.android.ddmlib.testrunner.TestIdentifier test
String trace
}
com/android/tradefed/testtype/GTestResultParser.classGTestResultParser.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.GTestResultParser extends com.android.ddmlib.MultiLineReceiver {
private static final String LOG_TAG
private com.android.tradefed.testtype.GTestResultParser$TestResult mCurrentTestResult
private int mNumTestsRun
private int mNumTestsExpected
private int mTotalNumberOfTestFailed
private long mTotalRunTime
private boolean mTestInProgress
private boolean mTestRunInProgress
private final String mTestRunName
private final java.util.Collection mTestListeners
private boolean mTestRunStartReported
private boolean mIsCancelled
private String mCoverageTarget
private boolean mPrependFileName
public void setPrependFileName (boolean)
boolean prepend
public boolean getPrependFileName ()
public void (java.lang.String, java.util.Collection)
String testRunName
java.util.Collection listeners
public void (java.lang.String, com.android.ddmlib.testrunner.ITestRunListener)
String testRunName
com.android.ddmlib.testrunner.ITestRunListener listener
private com.android.tradefed.testtype.GTestResultParser$TestResult getCurrentTestResult ()
private void clearCurrentTestResult ()
public void processNewLines (java.lang.String[])
String line
String[] lines
private void parse (java.lang.String)
String line
String message
public boolean isCancelled ()
private void fakeRunMarker (java.lang.String)
String message
String fakeRunMaker
public void cancel ()
private boolean testInProgress ()
private void setTestStarted ()
private void setTestEnded ()
private void reportTestRunStarted ()
com.android.ddmlib.testrunner.ITestRunListener listener
private void reportTestRunEnded ()
com.android.ddmlib.testrunner.ITestRunListener listener
private java.util.Map getRunMetrics ()
java.util.Map metricsMap
private com.android.tradefed.testtype.GTestResultParser$ParsedTestInfo parseTestIdentifier (java.lang.String)
String timeString
String discardPortion
String identifier
com.android.tradefed.testtype.GTestResultParser$ParsedTestInfo returnInfo
java.util.regex.Pattern timePattern
java.util.regex.Matcher time
String[] testId
private void processRunStartedTag (java.lang.String)
NumberFormatException e
String identifier
java.util.regex.Pattern numTestsPattern
java.util.regex.Matcher numTests
private void processRunCompletedTag (java.lang.String)
NumberFormatException e
String identifier
java.util.regex.Pattern timePattern
java.util.regex.Matcher time
private java.lang.String getTestClass (com.android.tradefed.testtype.GTestResultParser$TestResult)
StringBuilder sb
com.android.tradefed.testtype.GTestResultParser$TestResult testResult
private void processTestStartedTag (java.lang.String)
com.android.ddmlib.testrunner.ITestRunListener listener
String identifier
com.android.tradefed.testtype.GTestResultParser$ParsedTestInfo parsedResults
com.android.tradefed.testtype.GTestResultParser$TestResult testResult
com.android.ddmlib.testrunner.TestIdentifier testId
private void doTestEnded (java.lang.String, boolean)
NumberFormatException e
com.android.ddmlib.testrunner.ITestRunListener listener
com.android.ddmlib.testrunner.ITestRunListener listener
com.android.ddmlib.testrunner.ITestRunListener listener
String identifier
boolean testPassed
com.android.tradefed.testtype.GTestResultParser$ParsedTestInfo parsedResults
com.android.tradefed.testtype.GTestResultParser$TestResult testResult
com.android.ddmlib.testrunner.TestIdentifier testId
boolean encounteredUnexpectedTest
java.util.Map emptyMap
private void processOKTag (java.lang.String)
String identifier
private void processFailedTag (java.lang.String)
String identifier
private void appendTestOutputLine (java.lang.String)
String line
com.android.tradefed.testtype.GTestResultParser$TestResult testResult
private void handleTestRunFailed (java.lang.String)
com.android.ddmlib.testrunner.ITestRunListener listener
com.android.ddmlib.testrunner.TestIdentifier testId
java.util.Map emptyMap
com.android.ddmlib.testrunner.ITestRunListener listener
String errorMsg
String testRunStackTrace
public void done ()
public void setCoverageTarget (java.lang.String)
String coverageTarget
}
com/android/tradefed/testtype/GTestListTestParser.classGTestListTestParser.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.GTestListTestParser extends com.android.ddmlib.MultiLineReceiver {
private String mLastTestClassName
private String mTestRunName
private com.android.ddmlib.testrunner.ITestRunListener mTestRunListener
private boolean mPrependFileName
private static java.util.regex.Pattern TEST_CLASS
private static java.util.regex.Pattern TEST_METHOD
protected java.util.List mTests
public void (java.lang.String, com.android.ddmlib.testrunner.ITestRunListener)
String testRunName
com.android.ddmlib.testrunner.ITestRunListener listener
public boolean isCancelled ()
public void processNewLines (java.lang.String[])
String line
String[] lines
private java.lang.String getTestClass (java.lang.String)
StringBuilder sb
String name
private void parse (java.lang.String)
String line
java.util.regex.Matcher classMatcher
java.util.regex.Matcher methodMatcher
public void setPrependFileName (boolean)
boolean prepend
public boolean getPrependFileName ()
public void done ()
com.android.ddmlib.testrunner.TestIdentifier id
java.util.Map empty
static void ()
}
com/android/tradefed/testtype/InstrumentationTest$FailedTestLogcatGenerator.classInstrumentationTest.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.InstrumentationTest$FailedTestLogcatGenerator extends com.android.tradefed.result.ResultForwarder {
private com.android.tradefed.device.ITestDevice mDevice
private int mNumLogcatBytes
private java.util.Map mMapStartTime
public void (com.android.tradefed.result.ITestInvocationListener, com.android.tradefed.device.ITestDevice, int)
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.device.ITestDevice device
int maxLogcatBytes
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.tradefed.device.DeviceNotAvailableException e
com.android.ddmlib.testrunner.TestIdentifier test
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
private void captureLog (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
com.android.tradefed.result.InputStreamSource logSource
long startTime
}
com/android/tradefed/testtype/StubTest.classStubTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.StubTest extends java.lang.Object implements com.android.tradefed.testtype.IShardableTest {
private int mNumShards
public void ()
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
public java.util.Collection split ()
int i
java.util.List shards
}
com/android/tradefed/testtype/GTestResultParser$ParsedTestInfo.classGTestResultParser.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.GTestResultParser$ParsedTestInfo extends java.lang.Object {
String mTestName
String mTestClassName
String mTestRunTime
public void (java.lang.String, java.lang.String, java.lang.String)
String testName
String testClassName
String testRunTime
}
com/android/tradefed/testtype/NativeBenchmarkTestParser.classNativeBenchmarkTestParser.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.NativeBenchmarkTestParser extends com.android.ddmlib.MultiLineReceiver {
private static final String LOG_TAG
private static final String FLOAT_STRING
private static final String COMPLETE_STRING
private static final java.util.regex.Pattern COMPLETE_PATTERN
private final String mTestRunName
private boolean mIsCanceled
private double mMinOpTime
private double mAvgOpTime
private double mMaxOpTime
public void (java.lang.String)
String runName
public void processNewLines (java.lang.String[])
String line
String[] lines
private void parseLine (java.lang.String)
String line
java.util.regex.Matcher matcher
private double parseDoubleValue (java.lang.String, java.lang.String)
Number num
java.text.ParseException e
String line
String valueString
java.text.DecimalFormat format
public boolean isCancelled ()
public java.lang.String getRunName ()
public double getAvgOperationTime ()
public double getMinOperationTime ()
public double getMaxOperationTime ()
static void ()
}
com/android/tradefed/testtype/PythonUnitTestRunner.classPythonUnitTestRunner.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.PythonUnitTestRunner extends java.lang.Object implements com.android.tradefed.testtype.IRemoteTest com.android.tradefed.testtype.IBuildReceiver {
private java.util.List mPathDirs
private java.util.List mTests
private String mUnitTestOpts
private String mMinPyVersion
private String mPythonBin
private long TEST_TIMEOUT
private String mPythonPath
private com.android.tradefed.build.IBuildInfo mBuildInfo
private static final String PYTHONPATH
private static final String VERSION_REGEX
public void ()
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
String module
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.util.IRunUtil runUtil
public void setBuild (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
java.lang.String getMinPythonVersion ()
void setMinPythonVersion (java.lang.String)
String version
private java.lang.String getPythonBinary ()
com.android.tradefed.util.IRunUtil runUtil
com.android.tradefed.util.CommandResult c
String pythonBin
private void setPythonPath ()
java.io.File pathdir
StringBuilder sb
protected void checkPythonVersion (com.android.tradefed.util.CommandResult)
com.android.tradefed.util.CommandResult c
java.util.regex.Matcher minVersionParts
java.util.regex.Matcher versionParts
int major
int minor
int revision
int foundMajor
int foundMinor
int foundRevision
private void doRunTest (com.android.ddmlib.testrunner.ITestRunListener, com.android.tradefed.util.IRunUtil, java.lang.String)
String[] cmd
com.android.ddmlib.testrunner.ITestRunListener listener
com.android.tradefed.util.IRunUtil runUtil
String pyModule
String[] baseOpts
String[] testModule
String[] cmd
com.android.tradefed.util.CommandResult c
com.android.ddmlib.MultiLineReceiver parser
}
com/android/tradefed/testtype/UiAutomatorTest$LoggingOption.classUiAutomatorTest.java
package com.android.tradefed.testtype
public final com.android.tradefed.testtype.UiAutomatorTest$LoggingOption extends java.lang.Enum {
public static final com.android.tradefed.testtype.UiAutomatorTest$LoggingOption AFTER_TEST
public static final com.android.tradefed.testtype.UiAutomatorTest$LoggingOption AFTER_FAILURE
public static final com.android.tradefed.testtype.UiAutomatorTest$LoggingOption OFF
private static final com.android.tradefed.testtype.UiAutomatorTest$LoggingOption[] $VALUES
public static com.android.tradefed.testtype.UiAutomatorTest$LoggingOption[] values ()
public static com.android.tradefed.testtype.UiAutomatorTest$LoggingOption valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/testtype/IRemoteTest.classIRemoteTest.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.IRemoteTest extends java.lang.Object {
public abstract void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
}
com/android/tradefed/testtype/PythonUnitTestResultParser$ParserState.classPythonUnitTestResultParser.java
package com.android.tradefed.testtype
final com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState extends java.lang.Enum {
public static final com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState TEST_CASE
public static final com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState TEST_TRACEBACK
public static final com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState TEST_SUMMARY
public static final com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState TEST_STATUS
public static final com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState FAIL_MESSAGE
public static final com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState COMPLETE
private static final com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState[] $VALUES
public static com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState[] values ()
public static com.android.tradefed.testtype.PythonUnitTestResultParser$ParserState valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/testtype/UiAutomatorTest$TestFailureAction.classUiAutomatorTest.java
package com.android.tradefed.testtype
public final com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction extends java.lang.Enum {
public static final com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction BUGREPORT
public static final com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction SCREENSHOT
public static final com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction BUGREPORT_AND_SCREENSHOT
private static final com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction[] $VALUES
public static com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction[] values ()
public static com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/testtype/NativeStressTest.classNativeStressTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.NativeStressTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IRemoteTest {
private static final String LOG_TAG
static final String DEFAULT_TEST_PATH
static final String AVG_ITERATION_TIME_KEY
static final String ITERATION_KEY
private com.android.tradefed.device.ITestDevice mDevice
private String mDeviceTestPath
private String mTestModule
private Integer mNumIterations
private int mNumRuns
private int mMaxIterationTime
public void ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public com.android.tradefed.device.ITestDevice getDevice ()
public void setModuleName (java.lang.String)
String moduleName
public java.lang.String getModuleName (java.lang.String)
String moduleName
void setNumIterations (int)
int iterations
void setNumRuns (int)
int runs
private java.lang.String getTestPath ()
StringBuilder testPath
private void doRunAllTestsInSubdirectory (com.android.tradefed.device.IFileEntry, com.android.tradefed.device.ITestDevice, com.android.ddmlib.testrunner.ITestRunListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IFileEntry childEntry
int i
com.android.tradefed.testtype.NativeStressTestParser resultParser
String fullPath
int startIteration
int endIteration
long startTime
com.android.tradefed.device.IFileEntry rootEntry
com.android.tradefed.device.ITestDevice testDevice
com.android.ddmlib.testrunner.ITestRunListener listener
private void reportTestCompleted (long, com.android.ddmlib.testrunner.ITestRunListener, com.android.tradefed.testtype.NativeStressTestParser)
long startTime
com.android.ddmlib.testrunner.ITestRunListener listener
com.android.tradefed.testtype.NativeStressTestParser parser
long elapsedTime
int iterationsComplete
float avgIterationTime
java.util.Map metricMap
com.android.tradefed.testtype.NativeStressTestParser createResultParser (java.lang.String)
String runName
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
String testPath
com.android.tradefed.device.IFileEntry nativeTestDirectory
}
com/android/tradefed/testtype/AndroidJUnitTest.classAndroidJUnitTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.AndroidJUnitTest extends com.android.tradefed.testtype.InstrumentationTest implements com.android.tradefed.testtype.IRuntimeHintProvider com.android.tradefed.testtype.ITestFileFilterReceiver com.android.tradefed.testtype.ITestFilterReceiver com.android.tradefed.testtype.ITestAnnotationFilterReceiver {
private static final String AJUR
private static final String INCLUDE_CLASS_INST_ARGS_KEY
private static final String EXCLUDE_CLASS_INST_ARGS_KEY
private static final String INCLUDE_PACKAGE_INST_ARGS_KEY
private static final String EXCLUDE_PACKAGE_INST_ARGS_KEY
private static final String ANNOTATION_INST_ARGS_KEY
private static final String NOT_ANNOTATION_INST_ARGS_KEY
private static final String TEST_FILE_INST_ARGS_KEY
private static final String NOT_TEST_FILE_INST_ARGS_KEY
private static final String INCLUDE_FILE
private static final String EXCLUDE_FILE
private long mRuntimeHint
private java.util.List mIncludeFilters
private java.util.List mExcludeFilters
private java.util.List mIncludeAnnotation
private java.util.List mExcludeAnnotation
private java.io.File mIncludeTestFile
private java.io.File mExcludeTestFile
private String mTestFilterDir
private String mDeviceIncludeFile
private String mDeviceExcludeFile
public void ()
public long getRuntimeHint ()
public void addIncludeFilter (java.lang.String)
String filter
public void addAllIncludeFilters (java.util.Set)
java.util.Set filters
public void addExcludeFilter (java.lang.String)
String filter
public void addAllExcludeFilters (java.util.Set)
java.util.Set filters
public void setIncludeTestFile (java.io.File)
java.io.File testFile
public void setExcludeTestFile (java.io.File)
java.io.File testFile
public void addIncludeAnnotation (java.lang.String)
String annotation
public void addAllIncludeAnnotation (java.util.Set)
java.util.Set annotations
public void addExcludeAnnotation (java.lang.String)
String excludeAnnotation
public void addAllExcludeAnnotation (java.util.Set)
java.util.Set excludeAnnotations
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
protected void setRunnerArgs (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner)
String test
String test
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
java.util.List classArg
java.util.List notClassArg
java.util.List packageArg
java.util.List notPackageArg
private void pushTestFile (java.io.File, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File testFile
String destination
com.android.tradefed.device.ITestDevice device
public boolean isClassOrMethod (java.lang.String)
String filter
String[] parts
}
com/android/tradefed/testtype/IShardableTest.classIShardableTest.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.IShardableTest extends java.lang.Object implements com.android.tradefed.testtype.IRemoteTest {
public abstract java.util.Collection split ()
}
com/android/tradefed/testtype/HostTest.classHostTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.HostTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.ITestFilterReceiver com.android.tradefed.testtype.ITestAnnotationFilterReceiver com.android.tradefed.testtype.IRemoteTest com.android.tradefed.testtype.ITestCollector {
private java.util.Set mClasses
private String mMethodName
private java.util.List mKeyValueOptions
private java.util.Set mIncludeAnnotation
private java.util.Set mExcludeAnnotation
private boolean mCollectTestsOnly
private com.android.tradefed.device.ITestDevice mDevice
private com.android.tradefed.util.TestFilterHelper mFilterHelper
public void ()
public com.android.tradefed.device.ITestDevice getDevice ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public void addIncludeFilter (java.lang.String)
String filter
public void addAllIncludeFilters (java.util.Set)
java.util.Set filters
public void addExcludeFilter (java.lang.String)
String filter
public void addAllExcludeFilters (java.util.Set)
java.util.Set filters
public int countTestCases ()
Object testObj
Class classObj
int count
void setClassName (java.lang.String)
String className
void setMethodName (java.lang.String)
String methodName
public void addIncludeAnnotation (java.lang.String)
String annotation
public void addAllIncludeAnnotation (java.util.Set)
java.util.Set annotations
public void addExcludeAnnotation (java.lang.String)
String notAnnotation
public void addAllExcludeAnnotation (java.util.Set)
java.util.Set notAnnotations
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.testtype.IRemoteTest test
java.util.Set includes
java.util.Set excludes
junit.framework.Test t
String testName
com.android.ddmlib.testrunner.TestIdentifier testId
int i
junit.framework.TestSuite junitTest
java.util.Map empty
java.util.Map emptyMap
Class classObj
com.android.tradefed.result.ITestInvocationListener listener
java.util.List classes
private java.util.Set collectClasses (java.lang.Class)
junit.framework.TestSuite testObj
Class classObj
java.util.Set classes
private java.util.Set getClassesFromSuite (junit.framework.TestSuite)
junit.framework.Test test
junit.framework.TestSuite suite
java.util.Set classes
java.util.Enumeration tests
private junit.framework.TestSuite collectTests (java.util.Set)
NoSuchMethodException e
junit.framework.Test testObj
java.lang.reflect.Method method
String packageName
String className
java.lang.reflect.Method[] methods
Class classObj
java.util.Set classes
junit.framework.TestSuite suite
protected java.util.List getClasses () throws java.lang.IllegalArgumentException
ClassNotFoundException e
String className
java.util.List classes
protected java.lang.Object loadObject (java.lang.Class) throws java.lang.IllegalArgumentException
String[] fields
String item
com.android.tradefed.config.OptionSetter setter
com.android.tradefed.config.ConfigurationException ce
Object testObj
InstantiationException e
IllegalAccessException e
Class classObj
String className
protected boolean shouldTestRun (java.lang.reflect.AnnotatedElement)
java.lang.reflect.AnnotatedElement annotatedElement
public void setCollectTestsOnly (boolean)
boolean shouldCollectTest
}
com/android/tradefed/testtype/DeviceBatteryLevelChecker.classDeviceBatteryLevelChecker.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.DeviceBatteryLevelChecker extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IRemoteTest {
com.android.tradefed.device.ITestDevice mTestDevice
private Integer mMaxBattery
private int mResumeLevel
private double mChargingPollTime
private double mLoggingPollTime
private boolean mRebootChargeDevices
private boolean mStopRuntime
private boolean mStopLogcat
public void ()
java.lang.Integer checkBatteryLevel (com.android.tradefed.device.ITestDevice)
com.android.ddmlib.IDevice idevice
Exception e
com.android.tradefed.device.ITestDevice device
private void stopDeviceRuntime () throws com.android.tradefed.device.DeviceNotAvailableException
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
Integer batteryLevel
Long lastReportTime
Integer newLevel
private void turnScreenOff (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.util.IRunUtil getRunUtil ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public com.android.tradefed.device.ITestDevice getDevice ()
protected void setResumeLevel (int)
int level
}
com/android/tradefed/testtype/IDeviceTest.classIDeviceTest.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.IDeviceTest extends java.lang.Object {
public abstract void setDevice (com.android.tradefed.device.ITestDevice)
public abstract com.android.tradefed.device.ITestDevice getDevice ()
}
com/android/tradefed/testtype/DeviceTestCase.classDeviceTestCase.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.DeviceTestCase extends junit.framework.TestCase implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IRemoteTest com.android.tradefed.testtype.ITestCollector com.android.tradefed.testtype.ITestFilterReceiver com.android.tradefed.testtype.ITestAnnotationFilterReceiver {
private static final String LOG_TAG
private com.android.tradefed.device.ITestDevice mDevice
private com.android.tradefed.util.TestFilterHelper mFilterHelper
protected java.util.Set mIncludeFilters
protected java.util.Set mExcludeFilters
protected java.util.Set mIncludeAnnotation
protected java.util.Set mExcludeAnnotation
private String mMethodName
private boolean mCollectTestsOnly
private java.util.Vector mMethodNames
public void ()
public void (java.lang.String)
String name
public com.android.tradefed.device.ITestDevice getDevice ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.testrunner.TestIdentifier testId
String methodName
java.util.Collection testMethodNames
com.android.ddmlib.testrunner.TestIdentifier testId
java.util.Map empty
String runName
com.android.tradefed.result.ITestInvocationListener listener
public int countTestCases ()
public void run (junit.framework.TestResult)
String methodName
java.util.Collection testMethodNames
junit.framework.TestResult result
public void addIncludeFilter (java.lang.String)
String filter
public void addAllIncludeFilters (java.util.Set)
java.util.Set filters
public void addExcludeFilter (java.lang.String)
String filter
public void addAllExcludeFilters (java.util.Set)
java.util.Set filters
public void addIncludeAnnotation (java.lang.String)
String annotation
public void addAllIncludeAnnotation (java.util.Set)
java.util.Set annotations
public void addExcludeAnnotation (java.lang.String)
String notAnnotation
public void addAllExcludeAnnotation (java.util.Set)
java.util.Set notAnnotations
private java.util.Collection getTestMethodNames ()
java.lang.reflect.Method method
java.lang.reflect.Method[] methods
Class theClass
Class superClass
private void addTestMethod (java.lang.reflect.Method, java.util.Vector)
java.lang.reflect.Method m
java.util.Vector names
String name
private boolean isPublicTestMethod (java.lang.reflect.Method)
java.lang.reflect.Method m
private boolean isTestMethod (java.lang.reflect.Method)
java.lang.reflect.Method m
String name
Class[] parameters
Class returnType
public void setCollectTestsOnly (boolean)
boolean shouldCollectTest
}
com/android/tradefed/testtype/ITestFileFilterReceiver.classITestFileFilterReceiver.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.ITestFileFilterReceiver extends java.lang.Object {
public abstract void setIncludeTestFile (java.io.File)
public abstract void setExcludeTestFile (java.io.File)
}
com/android/tradefed/testtype/IResumableTest.classIResumableTest.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.IResumableTest extends java.lang.Object implements com.android.tradefed.testtype.IRemoteTest {
public abstract boolean isResumable ()
}
com/android/tradefed/testtype/DeviceTestResult$1.classDeviceTestResult.java
package com.android.tradefed.testtype
com.android.tradefed.testtype.DeviceTestResult$1 extends java.lang.Object implements junit.framework.Protectable {
final junit.framework.TestCase val$test
final com.android.tradefed.testtype.DeviceTestResult this$0
void (com.android.tradefed.testtype.DeviceTestResult, junit.framework.TestCase)
com.android.tradefed.testtype.DeviceTestResult this$0
public void protect () throws java.lang.Throwable
}
com/android/tradefed/testtype/NativeBenchmarkTest.classNativeBenchmarkTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.NativeBenchmarkTest extends java.lang.Object implements com.android.tradefed.testtype.IDeviceTest com.android.tradefed.testtype.IRemoteTest {
private static final String LOG_TAG
static final String DEFAULT_TEST_PATH
static final String AVG_OP_TIME_KEY_PREFIX
static final String ITERATION_KEY
private com.android.tradefed.device.ITestDevice mDevice
private String mDeviceTestPath
private String mTestModule
private String mReportRunName
private int mNumIterations
private java.util.Collection mDelays
private int mMaxRunTime
private int mServerCpu
private int mClientCpu
private boolean mMaxCpuFreq
public void ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public com.android.tradefed.device.ITestDevice getDevice ()
public void setModuleName (java.lang.String)
String moduleName
public java.lang.String getModuleName (java.lang.String)
String moduleName
void setNumIterations (int)
int iterations
void addDelaysPerRun (java.util.Collection)
java.util.Collection delays
private java.lang.String getTestPath ()
StringBuilder testPath
private void doRunAllTestsInSubdirectory (com.android.tradefed.device.IFileEntry, com.android.tradefed.device.ITestDevice, com.android.ddmlib.testrunner.ITestRunListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IFileEntry childEntry
com.android.tradefed.testtype.NativeBenchmarkTestParser resultParser
double delayFloat
String cmd
Integer delay
long elapsedTime
long elapsedTime
String runName
String fullPath
long startTime
java.util.Map metricMap
com.android.tradefed.device.IFileEntry rootEntry
com.android.tradefed.device.ITestDevice testDevice
com.android.ddmlib.testrunner.ITestRunListener listener
private void addMetric (java.util.Map, com.android.tradefed.testtype.NativeBenchmarkTestParser, java.lang.Integer)
java.util.Map metricMap
com.android.tradefed.testtype.NativeBenchmarkTestParser resultParser
Integer delay
String metricKey
com.android.tradefed.testtype.NativeBenchmarkTestParser createResultParser (java.lang.String)
String runName
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.ITestInvocationListener listener
String testPath
com.android.tradefed.device.IFileEntry nativeTestDirectory
}
com/android/tradefed/testtype/GoogleBenchmarkResultParser.classGoogleBenchmarkResultParser.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.GoogleBenchmarkResultParser extends java.lang.Object {
private String mTestClassName
private final com.android.ddmlib.testrunner.ITestRunListener mTestListener
public void (java.lang.String, com.android.ddmlib.testrunner.ITestRunListener)
String testClassName
com.android.ddmlib.testrunner.ITestRunListener listener
public java.util.Map parse (com.android.tradefed.device.CollectingOutputReceiver)
org.json.JSONObject context
org.json.JSONException e
org.json.JSONException e
java.util.Map testResults
org.json.JSONObject testRes
String name
com.android.ddmlib.testrunner.TestIdentifier testId
int i
org.json.JSONArray benchmarks
org.json.JSONException e
com.android.tradefed.device.CollectingOutputReceiver output
String outputLogs
java.util.Map results
org.json.JSONObject res
protected java.util.Map parseJsonToMap (org.json.JSONObject) throws org.json.JSONException
String key
org.json.JSONObject j
java.util.Map testResults
java.util.Iterator i
}
com/android/tradefed/testtype/ITestAnnotationFilterReceiver.classITestAnnotationFilterReceiver.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.ITestAnnotationFilterReceiver extends java.lang.Object {
public abstract void addIncludeAnnotation (java.lang.String)
public abstract void addExcludeAnnotation (java.lang.String)
public abstract void addAllIncludeAnnotation (java.util.Set)
public abstract void addAllExcludeAnnotation (java.util.Set)
}
com/android/tradefed/testtype/CodeCoverageTest.classCodeCoverageTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.CodeCoverageTest extends com.android.tradefed.testtype.InstrumentationTest {
private String mCoverageFile
private static final String COVERAGE_REMOTE_FILE_LABEL
public void ()
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.result.FileInputStreamSource source
com.android.tradefed.result.InputStreamSource s
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.result.CollectingTestListener testCoverageFile
java.io.File coverageFile
private java.lang.String fetchCoverageFilePath (com.android.tradefed.result.CollectingTestListener)
com.android.tradefed.result.CollectingTestListener listener
com.android.ddmlib.testrunner.TestRunResult runResult
java.util.Map metrics
}
com/android/tradefed/testtype/ITestFilterReceiver.classITestFilterReceiver.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.ITestFilterReceiver extends java.lang.Object {
public abstract void addIncludeFilter (java.lang.String)
public abstract void addAllIncludeFilters (java.util.Set)
public abstract void addExcludeFilter (java.lang.String)
public abstract void addAllExcludeFilters (java.util.Set)
}
com/android/tradefed/testtype/NativeStressTestParser.classNativeStressTestParser.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.NativeStressTestParser extends com.android.ddmlib.MultiLineReceiver {
private static final String LOG_TAG
private static final java.util.regex.Pattern ITERATION_COMPLETE_PATTERN
private final String mTestRunName
private boolean mIsCanceled
private int mTotalIterations
public void (java.lang.String)
String runName
public void processNewLines (java.lang.String[])
String line
String[] lines
private void parseLine (java.lang.String)
String line
java.util.regex.Matcher matcher
private void parseIterationValue (java.lang.String, java.lang.String)
int currentIteration
NumberFormatException e
String line
String iterationString
public boolean isCancelled ()
public java.lang.String getRunName ()
public int getIterationsCompleted ()
static void ()
}
com/android/tradefed/testtype/UiAutomatorTest.classUiAutomatorTest.java
package com.android.tradefed.testtype
public com.android.tradefed.testtype.UiAutomatorTest extends java.lang.Object implements com.android.tradefed.testtype.IRemoteTest com.android.tradefed.testtype.IDeviceTest {
private static final String SHELL_EXE_BASE
private static final String TRACE_ITERATIONS
private static final String TRACE_DEST_DIRECTORY
private com.android.tradefed.device.ITestDevice mDevice
private com.android.ddmlib.testrunner.IRemoteAndroidTestRunner mRunner
private java.util.List mJarPaths
private java.util.List mClasses
private long mSyncTime
private java.util.Map mArgMap
private int mTestTimeout
private com.android.tradefed.testtype.UiAutomatorTest$LoggingOption mLoggingOption
private String mRunnerPath
private com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction mFailureAction
private boolean mIgnoreSighup
private String mRunName
private boolean mInstrumentation
private String mPackage
private String mRunnerName
public void ()
public void setDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice device
public com.android.tradefed.device.ITestDevice getDevice ()
public void setLoggingOption (com.android.tradefed.testtype.UiAutomatorTest$LoggingOption)
com.android.tradefed.testtype.UiAutomatorTest$LoggingOption loggingOption
public void setCaptureLogs (boolean)
boolean captureLogs
public void setRunName (java.lang.String)
String runName
public void run (com.android.tradefed.result.ITestInvocationListener) throws com.android.tradefed.device.DeviceNotAvailableException
java.util.Map$Entry entry
java.io.IOException e
com.android.tradefed.result.ITestInvocationListener listener
protected com.android.ddmlib.testrunner.IRemoteAndroidTestRunner createTestRunner ()
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
private void buildJarPaths () throws com.android.tradefed.device.DeviceNotAvailableException
String rawFile
String rawFileString
String[] rawFiles
public void addRunArg (java.lang.String, java.lang.String)
String key
String value
protected void preTestSetup () throws com.android.tradefed.device.DeviceNotAvailableException
String jarPath
String runnerPath
protected void onScreenshotAndBugreport (com.android.tradefed.device.ITestDevice, com.android.tradefed.result.ITestInvocationListener, java.lang.String)
com.android.tradefed.device.ITestDevice device
com.android.tradefed.result.ITestInvocationListener listener
String prefix
protected void onScreenshotAndBugreport (com.android.tradefed.device.ITestDevice, com.android.tradefed.result.ITestInvocationListener, java.lang.String, com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction)
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.result.InputStreamSource screenshot
com.android.tradefed.result.InputStreamSource data
com.android.tradefed.device.ITestDevice device
com.android.tradefed.result.ITestInvocationListener listener
String prefix
com.android.tradefed.testtype.UiAutomatorTest$TestFailureAction overrideAction
private void logTraceFiles (com.android.tradefed.result.ITestInvocationListener, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException java.io.IOException
java.io.File pulledFile
com.android.tradefed.device.IFileEntry traceFile
java.io.File testTmpDirectory
com.android.tradefed.device.IFileEntry testDirectory
java.io.File atraceZip
com.android.tradefed.result.FileInputStreamSource streamSource
com.android.tradefed.device.IFileEntry traceSrcDir
com.android.tradefed.result.ITestInvocationListener listener
String traceSrcDirectory
java.io.File tmpDestDir
protected com.android.tradefed.util.IRunUtil getRunUtil ()
public long getSyncTime ()
public void setSyncTime (long)
long syncTime
public com.android.ddmlib.testrunner.IRemoteAndroidTestRunner getTestRunner ()
public java.util.List getTestJarPaths ()
public void setTestJarPaths (java.util.List)
java.util.List jarPaths
public java.util.Map getTestRunArgMap ()
public void setTestRunArgMap (java.util.Map)
java.util.Map runArgMap
public void addClassName (java.lang.String)
String className
public void addClassNames (java.util.Collection)
java.util.Collection classNames
public boolean isInstrumentationTest ()
public void setRunnerName (java.lang.String)
String runnerName
public java.util.List getClassNames ()
static com.android.tradefed.testtype.UiAutomatorTest$LoggingOption access$000 (com.android.tradefed.testtype.UiAutomatorTest)
com.android.tradefed.testtype.UiAutomatorTest x0
}
com/android/tradefed/testtype/IRetriableTest.classIRetriableTest.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.IRetriableTest extends java.lang.Object implements com.android.tradefed.testtype.IRemoteTest {
public abstract boolean isRetriable ()
}
com/android/tradefed/testtype/IRuntimeHintProvider.classIRuntimeHintProvider.java
package com.android.tradefed.testtype
public abstract com.android.tradefed.testtype.IRuntimeHintProvider extends java.lang.Object {
public abstract long getRuntimeHint ()
}
com/android/tradefed/device/
com/android/tradefed/device/CpuStatsCollector$CpuStats.classCpuStatsCollector.java
package com.android.tradefed.device
public com.android.tradefed.device.CpuStatsCollector$CpuStats extends java.lang.Object {
public java.util.Map mTimeStats
public java.util.Map mFreqStats
private java.util.Map mPercentageStats
private Integer mTotalTime
private Double mAverageMhz
public void ()
public java.lang.Double getPercentage (com.android.tradefed.device.CpuStatsCollector$TimeCategory)
com.android.tradefed.device.CpuStatsCollector$TimeCategory category
public java.lang.Double getEstimatedMhz ()
public java.lang.Double getUsedMhzPercentage ()
private java.lang.Double getTotalUsage ()
private java.lang.Double getAverageMhz ()
java.util.Map$Entry e
double sumFreqTime
long sumTime
private java.lang.Double getMaxMhz ()
int freq
int max
private java.lang.Integer getTotalTime ()
int time
int sum
static java.lang.Double access$000 (com.android.tradefed.device.CpuStatsCollector$CpuStats)
com.android.tradefed.device.CpuStatsCollector$CpuStats x0
}
com/android/tradefed/device/DumpsysPackageReceiver$HiddenPackageParserState.classDumpsysPackageReceiver.java
package com.android.tradefed.device
com.android.tradefed.device.DumpsysPackageReceiver$HiddenPackageParserState extends java.lang.Object implements com.android.tradefed.device.DumpsysPackageReceiver$ParserState {
private com.android.tradefed.device.PackageInfo mPkgInfo
final com.android.tradefed.device.DumpsysPackageReceiver this$0
public void (com.android.tradefed.device.DumpsysPackageReceiver, java.lang.String) throws com.android.tradefed.device.DumpsysPackageReceiver$ParseException
String name
public com.android.tradefed.device.DumpsysPackageReceiver$ParserState parse (java.lang.String) throws com.android.tradefed.device.DumpsysPackageReceiver$ParseException
String name
String line
java.util.regex.Matcher matcher
}
com/android/tradefed/device/DeviceManager$3.classDeviceManager.java
package com.android.tradefed.device
final com.android.tradefed.device.DeviceManager$3 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.command.remote.DeviceDescriptor)
com.android.tradefed.command.remote.DeviceDescriptor o1
com.android.tradefed.command.remote.DeviceDescriptor o2
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/android/tradefed/device/DeviceAllocationEventHandler$CheckingAvailHandler.classDeviceAllocationEventHandler.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceAllocationEventHandler$CheckingAvailHandler extends java.lang.Object implements com.android.tradefed.device.DeviceAllocationEventHandler {
public void ()
public com.android.tradefed.device.DeviceAllocationState handleDeviceEvent (com.android.tradefed.device.DeviceEvent)
com.android.tradefed.device.DeviceEvent event
}
com/android/tradefed/device/AndroidNativeDevice$AdbAction.classAndroidNativeDevice.java
package com.android.tradefed.device
public com.android.tradefed.device.AndroidNativeDevice$AdbAction extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
String mOutput
private String[] mCmd
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, java.lang.String[])
com.android.tradefed.device.AndroidNativeDevice this$0
String[] cmd
public boolean run () throws com.android.ddmlib.TimeoutException java.io.IOException
com.android.tradefed.util.CommandResult result
}
com/android/tradefed/device/DeviceManager$FastbootDevice.classDeviceManager.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceManager$FastbootDevice extends com.android.tradefed.device.StubDevice {
void (java.lang.String)
String serial
}
com/android/tradefed/device/CpuStatsCollector.classCpuStatsCollector.java
package com.android.tradefed.device
public com.android.tradefed.device.CpuStatsCollector extends java.lang.Thread {
private static final String CPU_STATS_CMD
private final com.android.tradefed.device.ITestDevice mTestDevice
private long mDelay
private com.android.tradefed.device.CpuStatsCollector$CpuStatsReceiver mReceiver
public void (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice testDevice
public void (com.android.tradefed.device.ITestDevice, int)
com.android.tradefed.device.ITestDevice testDevice
int delay
public void logToFile (java.io.File)
java.io.File logFile
public synchronized void cancel ()
public synchronized boolean isCancelled ()
public void run ()
com.android.tradefed.device.DeviceNotAvailableException e
public java.util.Map getCpuStats ()
public static java.lang.Double getTotalPercentageMean (java.util.List)
com.android.tradefed.device.CpuStatsCollector$CpuStats s
java.util.List cpuStats
com.android.tradefed.util.SimpleStats stats
public static java.lang.Double getUserPercentageMean (java.util.List)
java.util.List cpuStats
public static java.lang.Double getSystemPercentageMean (java.util.List)
java.util.List cpuStats
public static java.lang.Double getIowPercentageMean (java.util.List)
java.util.List cpuStats
public static java.lang.Double getIrqPercentageMean (java.util.List)
java.util.List cpuStats
public static java.lang.Double getEstimatedMhzMean (java.util.List)
com.android.tradefed.device.CpuStatsCollector$CpuStats s
java.util.List cpuStats
com.android.tradefed.util.SimpleStats stats
public static java.lang.Double getUsedMhzPercentageMean (java.util.List)
com.android.tradefed.device.CpuStatsCollector$CpuStats s
java.util.List cpuStats
com.android.tradefed.util.SimpleStats stats
private static java.lang.Double getPercentageMean (java.util.List, com.android.tradefed.device.CpuStatsCollector$TimeCategory)
com.android.tradefed.device.CpuStatsCollector$CpuStats s
java.util.List cpuStats
com.android.tradefed.device.CpuStatsCollector$TimeCategory category
com.android.tradefed.util.SimpleStats stats
com.android.tradefed.device.CpuStatsCollector$CpuStatsReceiver getReceiver ()
}
com/android/tradefed/device/ManagedDeviceList.classManagedDeviceList.java
package com.android.tradefed.device
com.android.tradefed.device.ManagedDeviceList extends java.lang.Object implements java.lang.Iterable {
private final java.util.concurrent.locks.ReentrantLock mListLock
private java.util.List mList
private final com.android.tradefed.device.IManagedTestDeviceFactory mDeviceFactory
public void (com.android.tradefed.device.IManagedTestDeviceFactory)
com.android.tradefed.device.IManagedTestDeviceFactory d
public java.util.Iterator iterator ()
java.util.List getCopy ()
java.util.List l
public int size ()
public com.android.tradefed.device.IManagedTestDevice find (java.lang.String)
String serialNumber
private boolean isValidDeviceSerial (java.lang.String)
String serial
public void updateFastbootStates (java.util.Set)
com.android.tradefed.device.IManagedTestDevice d
java.util.Set serials
public com.android.tradefed.device.IManagedTestDevice allocate (com.android.tradefed.device.IDeviceSelection)
com.android.tradefed.device.IManagedTestDevice d
java.util.Iterator iterator
com.android.tradefed.device.IDeviceSelection options
com.android.tradefed.device.ManagedDeviceList$AllocationMatcher m
private com.android.tradefed.device.IManagedTestDevice find (com.android.tradefed.util.ConditionPriorityBlockingQueue$IMatcher)
com.android.tradefed.device.IManagedTestDevice d
com.android.tradefed.util.ConditionPriorityBlockingQueue$IMatcher m
void clear ()
public com.android.tradefed.device.IManagedTestDevice findOrCreate (com.android.ddmlib.IDevice)
com.android.tradefed.device.IManagedTestDevice d
com.android.ddmlib.IDevice idevice
void add (com.android.tradefed.device.IManagedTestDevice)
com.android.tradefed.device.IManagedTestDevice device
public com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse handleDeviceEvent (com.android.tradefed.device.IManagedTestDevice, com.android.tradefed.device.DeviceEvent)
com.android.tradefed.device.IManagedTestDevice d
com.android.tradefed.device.DeviceEvent event
com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse r
private void remove (com.android.tradefed.device.IManagedTestDevice)
com.android.tradefed.device.IManagedTestDevice d
}
com/android/tradefed/device/DeviceManager.classDeviceManager.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceManager extends java.lang.Object implements com.android.tradefed.device.IDeviceManager {
private static final long FASTBOOT_CMD_TIMEOUT
private static final long FASTBOOT_POLL_WAIT_TIME
private static final int CHECK_WAIT_DEVICE_AVAIL_MS
private static final long MAX_EMULATOR_OUTPUT
private static final String EMULATOR_OUTPUT
static final com.android.tradefed.device.IDeviceSelection ANY_DEVICE_OPTIONS
private static final String NULL_DEVICE_SERIAL_PREFIX
private static final String EMULATOR_SERIAL_PREFIX
private static final String TCP_DEVICE_SERIAL_PREFIX
protected com.android.tradefed.device.DeviceMonitorMultiplexer mDvcMon
private boolean mIsInitialized
private com.android.tradefed.device.ManagedDeviceList mManagedDeviceList
private com.android.tradefed.device.IAndroidDebugBridge mAdbBridge
private com.android.tradefed.device.DeviceManager$ManagedDeviceListener mManagedDeviceListener
protected boolean mFastbootEnabled
private java.util.Set mFastbootListeners
private com.android.tradefed.device.DeviceManager$FastbootMonitor mFastbootMonitor
private boolean mIsTerminated
private com.android.tradefed.device.IDeviceSelection mGlobalDeviceFilter
private int mNumEmulatorSupported
private int mNumNullDevicesSupported
private int mNumTcpDevicesSupported
private boolean mSynchronousMode
private long mDeviceRecoveryInterval
private String mAdbPath
private com.android.tradefed.device.DeviceManager$DeviceRecoverer mDeviceRecoverer
private java.util.List mGlobalHostMonitors
public void ()
public void init ()
public void init (com.android.tradefed.device.IDeviceSelection, java.util.List)
com.android.tradefed.device.IDeviceSelection globalDeviceFilter
java.util.List globalDeviceMonitors
public synchronized void init (com.android.tradefed.device.IDeviceSelection, java.util.List, com.android.tradefed.device.IManagedTestDeviceFactory)
com.android.tradefed.util.IHostMonitor hm
com.android.tradefed.device.IDeviceSelection globalDeviceFilter
java.util.List globalDeviceMonitors
com.android.tradefed.device.IManagedTestDeviceFactory deviceFactory
com.android.tradefed.device.FastbootHelper fastboot
java.util.List recoverers
void setSynchronousMode (boolean)
boolean syncMode
private void checkInit ()
void startFastbootMonitor ()
void startDeviceRecoverer ()
com.android.tradefed.config.IGlobalConfiguration getGlobalConfig ()
com.android.tradefed.util.IRunUtil getRunUtil ()
com.android.tradefed.util.IRunUtil createRunUtil ()
private void checkAndAddAvailableDevice (com.android.tradefed.device.IManagedTestDevice)
Thread checkThread
com.android.tradefed.device.IManagedTestDevice testDevice
String threadName
Runnable checkRunnable
private void addNullDevices ()
int i
private void addEmulators ()
int i
int port
private void addTcpDevices ()
int i
public void addAvailableDevice (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice stubDevice
com.android.tradefed.device.IManagedTestDevice d
private void addFastbootDevices ()
com.android.tradefed.device.DeviceManager$FastbootDevice d
String serial
com.android.tradefed.device.FastbootHelper fastboot
java.util.Set serials
com.android.tradefed.device.IDeviceStateMonitor createStateMonitor (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice device
public com.android.tradefed.device.ITestDevice allocateDevice ()
public com.android.tradefed.device.ITestDevice allocateDevice (com.android.tradefed.device.IDeviceSelection)
com.android.tradefed.device.IDeviceSelection options
public com.android.tradefed.device.ITestDevice forceAllocateDevice (java.lang.String)
com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse r
String serial
com.android.tradefed.device.IManagedTestDevice d
synchronized com.android.tradefed.device.IAndroidDebugBridge createAdbBridge ()
public void freeDevice (com.android.tradefed.device.ITestDevice, com.android.tradefed.device.FreeDeviceState)
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.device.ITestDevice device
com.android.tradefed.device.FreeDeviceState deviceState
com.android.tradefed.device.IManagedTestDevice managedDevice
com.android.ddmlib.IDevice ideviceToReturn
com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse r
static com.android.tradefed.device.DeviceEvent getEventFromFree (com.android.tradefed.device.IManagedTestDevice, com.android.tradefed.device.FreeDeviceState)
com.android.tradefed.device.IManagedTestDevice managedDevice
com.android.tradefed.device.FreeDeviceState deviceState
public void launchEmulator (com.android.tradefed.device.ITestDevice, long, com.android.tradefed.util.IRunUtil, java.util.List) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.util.SizeLimitedOutputStream emulatorOutput
Process p
com.android.tradefed.device.TestDevice testDevice
java.io.IOException e
com.android.tradefed.device.ITestDevice device
long bootTimeout
com.android.tradefed.util.IRunUtil runUtil
java.util.List emulatorArgs
java.util.List fullArgs
private void assertEmulatorProcessAlive (java.lang.Process, com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
Process p
com.android.tradefed.device.ITestDevice device
private boolean isProcessRunning (java.lang.Process)
IllegalThreadStateException e
Process p
public void killEmulator (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.ddmlib.EmulatorConsole console
Process emulatorProcess
private void forceKillProcess (java.lang.Process, java.lang.String)
java.lang.reflect.Field f
Integer pid
NoSuchFieldException e
IllegalAccessException e
Process emulatorProcess
String emulatorSerial
public com.android.tradefed.device.ITestDevice connectToTcpDevice (java.lang.String)
com.android.tradefed.device.DeviceNotAvailableException e
String ipAndPort
com.android.tradefed.device.ITestDevice tcpDevice
public com.android.tradefed.device.ITestDevice reconnectDeviceToTcp (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IManagedTestDevice managedUsbDevice
String ipAndPort
com.android.tradefed.device.ITestDevice usbDevice
com.android.tradefed.device.ITestDevice tcpDevice
public boolean disconnectFromTcpDevice (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.device.ITestDevice tcpDevice
boolean result
private boolean doAdbConnect (java.lang.String)
String adbConnectResult
int i
String ipAndPort
String resultSuccess
public transient java.lang.String executeGlobalAdbCommand (java.lang.String[])
String[] cmdArgs
String[] fullCmd
com.android.tradefed.util.CommandResult result
public synchronized void terminate ()
com.android.tradefed.util.IHostMonitor hm
public synchronized void terminateHard ()
com.android.tradefed.device.IManagedTestDevice device
public java.util.List listAllDevices ()
com.android.ddmlib.IDevice idevice
com.android.tradefed.device.IManagedTestDevice d
java.util.List serialStates
com.android.tradefed.device.IDeviceSelection selector
public void displayDevicesInfo (java.io.PrintWriter)
java.io.PrintWriter stream
java.util.ArrayList displayRows
java.util.List deviceList
static java.util.List sortDeviceList (java.util.List)
java.util.List deviceList
java.util.Comparator c
com.android.tradefed.device.IDeviceSelection getDeviceSelectionOptions ()
private void addDevicesInfo (java.util.List, java.util.List)
com.android.tradefed.command.remote.DeviceDescriptor desc
java.util.List displayRows
java.util.List sortedDeviceList
private java.lang.String getDisplay (java.lang.Object)
Object o
public void addFastbootListener (com.android.tradefed.device.IDeviceManager$IFastbootListener)
com.android.tradefed.device.IDeviceManager$IFastbootListener listener
public void removeFastbootListener (com.android.tradefed.device.IDeviceManager$IFastbootListener)
com.android.tradefed.device.IDeviceManager$IFastbootListener listener
java.util.List getDeviceList ()
void setMaxEmulators (int)
int numEmulators
void setMaxNullDevices (int)
int nullDevices
void setMaxTcpDevices (int)
int tcpDevices
public boolean isNullDevice (java.lang.String)
String serial
public boolean isEmulator (java.lang.String)
String serial
public void addDeviceMonitor (com.android.tradefed.device.IDeviceMonitor)
com.android.tradefed.device.IDeviceMonitor mon
public void removeDeviceMonitor (com.android.tradefed.device.IDeviceMonitor)
com.android.tradefed.device.IDeviceMonitor mon
static com.android.tradefed.device.ManagedDeviceList access$100 (com.android.tradefed.device.DeviceManager)
com.android.tradefed.device.DeviceManager x0
static void access$300 (com.android.tradefed.device.DeviceManager, com.android.tradefed.device.IManagedTestDevice)
com.android.tradefed.device.DeviceManager x0
com.android.tradefed.device.IManagedTestDevice x1
static java.util.Set access$400 (com.android.tradefed.device.DeviceManager)
com.android.tradefed.device.DeviceManager x0
static long access$500 (com.android.tradefed.device.DeviceManager)
com.android.tradefed.device.DeviceManager x0
static void ()
}
com/android/tradefed/device/DeviceManager$ManagedDeviceListener.classDeviceManager.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceManager$ManagedDeviceListener extends java.lang.Object implements com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener {
final com.android.tradefed.device.DeviceManager this$0
private void (com.android.tradefed.device.DeviceManager)
public void deviceChanged (com.android.ddmlib.IDevice, int)
com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse r
com.android.tradefed.device.IManagedTestDevice testDevice
com.android.tradefed.device.TestDeviceState newState
com.android.ddmlib.IDevice idevice
int changeMask
public void deviceConnected (com.android.ddmlib.IDevice)
com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse r
com.android.ddmlib.IDevice idevice
com.android.tradefed.device.IManagedTestDevice testDevice
com.android.tradefed.device.TestDeviceState newState
public void deviceDisconnected (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice disconnectedDevice
com.android.tradefed.device.IManagedTestDevice d
void (com.android.tradefed.device.DeviceManager, com.android.tradefed.device.DeviceManager$1)
com.android.tradefed.device.DeviceManager x0
com.android.tradefed.device.DeviceManager$1 x1
}
com/android/tradefed/device/DeviceStateMonitor.classDeviceStateMonitor.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceStateMonitor extends com.android.tradefed.device.AndroidNativeDeviceStateMonitor {
public void (com.android.tradefed.device.IDeviceManager, com.android.ddmlib.IDevice, boolean)
com.android.tradefed.device.IDeviceManager mgr
com.android.ddmlib.IDevice device
boolean fastbootEnabled
protected boolean waitForPmResponsive (long)
String output
java.io.IOException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
com.android.ddmlib.CollectingOutputReceiver receiver
String cmd
long waitTime
long startTime
int counter
protected boolean postOnlineCheck (long)
long waitTime
long startTime
long elapsedTime
}
com/android/tradefed/device/WifiHelper$1.classWifiHelper.java
package com.android.tradefed.device
com.android.tradefed.device.WifiHelper$1 extends java.lang.Object {
}
com/android/tradefed/device/DeviceUtilStatsMonitor.classDeviceUtilStatsMonitor.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceUtilStatsMonitor extends java.lang.Object implements com.android.tradefed.device.IDeviceMonitor {
private static final int mInitialDelayMs
private com.android.tradefed.device.DeviceUtilStatsMonitor$StubDeviceUtil mCollectNullDevice
private com.android.tradefed.device.DeviceUtilStatsMonitor$StubDeviceUtil mCollectEmulator
private int mSampleWindowHours
private int mSamplingIntervalSec
private boolean mNullDeviceAllocated
private boolean mEmulatorAllocated
private int mMaxSamples
private java.util.Map mDeviceUtilMap
private com.android.tradefed.device.IDeviceMonitor$DeviceLister mDeviceLister
private java.util.Timer mTimer
private com.android.tradefed.device.DeviceUtilStatsMonitor$SamplingTask mSamplingTask
static final boolean $assertionsDisabled
public void ()
public synchronized com.android.tradefed.device.DeviceUtilStatsMonitor$UtilizationDesc getUtilizationStats ()
long allocSamples
long numSamples
java.util.Map$Entry deviceRecordEntry
long totalAllocSamples
long totalSamples
java.util.Map deviceUtilMap
private static int getUtil (long, long)
long allocSamples
long numSamples
public void run ()
public void setDeviceLister (com.android.tradefed.device.IDeviceMonitor$DeviceLister)
com.android.tradefed.device.IDeviceMonitor$DeviceLister lister
public synchronized void notifyDeviceStateChange (java.lang.String, com.android.tradefed.device.DeviceAllocationState, com.android.tradefed.device.DeviceAllocationState)
com.android.tradefed.device.IDeviceManager dvcMgr
String serial
com.android.tradefed.device.DeviceAllocationState oldState
com.android.tradefed.device.DeviceAllocationState newState
private com.android.tradefed.device.DeviceUtilStatsMonitor$DeviceUtilRecord getDeviceRecord (java.lang.String)
String serial
com.android.tradefed.device.DeviceUtilStatsMonitor$DeviceUtilRecord r
private boolean shouldTrackDevice (java.lang.String)
String serial
com.android.tradefed.device.IDeviceManager dvcMgr
com.android.tradefed.device.IDeviceManager getDeviceManager ()
java.util.TimerTask getSamplingTask ()
void calculateMaxSamples ()
void setMaxSamples (int)
int maxSamples
int getMaxSamples ()
static int access$000 (com.android.tradefed.device.DeviceUtilStatsMonitor)
com.android.tradefed.device.DeviceUtilStatsMonitor x0
static java.util.Map access$100 (com.android.tradefed.device.DeviceUtilStatsMonitor)
com.android.tradefed.device.DeviceUtilStatsMonitor x0
static com.android.tradefed.device.IDeviceMonitor$DeviceLister access$200 (com.android.tradefed.device.DeviceUtilStatsMonitor)
com.android.tradefed.device.DeviceUtilStatsMonitor x0
static com.android.tradefed.device.DeviceUtilStatsMonitor$DeviceUtilRecord access$300 (com.android.tradefed.device.DeviceUtilStatsMonitor, java.lang.String)
com.android.tradefed.device.DeviceUtilStatsMonitor x0
String x1
static void ()
}
com/android/tradefed/device/IMultiDeviceRecovery.classIMultiDeviceRecovery.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IMultiDeviceRecovery extends java.lang.Object {
public abstract void recoverDevices (java.util.List)
}
com/android/tradefed/device/DeviceUtilStatsMonitor$UtilizationDesc.classDeviceUtilStatsMonitor.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceUtilStatsMonitor$UtilizationDesc extends java.lang.Object {
final int mTotalUtil
final java.util.Map mDeviceUtil
public void (int, java.util.Map)
int totalUtil
java.util.Map deviceUtil
public int getTotalUtil ()
public java.lang.Integer getUtilForDevice (java.lang.String)
String serial
Integer util
}
com/android/tradefed/device/AndroidNativeDevice$1.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$1 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final String[] val$result
final String val$name
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, java.lang.String[], java.lang.String)
com.android.tradefed.device.AndroidNativeDevice this$0
public boolean run () throws java.io.IOException com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException com.android.ddmlib.InstallException com.android.ddmlib.SyncException
Exception e
}
com/android/tradefed/device/IDeviceRecovery.classIDeviceRecovery.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IDeviceRecovery extends java.lang.Object {
public abstract void recoverDevice (com.android.tradefed.device.IDeviceStateMonitor, boolean) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void recoverDeviceRecovery (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void recoverDeviceBootloader (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
}
com/android/tradefed/device/DeviceDisconnectedException.classDeviceDisconnectedException.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceDisconnectedException extends com.android.tradefed.device.DeviceNotAvailableException {
private static final long serialVersionUID
public void ()
public void (java.lang.String)
String msg
public void (java.lang.String, java.lang.String)
String msg
String serial
public void (java.lang.String, java.lang.Throwable)
String msg
Throwable cause
public void (java.lang.String, java.lang.Throwable, java.lang.String)
String msg
Throwable cause
String serial
}
com/android/tradefed/device/AndroidNativeDevice$2.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$2 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final String val$command
final com.android.ddmlib.IShellOutputReceiver val$receiver
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, java.lang.String, com.android.ddmlib.IShellOutputReceiver)
com.android.tradefed.device.AndroidNativeDevice this$0
public boolean run () throws com.android.ddmlib.TimeoutException java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException
}
com/android/tradefed/device/IFileEntry.classIFileEntry.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IFileEntry extends java.lang.Object {
public abstract java.lang.String getFullEscapedPath ()
public abstract java.lang.String getFullPath ()
public abstract boolean isDirectory ()
public abstract com.android.tradefed.device.IFileEntry findChild (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean isAppFileName ()
public abstract java.lang.String getName ()
public abstract java.lang.String getTime ()
public abstract java.lang.String getDate ()
public abstract java.lang.String getPermissions ()
public abstract java.util.Collection getChildren (boolean) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.ddmlib.FileListingService$FileEntry getFileEntry ()
}
com/android/tradefed/device/RemoteAndroidDevice.classRemoteAndroidDevice.java
package com.android.tradefed.device
public com.android.tradefed.device.RemoteAndroidDevice extends com.android.tradefed.device.TestDevice {
public static final long WAIT_FOR_ADB_CONNECT
protected static final long RETRY_INTERVAL_MS
protected static final int MAX_RETRIES
protected static final long DEFAULT_SHORT_CMD_TIMEOUT
private static final String ADB_SUCCESS_CONNECT_TAG
private static final String ADB_ALREADY_CONNECTED_TAG
private static final String ADB_CONN_REFUSED
public void (com.android.ddmlib.IDevice, com.android.tradefed.device.IDeviceStateMonitor, com.android.tradefed.device.IDeviceMonitor)
com.android.ddmlib.IDevice device
com.android.tradefed.device.IDeviceStateMonitor stateMonitor
com.android.tradefed.device.IDeviceMonitor allocationMonitor
public void postAdbRootAction () throws com.android.tradefed.device.DeviceNotAvailableException
public void postAdbUnrootAction () throws com.android.tradefed.device.DeviceNotAvailableException
public java.lang.String getHostName ()
public java.lang.String getPortNum ()
private boolean checkSerialFormatValid ()
NumberFormatException nfe
String[] serial
public boolean adbTcpConnect (java.lang.String, java.lang.String)
com.android.tradefed.util.CommandResult result
int i
String host
String port
private boolean confirmAdbTcpConnect (java.lang.String, java.lang.String)
String host
String port
com.android.tradefed.util.CommandResult resultConfirmation
public boolean adbTcpDisconnect (java.lang.String, java.lang.String)
String host
String port
com.android.tradefed.util.CommandResult result
public void waitForAdbConnect (long) throws com.android.tradefed.device.DeviceNotAvailableException
long waitTime
long startTime
public boolean isEncryptionSupported ()
}
com/android/tradefed/device/DeviceManager$4.classDeviceManager.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceManager$4 extends java.lang.Object {
static final int[] $SwitchMap$com$android$tradefed$device$FreeDeviceState
static void ()
}
com/android/tradefed/device/DeviceManager$AbortRecovery.classDeviceManager.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceManager$AbortRecovery extends java.lang.Object implements com.android.tradefed.device.IDeviceRecovery {
private void ()
public void recoverDevice (com.android.tradefed.device.IDeviceStateMonitor, boolean) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
boolean recoverUntilOnline
public void recoverDeviceBootloader (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
public void recoverDeviceRecovery (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
void (com.android.tradefed.device.DeviceManager$1)
com.android.tradefed.device.DeviceManager$1 x0
}
com/android/tradefed/device/TopHelper$TopStats.classTopHelper.java
package com.android.tradefed.device
public com.android.tradefed.device.TopHelper$TopStats extends java.lang.Object {
public Double mTotalPercent
public Double mUserPercent
public Double mSystemPercent
public Double mIowPercent
public Double mIrqPercent
public void ()
}
com/android/tradefed/device/ITestDevice$MountPointInfo.classITestDevice.java
package com.android.tradefed.device
public com.android.tradefed.device.ITestDevice$MountPointInfo extends java.lang.Object {
public String filesystem
public String mountpoint
public String type
public java.util.List options
public void ()
public void (java.lang.String, java.lang.String, java.lang.String, java.util.List)
String filesystem
String mountpoint
String type
java.util.List options
public void (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
String filesystem
String mountpoint
String type
String optString
public static java.util.List splitMountOptions (java.lang.String)
String options
java.util.List list
public java.lang.String toString ()
}
com/android/tradefed/device/DeviceAllocationEventHandler$AllocatedHandler.classDeviceAllocationEventHandler.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceAllocationEventHandler$AllocatedHandler extends java.lang.Object implements com.android.tradefed.device.DeviceAllocationEventHandler {
public void ()
public com.android.tradefed.device.DeviceAllocationState handleDeviceEvent (com.android.tradefed.device.DeviceEvent)
com.android.tradefed.device.DeviceEvent event
}
com/android/tradefed/device/CpuStatsCollector$TimeCategory.classCpuStatsCollector.java
package com.android.tradefed.device
final com.android.tradefed.device.CpuStatsCollector$TimeCategory extends java.lang.Enum {
public static final com.android.tradefed.device.CpuStatsCollector$TimeCategory USER
public static final com.android.tradefed.device.CpuStatsCollector$TimeCategory NICE
public static final com.android.tradefed.device.CpuStatsCollector$TimeCategory SYS
public static final com.android.tradefed.device.CpuStatsCollector$TimeCategory IDLE
public static final com.android.tradefed.device.CpuStatsCollector$TimeCategory IOW
public static final com.android.tradefed.device.CpuStatsCollector$TimeCategory IRQ
public static final com.android.tradefed.device.CpuStatsCollector$TimeCategory SIRQ
private static final com.android.tradefed.device.CpuStatsCollector$TimeCategory[] $VALUES
public static com.android.tradefed.device.CpuStatsCollector$TimeCategory[] values ()
public static com.android.tradefed.device.CpuStatsCollector$TimeCategory valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/device/FastbootHelper.classFastbootHelper.java
package com.android.tradefed.device
public com.android.tradefed.device.FastbootHelper extends java.lang.Object {
private static final long FASTBOOT_CMD_TIMEOUT
private com.android.tradefed.util.IRunUtil mRunUtil
public void (com.android.tradefed.util.IRunUtil)
com.android.tradefed.util.IRunUtil runUtil
public boolean isFastbootAvailable ()
com.android.tradefed.util.CommandResult fastbootResult
public java.util.Set getDevices ()
com.android.tradefed.util.CommandResult fastbootResult
java.util.Set parseDevices (java.lang.String)
String fastbootOutput
java.util.Set serials
java.util.regex.Pattern fastbootPattern
java.util.regex.Matcher fastbootMatcher
public java.lang.String executeCommand (java.lang.String, java.lang.String)
String serial
String command
com.android.tradefed.util.CommandResult fastbootResult
}
com/android/tradefed/device/AndroidNativeDevice$9.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$9 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final String val$into
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, java.lang.String)
com.android.tradefed.device.AndroidNativeDevice this$0
public boolean run () throws com.android.ddmlib.TimeoutException java.io.IOException com.android.ddmlib.AdbCommandRejectedException
}
com/android/tradefed/device/IManagedTestDevice$DeviceEventResponse.classIManagedTestDevice.java
package com.android.tradefed.device
public com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse extends java.lang.Object {
final com.android.tradefed.device.DeviceAllocationState allocationState
final boolean stateChanged
void (com.android.tradefed.device.DeviceAllocationState, boolean)
com.android.tradefed.device.DeviceAllocationState s
boolean b
}
com/android/tradefed/device/CollectingOutputReceiver.classCollectingOutputReceiver.java
package com.android.tradefed.device
public com.android.tradefed.device.CollectingOutputReceiver extends java.lang.Object implements com.android.ddmlib.IShellOutputReceiver {
private StringBuffer mOutputBuffer
private boolean mIsCanceled
public void ()
public java.lang.String getOutput ()
public boolean isCancelled ()
public void cancel ()
public void addOutput (byte[], int, int)
java.io.UnsupportedEncodingException e
String s
byte[] data
int offset
int length
public void flush ()
}
com/android/tradefed/device/ManagedDeviceList$1.classManagedDeviceList.java
package com.android.tradefed.device
com.android.tradefed.device.ManagedDeviceList$1 extends java.lang.Object implements com.android.tradefed.util.ConditionPriorityBlockingQueue$IMatcher {
final String val$serialNumber
final com.android.tradefed.device.ManagedDeviceList this$0
void (com.android.tradefed.device.ManagedDeviceList, java.lang.String)
com.android.tradefed.device.ManagedDeviceList this$0
public boolean matches (com.android.tradefed.device.IManagedTestDevice)
com.android.tradefed.device.IManagedTestDevice element
public volatile boolean matches (java.lang.Object)
}
com/android/tradefed/device/TopHelper.classTopHelper.java
package com.android.tradefed.device
public com.android.tradefed.device.TopHelper extends java.lang.Thread {
private static final String TOP_CMD
private static final java.util.regex.Pattern TOP_PERCENT_PATTERN
private com.android.tradefed.device.ITestDevice mTestDevice
private int mDelay
private com.android.tradefed.device.TopHelper$TopReceiver mReceiver
public void (com.android.tradefed.device.ITestDevice, int)
com.android.tradefed.device.ITestDevice testDevice
int delay
public void (com.android.tradefed.device.ITestDevice)
com.android.tradefed.device.ITestDevice testDevice
public void logToFile (java.io.File)
java.io.File logFile
public synchronized void cancel ()
public synchronized boolean isCancelled ()
public void run ()
com.android.tradefed.device.DeviceNotAvailableException e
public java.util.List getTopStats ()
public static java.lang.Double getTotalAverage (java.util.List)
java.util.List topStats
public static java.lang.Double getUserAverage (java.util.List)
java.util.List topStats
public static java.lang.Double getSystemAverage (java.util.List)
java.util.List topStats
public static java.lang.Double getIowAverage (java.util.List)
java.util.List topStats
public static java.lang.Double getIrqAverage (java.util.List)
java.util.List topStats
private static java.lang.Double getAveragePercentage (java.util.List, com.android.tradefed.device.TopHelper$PercentCategory) throws java.lang.IndexOutOfBoundsException
com.android.tradefed.device.TopHelper$TopStats s
java.util.List topStats
com.android.tradefed.device.TopHelper$PercentCategory category
com.android.tradefed.util.SimpleStats stats
com.android.tradefed.device.TopHelper$TopReceiver getReceiver ()
static java.util.regex.Pattern access$000 ()
static void ()
}
com/android/tradefed/device/TopHelper$1.classTopHelper.java
package com.android.tradefed.device
com.android.tradefed.device.TopHelper$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$tradefed$device$TopHelper$PercentCategory
static void ()
}
com/android/tradefed/device/AndroidNativeDevice$RunFailureListener.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$RunFailureListener extends com.android.tradefed.result.StubTestRunListener {
private boolean mIsRunFailure
private void ()
public void testRunFailed (java.lang.String)
String message
public boolean isRunFailure ()
void (com.android.tradefed.device.AndroidNativeDevice$1)
com.android.tradefed.device.AndroidNativeDevice$1 x0
}
com/android/tradefed/device/AndroidDebugBridgeWrapper.classAndroidDebugBridgeWrapper.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidDebugBridgeWrapper extends java.lang.Object implements com.android.tradefed.device.IAndroidDebugBridge {
private com.android.ddmlib.AndroidDebugBridge mAdbBridge
void ()
public com.android.ddmlib.IDevice[] getDevices ()
public void addDeviceChangeListener (com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener)
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener listener
public void removeDeviceChangeListener (com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener)
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener listener
public void init (boolean, java.lang.String)
boolean clientSupport
String adbOsLocation
public void terminate ()
public void disconnectBridge ()
}
com/android/tradefed/device/TestDeviceOptions.classTestDeviceOptions.java
package com.android.tradefed.device
public com.android.tradefed.device.TestDeviceOptions extends java.lang.Object {
private boolean mEnableAdbRoot
private boolean mDisableKeyguard
private String mDisableKeyguardCmd
private boolean mEnableLogcat
private long mMaxLogcatDataSize
private String mLogcatOptions
private int mFastbootTimeout
private int mAdbRecoveryTimeout
private int mRebootTimeout
private boolean mUseFastbootErase
private int mUnencryptRebootTimeout
private long mOnlineTimeout
private long mAvailableTimeout
private String mPingIpOrHost
private String mConnCheckUrl
private int mWifiAttempts
private int mWifiRetryWaitTime
private boolean mWifiExpoRetryEnabled
private java.util.List mPostBootCommands
private boolean mDisableReboot
private Integer mCutoffBattery
public void ()
public boolean isEnableAdbRoot ()
public void setEnableAdbRoot (boolean)
boolean enableAdbRoot
public boolean isDisableKeyguard ()
public void setDisableKeyguard (boolean)
boolean disableKeyguard
public java.lang.String getDisableKeyguardCmd ()
public void setDisableKeyguardCmd (java.lang.String)
String disableKeyguardCmd
public long getMaxLogcatDataSize ()
public void setMaxLogcatDataSize (long)
long maxLogcatDataSize
public int getFastbootTimeout ()
public void setFastbootTimeout (int)
int fastbootTimeout
public int getAdbRecoveryTimeout ()
public void setAdbRecoveryTimeout (int)
int adbRecoveryTimeout
public int getRebootTimeout ()
public void setRebootTimeout (int)
int rebootTimeout
public boolean getUseFastbootErase ()
public void setUseFastbootErase (boolean)
boolean useFastbootErase
public int getUnencryptRebootTimeout ()
public void setUnencryptRebootTimeout (int)
int unencryptRebootTimeout
public long getOnlineTimeout ()
public void setOnlineTimeout (long)
long onlineTimeout
public long getAvailableTimeout ()
public java.lang.String getPingIpOrHost ()
public void setPingIpOrHost (java.lang.String)
String ipOrHost
public java.lang.String getConnCheckUrl ()
public void setConnCheckUrl (java.lang.String)
String url
public boolean isLogcatCaptureEnabled ()
public int getWifiAttempts ()
public void setWifiAttempts (int)
int wifiAttempts
public int getWifiRetryWaitTime ()
public java.util.List getPostBootCommands ()
public java.lang.Integer getCutoffBattery ()
public void setCutoffBattery (int)
int cutoffBattery
public java.lang.String getLogcatOptions ()
public void setLogcatOptions (java.lang.String)
String logcatOptions
public boolean shouldDisableReboot ()
public boolean isWifiExpoRetryEnabled ()
}
com/android/tradefed/device/StubDevice.classStubDevice.java
package com.android.tradefed.device
public com.android.tradefed.device.StubDevice extends java.lang.Object implements com.android.ddmlib.IDevice {
private String mSerial
private final boolean mIsEmulator
public void (java.lang.String)
String serial
public void (java.lang.String, boolean)
String serial
boolean isEmulator
public void setSerial (java.lang.String)
String serial
public void createForward (int, int) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
int localPort
int remotePort
public void executeShellCommand (java.lang.String, com.android.ddmlib.IShellOutputReceiver) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
String command
com.android.ddmlib.IShellOutputReceiver receiver
public void executeShellCommand (java.lang.String, com.android.ddmlib.IShellOutputReceiver, int) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
String command
com.android.ddmlib.IShellOutputReceiver receiver
int maxTimeToOutputResponse
public java.lang.String getAvdName ()
public com.android.ddmlib.Client getClient (java.lang.String)
String applicationName
public java.lang.String getClientName (int)
int pid
public com.android.ddmlib.Client[] getClients ()
public com.android.ddmlib.FileListingService getFileListingService ()
public java.lang.String getMountPoint (java.lang.String)
String name
public java.util.Map getProperties ()
public java.lang.String getProperty (java.lang.String)
String name
public int getPropertyCount ()
public com.android.ddmlib.RawImage getScreenshot () throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public com.android.ddmlib.RawImage getScreenshot (long, java.util.concurrent.TimeUnit) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
long timeout
java.util.concurrent.TimeUnit unit
public java.lang.String getSerialNumber ()
public com.android.ddmlib.IDevice$DeviceState getState ()
public com.android.ddmlib.SyncService getSyncService () throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public boolean hasClients ()
public transient java.lang.String installPackage (java.lang.String, boolean, java.lang.String[]) throws com.android.ddmlib.InstallException
String packageFilePath
boolean reinstall
String[] extraArgs
public transient void installPackages (java.util.List, int, boolean, java.lang.String[]) throws com.android.ddmlib.InstallException
java.util.List apkFilePaths
int timeOutInMs
boolean reinstall
String[] extraArgs
public transient java.lang.String installRemotePackage (java.lang.String, boolean, java.lang.String[]) throws com.android.ddmlib.InstallException
String remoteFilePath
boolean reinstall
String[] extraArgs
public boolean isBootLoader ()
public boolean isEmulator ()
public boolean isOffline ()
public boolean isOnline ()
public void reboot (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
String into
public void removeForward (int, int) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
int localPort
int remotePort
public void removeRemotePackage (java.lang.String) throws com.android.ddmlib.InstallException
String remoteFilePath
public void runEventLogService (com.android.ddmlib.log.LogReceiver) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
com.android.ddmlib.log.LogReceiver receiver
public void runLogService (java.lang.String, com.android.ddmlib.log.LogReceiver) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
String logname
com.android.ddmlib.log.LogReceiver receiver
public java.lang.String syncPackageToDevice (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException com.android.ddmlib.SyncException
String localFilePath
public java.lang.String uninstallPackage (java.lang.String) throws com.android.ddmlib.InstallException
String packageName
public void pushFile (java.lang.String, java.lang.String) throws java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.TimeoutException com.android.ddmlib.SyncException
String local
String remote
public void pullFile (java.lang.String, java.lang.String) throws java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.TimeoutException com.android.ddmlib.SyncException
String remote
String local
public java.lang.String getPropertySync (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
String name
public boolean arePropertiesSet ()
public java.lang.String getPropertyCacheOrSync (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
String name
public java.lang.Integer getBatteryLevel () throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException com.android.ddmlib.ShellCommandUnresponsiveException
public java.lang.Integer getBatteryLevel (long) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException com.android.ddmlib.ShellCommandUnresponsiveException
long freshnessMs
public void createForward (int, java.lang.String, com.android.ddmlib.IDevice$DeviceUnixSocketNamespace) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
int localPort
String remoteSocketName
com.android.ddmlib.IDevice$DeviceUnixSocketNamespace namespace
public void removeForward (int, java.lang.String, com.android.ddmlib.IDevice$DeviceUnixSocketNamespace) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
int localPort
String remoteSocketName
com.android.ddmlib.IDevice$DeviceUnixSocketNamespace namespace
public java.lang.String getName ()
public void executeShellCommand (java.lang.String, com.android.ddmlib.IShellOutputReceiver, long, java.util.concurrent.TimeUnit) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
String command
com.android.ddmlib.IShellOutputReceiver receiver
long maxTimeToOutputResponse
java.util.concurrent.TimeUnit maxTimeUnits
public boolean supportsFeature (com.android.ddmlib.IDevice$Feature)
com.android.ddmlib.IDevice$Feature feature
public void startScreenRecorder (java.lang.String, com.android.ddmlib.ScreenRecorderOptions, com.android.ddmlib.IShellOutputReceiver) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException com.android.ddmlib.ShellCommandUnresponsiveException
String remoteFilePath
com.android.ddmlib.ScreenRecorderOptions options
com.android.ddmlib.IShellOutputReceiver receiver
public boolean supportsFeature (com.android.ddmlib.IDevice$HardwareFeature)
com.android.ddmlib.IDevice$HardwareFeature arg0
public java.util.concurrent.Future getSystemProperty (java.lang.String)
String name
com.google.common.util.concurrent.SettableFuture f
public java.util.concurrent.Future getBattery ()
com.google.common.util.concurrent.SettableFuture f
public java.util.concurrent.Future getBattery (long, java.util.concurrent.TimeUnit)
long freshnessTime
java.util.concurrent.TimeUnit timeUnit
public java.util.List getAbis ()
public int getDensity ()
public java.lang.String getLanguage ()
public java.lang.String getRegion ()
public int getApiLevel ()
}
com/android/tradefed/device/AndroidNativeDeviceStateMonitor$NotifyFastbootListener.classAndroidNativeDeviceStateMonitor.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$NotifyFastbootListener extends java.lang.Object implements com.android.tradefed.device.IDeviceManager$IFastbootListener {
private void ()
public void stateUpdated ()
void (com.android.tradefed.device.AndroidNativeDeviceStateMonitor$1)
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$1 x0
}
com/android/tradefed/device/AndroidNativeDevice$4.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$4 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final com.android.ddmlib.testrunner.IRemoteAndroidTestRunner val$runner
final java.util.Collection val$listeners
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, java.util.Collection)
com.android.tradefed.device.AndroidNativeDevice this$0
public boolean run () throws java.io.IOException com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException com.android.ddmlib.InstallException com.android.ddmlib.SyncException
}
com/android/tradefed/device/DeviceUtilStatsMonitor$StubDeviceUtil.classDeviceUtilStatsMonitor.java
package com.android.tradefed.device
public final com.android.tradefed.device.DeviceUtilStatsMonitor$StubDeviceUtil extends java.lang.Enum {
public static final com.android.tradefed.device.DeviceUtilStatsMonitor$StubDeviceUtil IGNORE
public static final com.android.tradefed.device.DeviceUtilStatsMonitor$StubDeviceUtil INCLUDE_IF_USED
public static final com.android.tradefed.device.DeviceUtilStatsMonitor$StubDeviceUtil ALWAYS_INCLUDE
private static final com.android.tradefed.device.DeviceUtilStatsMonitor$StubDeviceUtil[] $VALUES
public static com.android.tradefed.device.DeviceUtilStatsMonitor$StubDeviceUtil[] values ()
public static com.android.tradefed.device.DeviceUtilStatsMonitor$StubDeviceUtil valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/device/DumpsysPackageReceiver$1.classDumpsysPackageReceiver.java
package com.android.tradefed.device
com.android.tradefed.device.DumpsysPackageReceiver$1 extends java.lang.Object {
}
com/android/tradefed/device/DeviceDiagTest.classDeviceDiagTest.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceDiagTest extends junit.framework.TestCase {
private static final String LOG_TAG
public void ()
public void testAllDevicesAvailable ()
int i
String device
java.util.Collection unavailDevices
private com.android.tradefed.device.IDeviceManager getDeviceManager ()
private java.util.Collection getUnavailableDevices ()
com.android.tradefed.command.remote.DeviceDescriptor deviceDesc
java.util.Collection unavailDevices
}
com/android/tradefed/device/DumpsysPackageReceiver.classDumpsysPackageReceiver.java
package com.android.tradefed.device
com.android.tradefed.device.DumpsysPackageReceiver extends com.android.ddmlib.MultiLineReceiver {
private static final String HIDDEN_SYSTEM_PACKAGES_PREFIX
private static final java.util.regex.Pattern PACKAGE_PATTERN
private java.util.Map mPkgInfoMap
private com.android.tradefed.device.DumpsysPackageReceiver$ParserState mCurrentState
private boolean mCancelled
void ()
void addPackage (java.lang.String, com.android.tradefed.device.PackageInfo)
String name
com.android.tradefed.device.PackageInfo pkgInfo
public java.util.Map getPackages ()
public boolean isCancelled ()
public void processNewLines (java.lang.String[])
String line
com.android.tradefed.device.DumpsysPackageReceiver$ParseException e
String[] lines
static java.util.regex.Pattern access$000 ()
static java.util.Map access$200 (com.android.tradefed.device.DumpsysPackageReceiver)
com.android.tradefed.device.DumpsysPackageReceiver x0
static void ()
}
com/android/tradefed/device/DeviceUnresponsiveException.classDeviceUnresponsiveException.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceUnresponsiveException extends com.android.tradefed.device.DeviceNotAvailableException {
public void ()
public void (java.lang.String)
String msg
public void (java.lang.String, java.lang.String)
String msg
String serial
public void (java.lang.String, java.lang.Throwable)
String msg
Throwable cause
public void (java.lang.String, java.lang.Throwable, java.lang.String)
String msg
Throwable cause
String serial
}
com/android/tradefed/device/TopHelper$PercentCategory.classTopHelper.java
package com.android.tradefed.device
final com.android.tradefed.device.TopHelper$PercentCategory extends java.lang.Enum {
public static final com.android.tradefed.device.TopHelper$PercentCategory TOTAL
public static final com.android.tradefed.device.TopHelper$PercentCategory USER
public static final com.android.tradefed.device.TopHelper$PercentCategory SYSTEM
public static final com.android.tradefed.device.TopHelper$PercentCategory IOW
public static final com.android.tradefed.device.TopHelper$PercentCategory IRQ
private static final com.android.tradefed.device.TopHelper$PercentCategory[] $VALUES
public static com.android.tradefed.device.TopHelper$PercentCategory[] values ()
public static com.android.tradefed.device.TopHelper$PercentCategory valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/device/DeviceAllocationEventHandler$UnavailableHandler.classDeviceAllocationEventHandler.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceAllocationEventHandler$UnavailableHandler extends java.lang.Object implements com.android.tradefed.device.DeviceAllocationEventHandler {
public void ()
public com.android.tradefed.device.DeviceAllocationState handleDeviceEvent (com.android.tradefed.device.DeviceEvent)
com.android.tradefed.device.DeviceEvent event
}
com/android/tradefed/device/AndroidNativeDevice.classAndroidNativeDevice.java
package com.android.tradefed.device
public com.android.tradefed.device.AndroidNativeDevice extends java.lang.Object implements com.android.tradefed.device.IManagedTestDevice {
protected static final int MAX_RETRY_ATTEMPTS
protected static final int INVALID_USER_ID
static final java.util.regex.Pattern INPUT_DISPATCH_STATE_REGEX
private static final java.util.regex.Pattern KEYS_PATTERN
private static final java.util.regex.Pattern DF_PATTERN
private static final long MAX_HOST_DEVICE_TIME_OFFSET
private static final String ENCRYPTION_PASSWORD
private static final int ENCRYPTION_INPLACE_TIMEOUT_MIN
private static final long ENCRYPTION_WIPE_TIMEOUT_MIN
private static final String ENCRYPTION_SUPPORTED_CODE
private static final String ENCRYPTION_SUPPORTED_USAGE
private int mLogStartDelay
private static final int DEFAULT_UNAVAILABLE_TIMEOUT
static final int NONE_RECOVERY_MODE_DELAY
static final String BUILD_ID_PROP
private static final String PRODUCT_NAME_PROP
private static final String BUILD_TYPE_PROP
private static final String BUILD_ALIAS_PROP
private static final String BUILD_FLAVOR
private static final String HEADLESS_PROP
static final String BUILD_CODENAME_PROP
static final String BUILD_TAGS
private static final int NETWORK_MONITOR_INTERVAL
private static final int WIFI_RECONNECT_CHECK_INTERVAL
private static final int WIFI_RECONNECT_TIMEOUT
private int mCmdTimeout
private long mLongCmdTimeout
private com.android.ddmlib.IDevice mIDevice
private com.android.tradefed.device.IDeviceRecovery mRecovery
protected final com.android.tradefed.device.IDeviceStateMonitor mStateMonitor
private com.android.tradefed.device.TestDeviceState mState
private final java.util.concurrent.locks.ReentrantLock mFastbootLock
private com.android.tradefed.device.LogcatReceiver mLogcatReceiver
private boolean mFastbootEnabled
protected com.android.tradefed.device.TestDeviceOptions mOptions
private Process mEmulatorProcess
private com.android.tradefed.util.SizeLimitedOutputStream mEmulatorOutput
private com.android.tradefed.device.ITestDevice$RecoveryMode mRecoveryMode
private Boolean mIsEncryptionSupported
private java.util.concurrent.locks.ReentrantLock mAllocationStateLock
private com.android.tradefed.device.DeviceAllocationState mAllocationState
private com.android.tradefed.device.IDeviceMonitor mAllocationMonitor
private String mLastConnectedWifiSsid
private String mLastConnectedWifiPsk
private boolean mNetworkMonitorEnabled
public void (com.android.ddmlib.IDevice, com.android.tradefed.device.IDeviceStateMonitor, com.android.tradefed.device.IDeviceMonitor)
com.android.ddmlib.IDevice device
com.android.tradefed.device.IDeviceStateMonitor stateMonitor
com.android.tradefed.device.IDeviceMonitor allocationMonitor
protected com.android.tradefed.util.IRunUtil getRunUtil ()
public void setOptions (com.android.tradefed.device.TestDeviceOptions)
com.android.tradefed.device.TestDeviceOptions options
void setTmpLogcatSize (long)
long size
void setLogStartDelay (int)
int delay
public com.android.ddmlib.IDevice getIDevice ()
public void setIDevice (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice newDevice
com.android.ddmlib.IDevice currentDevice
public java.lang.String getSerialNumber ()
private boolean nullOrEmpty (java.lang.String)
String string
private java.lang.String internalGetProperty (java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
String propName
String fastbootVar
String description
String propValue
public java.lang.String getProperty (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String name
String[] result
com.android.tradefed.device.AndroidNativeDevice$DeviceAction propAction
public java.lang.String getPropertySync (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String name
public java.lang.String getBootloaderVersion () throws java.lang.UnsupportedOperationException com.android.tradefed.device.DeviceNotAvailableException
public java.lang.String getBasebandVersion () throws com.android.tradefed.device.DeviceNotAvailableException
public java.lang.String getProductType () throws com.android.tradefed.device.DeviceNotAvailableException
private java.lang.String internalGetProductType (int) throws com.android.tradefed.device.DeviceNotAvailableException
int retryAttempts
String productType
public java.lang.String getFastbootProductType () throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
public java.lang.String getProductVariant () throws com.android.tradefed.device.DeviceNotAvailableException
public java.lang.String getFastbootProductVariant () throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
private java.lang.String getFastbootVariable (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
java.util.regex.Pattern fastbootProductPattern
String resultText
java.util.regex.Matcher matcher
String variableName
com.android.tradefed.util.CommandResult result
public java.lang.String getBuildAlias () throws com.android.tradefed.device.DeviceNotAvailableException
String alias
public java.lang.String getBuildId () throws com.android.tradefed.device.DeviceNotAvailableException
String bid
public java.lang.String getBuildFlavor () throws com.android.tradefed.device.DeviceNotAvailableException
String buildFlavor
String productName
String buildType
public void executeShellCommand (java.lang.String, com.android.ddmlib.IShellOutputReceiver) throws com.android.tradefed.device.DeviceNotAvailableException
String command
com.android.ddmlib.IShellOutputReceiver receiver
com.android.tradefed.device.AndroidNativeDevice$DeviceAction action
public void executeShellCommand (java.lang.String, com.android.ddmlib.IShellOutputReceiver, int, int) throws com.android.tradefed.device.DeviceNotAvailableException
String command
com.android.ddmlib.IShellOutputReceiver receiver
int maxTimeToOutputShellResponse
int retryAttempts
public void executeShellCommand (java.lang.String, com.android.ddmlib.IShellOutputReceiver, long, java.util.concurrent.TimeUnit, int) throws com.android.tradefed.device.DeviceNotAvailableException
String command
com.android.ddmlib.IShellOutputReceiver receiver
long maxTimeToOutputShellResponse
java.util.concurrent.TimeUnit timeUnit
int retryAttempts
com.android.tradefed.device.AndroidNativeDevice$DeviceAction action
public java.lang.String executeShellCommand (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String command
com.android.tradefed.device.CollectingOutputReceiver receiver
String output
public boolean runInstrumentationTests (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, java.util.Collection) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
java.util.Collection listeners
com.android.tradefed.device.AndroidNativeDevice$RunFailureListener failureListener
com.android.tradefed.device.AndroidNativeDevice$DeviceAction runTestsAction
boolean result
public boolean runInstrumentationTestsAsUser (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, int, java.util.Collection) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
int userId
java.util.Collection listeners
String oldRunTimeOptions
boolean result
private java.lang.String appendUserRunTimeOptionToRunner (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, int)
String original
String userRunTimeOption
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
int userId
private void resetUserRunTimeOptionToRunner (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, java.lang.String)
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
String oldRunTimeOptions
public transient boolean runInstrumentationTests (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, com.android.ddmlib.testrunner.ITestRunListener[]) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
com.android.ddmlib.testrunner.ITestRunListener[] listeners
java.util.List listenerList
public transient boolean runInstrumentationTestsAsUser (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, int, com.android.ddmlib.testrunner.ITestRunListener[]) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner runner
int userId
com.android.ddmlib.testrunner.ITestRunListener[] listeners
String oldRunTimeOptions
boolean result
public boolean isRuntimePermissionSupported () throws com.android.tradefed.device.DeviceNotAvailableException
protected void ensureRuntimePermissionSupported () throws com.android.tradefed.device.DeviceNotAvailableException
boolean runtimePermissionSupported
public transient java.lang.String installPackage (java.io.File, boolean, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
boolean reinstall
String[] extraArgs
public transient java.lang.String installPackage (java.io.File, boolean, boolean, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
boolean reinstall
boolean grantPermissions
String[] extraArgs
public transient java.lang.String installPackageForUser (java.io.File, boolean, int, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
boolean reinstall
int userId
String[] extraArgs
public transient java.lang.String installPackageForUser (java.io.File, boolean, boolean, int, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
boolean reinstall
boolean grantPermissions
int userId
String[] extraArgs
public java.lang.String uninstallPackage (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String packageName
public boolean pullFile (java.lang.String, java.io.File) throws com.android.tradefed.device.DeviceNotAvailableException
String remoteFilePath
java.io.File localFile
com.android.tradefed.device.AndroidNativeDevice$DeviceAction pullAction
public java.io.File pullFile (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.IOException e
String remoteFilePath
java.io.File localFile
boolean success
public java.io.File pullFileFromExternal (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String remoteFilePath
String externalPath
String fullPath
java.lang.String interpolatePathVariables (java.lang.String)
String esPath
String path
String esString
public boolean pushFile (java.io.File, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File localFile
String remoteFilePath
com.android.tradefed.device.AndroidNativeDevice$DeviceAction pushAction
public boolean pushString (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.IOException e
String contents
String remoteFilePath
java.io.File tmpFile
public boolean doesFileExist (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String destPath
String lsGrep
public long getExternalStoreFreeSpace () throws com.android.tradefed.device.DeviceNotAvailableException
String externalStorePath
String output
Long available
private java.lang.String getDfOutput (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String output
int i
String externalStorePath
private java.lang.Long parseFreeSpaceFromAvailable (java.lang.String)
String freeSpaceString
String dfOutput
java.util.regex.Pattern freeSpacePattern
java.util.regex.Matcher patternMatcher
java.lang.Long parseFreeSpaceFromFree (java.lang.String, java.lang.String)
Float freeSpaceFloat
String numericValueString
String unitType
String externalStorePath
String dfOutput
Long freeSpace
java.util.regex.Pattern freeSpaceTablePattern
java.util.regex.Matcher tablePatternMatcher
java.lang.Long parseFreeSpaceFromModernOutput (java.lang.String)
String dfOutput
java.util.regex.Matcher matcher
public java.lang.String getMountPoint (java.lang.String)
String mountName
public java.util.List getMountPointInfo () throws com.android.tradefed.device.DeviceNotAvailableException
String[] parts
String line
String mountInfo
String[] mountInfoLines
java.util.List list
public com.android.tradefed.device.ITestDevice$MountPointInfo getMountPointInfo (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice$MountPointInfo info
String mountpoint
java.util.List mountpoints
public com.android.tradefed.device.IFileEntry getFileEntry (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String path
String[] pathComponents
com.android.ddmlib.FileListingService service
com.android.tradefed.device.IFileEntry rootFile
public boolean isDirectory (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String path
public java.lang.String[] getChildren (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String path
String lsOutput
private com.android.ddmlib.FileListingService getFileListingService () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.FileListingService[] service
com.android.tradefed.device.AndroidNativeDevice$DeviceAction serviceAction
public boolean pushDir (java.io.File, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String remotePath
java.io.File childFile
java.io.File localFileDir
String deviceFilePath
java.io.File[] childFiles
public boolean syncFiles (java.io.File, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File localFileDir
String deviceFilePath
com.android.tradefed.device.IFileEntry remoteFileEntry
private boolean syncFiles (java.io.File, com.android.tradefed.device.IFileEntry) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IFileEntry entry
java.io.File localFile
java.io.File localFileDir
com.android.tradefed.device.IFileEntry remoteFileEntry
java.io.File[] localFiles
java.util.ArrayList filePathsToSync
String[] files
com.android.tradefed.device.AndroidNativeDevice$DeviceAction syncAction
com.android.ddmlib.FileListingService$FileEntry[] getFileChildren (com.android.ddmlib.FileListingService$FileEntry) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.FileListingService$FileEntry remoteFileEntry
com.android.tradefed.device.AndroidNativeDevice$FileQueryAction action
private boolean isNewer (java.io.File, com.android.tradefed.device.IFileEntry)
java.text.SimpleDateFormat format
java.util.Date remoteDate
java.text.ParseException e
java.io.File localFile
com.android.tradefed.device.IFileEntry entry
String entryTimeString
public transient java.lang.String executeAdbCommand (java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
String[] cmdArgs
String[] fullCmd
com.android.tradefed.device.AndroidNativeDevice$AdbAction adbAction
public transient com.android.tradefed.util.CommandResult executeFastbootCommand (java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
String[] cmdArgs
public transient com.android.tradefed.util.CommandResult executeFastbootCommand (long, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
long timeout
String[] cmdArgs
public transient com.android.tradefed.util.CommandResult executeLongFastbootCommand (java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
String[] cmdArgs
private transient com.android.tradefed.util.CommandResult doFastbootCommand (long, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
com.android.tradefed.util.CommandResult result
int i
long timeout
String[] cmdArgs
String[] fullCmd
public boolean getUseFastbootErase ()
public void setUseFastbootErase (boolean)
boolean useFastbootErase
public com.android.tradefed.util.CommandResult fastbootWipePartition (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String partition
private boolean isRecoveryNeeded (com.android.tradefed.util.CommandResult)
com.android.tradefed.util.CommandResult fastbootResult
int getCommandTimeout ()
void setLongCommandTimeout (long)
long timeout
long getLongCommandTimeout ()
void setCommandTimeout (int)
int timeout
private transient java.lang.String[] buildAdbCommand (java.lang.String[])
String[] commandArgs
private transient java.lang.String[] buildFastbootCommand (java.lang.String[])
String[] commandArgs
protected boolean performDeviceAction (java.lang.String, com.android.tradefed.device.AndroidNativeDevice$DeviceAction, int) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.TimeoutException e
java.io.IOException e
com.android.ddmlib.InstallException e
com.android.ddmlib.SyncException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
int i
String actionDescription
com.android.tradefed.device.AndroidNativeDevice$DeviceAction action
int retryAttempts
private void logDeviceActionException (java.lang.String, java.lang.Exception)
String actionDescription
Exception e
private java.lang.String getExceptionMessage (java.lang.Exception)
Exception e
StringBuilder msgBuilder
public void recoverDevice () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice$RecoveryMode previousRecoveryMode
boolean enabled
com.android.tradefed.device.DeviceUnresponsiveException due
private void recoverDeviceFromBootloader () throws com.android.tradefed.device.DeviceNotAvailableException
private void recoverDeviceInRecovery () throws com.android.tradefed.device.DeviceNotAvailableException
public void startLogcat ()
public void clearLogcat ()
public com.android.tradefed.result.InputStreamSource getLogcat ()
public com.android.tradefed.result.InputStreamSource getLogcat (int)
int maxBytes
public com.android.tradefed.result.InputStreamSource getLogcatSince (long)
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.device.CollectingByteOutputReceiver receiver
String command
Exception e
long date
byte[] output
public com.android.tradefed.result.InputStreamSource getLogcatDump ()
com.android.tradefed.device.CollectingByteOutputReceiver receiver
java.io.IOException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
byte[] output
public void stopLogcat ()
com.android.tradefed.device.LogcatReceiver createLogcatReceiver ()
String logcatOptions
public com.android.tradefed.result.InputStreamSource getBugreport ()
public com.android.tradefed.result.InputStreamSource getScreenshot () throws com.android.tradefed.device.DeviceNotAvailableException
public com.android.tradefed.result.InputStreamSource getScreenshot (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String format
public void clearLastConnectedWifiNetwork ()
public boolean connectToWifiNetwork (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
boolean success
java.util.Map wifiInfo
int i
String wifiSsid
String wifiPsk
java.util.Random rnd
int backoffSlotCount
int waitTime
com.android.tradefed.device.IWifiHelper wifi
public boolean checkConnectivity () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IWifiHelper wifi
public boolean connectToWifiNetworkIfNeeded (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String wifiSsid
String wifiPsk
public boolean isWifiEnabled () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IWifiHelper wifi
RuntimeException e
boolean checkWifiConnection (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String actualSSID
String wifiSSID
com.android.tradefed.device.IWifiHelper wifi
String quotedSSID
boolean test
public boolean disconnectFromWifi () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IWifiHelper wifi
public java.lang.String getIpAddress () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IWifiHelper wifi
public boolean enableNetworkMonitor () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IWifiHelper wifi
public boolean disableNetworkMonitor () throws com.android.tradefed.device.DeviceNotAvailableException
Long sample
int failures
long totalLatency
double failureRate
double avgLatency
com.android.tradefed.device.IWifiHelper wifi
java.util.List samples
com.android.tradefed.device.IWifiHelper createWifiHelper () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean clearErrorDialogs () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor getDeviceStateMonitor ()
public void postBootSetup () throws com.android.tradefed.device.DeviceNotAvailableException
String command
protected void prePostBootSetup () throws com.android.tradefed.device.DeviceNotAvailableException
void postBootWifiSetup () throws com.android.tradefed.device.DeviceNotAvailableException
void reconnectToWifiNetwork () throws com.android.tradefed.device.DeviceNotAvailableException
long startTime
boolean isConnected
String wifiSsid
public void rebootIntoBootloader () throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
private void doAdbRebootBootloader () throws com.android.tradefed.device.DeviceNotAvailableException
public void reboot () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice$RecoveryMode cachedRecoveryMode
public void rebootUntilOnline () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice$RecoveryMode cachedRecoveryMode
public void rebootIntoRecovery () throws com.android.tradefed.device.DeviceNotAvailableException
public void nonBlockingReboot () throws com.android.tradefed.device.DeviceNotAvailableException
void doReboot () throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
protected void doAdbReboot (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String into
com.android.tradefed.device.AndroidNativeDevice$DeviceAction rebootAction
protected void waitForDeviceNotAvailable (java.lang.String, long)
String operationDesc
long time
public boolean enableAdbRoot () throws com.android.tradefed.device.DeviceNotAvailableException
String output
int i
int attempts
public boolean disableAdbRoot () throws com.android.tradefed.device.DeviceNotAvailableException
String output
int i
int attempts
public void postAdbRootAction () throws com.android.tradefed.device.DeviceNotAvailableException
public void postAdbUnrootAction () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean isAdbRoot () throws com.android.tradefed.device.DeviceNotAvailableException
String output
public boolean encryptDevice (boolean) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
String encryptMethod
long timeout
boolean inplace
String encryptMethod
long timeout
com.android.tradefed.device.CollectingOutputReceiver receiver
String command
public boolean unencryptDevice () throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
String line
String[] splitOutput
com.android.tradefed.device.ITestDevice$RecoveryMode cachedRecoveryMode
String[] splitOutput
boolean format
String output
public boolean unlockDevice () throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
String output
int i
public boolean isDeviceEncrypted () throws com.android.tradefed.device.DeviceNotAvailableException
String output
public boolean isEncryptionSupported () throws com.android.tradefed.device.DeviceNotAvailableException
String output
public void waitForDeviceOnline (long) throws com.android.tradefed.device.DeviceNotAvailableException
long waitTime
public void waitForDeviceOnline () throws com.android.tradefed.device.DeviceNotAvailableException
public void waitForDeviceAvailable (long) throws com.android.tradefed.device.DeviceNotAvailableException
long waitTime
public void waitForDeviceAvailable () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean waitForDeviceNotAvailable (long)
long waitTime
public boolean waitForDeviceInRecovery (long)
long waitTime
private void throwIfNull (java.lang.Object)
Object obj
com.android.tradefed.device.IDeviceRecovery getRecovery ()
public void setRecovery (com.android.tradefed.device.IDeviceRecovery)
com.android.tradefed.device.IDeviceRecovery recovery
public void setRecoveryMode (com.android.tradefed.device.ITestDevice$RecoveryMode)
com.android.tradefed.device.ITestDevice$RecoveryMode mode
public com.android.tradefed.device.ITestDevice$RecoveryMode getRecoveryMode ()
public void setFastbootEnabled (boolean)
boolean fastbootEnabled
public boolean isFastbootEnabled ()
public void setDeviceState (com.android.tradefed.device.TestDeviceState)
com.android.tradefed.device.TestDeviceState deviceState
public com.android.tradefed.device.TestDeviceState getDeviceState ()
public boolean isAdbTcp ()
public java.lang.String switchToAdbTcp () throws com.android.tradefed.device.DeviceNotAvailableException
String ipAddress
String port
public boolean switchToAdbUsb () throws com.android.tradefed.device.DeviceNotAvailableException
public void setEmulatorProcess (java.lang.Process)
Process p
public void setEmulatorOutputStream (com.android.tradefed.util.SizeLimitedOutputStream)
com.android.tradefed.util.SizeLimitedOutputStream output
public void stopEmulatorOutput ()
public com.android.tradefed.result.InputStreamSource getEmulatorOutput ()
java.io.IOException e
public java.lang.Process getEmulatorProcess ()
public boolean isEnableAdbRoot ()
public java.util.Set getInstalledPackageNames () throws com.android.tradefed.device.DeviceNotAvailableException
public java.util.Set getUninstallablePackageNames () throws com.android.tradefed.device.DeviceNotAvailableException
public com.android.tradefed.device.PackageInfo getAppPackageInfo (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String packageName
public com.android.tradefed.device.TestDeviceOptions getOptions ()
public int getApiLevel () throws com.android.tradefed.device.DeviceNotAvailableException
String prop
int apiLevel
public com.android.tradefed.device.IDeviceStateMonitor getMonitor ()
public boolean waitForDeviceShell (long)
long waitTime
public com.android.tradefed.device.DeviceAllocationState getAllocationState ()
public com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse handleAllocationEvent (com.android.tradefed.device.DeviceEvent)
com.android.tradefed.device.DeviceEvent event
boolean stateChanged
com.android.tradefed.device.DeviceAllocationState newState
com.android.tradefed.device.DeviceAllocationState oldState
private long getDeviceTimeOffset (java.util.Date) throws com.android.tradefed.device.DeviceNotAvailableException
java.util.Date date
Long deviceTime
long offset
public void setDate (java.util.Date) throws com.android.tradefed.device.DeviceNotAvailableException
java.text.SimpleDateFormat sdf
java.util.Date date
long timeOffset
String dateString
public long getDeviceDate () throws com.android.tradefed.device.DeviceNotAvailableException
NumberFormatException nfe
String deviceTimeString
Long deviceTime
public boolean waitForBootComplete (long) throws com.android.tradefed.device.DeviceNotAvailableException
long timeOut
public java.util.ArrayList listUsers () throws com.android.tradefed.device.DeviceNotAvailableException
public int getMaxNumberOfUsersSupported () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean isMultiUserSupported () throws com.android.tradefed.device.DeviceNotAvailableException
public int createUser (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.IllegalStateException
String name
public int createUser (java.lang.String, boolean, boolean) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.IllegalStateException
String name
boolean guest
boolean ephemeral
public boolean removeUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public boolean startUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public boolean stopUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public boolean stopUser (int, boolean, boolean) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
boolean waitFlag
boolean forceFlag
public void remountSystemWritable () throws com.android.tradefed.device.DeviceNotAvailableException
String verity
public java.lang.Integer getPrimaryUserId () throws com.android.tradefed.device.DeviceNotAvailableException
public int getCurrentUser () throws com.android.tradefed.device.DeviceNotAvailableException
public int getUserFlags (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public int getUserSerialNumber (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public boolean switchUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public boolean switchUser (int, long) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
long timeout
public boolean isUserRunning (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public boolean hasFeature (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String feature
public java.lang.String getSetting (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String namespace
String key
public java.lang.String getSetting (int, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
String namespace
String key
public void setSetting (java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String namespace
String key
String value
public void setSetting (int, java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
String namespace
String key
String value
public java.lang.String getBuildSigningKeys () throws com.android.tradefed.device.DeviceNotAvailableException
java.util.regex.Matcher m
String tag
String[] tags
String buildTags
public java.lang.String getAndroidId (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public java.util.Map getAndroidIds () throws com.android.tradefed.device.DeviceNotAvailableException
public java.lang.String getDeviceClass ()
com.android.ddmlib.IDevice device
public void preInvocationSetup (com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.build.IBuildInfo info
public void postInvocationTearDown ()
public boolean isHeadless () throws com.android.tradefed.device.DeviceNotAvailableException
static int access$000 (com.android.tradefed.device.AndroidNativeDevice)
com.android.tradefed.device.AndroidNativeDevice x0
static void access$300 (com.android.tradefed.device.AndroidNativeDevice, java.lang.Object)
com.android.tradefed.device.AndroidNativeDevice x0
Object x1
static void ()
}
com/android/tradefed/device/AndroidNativeDevice$DeviceAction.classAndroidNativeDevice.java
package com.android.tradefed.device
abstract com.android.tradefed.device.AndroidNativeDevice$DeviceAction extends java.lang.Object {
public abstract boolean run () throws java.io.IOException com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException com.android.ddmlib.InstallException com.android.ddmlib.SyncException
}
com/android/tradefed/device/DeviceEvent.classDeviceEvent.java
package com.android.tradefed.device
final com.android.tradefed.device.DeviceEvent extends java.lang.Enum {
public static final com.android.tradefed.device.DeviceEvent CONNECTED_ONLINE
public static final com.android.tradefed.device.DeviceEvent STATE_CHANGE_ONLINE
public static final com.android.tradefed.device.DeviceEvent DISCONNECTED
public static final com.android.tradefed.device.DeviceEvent FORCE_AVAILABLE
public static final com.android.tradefed.device.DeviceEvent AVAILABLE_CHECK_PASSED
public static final com.android.tradefed.device.DeviceEvent AVAILABLE_CHECK_FAILED
public static final com.android.tradefed.device.DeviceEvent AVAILABLE_CHECK_IGNORED
public static final com.android.tradefed.device.DeviceEvent ALLOCATE_REQUEST
public static final com.android.tradefed.device.DeviceEvent FORCE_ALLOCATE_REQUEST
public static final com.android.tradefed.device.DeviceEvent FREE_AVAILABLE
public static final com.android.tradefed.device.DeviceEvent FREE_UNRESPONSIVE
public static final com.android.tradefed.device.DeviceEvent FREE_UNAVAILABLE
public static final com.android.tradefed.device.DeviceEvent FREE_UNKNOWN
private static final com.android.tradefed.device.DeviceEvent[] $VALUES
public static com.android.tradefed.device.DeviceEvent[] values ()
public static com.android.tradefed.device.DeviceEvent valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/device/AndroidNativeDeviceStateMonitor.classAndroidNativeDeviceStateMonitor.java
package com.android.tradefed.device
public com.android.tradefed.device.AndroidNativeDeviceStateMonitor extends java.lang.Object implements com.android.tradefed.device.IDeviceStateMonitor {
static final String BOOTCOMPLETE_PROP
private com.android.ddmlib.IDevice mDevice
private com.android.tradefed.device.TestDeviceState mDeviceState
private static final long CHECK_POLL_TIME
protected static final long MAX_CHECK_POLL_TIME
protected static final int MAX_OP_TIME
private long mDefaultOnlineTimeout
private long mDefaultAvailableTimeout
private java.util.List mStateListeners
private com.android.tradefed.device.IDeviceManager mMgr
private final boolean mFastbootEnabled
protected static final String PERM_DENIED_ERROR_PATTERN
public void (com.android.tradefed.device.IDeviceManager, com.android.ddmlib.IDevice, boolean)
com.android.tradefed.device.IDeviceManager mgr
com.android.ddmlib.IDevice device
boolean fastbootEnabled
com.android.tradefed.util.IRunUtil getRunUtil ()
public void setDefaultOnlineTimeout (long)
long timeoutMs
public void setDefaultAvailableTimeout (long)
long timeoutMs
public com.android.ddmlib.IDevice waitForDeviceOnline (long)
long waitTime
protected com.android.ddmlib.IDevice getIDevice ()
public java.lang.String getSerialNumber ()
public com.android.ddmlib.IDevice waitForDeviceOnline ()
public boolean waitForDeviceNotAvailable (long)
long waitTime
com.android.tradefed.device.IDeviceManager$IFastbootListener listener
boolean result
public boolean waitForDeviceInRecovery (long)
long waitTime
public boolean waitForDeviceShell (long)
String output
java.io.IOException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
com.android.ddmlib.CollectingOutputReceiver receiver
String cmd
long waitTime
long startTime
int counter
public com.android.ddmlib.IDevice waitForDeviceAvailable (long)
long waitTime
long startTime
com.android.ddmlib.IDevice device
long elapsedTime
public com.android.ddmlib.IDevice waitForDeviceAvailable ()
public boolean waitForBootComplete (long)
String bootFlag
InterruptedException e
java.util.concurrent.ExecutionException e
long waitTime
int counter
long startTime
String cmd
protected boolean postOnlineCheck (long)
long waitTime
protected boolean waitForStoreMount (long)
String output
java.io.IOException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
com.android.ddmlib.CollectingOutputReceiver receiver
com.android.ddmlib.CollectingOutputReceiver bitBucket
long number
String externalStore
String testFile
String testString
String writeCmd
String checkCmd
String cleanupCmd
String cmd
long waitTime
long startTime
int counter
public java.lang.String getMountPoint (java.lang.String)
java.io.IOException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
String mountName
String mountPoint
com.android.ddmlib.CollectingOutputReceiver receiver
public com.android.tradefed.device.TestDeviceState getDeviceState ()
public boolean waitForDeviceBootloader (long)
long time
long startTime
long elapsedTime
com.android.tradefed.device.IDeviceManager$IFastbootListener listener
long waitTime
boolean result
public void waitForDeviceBootloaderStateUpdate ()
InterruptedException e
com.android.tradefed.device.IDeviceManager$IFastbootListener listener
private boolean waitForDeviceState (com.android.tradefed.device.TestDeviceState, long)
InterruptedException e
com.android.tradefed.device.TestDeviceState state
long time
String deviceSerial
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$DeviceStateListener listener
private void removeDeviceStateListener (com.android.tradefed.device.AndroidNativeDeviceStateMonitor$DeviceStateListener)
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$DeviceStateListener listener
private void addDeviceStateListener (com.android.tradefed.device.AndroidNativeDeviceStateMonitor$DeviceStateListener)
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$DeviceStateListener listener
public void setState (com.android.tradefed.device.TestDeviceState)
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$DeviceStateListener listener
com.android.tradefed.device.TestDeviceState deviceState
java.util.Collection listenerCopy
public void setIDevice (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice newDevice
com.android.ddmlib.IDevice currentDevice
public boolean isAdbTcp ()
protected com.android.ddmlib.CollectingOutputReceiver createOutputReceiver ()
protected long getCheckPollTime ()
protected long getCurrentTime ()
}
com/android/tradefed/device/TestDeviceMutator.classTestDeviceMutator.java
package com.android.tradefed.device
public com.android.tradefed.device.TestDeviceMutator extends java.lang.Object implements com.android.tradefed.device.ITestDeviceMutator {
public void ()
public void setIDevice (com.android.tradefed.device.ITestDevice, com.android.ddmlib.IDevice)
com.android.tradefed.device.ITestDevice testDevice
com.android.ddmlib.IDevice device
public void setFastbootEnabled (com.android.tradefed.device.ITestDevice, boolean)
com.android.tradefed.device.ITestDevice testDevice
boolean fastbootEnabled
}
com/android/tradefed/device/IDeviceMonitor.classIDeviceMonitor.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IDeviceMonitor extends java.lang.Object {
public abstract void run ()
public abstract void setDeviceLister (com.android.tradefed.device.IDeviceMonitor$DeviceLister)
public abstract void notifyDeviceStateChange (java.lang.String, com.android.tradefed.device.DeviceAllocationState, com.android.tradefed.device.DeviceAllocationState)
}
com/android/tradefed/device/TestDevice.classTestDevice.java
package com.android.tradefed.device
public com.android.tradefed.device.TestDevice extends com.android.tradefed.device.AndroidNativeDevice {
private static final int BUGREPORT_TIMEOUT
private static final String BUGREPORT_CMD
private static final int NUM_CLEAR_ATTEMPTS
static final String DISMISS_DIALOG_CMD
private static final long INPUT_DISPATCH_READY_TIMEOUT
private static final String TEST_INPUT_CMD
private static final long AM_COMMAND_TIMEOUT
private static final long CHECK_NEW_USER
static final String LIST_PACKAGES_CMD
private static final java.util.regex.Pattern PACKAGE_REGEX
private static final int FLAG_PRIMARY
private static final String[] SETTINGS_NAMESPACE
private static String USER_PATTERN
private static final int API_LEVEL_GET_CURRENT_USER
public void (com.android.ddmlib.IDevice, com.android.tradefed.device.IDeviceStateMonitor, com.android.tradefed.device.IDeviceMonitor)
com.android.ddmlib.IDevice device
com.android.tradefed.device.IDeviceStateMonitor stateMonitor
com.android.tradefed.device.IDeviceMonitor allocationMonitor
private java.lang.String internalInstallPackage (java.io.File, boolean, java.util.List) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
boolean reinstall
java.util.List extraArgs
String[] response
com.android.tradefed.device.AndroidNativeDevice$DeviceAction installAction
public transient java.lang.String installPackage (java.io.File, boolean, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
boolean reinstall
String[] extraArgs
boolean runtimePermissionSupported
java.util.List args
public transient java.lang.String installPackage (java.io.File, boolean, boolean, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
boolean reinstall
boolean grantPermissions
String[] extraArgs
java.util.List args
public transient java.lang.String installPackageForUser (java.io.File, boolean, int, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
boolean reinstall
int userId
String[] extraArgs
boolean runtimePermissionSupported
java.util.List args
public transient java.lang.String installPackageForUser (java.io.File, boolean, boolean, int, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
boolean reinstall
boolean grantPermissions
int userId
String[] extraArgs
java.util.List args
public transient java.lang.String installPackage (java.io.File, java.io.File, boolean, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
java.io.File packageFile
java.io.File certFile
boolean reinstall
String[] extraArgs
String[] response
com.android.tradefed.device.AndroidNativeDevice$DeviceAction installAction
public java.lang.String uninstallPackage (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String packageName
String[] response
com.android.tradefed.device.AndroidNativeDevice$DeviceAction uninstallAction
public com.android.tradefed.result.InputStreamSource getBugreport ()
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.device.CollectingByteOutputReceiver receiver
public com.android.tradefed.result.InputStreamSource getScreenshot () throws com.android.tradefed.device.DeviceNotAvailableException
public com.android.tradefed.result.InputStreamSource getScreenshot (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
byte[] imageData
String format
com.android.tradefed.device.TestDevice$ScreenshotAction action
private byte[] compressRawImage (com.android.ddmlib.RawImage, java.lang.String)
int value
int x
int y
java.awt.Image resized
java.io.IOException e
com.android.ddmlib.RawImage rawImage
String format
java.awt.image.BufferedImage image
int index
int IndexInc
int shortEdge
byte[] imageData
java.io.ByteArrayOutputStream imageOut
public boolean clearErrorDialogs () throws com.android.tradefed.device.DeviceNotAvailableException
int numErrorDialogs
int i
private int getErrorDialogCount () throws com.android.tradefed.device.DeviceNotAvailableException
int errorDialogCount
java.util.regex.Pattern crashPattern
java.util.regex.Pattern anrPattern
String systemStatusOutput
java.util.regex.Matcher crashMatcher
java.util.regex.Matcher anrMatcher
private void doClearDialogs (int) throws com.android.tradefed.device.DeviceNotAvailableException
int i
int numDialogs
java.lang.String getDisableKeyguardCmd ()
void disableKeyguard () throws com.android.tradefed.device.DeviceNotAvailableException
Boolean ready
long timeSpent
long start
java.lang.Boolean isDeviceInputReady () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.CollectingOutputReceiver receiver
String output
java.util.regex.Matcher m
protected void prePostBootSetup () throws com.android.tradefed.device.DeviceNotAvailableException
private boolean doAdbFrameworkReboot (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String output
String command
com.android.tradefed.device.DeviceUnresponsiveException due
String into
protected void doAdbReboot (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.AndroidNativeDevice$DeviceAction rebootAction
String into
public java.util.Set getInstalledPackageNames () throws com.android.tradefed.device.DeviceNotAvailableException
public java.util.Set getUninstallablePackageNames () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.PackageInfo pkgInfo
com.android.tradefed.device.TestDevice$DumpPkgAction action
java.util.Set pkgs
public com.android.tradefed.device.PackageInfo getAppPackageInfo (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String packageName
com.android.tradefed.device.TestDevice$DumpPkgAction action
private java.util.Set getInstalledPackageNames (com.android.tradefed.device.TestDevice$PkgFilter) throws com.android.tradefed.device.DeviceNotAvailableException
String packagePath
String packageName
java.util.regex.Matcher m
com.android.tradefed.device.TestDevice$PkgFilter filter
java.util.Set packages
String output
public java.util.ArrayList listUsers () throws com.android.tradefed.device.DeviceNotAvailableException
String[] user
java.util.ArrayList users
java.util.ArrayList userIds
private java.util.ArrayList tokenizeListUsers () throws com.android.tradefed.device.DeviceNotAvailableException
String[] tokens
int i
String command
String commandOutput
String[] lines
java.util.ArrayList users
public int getMaxNumberOfUsersSupported () throws com.android.tradefed.device.DeviceNotAvailableException
NumberFormatException e
String command
String commandOutput
public boolean isMultiUserSupported () throws com.android.tradefed.device.DeviceNotAvailableException
public int createUser (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.IllegalStateException
String name
public int createUser (java.lang.String, boolean, boolean) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.IllegalStateException
NumberFormatException e
String name
boolean guest
boolean ephemeral
String command
String output
public boolean removeUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
String output
public boolean startUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
String output
public boolean stopUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public boolean stopUser (int, boolean, boolean) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
boolean waitFlag
boolean forceFlag
String cmd
String output
public java.lang.Integer getPrimaryUserId () throws com.android.tradefed.device.DeviceNotAvailableException
int flag
String[] user
java.util.ArrayList users
public int getCurrentUser () throws com.android.tradefed.device.DeviceNotAvailableException
int userId
NumberFormatException e
String output
private java.util.regex.Matcher findUserInfo (java.lang.String)
String pmListUsersOutput
java.util.regex.Pattern pattern
java.util.regex.Matcher matcher
public int getUserFlags (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
String commandOutput
java.util.regex.Matcher matcher
public boolean isUserRunning (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
String commandOutput
java.util.regex.Matcher matcher
public int getUserSerialNumber (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
String commandOutput
String userSerialPatter
java.util.regex.Pattern pattern
java.util.regex.Matcher matcher
public boolean switchUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
public boolean switchUser (int, long) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
long timeout
long initialTime
protected long getCheckNewUserSleep ()
protected long getHostCurrentTime ()
public boolean hasFeature (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String feature
String output
public java.lang.String getSetting (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String namespace
String key
public java.lang.String getSetting (int, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
String namespace
String key
private java.lang.String getSettingInternal (java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String cmd
String output
String userFlag
String namespace
String key
public void setSetting (java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String namespace
String key
String value
public void setSetting (int, java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
int userId
String namespace
String key
String value
private void setSettingInternal (java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String userFlag
String namespace
String key
String value
public java.lang.String getAndroidId (int) throws com.android.tradefed.device.DeviceNotAvailableException
String cmd
String output
int userId
public java.util.Map getAndroidIds () throws com.android.tradefed.device.DeviceNotAvailableException
String androidId
Integer id
java.util.ArrayList userIds
java.util.Map androidIds
com.android.tradefed.device.IWifiHelper createWifiHelper () throws com.android.tradefed.device.DeviceNotAvailableException
private void checkApiLevelAgainst (java.lang.String, int) throws com.android.tradefed.device.DeviceNotAvailableException
String feature
int strictMinLevel
private void checkApiLevelAgainstNextRelease (java.lang.String, int) throws com.android.tradefed.device.DeviceNotAvailableException
String feature
int strictMinLevel
String codeName
int apiLevel
static void ()
}
com/android/tradefed/device/WaitDeviceRecovery.classWaitDeviceRecovery.java
package com.android.tradefed.device
public com.android.tradefed.device.WaitDeviceRecovery extends java.lang.Object implements com.android.tradefed.device.IDeviceRecovery {
private static final String LOG_TAG
protected static final long INITIAL_PAUSE_TIME
public static final int BOOTLOADER_POLL_ATTEMPTS
protected long mOnlineWaitTime
protected long mWaitTime
protected long mBootloaderWaitTime
protected long mShellWaitTime
protected long mFastbootWaitTime
protected int mRequiredMinBattery
protected boolean mDisableUnresponsiveReboot
public void ()
protected com.android.tradefed.util.IRunUtil getRunUtil ()
void setWaitTime (long)
long waitTime
public void recoverDevice (com.android.tradefed.device.IDeviceStateMonitor, boolean) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
boolean recoverUntilOnline
com.android.ddmlib.IDevice device
private com.android.ddmlib.IDevice getDeviceAfterRecovery (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
com.android.ddmlib.IDevice device
protected void checkMinBatteryLevel (com.android.ddmlib.IDevice) throws com.android.tradefed.device.DeviceNotAvailableException
Integer level
Exception e
com.android.ddmlib.IDevice device
protected void handleDeviceUnresponsive (com.android.ddmlib.IDevice, com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.IDevice newdevice
com.android.ddmlib.IDevice device
com.android.tradefed.device.IDeviceStateMonitor monitor
protected void handleDeviceNotAvailable (com.android.tradefed.device.IDeviceStateMonitor, boolean) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
boolean recoverTillOnline
public void recoverDeviceBootloader (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
int i
com.android.tradefed.device.IDeviceStateMonitor monitor
long pollTime
protected void handleDeviceOnlineExpectedBootloader (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
com.android.ddmlib.IDevice device
protected void handleDeviceBootloaderUnresponsive (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
com.android.tradefed.util.CommandResult result
protected void rebootDeviceIntoBootloader (com.android.ddmlib.IDevice)
java.io.IOException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.IDevice device
protected void rebootDevice (com.android.ddmlib.IDevice)
java.io.IOException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.IDevice device
protected void handleDeviceBootloaderNotAvailable (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
public void recoverDeviceRecovery (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
}
com/android/tradefed/device/DeviceAllocationEventHandler$IgnoredHandler.classDeviceAllocationEventHandler.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceAllocationEventHandler$IgnoredHandler extends java.lang.Object implements com.android.tradefed.device.DeviceAllocationEventHandler {
public void ()
public com.android.tradefed.device.DeviceAllocationState handleDeviceEvent (com.android.tradefed.device.DeviceEvent)
com.android.tradefed.device.DeviceEvent event
}
com/android/tradefed/device/AndroidNativeDevice$8.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$8 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final String[] val$files
final com.android.tradefed.device.IFileEntry val$remoteFileEntry
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, java.lang.String[], com.android.tradefed.device.IFileEntry)
com.android.tradefed.device.AndroidNativeDevice this$0
public boolean run () throws com.android.ddmlib.TimeoutException java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.SyncException
com.android.ddmlib.SyncException e
com.android.ddmlib.SyncService syncService
boolean status
}
com/android/tradefed/device/TestDevice$4.classTestDevice.java
package com.android.tradefed.device
com.android.tradefed.device.TestDevice$4 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final String val$into
final com.android.tradefed.device.TestDevice this$0
void (com.android.tradefed.device.TestDevice, java.lang.String)
com.android.tradefed.device.TestDevice this$0
public boolean run () throws com.android.ddmlib.TimeoutException java.io.IOException com.android.ddmlib.AdbCommandRejectedException
}
com/android/tradefed/device/AndroidNativeDevice$NoHiddenFilesFilter.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$NoHiddenFilesFilter extends java.lang.Object implements java.io.FilenameFilter {
private void ()
public boolean accept (java.io.File, java.lang.String)
java.io.File dir
String name
void (com.android.tradefed.device.AndroidNativeDevice$1)
com.android.tradefed.device.AndroidNativeDevice$1 x0
}
com/android/tradefed/device/TestDevice$3.classTestDevice.java
package com.android.tradefed.device
com.android.tradefed.device.TestDevice$3 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final String val$packageName
final String[] val$response
final com.android.tradefed.device.TestDevice this$0
void (com.android.tradefed.device.TestDevice, java.lang.String, java.lang.String[])
com.android.tradefed.device.TestDevice this$0
public boolean run () throws com.android.ddmlib.InstallException
String result
}
com/android/tradefed/device/WifiHelper$WifiUtilOutput.classWifiHelper.java
package com.android.tradefed.device
com.android.tradefed.device.WifiHelper$WifiUtilOutput extends com.android.ddmlib.MultiLineReceiver {
private static final java.util.regex.Pattern RESULT_PAT
private static final java.util.regex.Pattern ERROR_PAT
private String mResult
private String mError
private void ()
public void processNewLines (java.lang.String[])
java.util.regex.Matcher resultMatcher
java.util.regex.Matcher errorMatcher
String line
String[] lines
java.lang.String getResult ()
java.lang.String getError ()
public boolean isCancelled ()
void (com.android.tradefed.device.WifiHelper$1)
com.android.tradefed.device.WifiHelper$1 x0
static void ()
}
com/android/tradefed/device/ITestDevice$RecoveryMode.classITestDevice.java
package com.android.tradefed.device
public final com.android.tradefed.device.ITestDevice$RecoveryMode extends java.lang.Enum {
public static final com.android.tradefed.device.ITestDevice$RecoveryMode NONE
public static final com.android.tradefed.device.ITestDevice$RecoveryMode ONLINE
public static final com.android.tradefed.device.ITestDevice$RecoveryMode AVAILABLE
private static final com.android.tradefed.device.ITestDevice$RecoveryMode[] $VALUES
public static com.android.tradefed.device.ITestDevice$RecoveryMode[] values ()
public static com.android.tradefed.device.ITestDevice$RecoveryMode valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/device/DeviceUtilStatsMonitor$SamplingTask.classDeviceUtilStatsMonitor.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceUtilStatsMonitor$SamplingTask extends java.util.TimerTask {
final com.android.tradefed.device.DeviceUtilStatsMonitor this$0
private void (com.android.tradefed.device.DeviceUtilStatsMonitor)
public void run ()
com.android.tradefed.device.DeviceUtilStatsMonitor$DeviceUtilRecord record
com.android.tradefed.command.remote.DeviceDescriptor deviceDesc
String serial
java.util.Map$Entry goneSerialEntry
java.util.Map goneDevices
void (com.android.tradefed.device.DeviceUtilStatsMonitor, com.android.tradefed.device.DeviceUtilStatsMonitor$1)
com.android.tradefed.device.DeviceUtilStatsMonitor x0
com.android.tradefed.device.DeviceUtilStatsMonitor$1 x1
}
com/android/tradefed/device/LogcatReceiver.classLogcatReceiver.java
package com.android.tradefed.device
public com.android.tradefed.device.LogcatReceiver extends java.lang.Object implements com.android.tradefed.device.ILogcatReceiver {
private com.android.tradefed.device.BackgroundDeviceAction mDeviceAction
private com.android.tradefed.device.LargeOutputReceiver mReceiver
static final String LOGCAT_CMD
private static final String LOGCAT_DESC
public void (com.android.tradefed.device.ITestDevice, java.lang.String, long, int)
com.android.tradefed.device.ITestDevice device
String logcatCmd
long maxFileSize
int logStartDelay
public void (com.android.tradefed.device.ITestDevice, long, int)
com.android.tradefed.device.ITestDevice device
long maxFileSize
int logStartDelay
public void start ()
public void stop ()
public com.android.tradefed.result.InputStreamSource getLogcatData ()
public com.android.tradefed.result.InputStreamSource getLogcatData (int)
int maxBytes
public void clear ()
}
com/android/tradefed/device/IDeviceStateMonitor.classIDeviceStateMonitor.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IDeviceStateMonitor extends java.lang.Object {
public abstract com.android.ddmlib.IDevice waitForDeviceOnline (long)
public abstract com.android.ddmlib.IDevice waitForDeviceOnline ()
public abstract boolean waitForBootComplete (long)
public abstract boolean waitForDeviceShell (long)
public abstract com.android.ddmlib.IDevice waitForDeviceAvailable (long)
public abstract com.android.ddmlib.IDevice waitForDeviceAvailable ()
public abstract boolean waitForDeviceBootloader (long)
public abstract void waitForDeviceBootloaderStateUpdate ()
public abstract boolean waitForDeviceNotAvailable (long)
public abstract boolean waitForDeviceInRecovery (long)
public abstract java.lang.String getSerialNumber ()
public abstract com.android.tradefed.device.TestDeviceState getDeviceState ()
public abstract void setState (com.android.tradefed.device.TestDeviceState)
public abstract java.lang.String getMountPoint (java.lang.String)
public abstract void setIDevice (com.android.ddmlib.IDevice)
public abstract boolean isAdbTcp ()
public abstract void setDefaultOnlineTimeout (long)
public abstract void setDefaultAvailableTimeout (long)
}
com/android/tradefed/device/DeviceMonitorMultiplexer.classDeviceMonitorMultiplexer.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceMonitorMultiplexer extends java.lang.Object implements com.android.tradefed.device.IDeviceMonitor {
private final java.util.List mDeviceMonitors
public void ()
public synchronized void run ()
com.android.tradefed.device.IDeviceMonitor monitor
public synchronized void setDeviceLister (com.android.tradefed.device.IDeviceMonitor$DeviceLister)
com.android.tradefed.device.IDeviceMonitor monitor
com.android.tradefed.device.IDeviceMonitor$DeviceLister lister
public synchronized void notifyDeviceStateChange (java.lang.String, com.android.tradefed.device.DeviceAllocationState, com.android.tradefed.device.DeviceAllocationState)
com.android.tradefed.device.IDeviceMonitor monitor
String serial
com.android.tradefed.device.DeviceAllocationState oldState
com.android.tradefed.device.DeviceAllocationState newState
public synchronized void addMonitors (java.util.List)
java.util.List globalDeviceMonitors
public synchronized void addMonitor (com.android.tradefed.device.IDeviceMonitor)
com.android.tradefed.device.IDeviceMonitor globalDeviceMonitor
public synchronized void removeMonitor (com.android.tradefed.device.IDeviceMonitor)
com.android.tradefed.device.IDeviceMonitor mon
}
com/android/tradefed/device/DumpsysPackageReceiver$ParserState.classDumpsysPackageReceiver.java
package com.android.tradefed.device
abstract com.android.tradefed.device.DumpsysPackageReceiver$ParserState extends java.lang.Object {
public abstract com.android.tradefed.device.DumpsysPackageReceiver$ParserState parse (java.lang.String) throws com.android.tradefed.device.DumpsysPackageReceiver$ParseException
}
com/android/tradefed/device/TestDevice$5.classTestDevice.java
package com.android.tradefed.device
com.android.tradefed.device.TestDevice$5 extends java.lang.Object implements com.android.tradefed.device.TestDevice$PkgFilter {
final com.android.tradefed.device.TestDevice this$0
void (com.android.tradefed.device.TestDevice)
com.android.tradefed.device.TestDevice this$0
public boolean accept (java.lang.String, java.lang.String)
String pkgName
String apkPath
}
com/android/tradefed/device/AndroidNativeDevice$7.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$7 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final com.android.ddmlib.FileListingService[] val$service
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, com.android.ddmlib.FileListingService[])
com.android.tradefed.device.AndroidNativeDevice this$0
public boolean run () throws java.io.IOException com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException com.android.ddmlib.InstallException com.android.ddmlib.SyncException
}
com/android/tradefed/device/AndroidNativeDeviceStateMonitor$StubFastbootListener.classAndroidNativeDeviceStateMonitor.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$StubFastbootListener extends java.lang.Object implements com.android.tradefed.device.IDeviceManager$IFastbootListener {
private void ()
public void stateUpdated ()
void (com.android.tradefed.device.AndroidNativeDeviceStateMonitor$1)
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$1 x0
}
com/android/tradefed/device/TestDeviceState$1.classTestDeviceState.java
package com.android.tradefed.device
com.android.tradefed.device.TestDeviceState$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$tradefed$device$TestDeviceState
static final int[] $SwitchMap$com$android$ddmlib$IDevice$DeviceState
static void ()
}
com/android/tradefed/device/DeviceAllocationState.classDeviceAllocationState.java
package com.android.tradefed.device
public final com.android.tradefed.device.DeviceAllocationState extends java.lang.Enum implements com.android.tradefed.device.DeviceAllocationEventHandler {
public static final com.android.tradefed.device.DeviceAllocationState Unknown
public static final com.android.tradefed.device.DeviceAllocationState Ignored
public static final com.android.tradefed.device.DeviceAllocationState Available
public static final com.android.tradefed.device.DeviceAllocationState Unavailable
public static final com.android.tradefed.device.DeviceAllocationState Allocated
public static final com.android.tradefed.device.DeviceAllocationState Checking_Availability
private final com.android.tradefed.device.DeviceAllocationEventHandler mEventHandler
private static final com.android.tradefed.device.DeviceAllocationState[] $VALUES
public static com.android.tradefed.device.DeviceAllocationState[] values ()
public static com.android.tradefed.device.DeviceAllocationState valueOf (java.lang.String)
String name
private void (java.lang.String, int, com.android.tradefed.device.DeviceAllocationEventHandler)
com.android.tradefed.device.DeviceAllocationEventHandler eventHandler
public com.android.tradefed.device.DeviceAllocationState handleDeviceEvent (com.android.tradefed.device.DeviceEvent)
com.android.tradefed.device.DeviceEvent event
static void ()
}
com/android/tradefed/device/DumpsysPackageReceiver$ParseException.classDumpsysPackageReceiver.java
package com.android.tradefed.device
com.android.tradefed.device.DumpsysPackageReceiver$ParseException extends java.io.IOException {
void (java.lang.String)
String msg
void (java.lang.String, java.lang.Throwable)
String msg
Throwable t
}
com/android/tradefed/device/DeviceNotAvailableException.classDeviceNotAvailableException.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceNotAvailableException extends java.lang.Exception {
private String mSerial
public void ()
public void (java.lang.String)
String msg
public void (java.lang.String, java.lang.String)
String msg
String serial
public void (java.lang.String, java.lang.Throwable)
String msg
Throwable cause
public void (java.lang.String, java.lang.Throwable, java.lang.String)
String msg
Throwable cause
String serial
public java.lang.String getSerial ()
}
com/android/tradefed/device/DeviceFatalError.classDeviceFatalError.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceFatalError extends java.lang.Exception {
private static final long serialVersionUID
public void (java.lang.String)
String msg
}
com/android/tradefed/device/IManagedTestDevice.classIManagedTestDevice.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IManagedTestDevice extends java.lang.Object implements com.android.tradefed.device.ITestDevice {
public abstract void setIDevice (com.android.ddmlib.IDevice)
public abstract void setDeviceState (com.android.tradefed.device.TestDeviceState)
public abstract void setFastbootEnabled (boolean)
public abstract boolean isFastbootEnabled ()
public abstract void recoverDevice () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void setEmulatorProcess (java.lang.Process)
public abstract java.lang.Process getEmulatorProcess ()
public abstract com.android.tradefed.device.DeviceAllocationState getAllocationState ()
public abstract com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse handleAllocationEvent (com.android.tradefed.device.DeviceEvent)
public abstract com.android.tradefed.device.IDeviceStateMonitor getMonitor ()
}
com/android/tradefed/device/IDeviceManager.classIDeviceManager.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IDeviceManager extends java.lang.Object {
public abstract void init ()
public abstract void init (com.android.tradefed.device.IDeviceSelection, java.util.List)
public abstract com.android.tradefed.device.ITestDevice allocateDevice ()
public abstract com.android.tradefed.device.ITestDevice allocateDevice (com.android.tradefed.device.IDeviceSelection)
public abstract com.android.tradefed.device.ITestDevice forceAllocateDevice (java.lang.String)
public abstract void freeDevice (com.android.tradefed.device.ITestDevice, com.android.tradefed.device.FreeDeviceState)
public abstract void launchEmulator (com.android.tradefed.device.ITestDevice, long, com.android.tradefed.util.IRunUtil, java.util.List) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void killEmulator (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.tradefed.device.ITestDevice connectToTcpDevice (java.lang.String)
public abstract boolean disconnectFromTcpDevice (com.android.tradefed.device.ITestDevice)
public abstract com.android.tradefed.device.ITestDevice reconnectDeviceToTcp (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void terminate ()
public abstract void terminateHard ()
public abstract java.util.List listAllDevices ()
public abstract void displayDevicesInfo (java.io.PrintWriter)
public abstract void addFastbootListener (com.android.tradefed.device.IDeviceManager$IFastbootListener)
public abstract void removeFastbootListener (com.android.tradefed.device.IDeviceManager$IFastbootListener)
public abstract boolean isNullDevice (java.lang.String)
public abstract boolean isEmulator (java.lang.String)
public abstract void addDeviceMonitor (com.android.tradefed.device.IDeviceMonitor)
public abstract void removeDeviceMonitor (com.android.tradefed.device.IDeviceMonitor)
}
com/android/tradefed/device/IDeviceManager$IFastbootListener.classIDeviceManager.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IDeviceManager$IFastbootListener extends java.lang.Object {
public abstract void stateUpdated ()
}
com/android/tradefed/device/ManagedTestDeviceFactory.classManagedTestDeviceFactory.java
package com.android.tradefed.device
public com.android.tradefed.device.ManagedTestDeviceFactory extends java.lang.Object implements com.android.tradefed.device.IManagedTestDeviceFactory {
private static final String IPADDRESS_PATTERN
protected boolean mFastbootEnabled
protected com.android.tradefed.device.IDeviceManager mDeviceManager
protected com.android.tradefed.device.IDeviceMonitor mAllocationMonitor
protected static final String CHECK_PM_CMD
protected static final String EXPECTED_RES
public void (boolean, com.android.tradefed.device.IDeviceManager, com.android.tradefed.device.IDeviceMonitor)
boolean fastbootEnabled
com.android.tradefed.device.IDeviceManager deviceManager
com.android.tradefed.device.IDeviceMonitor allocationMonitor
public com.android.tradefed.device.IManagedTestDevice createDevice (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice idevice
com.android.tradefed.device.IManagedTestDevice testDevice
private boolean checkFrameworkSupport (com.android.ddmlib.IDevice)
String cmd
Exception e
com.android.ddmlib.IDevice idevice
long timeout
com.android.tradefed.device.CollectingOutputReceiver receiver
public void setFastbootEnabled (boolean)
boolean enable
protected boolean isTcpDeviceSerial (java.lang.String)
String serial
String remotePattern
java.util.regex.Pattern pattern
java.util.regex.Matcher match
}
com/android/tradefed/device/DeviceAllocationEventHandler$1.classDeviceAllocationEventHandler.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceAllocationEventHandler$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$tradefed$device$DeviceEvent
static void ()
}
com/android/tradefed/device/ITestDevice.classITestDevice.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.ITestDevice extends java.lang.Object {
public static final int UNKNOWN_API_LEVEL
public abstract void setRecovery (com.android.tradefed.device.IDeviceRecovery)
public abstract void setRecoveryMode (com.android.tradefed.device.ITestDevice$RecoveryMode)
public abstract com.android.tradefed.device.ITestDevice$RecoveryMode getRecoveryMode ()
public abstract java.lang.String getDeviceClass ()
public abstract com.android.ddmlib.IDevice getIDevice ()
public abstract java.lang.String getSerialNumber ()
public abstract java.lang.String getProductType () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getProductVariant () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getFastbootProductType () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getFastbootProductVariant () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getBootloaderVersion () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getBasebandVersion () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getBuildAlias () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getBuildId () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getBuildFlavor () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getProperty (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getPropertySync (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void executeShellCommand (java.lang.String, com.android.ddmlib.IShellOutputReceiver) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void executeShellCommand (java.lang.String, com.android.ddmlib.IShellOutputReceiver, long, java.util.concurrent.TimeUnit, int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void executeShellCommand (java.lang.String, com.android.ddmlib.IShellOutputReceiver, int, int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String executeShellCommand (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract java.lang.String executeAdbCommand (java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract com.android.tradefed.util.CommandResult executeFastbootCommand (java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract com.android.tradefed.util.CommandResult executeFastbootCommand (long, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract com.android.tradefed.util.CommandResult executeLongFastbootCommand (java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean getUseFastbootErase ()
public abstract void setUseFastbootErase (boolean)
public abstract com.android.tradefed.util.CommandResult fastbootWipePartition (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean runInstrumentationTests (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, java.util.Collection) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract boolean runInstrumentationTests (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, com.android.ddmlib.testrunner.ITestRunListener[]) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean runInstrumentationTestsAsUser (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, int, java.util.Collection) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract boolean runInstrumentationTestsAsUser (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner, int, com.android.ddmlib.testrunner.ITestRunListener[]) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract java.lang.String installPackage (java.io.File, boolean, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract java.lang.String installPackage (java.io.File, boolean, boolean, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract java.lang.String installPackageForUser (java.io.File, boolean, int, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract java.lang.String installPackageForUser (java.io.File, boolean, boolean, int, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String uninstallPackage (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getMountPoint (java.lang.String)
public abstract java.util.List getMountPointInfo () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.tradefed.device.ITestDevice$MountPointInfo getMountPointInfo (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.tradefed.result.InputStreamSource getBugreport ()
public abstract boolean pullFile (java.lang.String, java.io.File) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.io.File pullFile (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.io.File pullFileFromExternal (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean pushFile (java.io.File, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean pushString (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean pushDir (java.io.File, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean syncFiles (java.io.File, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean doesFileExist (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract long getExternalStoreFreeSpace () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.tradefed.device.IFileEntry getFileEntry (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean isDirectory (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String[] getChildren (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void startLogcat ()
public abstract void stopLogcat ()
public abstract void clearLogcat ()
public abstract com.android.tradefed.result.InputStreamSource getLogcat ()
public abstract com.android.tradefed.result.InputStreamSource getLogcat (int)
public abstract com.android.tradefed.result.InputStreamSource getLogcatSince (long)
public abstract com.android.tradefed.result.InputStreamSource getLogcatDump ()
public abstract com.android.tradefed.result.InputStreamSource getScreenshot () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.tradefed.result.InputStreamSource getScreenshot (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void clearLastConnectedWifiNetwork ()
public abstract boolean connectToWifiNetwork (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean connectToWifiNetworkIfNeeded (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean disconnectFromWifi () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean isWifiEnabled () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getIpAddress () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean enableNetworkMonitor () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean disableNetworkMonitor () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean checkConnectivity () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean clearErrorDialogs () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void rebootIntoBootloader () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void reboot () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void rebootIntoRecovery () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void rebootUntilOnline () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void nonBlockingReboot () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean enableAdbRoot () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean disableAdbRoot () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.tradefed.device.TestDeviceState getDeviceState ()
public abstract boolean encryptDevice (boolean) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
public abstract boolean unencryptDevice () throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
public abstract boolean unlockDevice () throws com.android.tradefed.device.DeviceNotAvailableException java.lang.UnsupportedOperationException
public abstract boolean isDeviceEncrypted () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean isEncryptionSupported () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void waitForDeviceAvailable (long) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void waitForDeviceAvailable () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void waitForDeviceOnline (long) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void waitForDeviceOnline () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean waitForDeviceNotAvailable (long)
public abstract boolean waitForDeviceShell (long)
public abstract boolean waitForDeviceInRecovery (long)
public abstract void postBootSetup () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean isAdbTcp ()
public abstract boolean isAdbRoot () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String switchToAdbTcp () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean switchToAdbUsb () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void setOptions (com.android.tradefed.device.TestDeviceOptions)
public abstract com.android.tradefed.device.TestDeviceOptions getOptions ()
public abstract java.util.Set getInstalledPackageNames () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.util.Set getUninstallablePackageNames () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.tradefed.device.PackageInfo getAppPackageInfo (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract int getApiLevel () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void setDate (java.util.Date) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract long getDeviceDate () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean waitForBootComplete (long) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean isMultiUserSupported () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract int createUser (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.IllegalStateException
public abstract int createUser (java.lang.String, boolean, boolean) throws com.android.tradefed.device.DeviceNotAvailableException java.lang.IllegalStateException
public abstract boolean removeUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.util.ArrayList listUsers () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract int getMaxNumberOfUsersSupported () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean startUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean stopUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean stopUser (int, boolean, boolean) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract com.android.tradefed.result.InputStreamSource getEmulatorOutput ()
public abstract void stopEmulatorOutput ()
public abstract void remountSystemWritable () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean isRuntimePermissionSupported () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.Integer getPrimaryUserId () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getBuildSigningKeys () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract int getCurrentUser () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract int getUserFlags (int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract int getUserSerialNumber (int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean switchUser (int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean switchUser (int, long) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean isUserRunning (int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean hasFeature (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getSetting (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getSetting (int, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void setSetting (java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void setSetting (int, java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getAndroidId (int) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.util.Map getAndroidIds () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract void preInvocationSetup (com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.targetprep.TargetSetupError com.android.tradefed.device.DeviceNotAvailableException
public abstract void postInvocationTearDown ()
public abstract boolean isHeadless () throws com.android.tradefed.device.DeviceNotAvailableException
}
com/android/tradefed/device/DeviceUtilStatsMonitor$1.classDeviceUtilStatsMonitor.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceUtilStatsMonitor$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$tradefed$device$DeviceUtilStatsMonitor$StubDeviceUtil
static void ()
}
com/android/tradefed/device/IDeviceSelection.classIDeviceSelection.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IDeviceSelection extends java.lang.Object implements com.android.tradefed.util.ConditionPriorityBlockingQueue$IMatcher {
public abstract java.util.Collection getSerials ()
public abstract java.util.Collection getExcludeSerials ()
public abstract java.util.Collection getProductTypes ()
public abstract java.util.Map getProperties ()
public abstract boolean emulatorRequested ()
public abstract boolean deviceRequested ()
public abstract boolean stubEmulatorRequested ()
public abstract boolean nullDeviceRequested ()
public abstract java.lang.String getDeviceProductType (com.android.ddmlib.IDevice)
public abstract java.lang.String getDeviceProductVariant (com.android.ddmlib.IDevice)
public abstract java.lang.Integer getBatteryLevel (com.android.ddmlib.IDevice)
public transient abstract void setSerial (java.lang.String[])
}
com/android/tradefed/device/DeviceAllocationEventHandler.classDeviceAllocationEventHandler.java
package com.android.tradefed.device
abstract com.android.tradefed.device.DeviceAllocationEventHandler extends java.lang.Object {
public abstract com.android.tradefed.device.DeviceAllocationState handleDeviceEvent (com.android.tradefed.device.DeviceEvent)
}
com/android/tradefed/device/TcpDevice.classTcpDevice.java
package com.android.tradefed.device
public com.android.tradefed.device.TcpDevice extends com.android.tradefed.device.StubDevice {
public void (java.lang.String)
String serial
}
com/android/tradefed/device/FreeDeviceState.classFreeDeviceState.java
package com.android.tradefed.device
public final com.android.tradefed.device.FreeDeviceState extends java.lang.Enum {
public static final com.android.tradefed.device.FreeDeviceState AVAILABLE
public static final com.android.tradefed.device.FreeDeviceState UNAVAILABLE
public static final com.android.tradefed.device.FreeDeviceState UNRESPONSIVE
public static final com.android.tradefed.device.FreeDeviceState IGNORE
private static final com.android.tradefed.device.FreeDeviceState[] $VALUES
public static com.android.tradefed.device.FreeDeviceState[] values ()
public static com.android.tradefed.device.FreeDeviceState valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/device/DeviceAllocationEventHandler$UnknownHandler.classDeviceAllocationEventHandler.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceAllocationEventHandler$UnknownHandler extends java.lang.Object implements com.android.tradefed.device.DeviceAllocationEventHandler {
public void ()
public com.android.tradefed.device.DeviceAllocationState handleDeviceEvent (com.android.tradefed.device.DeviceEvent)
com.android.tradefed.device.DeviceEvent event
}
com/android/tradefed/device/TestDevice$DumpPkgAction.classTestDevice.java
package com.android.tradefed.device
com.android.tradefed.device.TestDevice$DumpPkgAction extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
java.util.Map mPkgInfoMap
final com.android.tradefed.device.TestDevice this$0
void (com.android.tradefed.device.TestDevice)
public boolean run () throws java.io.IOException com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException com.android.ddmlib.InstallException com.android.ddmlib.SyncException
com.android.tradefed.device.DumpsysPackageReceiver receiver
}
com/android/tradefed/device/IManagedTestDeviceFactory.classIManagedTestDeviceFactory.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IManagedTestDeviceFactory extends java.lang.Object {
public abstract com.android.tradefed.device.IManagedTestDevice createDevice (com.android.ddmlib.IDevice)
public abstract void setFastbootEnabled (boolean)
}
com/android/tradefed/device/DeviceUtilStatsMonitor$DeviceUtilRecord.classDeviceUtilStatsMonitor.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceUtilStatsMonitor$DeviceUtilRecord extends java.lang.Object {
private com.android.tradefed.util.CircularByteArray mData
private int mConsecutiveMissedSamples
final com.android.tradefed.device.DeviceUtilStatsMonitor this$0
void (com.android.tradefed.device.DeviceUtilStatsMonitor)
public void addSample (com.android.tradefed.device.DeviceAllocationState)
com.android.tradefed.device.DeviceAllocationState state
public long getNumAllocations ()
public long getTotalSamples ()
public boolean addMissingSample (java.lang.String)
String serial
}
com/android/tradefed/device/TestDeviceState.classTestDeviceState.java
package com.android.tradefed.device
public final com.android.tradefed.device.TestDeviceState extends java.lang.Enum {
public static final com.android.tradefed.device.TestDeviceState FASTBOOT
public static final com.android.tradefed.device.TestDeviceState ONLINE
public static final com.android.tradefed.device.TestDeviceState RECOVERY
public static final com.android.tradefed.device.TestDeviceState NOT_AVAILABLE
private static final com.android.tradefed.device.TestDeviceState[] $VALUES
public static com.android.tradefed.device.TestDeviceState[] values ()
public static com.android.tradefed.device.TestDeviceState valueOf (java.lang.String)
String name
private void (java.lang.String, int)
com.android.ddmlib.IDevice$DeviceState getDdmsState ()
static com.android.tradefed.device.TestDeviceState getStateByDdms (com.android.ddmlib.IDevice$DeviceState)
com.android.ddmlib.IDevice$DeviceState ddmsState
static void ()
}
com/android/tradefed/device/DumpsysPackageReceiver$PackagesParserState.classDumpsysPackageReceiver.java
package com.android.tradefed.device
com.android.tradefed.device.DumpsysPackageReceiver$PackagesParserState extends java.lang.Object implements com.android.tradefed.device.DumpsysPackageReceiver$ParserState {
final com.android.tradefed.device.DumpsysPackageReceiver this$0
private void (com.android.tradefed.device.DumpsysPackageReceiver)
public com.android.tradefed.device.DumpsysPackageReceiver$ParserState parse (java.lang.String) throws com.android.tradefed.device.DumpsysPackageReceiver$ParseException
String name
String line
java.util.regex.Matcher matcher
void (com.android.tradefed.device.DumpsysPackageReceiver, com.android.tradefed.device.DumpsysPackageReceiver$1)
com.android.tradefed.device.DumpsysPackageReceiver x0
com.android.tradefed.device.DumpsysPackageReceiver$1 x1
}
com/android/tradefed/device/TestDevice$1.classTestDevice.java
package com.android.tradefed.device
com.android.tradefed.device.TestDevice$1 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final java.io.File val$packageFile
final boolean val$reinstall
final java.util.List val$extraArgs
final String[] val$response
final com.android.tradefed.device.TestDevice this$0
void (com.android.tradefed.device.TestDevice, java.io.File, boolean, java.util.List, java.lang.String[])
com.android.tradefed.device.TestDevice this$0
public boolean run () throws com.android.ddmlib.InstallException
String result
}
com/android/tradefed/device/RetryingWaitDeviceRecovery.classRetryingWaitDeviceRecovery.java
package com.android.tradefed.device
public com.android.tradefed.device.RetryingWaitDeviceRecovery extends com.android.tradefed.device.WaitDeviceRecovery {
private int mMaxIters
public void ()
public void recoverDevice (com.android.tradefed.device.IDeviceStateMonitor, boolean)
com.android.tradefed.device.DeviceNotAvailableException e
com.android.tradefed.device.IDeviceStateMonitor monitor
boolean recoverUntilOnline
int iter
}
com/android/tradefed/device/WifiHelper.classWifiHelper.java
package com.android.tradefed.device
public com.android.tradefed.device.WifiHelper extends java.lang.Object implements com.android.tradefed.device.IWifiHelper {
private static final String NULL
private static final String NULL_IP_ADDR
private static final String INSTRUMENTATION_CLASS
public static final String INSTRUMENTATION_PKG
static final String FULL_INSTRUMENTATION_NAME
static final String CHECK_PACKAGE_CMD
static final java.util.regex.Pattern PACKAGE_VERSION_PAT
static final int PACKAGE_VERSION_CODE
private static final String WIFIUTIL_APK_NAME
private static final long WIFIUTIL_CMD_TIMEOUT_MINUTES
private static final long DEFAULT_WIFI_STATE_TIMEOUT
private final com.android.tradefed.device.ITestDevice mDevice
public void (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.util.IRunUtil getRunUtil ()
void ensureDeviceSetup () throws com.android.tradefed.device.DeviceNotAvailableException
NumberFormatException e
java.util.regex.Matcher matcher
String error
java.io.IOException e
String inst
java.io.File apkTempFile
public static java.io.File extractWifiUtilApk () throws java.io.IOException
java.io.File apkTempFile
java.io.InputStream apkStream
public boolean enableWifi () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean disableWifi () throws com.android.tradefed.device.DeviceNotAvailableException
public transient boolean waitForWifiState (com.android.tradefed.device.IWifiHelper$WifiState[]) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IWifiHelper$WifiState[] expectedStates
transient boolean waitForWifiState (long, com.android.tradefed.device.IWifiHelper$WifiState[]) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IWifiHelper$WifiState expectedState
String state
long timeout
com.android.tradefed.device.IWifiHelper$WifiState[] expectedStates
long startTime
long getPollTime ()
boolean removeNetwork (int) throws com.android.tradefed.device.DeviceNotAvailableException
int networkId
public boolean addOpenNetwork (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String ssid
int id
public boolean addWpaPskNetwork (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String ssid
String psk
int id
public boolean waitForIp (long) throws com.android.tradefed.device.DeviceNotAvailableException
long timeout
long startTime
public boolean hasValidIp () throws com.android.tradefed.device.DeviceNotAvailableException
String ip
public java.lang.String getIpAddress () throws com.android.tradefed.device.DeviceNotAvailableException
public java.lang.String getSSID () throws com.android.tradefed.device.DeviceNotAvailableException
public java.lang.String getBSSID () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean removeAllNetworks () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean isWifiEnabled () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean waitForWifiEnabled () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean waitForWifiEnabled (long) throws com.android.tradefed.device.DeviceNotAvailableException
long timeout
long startTime
public boolean waitForWifiDisabled () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean waitForWifiDisabled (long) throws com.android.tradefed.device.DeviceNotAvailableException
long timeout
long startTime
public java.util.Map getWifiInfo () throws com.android.tradefed.device.DeviceNotAvailableException
String key
org.json.JSONObject json
java.util.Iterator keys
org.json.JSONException e
java.util.Map info
String result
public boolean checkConnectivity (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String urlToCheck
public boolean connectToNetwork (java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String ssid
String psk
String urlToCheck
public boolean disconnectFromNetwork () throws com.android.tradefed.device.DeviceNotAvailableException
public boolean startMonitor (long, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
long interval
String urlToCheck
public java.util.List stopMonitor () throws com.android.tradefed.device.DeviceNotAvailableException
String token
String output
String[] tokens
java.util.List values
private transient java.lang.String runWifiUtil (java.lang.String, java.lang.String[]) throws com.android.tradefed.device.DeviceNotAvailableException
String method
String[] args
String cmd
com.android.tradefed.device.WifiHelper$WifiUtilOutput parser
static transient java.lang.String buildWifiUtilCmd (java.lang.String, java.lang.String[])
int i
String method
String[] args
java.util.Map argMap
static java.lang.String buildWifiUtilCmdFromMap (java.util.Map)
java.util.Map$Entry arg
java.util.Map args
StringBuilder sb
private static int asInt (java.lang.String)
NumberFormatException e
String str
private static boolean asBool (java.lang.String)
String str
private static java.lang.String quote (java.lang.String)
String str
static void ()
}
com/android/tradefed/device/ReconnectingRecovery.classReconnectingRecovery.java
package com.android.tradefed.device
public com.android.tradefed.device.ReconnectingRecovery extends java.lang.Object implements com.android.tradefed.device.IDeviceRecovery {
private static final int ADB_TIMEOUT
private static final int CONNECTION_ATTEMPTS
public void ()
public void recoverDevice (com.android.tradefed.device.IDeviceStateMonitor, boolean) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
boolean recoverUntilOnline
String serial
int attempt
String errMsg
public void recoverDeviceBootloader (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
public void recoverDeviceRecovery (com.android.tradefed.device.IDeviceStateMonitor) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.IDeviceStateMonitor monitor
com.android.tradefed.util.IRunUtil getRunUtil ()
}
com/android/tradefed/device/CollectingByteOutputReceiver.classCollectingByteOutputReceiver.java
package com.android.tradefed.device
public com.android.tradefed.device.CollectingByteOutputReceiver extends java.lang.Object implements com.android.ddmlib.IShellOutputReceiver {
private com.android.tradefed.util.ByteArrayList mData
private boolean mIsCanceled
public void ()
public byte[] getOutput ()
public boolean isCancelled ()
public void cancel ()
public void addOutput (byte[], int, int)
byte[] data
int offset
int length
public void flush ()
public void clear ()
}
com/android/tradefed/device/NetworkNotAvailableException.classNetworkNotAvailableException.java
package com.android.tradefed.device
public com.android.tradefed.device.NetworkNotAvailableException extends java.lang.RuntimeException {
public void ()
public void (java.lang.String)
String msg
public void (java.lang.String, java.lang.Throwable)
String msg
Throwable cause
}
com/android/tradefed/device/IAndroidDebugBridge.classIAndroidDebugBridge.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IAndroidDebugBridge extends java.lang.Object {
public abstract com.android.ddmlib.IDevice[] getDevices ()
public abstract void addDeviceChangeListener (com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener)
public abstract void removeDeviceChangeListener (com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener)
public abstract void init (boolean, java.lang.String)
public abstract void terminate ()
public abstract void disconnectBridge ()
}
com/android/tradefed/device/TopHelper$TopReceiver.classTopHelper.java
package com.android.tradefed.device
com.android.tradefed.device.TopHelper$TopReceiver extends com.android.ddmlib.MultiLineReceiver {
private java.util.List mTopStats
private boolean mIsCancelled
private java.io.File mLogFile
private java.io.BufferedWriter mLogWriter
public void ()
public synchronized void logToFile (java.io.File)
java.io.IOException e
java.io.File logFile
public void processNewLines (java.lang.String[])
String line
java.io.IOException e
com.android.tradefed.device.TopHelper$TopStats s
java.util.regex.Matcher m
String line
String[] lines
public synchronized void cancel ()
java.io.IOException e
public synchronized boolean isCancelled ()
public synchronized java.util.List getTopStats ()
}
com/android/tradefed/device/DeviceManager$2.classDeviceManager.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceManager$2 extends java.lang.Object implements java.lang.Runnable {
final com.android.tradefed.device.IManagedTestDevice val$testDevice
final com.android.tradefed.device.DeviceManager this$0
void (com.android.tradefed.device.DeviceManager, com.android.tradefed.device.IManagedTestDevice)
com.android.tradefed.device.DeviceManager this$0
public void run ()
com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse r
com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse r
}
com/android/tradefed/device/AndroidNativeDevice$5.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$5 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final String val$remoteFilePath
final java.io.File val$localFile
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, java.lang.String, java.io.File)
com.android.tradefed.device.AndroidNativeDevice this$0
public boolean run () throws com.android.ddmlib.TimeoutException java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.SyncException
com.android.ddmlib.SyncException e
com.android.ddmlib.SyncService syncService
boolean status
}
com/android/tradefed/device/AndroidNativeDeviceStateMonitor$DeviceStateListener.classAndroidNativeDeviceStateMonitor.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$DeviceStateListener extends java.lang.Object {
private final com.android.tradefed.device.TestDeviceState mExpectedState
public void (com.android.tradefed.device.TestDeviceState)
com.android.tradefed.device.TestDeviceState expectedState
public void stateChanged (com.android.tradefed.device.TestDeviceState)
com.android.tradefed.device.TestDeviceState newState
}
com/android/tradefed/device/AndroidNativeDevice$3.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$3 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final String val$command
final com.android.ddmlib.IShellOutputReceiver val$receiver
final long val$maxTimeToOutputShellResponse
final java.util.concurrent.TimeUnit val$timeUnit
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, java.lang.String, com.android.ddmlib.IShellOutputReceiver, long, java.util.concurrent.TimeUnit)
com.android.tradefed.device.AndroidNativeDevice this$0
public boolean run () throws com.android.ddmlib.TimeoutException java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException
}
com/android/tradefed/device/IWifiHelper$WifiState.classIWifiHelper.java
package com.android.tradefed.device
public final com.android.tradefed.device.IWifiHelper$WifiState extends java.lang.Enum {
public static final com.android.tradefed.device.IWifiHelper$WifiState COMPLETED
public static final com.android.tradefed.device.IWifiHelper$WifiState SCANNING
public static final com.android.tradefed.device.IWifiHelper$WifiState DISCONNECTED
public static final com.android.tradefed.device.IWifiHelper$WifiState OTHER
private static final com.android.tradefed.device.IWifiHelper$WifiState[] $VALUES
public static com.android.tradefed.device.IWifiHelper$WifiState[] values ()
public static com.android.tradefed.device.IWifiHelper$WifiState valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/device/TestDevice$ScreenshotAction.classTestDevice.java
package com.android.tradefed.device
com.android.tradefed.device.TestDevice$ScreenshotAction extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
com.android.ddmlib.RawImage mRawScreenshot
final com.android.tradefed.device.TestDevice this$0
private void (com.android.tradefed.device.TestDevice)
public boolean run () throws java.io.IOException com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException com.android.ddmlib.InstallException com.android.ddmlib.SyncException
void (com.android.tradefed.device.TestDevice, com.android.tradefed.device.TestDevice$1)
com.android.tradefed.device.TestDevice x0
com.android.tradefed.device.TestDevice$1 x1
}
com/android/tradefed/device/LargeOutputReceiver.classLargeOutputReceiver.java
package com.android.tradefed.device
public com.android.tradefed.device.LargeOutputReceiver extends java.lang.Object implements com.android.ddmlib.IShellOutputReceiver {
private String mSerialNumber
private String mDescriptor
private boolean mIsCancelled
private com.android.tradefed.util.SizeLimitedOutputStream mOutStream
private long mMaxDataSize
public void (java.lang.String, java.lang.String, long)
String descriptor
String serialNumber
long maxDataSize
public synchronized void addOutput (byte[], int, int)
java.io.IOException e
byte[] data
int offset
int length
public synchronized com.android.tradefed.result.InputStreamSource getData ()
java.io.IOException e
public synchronized com.android.tradefed.result.InputStreamSource getData (int)
com.android.tradefed.util.FixedByteArrayOutputStream os
java.io.IOException e
java.io.InputStream fullStream
int maxBytes
public synchronized void flush ()
public synchronized void clear ()
private com.android.tradefed.util.SizeLimitedOutputStream createOutputStream ()
public synchronized void cancel ()
public void delete ()
public synchronized boolean isCancelled ()
java.lang.String getDescriptor ()
}
com/android/tradefed/device/IWifiHelper.classIWifiHelper.java
package com.android.tradefed.device
abstract com.android.tradefed.device.IWifiHelper extends java.lang.Object {
public abstract boolean enableWifi () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean disableWifi () throws com.android.tradefed.device.DeviceNotAvailableException
public transient abstract boolean waitForWifiState (com.android.tradefed.device.IWifiHelper$WifiState[]) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean addOpenNetwork (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean addWpaPskNetwork (java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean waitForIp (long) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getIpAddress () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getSSID () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.lang.String getBSSID () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean removeAllNetworks () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean isWifiEnabled () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean waitForWifiEnabled () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean waitForWifiEnabled (long) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean waitForWifiDisabled () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean waitForWifiDisabled (long) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean hasValidIp () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.util.Map getWifiInfo () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean checkConnectivity (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean connectToNetwork (java.lang.String, java.lang.String, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean disconnectFromNetwork () throws com.android.tradefed.device.DeviceNotAvailableException
public abstract boolean startMonitor (long, java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
public abstract java.util.List stopMonitor () throws com.android.tradefed.device.DeviceNotAvailableException
}
com/android/tradefed/device/DumpsysPackageReceiver$HiddenPackagesParserState.classDumpsysPackageReceiver.java
package com.android.tradefed.device
com.android.tradefed.device.DumpsysPackageReceiver$HiddenPackagesParserState extends java.lang.Object implements com.android.tradefed.device.DumpsysPackageReceiver$ParserState {
final com.android.tradefed.device.DumpsysPackageReceiver this$0
private void (com.android.tradefed.device.DumpsysPackageReceiver)
public com.android.tradefed.device.DumpsysPackageReceiver$ParserState parse (java.lang.String) throws com.android.tradefed.device.DumpsysPackageReceiver$ParseException
String name
String line
java.util.regex.Matcher matcher
void (com.android.tradefed.device.DumpsysPackageReceiver, com.android.tradefed.device.DumpsysPackageReceiver$1)
com.android.tradefed.device.DumpsysPackageReceiver x0
com.android.tradefed.device.DumpsysPackageReceiver$1 x1
}
com/android/tradefed/device/NoDeviceException.classNoDeviceException.java
package com.android.tradefed.device
public com.android.tradefed.device.NoDeviceException extends java.lang.Exception {
public void ()
public void (java.lang.String)
String msg
public void (java.lang.String, java.lang.Throwable)
String msg
Throwable cause
}
com/android/tradefed/device/TestDevice$PkgFilter.classTestDevice.java
package com.android.tradefed.device
abstract com.android.tradefed.device.TestDevice$PkgFilter extends java.lang.Object {
public abstract boolean accept (java.lang.String, java.lang.String)
}
com/android/tradefed/device/IDeviceMonitor$DeviceLister.classIDeviceMonitor.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.IDeviceMonitor$DeviceLister extends java.lang.Object {
public void ()
public abstract java.util.List listDevices ()
}
com/android/tradefed/device/NullDevice.classNullDevice.java
package com.android.tradefed.device
com.android.tradefed.device.NullDevice extends com.android.tradefed.device.StubDevice {
void (java.lang.String)
String serial
}
com/android/tradefed/device/PackageInfo.classPackageInfo.java
package com.android.tradefed.device
public com.android.tradefed.device.PackageInfo extends java.lang.Object {
private static final int FLAG_UPDATED_SYSTEM_APP
private static final int FLAG_SYSTEM
private static final String FLAG_UPDATED_SYSTEM_APP_TEXT
private static final String FLAG_SYSTEM_TEXT
private final String mPackageName
private boolean mIsSystemApp
private boolean mIsUpdatedSystemApp
private java.util.Map mAttributes
void (java.lang.String)
String pkgName
public boolean isUpdatedSystemApp ()
public boolean isSystemApp ()
public java.lang.String getPackageName ()
public java.lang.String getVersionName ()
void setIsUpdatedSystemApp (boolean)
boolean isUpdatedSystemApp
void addAttribute (java.lang.String, java.lang.String)
String name
String value
private void parseFlagsAsString (java.lang.String)
String flagString
private boolean parseFlagsAsInt (java.lang.String)
int flags
String value
}
com/android/tradefed/device/DeviceAllocationEventHandler$AvailableHandler.classDeviceAllocationEventHandler.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceAllocationEventHandler$AvailableHandler extends java.lang.Object implements com.android.tradefed.device.DeviceAllocationEventHandler {
public void ()
public com.android.tradefed.device.DeviceAllocationState handleDeviceEvent (com.android.tradefed.device.DeviceEvent)
com.android.tradefed.device.DeviceEvent event
}
com/android/tradefed/device/AndroidNativeDeviceStateMonitor$1.classAndroidNativeDeviceStateMonitor.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDeviceStateMonitor$1 extends java.lang.Object {
}
com/android/tradefed/device/TestDevice$2.classTestDevice.java
package com.android.tradefed.device
com.android.tradefed.device.TestDevice$2 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final java.io.File val$packageFile
final java.io.File val$certFile
final String[] val$extraArgs
final String[] val$response
final boolean val$reinstall
final com.android.tradefed.device.TestDevice this$0
void (com.android.tradefed.device.TestDevice, java.io.File, java.io.File, java.lang.String[], java.lang.String[], boolean)
com.android.tradefed.device.TestDevice this$0
public boolean run () throws com.android.ddmlib.InstallException com.android.ddmlib.SyncException java.io.IOException com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException
String remotePackagePath
String remoteCertPath
String[] newExtraArgs
}
com/android/tradefed/device/AndroidNativeDevice$FileQueryAction.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$FileQueryAction extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
com.android.ddmlib.FileListingService$FileEntry[] mFileContents
private final com.android.ddmlib.FileListingService$FileEntry mRemoteFileEntry
private final com.android.ddmlib.FileListingService mService
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, com.android.ddmlib.FileListingService$FileEntry, com.android.ddmlib.FileListingService)
com.android.ddmlib.FileListingService$FileEntry remoteFileEntry
com.android.ddmlib.FileListingService service
public boolean run () throws com.android.ddmlib.TimeoutException java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException
}
com/android/tradefed/device/AndroidNativeDevice$6.classAndroidNativeDevice.java
package com.android.tradefed.device
com.android.tradefed.device.AndroidNativeDevice$6 extends java.lang.Object implements com.android.tradefed.device.AndroidNativeDevice$DeviceAction {
final java.io.File val$localFile
final String val$remoteFilePath
final com.android.tradefed.device.AndroidNativeDevice this$0
void (com.android.tradefed.device.AndroidNativeDevice, java.io.File, java.lang.String)
com.android.tradefed.device.AndroidNativeDevice this$0
public boolean run () throws com.android.ddmlib.TimeoutException java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.SyncException
com.android.ddmlib.SyncException e
com.android.ddmlib.SyncService syncService
boolean status
}
com/android/tradefed/device/BackgroundDeviceAction.classBackgroundDeviceAction.java
package com.android.tradefed.device
public com.android.tradefed.device.BackgroundDeviceAction extends java.lang.Thread {
private static final long ONLINE_POLL_INTERVAL_MS
private com.android.ddmlib.IShellOutputReceiver mReceiver
private com.android.tradefed.device.ITestDevice mTestDevice
private String mCommand
private String mDescriptor
private boolean mIsCancelled
private int mLogStartDelay
public void (java.lang.String, java.lang.String, com.android.tradefed.device.ITestDevice, com.android.ddmlib.IShellOutputReceiver, int)
String command
String descriptor
com.android.tradefed.device.ITestDevice device
com.android.ddmlib.IShellOutputReceiver receiver
int startDelay
public void run ()
Exception e
String separator
protected void waitForDeviceRecovery (java.lang.String)
String exceptionType
public synchronized void cancel ()
public synchronized boolean isCancelled ()
com.android.tradefed.util.IRunUtil getRunUtil ()
private void blockUntilOnlineNoThrow ()
}
com/android/tradefed/device/ManagedDeviceList$AllocationMatcher.classManagedDeviceList.java
package com.android.tradefed.device
com.android.tradefed.device.ManagedDeviceList$AllocationMatcher extends java.lang.Object implements com.android.tradefed.util.ConditionPriorityBlockingQueue$IMatcher {
private com.android.tradefed.device.IDeviceSelection mDeviceSelectionMatcher
void (com.android.tradefed.device.IDeviceSelection)
com.android.tradefed.device.IDeviceSelection options
public boolean matches (com.android.tradefed.device.IManagedTestDevice)
com.android.tradefed.device.IManagedTestDevice$DeviceEventResponse r
com.android.tradefed.device.IManagedTestDevice element
public volatile boolean matches (java.lang.Object)
}
com/android/tradefed/device/DeviceManager$FastbootMonitor.classDeviceManager.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceManager$FastbootMonitor extends java.lang.Thread {
private boolean mQuit
final com.android.tradefed.device.DeviceManager this$0
void (com.android.tradefed.device.DeviceManager)
public void terminate ()
public void run ()
com.android.tradefed.device.IDeviceManager$IFastbootListener listener
java.util.Collection listenersCopy
java.util.Set serials
com.android.tradefed.device.FastbootHelper fastboot
}
com/android/tradefed/device/ITestDeviceMutator.classITestDeviceMutator.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.ITestDeviceMutator extends java.lang.Object {
public abstract void setIDevice (com.android.tradefed.device.ITestDevice, com.android.ddmlib.IDevice)
public abstract void setFastbootEnabled (com.android.tradefed.device.ITestDevice, boolean)
}
com/android/tradefed/device/ILogcatReceiver.classILogcatReceiver.java
package com.android.tradefed.device
public abstract com.android.tradefed.device.ILogcatReceiver extends java.lang.Object {
public abstract void start ()
public abstract void stop ()
public abstract void clear ()
public abstract com.android.tradefed.result.InputStreamSource getLogcatData ()
public abstract com.android.tradefed.result.InputStreamSource getLogcatData (int)
}
com/android/tradefed/device/FileEntryWrapper.classFileEntryWrapper.java
package com.android.tradefed.device
com.android.tradefed.device.FileEntryWrapper extends java.lang.Object implements com.android.tradefed.device.IFileEntry {
private final com.android.tradefed.device.AndroidNativeDevice mTestDevice
private final com.android.ddmlib.FileListingService$FileEntry mFileEntry
private java.util.Map mChildMap
void (com.android.tradefed.device.AndroidNativeDevice, com.android.ddmlib.FileListingService$FileEntry)
com.android.tradefed.device.AndroidNativeDevice testDevice
com.android.ddmlib.FileListingService$FileEntry entry
public java.lang.String getFullEscapedPath ()
public java.lang.String getFullPath ()
public com.android.tradefed.device.IFileEntry findChild (java.lang.String) throws com.android.tradefed.device.DeviceNotAvailableException
String name
public boolean isDirectory ()
public boolean isAppFileName ()
public java.lang.String getName ()
public java.util.Collection getChildren (boolean) throws com.android.tradefed.device.DeviceNotAvailableException
boolean useCache
private java.util.Map buildChildrenMap () throws com.android.tradefed.device.DeviceNotAvailableException
com.android.ddmlib.FileListingService$FileEntry entry
com.android.ddmlib.FileListingService$FileEntry[] childEntrys
java.util.Map childMap
static com.android.tradefed.device.IFileEntry getDescendant (com.android.tradefed.device.IFileEntry, java.util.List) throws com.android.tradefed.device.DeviceNotAvailableException
String childName
com.android.tradefed.device.IFileEntry fileEntry
java.util.List childSegments
com.android.tradefed.device.IFileEntry child
public com.android.ddmlib.FileListingService$FileEntry getFileEntry ()
public java.lang.String getTime ()
public java.lang.String getDate ()
public java.lang.String getPermissions ()
}
com/android/tradefed/device/DeviceManager$1.classDeviceManager.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceManager$1 extends com.android.tradefed.device.IDeviceMonitor$DeviceLister {
final com.android.tradefed.device.DeviceManager this$0
void (com.android.tradefed.device.DeviceManager)
com.android.tradefed.device.DeviceManager this$0
public java.util.List listDevices ()
}
com/android/tradefed/device/LargeOutputReceiver$1.classLargeOutputReceiver.java
package com.android.tradefed.device
com.android.tradefed.device.LargeOutputReceiver$1 extends java.lang.Object implements com.android.tradefed.result.InputStreamSource {
final com.android.tradefed.util.FixedByteArrayOutputStream val$os
final com.android.tradefed.device.LargeOutputReceiver this$0
void (com.android.tradefed.device.LargeOutputReceiver, com.android.tradefed.util.FixedByteArrayOutputStream)
com.android.tradefed.device.LargeOutputReceiver this$0
public java.io.InputStream createInputStream ()
public void cancel ()
public long size ()
}
com/android/tradefed/device/DeviceManager$DeviceRecoverer.classDeviceManager.java
package com.android.tradefed.device
com.android.tradefed.device.DeviceManager$DeviceRecoverer extends java.lang.Thread {
private boolean mQuit
private java.util.List mMultiDeviceRecoverers
final com.android.tradefed.device.DeviceManager this$0
public void (com.android.tradefed.device.DeviceManager, java.util.List)
java.util.List multiDeviceRecoverers
public void run ()
java.util.List devices
com.android.tradefed.device.IMultiDeviceRecovery m
public void terminate ()
}
com/android/tradefed/device/CpuStatsCollector$CpuStatsReceiver.classCpuStatsCollector.java
package com.android.tradefed.device
public com.android.tradefed.device.CpuStatsCollector$CpuStatsReceiver extends com.android.ddmlib.MultiLineReceiver {
private java.util.Map mCpuStats
private boolean mIsCancelled
private java.io.File mLogFile
private java.io.BufferedWriter mLogWriter
public void ()
public synchronized void logToFile (java.io.File)
java.io.IOException e
java.io.File logFile
public void processNewLines (java.lang.String[])
String line
java.io.IOException e
int i
com.android.tradefed.device.CpuStatsCollector$CpuStats s
NumberFormatException e
IndexOutOfBoundsException e
String[] args
String line
String[] lines
public synchronized void cancel ()
java.io.IOException e
public synchronized boolean isCancelled ()
public synchronized java.util.Map getCpuStats ()
String k
java.util.Map copy
}
com/android/tradefed/device/DumpsysPackageReceiver$PackageParserState.classDumpsysPackageReceiver.java
package com.android.tradefed.device
com.android.tradefed.device.DumpsysPackageReceiver$PackageParserState extends java.lang.Object implements com.android.tradefed.device.DumpsysPackageReceiver$ParserState {
private com.android.tradefed.device.PackageInfo mPkgInfo
final com.android.tradefed.device.DumpsysPackageReceiver this$0
public void (com.android.tradefed.device.DumpsysPackageReceiver, java.lang.String)
String name
public com.android.tradefed.device.DumpsysPackageReceiver$ParserState parse (java.lang.String) throws com.android.tradefed.device.DumpsysPackageReceiver$ParseException
String name
String line
java.util.regex.Matcher matcher
private void parseAttributes (java.lang.String)
int i
String[] vn
String line
String[] prop
}
com/android/tradefed/device/DeviceSelectionOptions.classDeviceSelectionOptions.java
package com.android.tradefed.device
public com.android.tradefed.device.DeviceSelectionOptions extends java.lang.Object implements com.android.tradefed.device.IDeviceSelection {
private java.util.Collection mSerials
private java.util.Collection mExcludeSerials
private java.util.Collection mProductTypes
private java.util.Map mPropertyMap
private boolean mEmulatorRequested
private boolean mDeviceRequested
private boolean mStubEmulatorRequested
private boolean mNullDeviceRequested
private boolean mTcpDeviceRequested
private Integer mMinBattery
private Integer mMaxBattery
private boolean mRequireBatteryCheck
private Integer mMinSdk
private Integer mMaxSdk
private boolean mFetchedEnvVariable
private static final String VARIANT_SEPARATOR
public static final String DEVICE_PRODUCT_PROPERTY
public static final String DEVICE_VARIANT_PROPERTY
public static final String DEVICE_SDK_PROPERTY
public void ()
public void addSerial (java.lang.String)
String serialNumber
public transient void setSerial (java.lang.String[])
String[] serialNumber
public void addExcludeSerial (java.lang.String)
String serialNumber
public void addProductType (java.lang.String)
String productType
public void addProperty (java.lang.String, java.lang.String)
String propertyKey
String propValue
public java.util.Collection getSerials ()
String env_serial
public java.util.Collection getExcludeSerials ()
public java.util.Collection getProductTypes ()
public boolean deviceRequested ()
public boolean emulatorRequested ()
public boolean stubEmulatorRequested ()
public boolean nullDeviceRequested ()
public boolean tcpDeviceRequested ()
public void setEmulatorRequested (boolean)
boolean emulatorRequested
public void setStubEmulatorRequested (boolean)
boolean stubEmulatorRequested
public void setDeviceRequested (boolean)
boolean deviceRequested
public void setNullDeviceRequested (boolean)
boolean nullDeviceRequested
public void setTcpDeviceRequested (boolean)
boolean tcpDeviceRequested
public void setMinBatteryLevel (java.lang.Integer)
Integer minBattery
public java.lang.Integer getMinBatteryLevel ()
public void setMaxBatteryLevel (java.lang.Integer)
Integer maxBattery
public java.lang.Integer getMaxBatteryLevel ()
public void setRequireBatteryCheck (boolean)
boolean requireCheck
public boolean getRequireBatteryCheck ()
public java.util.Map getProperties ()
private java.util.Collection copyCollection (java.util.Collection)
java.util.Collection original
java.util.Collection listCopy
java.lang.String fetchEnvironmentVariable (java.lang.String)
String name
public boolean matches (com.android.ddmlib.IDevice)
String productVariant
java.util.Collection variants
String productType
java.util.Map$Entry propEntry
int deviceSdkLevel
Integer deviceBattery
com.android.ddmlib.IDevice device
java.util.Collection serials
java.util.Collection excludeSerials
java.util.Map productVariants
java.util.Collection productTypes
java.util.Map properties
private static boolean isLessAndNotNull (java.lang.Integer, java.lang.Integer)
Integer x
Integer y
private static boolean isLessEqAndNotNull (java.lang.Integer, java.lang.Integer)
Integer x
Integer y
private java.util.Map splitOnVariant (java.util.Collection)
java.util.Collection variants
String[] parts
String prod
java.util.Collection products
java.util.Map splitProducts
public java.lang.String getDeviceProductType (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice device
private java.lang.String getProperty (com.android.ddmlib.IDevice, java.lang.String)
com.android.ddmlib.IDevice device
String propName
public java.lang.String getDeviceProductVariant (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice device
public java.lang.Integer getBatteryLevel (com.android.ddmlib.IDevice)
java.util.concurrent.Future batteryFuture
Exception e
com.android.ddmlib.IDevice device
private int getDeviceSdkLevel (com.android.ddmlib.IDevice)
NumberFormatException nfe
com.android.ddmlib.IDevice device
int apiLevel
String prop
public static com.android.tradefed.device.IDeviceSelection createForSerial (java.lang.String)
String serial
com.android.tradefed.device.DeviceSelectionOptions o
public volatile boolean matches (java.lang.Object)
}
com/android/tradefed/build/
com/android/tradefed/build/LocalSdkBuildProvider.classLocalSdkBuildProvider.java
package com.android.tradefed.build
public com.android.tradefed.build.LocalSdkBuildProvider extends java.lang.Object implements com.android.tradefed.build.IBuildProvider {
private static final String SDK_OPTION_NAME
private java.io.File mLocalSdkPath
private java.io.File mLocalTestPath
public void ()
public com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
com.android.tradefed.build.ISdkBuildInfo sdkBuild
public void buildNotTested (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public void cleanUp (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
private java.io.File getSdkFromBuildEnv ()
String osName
String osPath
String userName
String path
String buildRoot
}
com/android/tradefed/build/IAppBuildInfo.classIAppBuildInfo.java
package com.android.tradefed.build
public abstract com.android.tradefed.build.IAppBuildInfo extends java.lang.Object implements com.android.tradefed.build.IBuildInfo {
public abstract java.util.List getAppPackageFiles ()
public abstract void addAppPackageFile (java.io.File, java.lang.String)
}
com/android/tradefed/build/StubBuildProvider.classStubBuildProvider.java
package com.android.tradefed.build
public com.android.tradefed.build.StubBuildProvider extends java.lang.Object implements com.android.tradefed.build.IBuildProvider {
private String mBuildId
private String mTestTag
private String mBuildTargetName
private String mBranch
private String mBuildFlavor
private java.util.Map mBuildAttributes
public void ()
public com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
java.util.Map$Entry attributeEntry
com.android.tradefed.build.BuildInfo stubBuild
public void buildNotTested (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public void cleanUp (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
}
com/android/tradefed/build/DeviceBuildDescriptor.classDeviceBuildDescriptor.java
package com.android.tradefed.build
public com.android.tradefed.build.DeviceBuildDescriptor extends java.lang.Object {
public static final String DEVICE_BUILD_ID
public static final String DEVICE_BUILD_ALIAS
public static final String DEVICE_BUILD_FLAVOR
public static final String DEVICE_DESC
public static final String DEVICE_PRODUCT
private final com.android.tradefed.build.IBuildInfo mBuild
public void (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo build
public static boolean describesDeviceBuild (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo build
public java.lang.String getDeviceBuildId ()
public java.lang.String getDeviceBuildAlias ()
public java.lang.String getDeviceBuildFlavor ()
public java.lang.String getDeviceUserDescription ()
public java.lang.String getDeviceProduct ()
public static void injectDeviceAttributes (com.android.tradefed.device.ITestDevice, com.android.tradefed.build.IBuildInfo) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
com.android.tradefed.build.IBuildInfo b
String buildFlavor
public static java.lang.String generateDeviceDesc (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String brand
public static java.lang.String generateDeviceProduct (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
}
com/android/tradefed/build/OtatoolsBuildInfo.classOtatoolsBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.OtatoolsBuildInfo extends com.android.tradefed.build.BuildInfo {
private static final String SECURITY_DIR_NAME
private static final String BIN_DIR_NAME
private static final String FRAMEWORK_DIR_NAME
private static final String RELEASETOOLS_DIR_NAME
public void ()
public void setSecurityDir (java.io.File, java.lang.String)
java.io.File dir
String version
public java.io.File getSecurityDir ()
public void setBinDir (java.io.File, java.lang.String)
java.io.File dir
String version
public java.io.File getBinDir ()
public void setFrameworkDir (java.io.File, java.lang.String)
java.io.File dir
String version
public java.io.File getFrameworkDir ()
public void setReleasetoolsDir (java.io.File, java.lang.String)
java.io.File dir
String version
public java.io.File getReleasetoolsDir ()
}
com/android/tradefed/build/FileDownloadCache.classFileDownloadCache.java
package com.android.tradefed.build
public com.android.tradefed.build.FileDownloadCache extends java.lang.Object {
private static final String LOG_TAG
private static final char REL_PATH_SEPARATOR
private final java.io.File mCacheRoot
private final java.util.Map mCacheMap
private final java.util.concurrent.locks.ReentrantLock mCacheMapLock
private long mCurrentCacheSize
private long mMaxFileCacheSize
void (java.io.File)
com.android.tradefed.build.FileDownloadCache$FilePair cacheEntry
java.util.List cacheEntryList
java.io.File cacheRoot
private void addFiles (java.io.File, java.util.Stack, java.util.List)
String pathSeg
StringBuffer relPath
java.io.File childFile
java.io.File dir
java.util.Stack relPathSegments
java.util.List cacheEntryList
java.io.File[] fileList
public void setMaxCacheSize (long)
long numBytes
public java.io.File fetchRemoteFile (com.android.tradefed.build.IFileDownloader, java.lang.String) throws com.android.tradefed.build.BuildRetrievalError
String localRelativePath
com.android.tradefed.build.BuildRetrievalError e
java.io.File cachedFile
com.android.tradefed.build.IFileDownloader downloader
String remotePath
boolean download
java.io.File copyFile
private void downloadFile (com.android.tradefed.build.IFileDownloader, java.lang.String, java.io.File) throws com.android.tradefed.build.BuildRetrievalError
com.android.tradefed.build.BuildRetrievalError e
com.android.tradefed.build.IFileDownloader downloader
String remotePath
java.io.File cachedFile
private java.io.File copyFile (java.lang.String, java.io.File) throws com.android.tradefed.build.BuildRetrievalError
java.io.IOException e
String remotePath
java.io.File cachedFile
java.io.File hardlinkFile
private java.lang.String convertPath (java.lang.String)
String remotePath
private void incrementAndAdjustCache (long)
java.util.Map$Entry currentEntry
java.io.File deleteFile
String deleteKey
java.util.Iterator mapIterator
java.util.Collection keysToDelete
long length
java.io.File getCachedFile (java.lang.String)
String remoteFilePath
void empty ()
long currentMax
java.lang.String getOldestEntry ()
long getMaxFileCacheSize ()
}
com/android/tradefed/build/IBuildInfo.classIBuildInfo.java
package com.android.tradefed.build
public abstract com.android.tradefed.build.IBuildInfo extends java.lang.Object {
public static final String UNKNOWN_BUILD_ID
public abstract java.lang.String getBuildId ()
public abstract void setBuildId (java.lang.String)
public abstract java.lang.String getTestTag ()
public abstract java.lang.String getBuildTargetName ()
public abstract java.lang.String getBuildFlavor ()
public abstract java.lang.String getDeviceSerial ()
public abstract void setBuildFlavor (java.lang.String)
public abstract java.lang.String getBuildBranch ()
public abstract void setBuildBranch (java.lang.String)
public abstract void setDeviceSerial (java.lang.String)
public abstract java.util.Map getBuildAttributes ()
public abstract void addBuildAttribute (java.lang.String, java.lang.String)
public abstract java.io.File getFile (java.lang.String)
public abstract java.util.Collection getFiles ()
public abstract java.lang.String getVersion (java.lang.String)
public abstract void setFile (java.lang.String, java.io.File, java.lang.String)
public abstract void cleanUp ()
public abstract com.android.tradefed.build.IBuildInfo clone ()
}
com/android/tradefed/build/LocalAppBuildProvider.classLocalAppBuildProvider.java
package com.android.tradefed.build
public com.android.tradefed.build.LocalAppBuildProvider extends com.android.tradefed.build.StubBuildProvider {
private static final String APP_OPTION_NAME
private java.util.Collection mApkPaths
public void ()
public com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
java.io.File apkPath
com.android.tradefed.build.IBuildInfo parentBuild
com.android.tradefed.build.IAppBuildInfo appBuild
public void buildNotTested (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public void cleanUp (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
}
com/android/tradefed/build/VersionedFile.classVersionedFile.java
package com.android.tradefed.build
public com.android.tradefed.build.VersionedFile extends java.lang.Object {
private final java.io.File mFile
private final String mVersion
public void (java.io.File, java.lang.String)
java.io.File file
String version
public java.io.File getFile ()
public java.lang.String getVersion ()
public java.lang.String toString ()
}
com/android/tradefed/build/LocalDeviceBuildProvider.classLocalDeviceBuildProvider.java
package com.android.tradefed.build
public com.android.tradefed.build.LocalDeviceBuildProvider extends com.android.tradefed.build.StubBuildProvider {
private static final String BUILD_DIR_OPTION_NAME
private java.io.File mBuildDir
private String mImgPattern
private String mTestDirPattern
private String mBootloaderPattern
private String mRadioPattern
public void ()
public com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
com.android.tradefed.build.BuildInfo stubBuild
com.android.tradefed.build.DeviceBuildInfo buildInfo
private void findDeviceImageFile (com.android.tradefed.build.DeviceBuildInfo) throws com.android.tradefed.build.BuildRetrievalError
com.android.tradefed.build.DeviceBuildInfo buildInfo
java.io.File deviceImgFile
private void findRadio (com.android.tradefed.build.DeviceBuildInfo) throws com.android.tradefed.build.BuildRetrievalError
com.android.tradefed.build.DeviceBuildInfo buildInfo
java.io.File radioImgFile
private void findBootloader (com.android.tradefed.build.DeviceBuildInfo) throws com.android.tradefed.build.BuildRetrievalError
com.android.tradefed.build.DeviceBuildInfo buildInfo
java.io.File bootloaderImgFile
private void findTestsDir (com.android.tradefed.build.DeviceBuildInfo) throws com.android.tradefed.build.BuildRetrievalError
com.android.tradefed.build.DeviceBuildInfo buildInfo
java.io.File testsDir
private java.io.File findFileInDir (java.lang.String) throws com.android.tradefed.build.BuildRetrievalError
String regex
java.io.File[] files
public void buildNotTested (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public void cleanUp (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
}
com/android/tradefed/build/FileDownloadCache$FilePair.classFileDownloadCache.java
package com.android.tradefed.build
com.android.tradefed.build.FileDownloadCache$FilePair extends java.lang.Object {
final String mRelPath
final java.io.File mFile
void (java.lang.String, java.io.File)
String relPath
java.io.File file
}
com/android/tradefed/build/LocalFolderBuildProvider.classLocalFolderBuildProvider.java
package com.android.tradefed.build
public com.android.tradefed.build.LocalFolderBuildProvider extends com.android.tradefed.build.StubBuildProvider {
private static final String FOLDER_OPTION_NAME
private java.io.File mLocalFolder
public void ()
public com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
com.android.tradefed.build.IBuildInfo parentBuild
com.android.tradefed.build.IFolderBuildInfo folderBuild
public void buildNotTested (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public void cleanUp (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
}
com/android/tradefed/build/DeviceFolderBuildInfo.classDeviceFolderBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.DeviceFolderBuildInfo extends com.android.tradefed.build.BuildInfo implements com.android.tradefed.build.IDeviceBuildInfo com.android.tradefed.build.IFolderBuildInfo {
private com.android.tradefed.build.IDeviceBuildInfo mDeviceBuild
private com.android.tradefed.build.IFolderBuildInfo mFolderBuild
public void (java.lang.String, java.lang.String, java.lang.String)
String buildId
String testTarget
String buildName
public void ()
public java.lang.String getDeviceBuildId ()
public java.lang.String getDeviceBuildFlavor ()
public java.io.File getDeviceImageFile ()
public java.lang.String getDeviceImageVersion ()
public void setDeviceImageFile (java.io.File, java.lang.String)
java.io.File deviceImageFile
String version
public java.io.File getUserDataImageFile ()
public java.lang.String getUserDataImageVersion ()
public void setUserDataImageFile (java.io.File, java.lang.String)
java.io.File userDataFile
String version
public java.io.File getTestsDir ()
public java.lang.String getTestsDirVersion ()
public void setTestsDir (java.io.File, java.lang.String)
java.io.File testsDir
String version
public java.io.File getBasebandImageFile ()
public java.lang.String getBasebandVersion ()
public void setBasebandImage (java.io.File, java.lang.String)
java.io.File basebandFile
String version
public java.io.File getBootloaderImageFile ()
public java.lang.String getBootloaderVersion ()
public void setBootloaderImageFile (java.io.File, java.lang.String)
java.io.File bootloaderImgFile
String version
public java.io.File getOtaPackageFile ()
public java.lang.String getOtaPackageVersion ()
public void setOtaPackageFile (java.io.File, java.lang.String)
java.io.File otaFile
String version
public java.io.File getMkbootimgFile ()
public java.lang.String getMkbootimgVersion ()
public void setMkbootimgFile (java.io.File, java.lang.String)
java.io.File mkbootimg
String version
public java.io.File getRamdiskFile ()
public java.lang.String getRamdiskVersion ()
public void setRamdiskFile (java.io.File, java.lang.String)
java.io.File ramdisk
String version
public java.io.File getRootDir ()
public void setRootDir (java.io.File)
java.io.File rootDir
public void setFolderBuild (com.android.tradefed.build.IFolderBuildInfo)
com.android.tradefed.build.IFolderBuildInfo folderBuild
public void setDeviceBuild (com.android.tradefed.build.IDeviceBuildInfo)
com.android.tradefed.build.IDeviceBuildInfo deviceBuild
public void cleanUp ()
public com.android.tradefed.build.IBuildInfo clone ()
com.android.tradefed.build.DeviceFolderBuildInfo copy
com.android.tradefed.build.IDeviceBuildInfo deviceBuildClone
com.android.tradefed.build.IFolderBuildInfo folderBuildClone
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/FolderBuildInfo.classFolderBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.FolderBuildInfo extends com.android.tradefed.build.BuildInfo implements com.android.tradefed.build.IFolderBuildInfo {
private java.io.File mRootDir
public void (java.lang.String, java.lang.String, java.lang.String)
String buildId
String testTarget
String buildName
void (com.android.tradefed.build.BuildInfo)
com.android.tradefed.build.BuildInfo buildToCopy
public java.io.File getRootDir ()
public void setRootDir (java.io.File)
java.io.File rootDir
public void cleanUp ()
public com.android.tradefed.build.IBuildInfo clone ()
java.io.File copyDir
java.io.IOException e
com.android.tradefed.build.FolderBuildInfo copy
static void linkOrCopy (java.io.File, java.io.File) throws java.io.IOException
java.io.IOException e
java.io.File orig
java.io.File dest
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/IKernelBuildInfo.classIKernelBuildInfo.java
package com.android.tradefed.build
public abstract com.android.tradefed.build.IKernelBuildInfo extends java.lang.Object implements com.android.tradefed.build.IBuildInfo {
public abstract java.io.File getKernelFile ()
public abstract java.lang.String getKernelVersion ()
public abstract void setKernelFile (java.io.File, java.lang.String)
public abstract long getCommitTime ()
public abstract void setCommitTime (long)
public abstract java.lang.String getSha1 ()
public abstract void setSha1 (java.lang.String)
public abstract java.lang.String getShortSha1 ()
public abstract void setShortSha1 (java.lang.String)
}
com/android/tradefed/build/BootstrapBuildProvider.classBootstrapBuildProvider.java
package com.android.tradefed.build
public com.android.tradefed.build.BootstrapBuildProvider extends java.lang.Object implements com.android.tradefed.build.IDeviceBuildProvider {
private String mTestTag
private String mBuildTargetName
private String mBranch
private long mShellAvailableTimeout
private java.io.File mTestsDir
public void ()
public com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
public void buildNotTested (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public void cleanUp (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public com.android.tradefed.build.IBuildInfo getBuild (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.build.BuildRetrievalError com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.ITestDevice device
String buildId
com.android.tradefed.build.IBuildInfo info
}
com/android/tradefed/build/AppDeviceBuildInfo.classAppDeviceBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.AppDeviceBuildInfo extends com.android.tradefed.build.BuildInfo implements com.android.tradefed.build.IDeviceBuildInfo com.android.tradefed.build.IAppBuildInfo {
private com.android.tradefed.build.IDeviceBuildInfo mDeviceBuild
private com.android.tradefed.build.IAppBuildInfo mAppBuildInfo
public void (java.lang.String, java.lang.String, java.lang.String)
String buildId
String testTarget
String buildName
public com.android.tradefed.build.IDeviceBuildInfo getDeviceBuildInfo ()
public com.android.tradefed.build.IAppBuildInfo getAppBuildInfo ()
public java.lang.String getDeviceBuildId ()
public java.lang.String getDeviceBuildFlavor ()
public java.io.File getDeviceImageFile ()
public java.lang.String getDeviceImageVersion ()
public void setDeviceImageFile (java.io.File, java.lang.String)
java.io.File deviceImageFile
String version
public java.io.File getUserDataImageFile ()
public java.lang.String getUserDataImageVersion ()
public void setUserDataImageFile (java.io.File, java.lang.String)
java.io.File userDataFile
String version
public java.io.File getTestsDir ()
public java.lang.String getTestsDirVersion ()
public void setTestsDir (java.io.File, java.lang.String)
java.io.File testsDir
String version
public java.io.File getBasebandImageFile ()
public java.lang.String getBasebandVersion ()
public void setBasebandImage (java.io.File, java.lang.String)
java.io.File basebandFile
String version
public java.io.File getBootloaderImageFile ()
public java.lang.String getBootloaderVersion ()
public void setBootloaderImageFile (java.io.File, java.lang.String)
java.io.File bootloaderImgFile
String version
public java.io.File getOtaPackageFile ()
public java.lang.String getOtaPackageVersion ()
public void setOtaPackageFile (java.io.File, java.lang.String)
java.io.File otaFile
String version
public java.io.File getMkbootimgFile ()
public java.lang.String getMkbootimgVersion ()
public void setMkbootimgFile (java.io.File, java.lang.String)
java.io.File mkbootimg
String version
public java.io.File getRamdiskFile ()
public java.lang.String getRamdiskVersion ()
public void setRamdiskFile (java.io.File, java.lang.String)
java.io.File ramdisk
String version
public void setDeviceBuild (com.android.tradefed.build.IDeviceBuildInfo)
com.android.tradefed.build.IDeviceBuildInfo deviceBuild
public void addAppPackageFile (java.io.File, java.lang.String)
java.io.File appPackageFile
String version
public java.util.List getAppPackageFiles ()
public void setAppBuild (com.android.tradefed.build.IAppBuildInfo)
com.android.tradefed.build.IAppBuildInfo appBuild
public void cleanUp ()
public java.io.File getFile (java.lang.String)
String name
java.io.File localRecord
java.io.File deviceFileRecord
java.io.File appFileRecord
public java.lang.String getVersion (java.lang.String)
String name
String localFileVersion
String deviceFileVersion
String appFileVersion
public com.android.tradefed.build.IBuildInfo clone ()
com.android.tradefed.build.AppDeviceBuildInfo copy
com.android.tradefed.build.IDeviceBuildInfo deviceBuildClone
com.android.tradefed.build.IAppBuildInfo appBuildClone
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/IDeviceBuildInfo.classIDeviceBuildInfo.java
package com.android.tradefed.build
public abstract com.android.tradefed.build.IDeviceBuildInfo extends java.lang.Object implements com.android.tradefed.build.IBuildInfo {
public abstract java.lang.String getDeviceBuildId ()
public abstract java.lang.String getDeviceBuildFlavor ()
public abstract java.io.File getDeviceImageFile ()
public abstract java.lang.String getDeviceImageVersion ()
public abstract void setDeviceImageFile (java.io.File, java.lang.String)
public abstract java.io.File getUserDataImageFile ()
public abstract java.lang.String getUserDataImageVersion ()
public abstract void setUserDataImageFile (java.io.File, java.lang.String)
public abstract java.io.File getTestsDir ()
public abstract java.lang.String getTestsDirVersion ()
public abstract void setTestsDir (java.io.File, java.lang.String)
public abstract java.io.File getBasebandImageFile ()
public abstract java.lang.String getBasebandVersion ()
public abstract void setBasebandImage (java.io.File, java.lang.String)
public abstract java.io.File getBootloaderImageFile ()
public abstract java.lang.String getBootloaderVersion ()
public abstract void setBootloaderImageFile (java.io.File, java.lang.String)
public abstract java.io.File getOtaPackageFile ()
public abstract java.lang.String getOtaPackageVersion ()
public abstract void setOtaPackageFile (java.io.File, java.lang.String)
public abstract java.io.File getMkbootimgFile ()
public abstract java.lang.String getMkbootimgVersion ()
public abstract void setMkbootimgFile (java.io.File, java.lang.String)
public abstract java.io.File getRamdiskFile ()
public abstract java.lang.String getRamdiskVersion ()
public abstract void setRamdiskFile (java.io.File, java.lang.String)
public abstract void cleanUp ()
}
com/android/tradefed/build/FileDownloadCache$1.classFileDownloadCache.java
package com.android.tradefed.build
com.android.tradefed.build.FileDownloadCache$1 extends java.lang.Object {
}
com/android/tradefed/build/IDeviceBuildProvider.classIDeviceBuildProvider.java
package com.android.tradefed.build
public abstract com.android.tradefed.build.IDeviceBuildProvider extends java.lang.Object implements com.android.tradefed.build.IBuildProvider {
public abstract com.android.tradefed.build.IBuildInfo getBuild (com.android.tradefed.device.ITestDevice) throws com.android.tradefed.build.BuildRetrievalError com.android.tradefed.device.DeviceNotAvailableException
}
com/android/tradefed/build/FileDownloadCacheWrapper.classFileDownloadCacheWrapper.java
package com.android.tradefed.build
public com.android.tradefed.build.FileDownloadCacheWrapper extends java.lang.Object implements com.android.tradefed.build.IFileDownloader {
private final com.android.tradefed.build.FileDownloadCache mCache
private final com.android.tradefed.build.IFileDownloader mDelegateDownloader
public void (java.io.File, com.android.tradefed.build.IFileDownloader)
java.io.File cacheDir
com.android.tradefed.build.IFileDownloader delegateDownloader
public java.io.File downloadFile (java.lang.String) throws com.android.tradefed.build.BuildRetrievalError
String remoteFilePath
public void downloadFile (java.lang.String, java.io.File) throws com.android.tradefed.build.BuildRetrievalError
String remotePath
java.io.File destFile
}
com/android/tradefed/build/FileDownloadCacheFactory$SingletonHolder.classFileDownloadCacheFactory.java
package com.android.tradefed.build
com.android.tradefed.build.FileDownloadCacheFactory$SingletonHolder extends java.lang.Object {
public static final com.android.tradefed.build.FileDownloadCacheFactory INSTANCE
private void ()
static void ()
}
com/android/tradefed/build/KernelBuildInfo.classKernelBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.KernelBuildInfo extends com.android.tradefed.build.BuildInfo implements com.android.tradefed.build.IKernelBuildInfo {
private static final String KERNEL_FILE
private String mSha1
private String mShortSha1
private long mCommitTime
public void ()
public void (java.lang.String, java.lang.String, long, java.lang.String, java.lang.String)
String sha1
String shortSha1
long commitTime
String testTarget
String buildName
public java.io.File getKernelFile ()
public java.lang.String getKernelVersion ()
public void setKernelFile (java.io.File, java.lang.String)
java.io.File kernelFile
String version
public java.lang.String getSha1 ()
public void setSha1 (java.lang.String)
String sha1
public java.lang.String getShortSha1 ()
public void setShortSha1 (java.lang.String)
String shortSha1
public long getCommitTime ()
public void setCommitTime (long)
long time
public com.android.tradefed.build.IBuildInfo clone ()
java.io.IOException e
com.android.tradefed.build.KernelBuildInfo copy
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/IFolderBuildInfo.classIFolderBuildInfo.java
package com.android.tradefed.build
public abstract com.android.tradefed.build.IFolderBuildInfo extends java.lang.Object implements com.android.tradefed.build.IBuildInfo {
public abstract java.io.File getRootDir ()
public abstract void setRootDir (java.io.File)
public abstract void cleanUp ()
}
com/android/tradefed/build/FileDownloadCacheFactory.classFileDownloadCacheFactory.java
package com.android.tradefed.build
public com.android.tradefed.build.FileDownloadCacheFactory extends java.lang.Object {
private java.util.Map mCacheObjectMap
public void ()
public static com.android.tradefed.build.FileDownloadCacheFactory getInstance ()
public synchronized com.android.tradefed.build.FileDownloadCache getCache (java.io.File)
java.io.File cacheDir
com.android.tradefed.build.FileDownloadCache cache
}
com/android/tradefed/build/IFileDownloader.classIFileDownloader.java
package com.android.tradefed.build
public abstract com.android.tradefed.build.IFileDownloader extends java.lang.Object {
public abstract java.io.File downloadFile (java.lang.String) throws com.android.tradefed.build.BuildRetrievalError
public abstract void downloadFile (java.lang.String, java.io.File) throws com.android.tradefed.build.BuildRetrievalError
}
com/android/tradefed/build/IBuildProvider.classIBuildProvider.java
package com.android.tradefed.build
public abstract com.android.tradefed.build.IBuildProvider extends java.lang.Object {
public abstract com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
public abstract void buildNotTested (com.android.tradefed.build.IBuildInfo)
public abstract void cleanUp (com.android.tradefed.build.IBuildInfo)
}
com/android/tradefed/build/OtaDeviceBuildInfo.classOtaDeviceBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.OtaDeviceBuildInfo extends java.lang.Object implements com.android.tradefed.build.IDeviceBuildInfo {
protected com.android.tradefed.build.IDeviceBuildInfo mOtaBuild
protected com.android.tradefed.build.IDeviceBuildInfo mBaselineBuild
public void ()
public void setOtaBuild (com.android.tradefed.build.IDeviceBuildInfo)
com.android.tradefed.build.IDeviceBuildInfo otaBuild
public void setBaselineBuild (com.android.tradefed.build.IDeviceBuildInfo)
com.android.tradefed.build.IDeviceBuildInfo baselineBuild
public com.android.tradefed.build.IDeviceBuildInfo getOtaBuild ()
public java.lang.String getBuildId ()
public void setBuildId (java.lang.String)
String buildId
public java.lang.String getTestTag ()
public java.lang.String getBuildTargetName ()
public java.lang.String getBuildFlavor ()
public java.lang.String getDeviceSerial ()
public void setBuildFlavor (java.lang.String)
String buildFlavor
public java.lang.String getBuildBranch ()
public void setBuildBranch (java.lang.String)
String branch
public void setDeviceSerial (java.lang.String)
String serial
public java.util.Map getBuildAttributes ()
public void addBuildAttribute (java.lang.String, java.lang.String)
String attributeName
String attributeValue
public java.io.File getFile (java.lang.String)
String name
public java.lang.String getVersion (java.lang.String)
String name
public void setFile (java.lang.String, java.io.File, java.lang.String)
String name
java.io.File file
String version
public java.lang.String getDeviceBuildId ()
public java.lang.String getDeviceBuildFlavor ()
public java.io.File getDeviceImageFile ()
public java.lang.String getDeviceImageVersion ()
public void setDeviceImageFile (java.io.File, java.lang.String)
java.io.File deviceImageFile
String version
public java.io.File getUserDataImageFile ()
public java.lang.String getUserDataImageVersion ()
public void setUserDataImageFile (java.io.File, java.lang.String)
java.io.File userDataFile
String version
public java.io.File getTestsDir ()
public java.lang.String getTestsDirVersion ()
public void setTestsDir (java.io.File, java.lang.String)
java.io.File testsZipFile
String version
public java.io.File getBasebandImageFile ()
public java.lang.String getBasebandVersion ()
public void setBasebandImage (java.io.File, java.lang.String)
java.io.File basebandFile
String version
public java.io.File getBootloaderImageFile ()
public java.lang.String getBootloaderVersion ()
public void setBootloaderImageFile (java.io.File, java.lang.String)
java.io.File bootloaderImgFile
String version
public java.io.File getOtaPackageFile ()
public java.lang.String getOtaPackageVersion ()
public void setOtaPackageFile (java.io.File, java.lang.String)
java.io.File otaFile
String version
public java.io.File getMkbootimgFile ()
public java.lang.String getMkbootimgVersion ()
public void setMkbootimgFile (java.io.File, java.lang.String)
java.io.File mkbootimg
String version
public java.io.File getRamdiskFile ()
public java.lang.String getRamdiskVersion ()
public void setRamdiskFile (java.io.File, java.lang.String)
java.io.File ramdisk
String version
public void cleanUp ()
public com.android.tradefed.build.IBuildInfo clone ()
com.android.tradefed.build.OtaDeviceBuildInfo clone
public java.util.Collection getFiles ()
java.util.Collection combinedFiles
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/OtaToolsDeviceBuildInfo.classOtaToolsDeviceBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.OtaToolsDeviceBuildInfo extends com.android.tradefed.build.OtaDeviceBuildInfo {
private java.io.File mOtaToolsDir
public void (com.android.tradefed.build.OtaDeviceBuildInfo)
com.android.tradefed.build.OtaDeviceBuildInfo parent
public void setOtaTools (java.io.File)
java.io.File otaTools
public java.io.File getOtaTools ()
public void setOtaPackageFile (java.io.File, java.lang.String)
java.io.File file
String version
public void cleanUp ()
public com.android.tradefed.build.IBuildInfo clone ()
com.android.tradefed.build.OtaToolsDeviceBuildInfo clone
java.io.File toolsCopy
java.io.IOException e
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/KernelDeviceBuildInfo.classKernelDeviceBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.KernelDeviceBuildInfo extends com.android.tradefed.build.BuildInfo implements com.android.tradefed.build.IDeviceBuildInfo com.android.tradefed.build.IKernelBuildInfo {
private com.android.tradefed.build.IDeviceBuildInfo mDeviceBuild
private com.android.tradefed.build.IKernelBuildInfo mKernelBuild
public void ()
public void (java.lang.String, java.lang.String, java.lang.String)
String buildId
String testTarget
String buildName
public java.lang.String getDeviceBuildId ()
public java.lang.String getDeviceBuildFlavor ()
public java.io.File getDeviceImageFile ()
public java.lang.String getDeviceImageVersion ()
public void setDeviceImageFile (java.io.File, java.lang.String)
java.io.File deviceImageFile
String version
public java.io.File getUserDataImageFile ()
public java.lang.String getUserDataImageVersion ()
public void setUserDataImageFile (java.io.File, java.lang.String)
java.io.File userDataFile
String version
public java.io.File getTestsDir ()
public java.lang.String getTestsDirVersion ()
public void setTestsDir (java.io.File, java.lang.String)
java.io.File testsDir
String version
public java.io.File getBasebandImageFile ()
public java.lang.String getBasebandVersion ()
public void setBasebandImage (java.io.File, java.lang.String)
java.io.File basebandFile
String version
public java.io.File getBootloaderImageFile ()
public java.lang.String getBootloaderVersion ()
public void setBootloaderImageFile (java.io.File, java.lang.String)
java.io.File bootloaderImgFile
String version
public java.io.File getOtaPackageFile ()
public java.lang.String getOtaPackageVersion ()
public void setOtaPackageFile (java.io.File, java.lang.String)
java.io.File otaFile
String version
public java.io.File getMkbootimgFile ()
public java.lang.String getMkbootimgVersion ()
public void setMkbootimgFile (java.io.File, java.lang.String)
java.io.File mkbootimg
String version
public java.io.File getRamdiskFile ()
public java.lang.String getRamdiskVersion ()
public void setRamdiskFile (java.io.File, java.lang.String)
java.io.File ramdisk
String version
public java.io.File getKernelFile ()
public java.lang.String getKernelVersion ()
public void setKernelFile (java.io.File, java.lang.String)
java.io.File kernelFile
String version
public java.lang.String getSha1 ()
public void setSha1 (java.lang.String)
String sha1
public java.lang.String getShortSha1 ()
public void setShortSha1 (java.lang.String)
String shortSha1
public long getCommitTime ()
public void setCommitTime (long)
long time
public void setDeviceBuild (com.android.tradefed.build.IDeviceBuildInfo)
com.android.tradefed.build.IDeviceBuildInfo deviceBuild
public void setKernelBuild (com.android.tradefed.build.IKernelBuildInfo)
com.android.tradefed.build.IKernelBuildInfo kernelBuild
public void cleanUp ()
public com.android.tradefed.build.IBuildInfo clone ()
com.android.tradefed.build.KernelDeviceBuildInfo copy
com.android.tradefed.build.IDeviceBuildInfo deviceBuildClone
com.android.tradefed.build.IKernelBuildInfo kernelBuildClone
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/OtaZipfileBuildProvider.classOtaZipfileBuildProvider.java
package com.android.tradefed.build
public com.android.tradefed.build.OtaZipfileBuildProvider extends java.lang.Object implements com.android.tradefed.build.IBuildProvider {
private String mOtaZipPath
public void ()
public com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
java.io.IOException e
java.util.Properties buildProp
String bid
com.android.tradefed.build.IDeviceBuildInfo buildInfo
java.lang.String getBuildPropContents () throws com.android.tradefed.build.BuildRetrievalError
java.util.zip.ZipEntry buildPropEntry
StringBuilder body
java.io.BufferedReader reader
String line
java.io.IOException e
java.util.zip.ZipFile otaZip
public void buildNotTested (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public void cleanUp (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
java.lang.String getOtaPath ()
}
com/android/tradefed/build/ExistingBuildProvider.classExistingBuildProvider.java
package com.android.tradefed.build
public com.android.tradefed.build.ExistingBuildProvider extends java.lang.Object implements com.android.tradefed.build.IBuildProvider {
private final com.android.tradefed.build.IBuildInfo mBuildInfo
private final com.android.tradefed.build.IBuildProvider mParentProvider
private boolean mBuildMarkedNotTested
public void (com.android.tradefed.build.IBuildInfo, com.android.tradefed.build.IBuildProvider)
com.android.tradefed.build.IBuildInfo buildInfo
com.android.tradefed.build.IBuildProvider parentProvider
public com.android.tradefed.build.IBuildInfo getBuild () throws com.android.tradefed.build.BuildRetrievalError
public void buildNotTested (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
public void cleanUp (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo info
}
com/android/tradefed/build/SdkBuildInfo.classSdkBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.SdkBuildInfo extends com.android.tradefed.build.BuildInfo implements com.android.tradefed.build.ISdkBuildInfo {
private java.io.File mTestDir
private java.io.File mSdkDir
private boolean mDeleteSdkDirParent
private static final boolean isWindows
private static final int ANDROID_TIMEOUT_MS
public void ()
public void (java.lang.String, java.lang.String, java.lang.String)
String buildId
String testTarget
String buildName
public java.io.File getSdkDir ()
public java.io.File getTestsDir ()
public void setTestsDir (java.io.File)
java.io.File testDir
public void setSdkDir (java.io.File)
java.io.File sdkDir
public void setSdkDir (java.io.File, boolean)
java.io.File sdkDir
boolean deleteParent
public void cleanUp ()
public com.android.tradefed.build.IBuildInfo clone ()
java.io.File cloneTestDir
java.io.File cloneSdkDir
java.io.IOException e
com.android.tradefed.build.SdkBuildInfo cloneBuild
public java.lang.String getAndroidToolPath ()
public java.lang.String[] getSdkTargets ()
com.android.tradefed.util.CommandResult result
com.android.tradefed.util.IRunUtil getRunUtil ()
public java.lang.String getEmulatorToolPath ()
public void makeToolsExecutable ()
java.io.File toolsDir
java.io.File platformToolsDir
private void makeExecutable (java.io.File[])
java.io.File file
java.io.File[] files
private java.lang.String getAndroidExecutableName ()
private java.lang.String getEmulatorExecutableName ()
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
static void ()
}
com/android/tradefed/build/SdkFolderBuildInfo.classSdkFolderBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.SdkFolderBuildInfo extends com.android.tradefed.build.BuildInfo implements com.android.tradefed.build.ISdkBuildInfo com.android.tradefed.build.IFolderBuildInfo {
private com.android.tradefed.build.ISdkBuildInfo mSdkBuild
private com.android.tradefed.build.IFolderBuildInfo mFolderBuild
public void (java.lang.String, java.lang.String, java.lang.String)
String buildId
String testTarget
String buildName
public void ()
public void cleanUp ()
public java.io.File getRootDir ()
public void setRootDir (java.io.File)
java.io.File rootDir
public java.io.File getSdkDir ()
public java.io.File getTestsDir ()
public void setTestsDir (java.io.File)
java.io.File testsDir
public void setSdkDir (java.io.File)
java.io.File sdkDir
public void setSdkDir (java.io.File, boolean)
java.io.File sdkDir
boolean deleteParent
public java.lang.String getAndroidToolPath ()
public java.lang.String getEmulatorToolPath ()
public java.lang.String[] getSdkTargets ()
public void makeToolsExecutable ()
public void setFolderBuild (com.android.tradefed.build.IFolderBuildInfo)
com.android.tradefed.build.IFolderBuildInfo folderBuild
public void setSdkBuild (com.android.tradefed.build.ISdkBuildInfo)
com.android.tradefed.build.ISdkBuildInfo sdkBuild
public com.android.tradefed.build.IBuildInfo clone ()
com.android.tradefed.build.SdkFolderBuildInfo copy
com.android.tradefed.build.ISdkBuildInfo sdkBuildClone
com.android.tradefed.build.IFolderBuildInfo folderBuildClone
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/BuildRetrievalError.classBuildRetrievalError.java
package com.android.tradefed.build
public com.android.tradefed.build.BuildRetrievalError extends java.lang.Exception {
private static final long serialVersionUID
private com.android.tradefed.build.IBuildInfo mBuildInfo
public void (java.lang.String)
String reason
public void (java.lang.String, java.lang.Throwable)
String reason
Throwable cause
public void (java.lang.String, java.lang.Throwable, com.android.tradefed.build.IBuildInfo)
String reason
Throwable cause
com.android.tradefed.build.IBuildInfo build
public com.android.tradefed.build.IBuildInfo getBuildInfo ()
public void setBuildInfo (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo build
}
com/android/tradefed/build/DeviceBuildInfo.classDeviceBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.DeviceBuildInfo extends com.android.tradefed.build.BuildInfo implements com.android.tradefed.build.IDeviceBuildInfo {
private static final String DEVICE_IMAGE_NAME
private static final String USERDATA_IMAGE_NAME
private static final String TESTDIR_IMAGE_NAME
private static final String BASEBAND_IMAGE_NAME
private static final String BOOTLOADER_IMAGE_NAME
private static final String OTA_IMAGE_NAME
private static final String MKBOOTIMG_IMAGE_NAME
private static final String RAMDISK_IMAGE_NAME
public void ()
public void (java.lang.String, java.lang.String, java.lang.String)
String buildId
String testTag
String buildTargetName
public void (com.android.tradefed.build.BuildInfo)
com.android.tradefed.build.BuildInfo buildInfo
public java.lang.String getDeviceBuildId ()
String buildId
public java.lang.String getDeviceBuildFlavor ()
public java.io.File getDeviceImageFile ()
public java.lang.String getDeviceImageVersion ()
public void setDeviceImageFile (java.io.File, java.lang.String)
java.io.File deviceImageFile
String version
public java.io.File getUserDataImageFile ()
public java.lang.String getUserDataImageVersion ()
public void setUserDataImageFile (java.io.File, java.lang.String)
java.io.File userDataFile
String version
public java.io.File getTestsDir ()
public java.lang.String getTestsDirVersion ()
public void setTestsDir (java.io.File, java.lang.String)
java.io.File testsDir
String version
public java.io.File getBasebandImageFile ()
public java.lang.String getBasebandVersion ()
public void setBasebandImage (java.io.File, java.lang.String)
java.io.File basebandFile
String version
public java.io.File getBootloaderImageFile ()
public java.lang.String getBootloaderVersion ()
public void setBootloaderImageFile (java.io.File, java.lang.String)
java.io.File bootloaderImgFile
String version
public java.io.File getOtaPackageFile ()
public java.lang.String getOtaPackageVersion ()
public void setOtaPackageFile (java.io.File, java.lang.String)
java.io.File otaFile
String version
public java.io.File getMkbootimgFile ()
public java.lang.String getMkbootimgVersion ()
public void setMkbootimgFile (java.io.File, java.lang.String)
java.io.File mkbootimg
String version
public java.io.File getRamdiskFile ()
public java.lang.String getRamdiskVersion ()
public void setRamdiskFile (java.io.File, java.lang.String)
java.io.File ramdisk
String version
public com.android.tradefed.build.IBuildInfo clone ()
java.io.IOException e
com.android.tradefed.build.DeviceBuildInfo copy
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/ISdkBuildInfo.classISdkBuildInfo.java
package com.android.tradefed.build
public abstract com.android.tradefed.build.ISdkBuildInfo extends java.lang.Object implements com.android.tradefed.build.IBuildInfo {
public abstract java.io.File getSdkDir ()
public abstract java.io.File getTestsDir ()
public abstract void setTestsDir (java.io.File)
public abstract void setSdkDir (java.io.File)
public abstract void setSdkDir (java.io.File, boolean)
public abstract java.lang.String getAndroidToolPath ()
public abstract java.lang.String getEmulatorToolPath ()
public abstract java.lang.String[] getSdkTargets ()
public abstract void makeToolsExecutable ()
}
com/android/tradefed/build/FileDownloadCache$FileTimeComparator.classFileDownloadCache.java
package com.android.tradefed.build
com.android.tradefed.build.FileDownloadCache$FileTimeComparator extends java.lang.Object implements java.util.Comparator {
private void ()
public int compare (com.android.tradefed.build.FileDownloadCache$FilePair, com.android.tradefed.build.FileDownloadCache$FilePair)
com.android.tradefed.build.FileDownloadCache$FilePair o1
com.android.tradefed.build.FileDownloadCache$FilePair o2
Long timestamp1
Long timestamp2
public volatile int compare (java.lang.Object, java.lang.Object)
void (com.android.tradefed.build.FileDownloadCache$1)
com.android.tradefed.build.FileDownloadCache$1 x0
}
com/android/tradefed/build/AppBuildInfo.classAppBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.AppBuildInfo extends com.android.tradefed.build.BuildInfo implements com.android.tradefed.build.IAppBuildInfo {
private java.util.List mAppPackageFiles
public void (java.lang.String, java.lang.String, java.lang.String)
String buildId
String testTarget
String buildName
public void (com.android.tradefed.build.BuildInfo)
com.android.tradefed.build.BuildInfo buildToCopy
public java.util.List getAppPackageFiles ()
java.util.List listCopy
public void addAppPackageFile (java.io.File, java.lang.String)
java.io.File appPackageFile
String version
public void cleanUp ()
com.android.tradefed.build.VersionedFile appPackageFile
public com.android.tradefed.build.IBuildInfo clone ()
java.io.File origFile
java.io.File copyFile
com.android.tradefed.build.VersionedFile origVerFile
java.io.IOException e
com.android.tradefed.build.AppBuildInfo copy
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/build/BuildInfo.classBuildInfo.java
package com.android.tradefed.build
public com.android.tradefed.build.BuildInfo extends java.lang.Object implements com.android.tradefed.build.IBuildInfo {
private String mBuildId
private String mTestTag
private String mBuildTargetName
private final com.android.tradefed.util.UniqueMultiMap mBuildAttributes
private java.util.Map mVersionedFileMap
private String mBuildFlavor
private String mBuildBranch
private String mDeviceSerial
public void ()
public void (java.lang.String, java.lang.String, java.lang.String)
String buildId
String testTag
String buildTargetName
void (com.android.tradefed.build.BuildInfo)
java.io.IOException e
com.android.tradefed.build.BuildInfo buildToCopy
public java.lang.String getBuildId ()
public void setBuildId (java.lang.String)
String buildId
public java.lang.String getTestTag ()
public java.lang.String getDeviceSerial ()
public java.util.Map getBuildAttributes ()
public java.lang.String getBuildTargetName ()
public void addBuildAttribute (java.lang.String, java.lang.String)
String attributeName
String attributeValue
protected void addAllBuildAttributes (com.android.tradefed.build.BuildInfo)
com.android.tradefed.build.BuildInfo build
protected com.android.tradefed.util.MultiMap getAttributesMultiMap ()
protected void addAllFiles (com.android.tradefed.build.BuildInfo) throws java.io.IOException
java.io.File copyFile
java.io.File origFile
java.io.File copyFile
java.util.Map$Entry fileEntry
com.android.tradefed.build.BuildInfo build
protected java.util.Map getVersionedFileMap ()
public java.io.File getFile (java.lang.String)
String name
com.android.tradefed.build.VersionedFile fileRecord
public java.util.Collection getFiles ()
public java.lang.String getVersion (java.lang.String)
String name
com.android.tradefed.build.VersionedFile fileRecord
public void setFile (java.lang.String, java.io.File, java.lang.String)
String name
java.io.File file
String version
public void cleanUp ()
com.android.tradefed.build.VersionedFile fileRecord
public com.android.tradefed.build.IBuildInfo clone ()
java.io.IOException e
com.android.tradefed.build.BuildInfo copy
public java.lang.String getBuildFlavor ()
public void setBuildFlavor (java.lang.String)
String buildFlavor
public java.lang.String getBuildBranch ()
public void setBuildBranch (java.lang.String)
String branch
public void setDeviceSerial (java.lang.String)
String serial
public int hashCode ()
public boolean equals (java.lang.Object)
Object obj
com.android.tradefed.build.BuildInfo other
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
com/android/tradefed/result/
com/android/tradefed/result/ResultForwarder.classResultForwarder.java
package com.android.tradefed.result
public com.android.tradefed.result.ResultForwarder extends java.lang.Object implements com.android.tradefed.result.ITestInvocationListener {
private java.util.List mListeners
protected void ()
public void (java.util.List)
java.util.List listeners
public transient void (com.android.tradefed.result.ITestInvocationListener[])
com.android.tradefed.result.ITestInvocationListener[] listeners
protected void setListeners (java.util.List)
java.util.List listeners
protected transient void setListeners (com.android.tradefed.result.ITestInvocationListener[])
com.android.tradefed.result.ITestInvocationListener[] listeners
protected java.util.List getListeners ()
public void invocationStarted (com.android.tradefed.build.IBuildInfo)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.build.IBuildInfo buildInfo
public void invocationFailed (java.lang.Throwable)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
Throwable cause
public void invocationEnded (long)
long elapsedTime
public com.android.tradefed.result.TestSummary getSummary ()
public void testLog (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
String dataName
com.android.tradefed.result.LogDataType dataType
com.android.tradefed.result.InputStreamSource dataStream
public void testRunStarted (java.lang.String, int)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
String runName
int testCount
public void testRunFailed (java.lang.String)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
String errorMessage
public void testRunStopped (long)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
long elapsedTime
public void testRunEnded (long, java.util.Map)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
long elapsedTime
java.util.Map runMetrics
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
com.android.ddmlib.testrunner.TestIdentifier test
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testIgnored (com.android.ddmlib.testrunner.TestIdentifier)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
com.android.ddmlib.testrunner.TestIdentifier test
}
com/android/tradefed/result/TestSummary.classTestSummary.java
package com.android.tradefed.result
public com.android.tradefed.result.TestSummary extends java.lang.Object {
private com.android.tradefed.result.TestSummary$TypedString mSummary
private java.util.Map mKvStore
private String mSource
public void (java.lang.String)
String summaryUri
public void (com.android.tradefed.result.TestSummary$TypedString)
com.android.tradefed.result.TestSummary$TypedString summary
public void setSource (java.lang.String)
String source
public void setSummary (com.android.tradefed.result.TestSummary$TypedString)
com.android.tradefed.result.TestSummary$TypedString summary
public void addKvEntry (java.lang.String, com.android.tradefed.result.TestSummary$TypedString)
String key
com.android.tradefed.result.TestSummary$TypedString value
public void setSummary (java.lang.String)
String summary
public void addKvEntry (java.lang.String, java.lang.String)
String key
String value
public java.lang.String getSource ()
public com.android.tradefed.result.TestSummary$TypedString getSummary ()
public java.util.Map getKvEntries ()
}
com/android/tradefed/result/BugreportCollector.classBugreportCollector.java
package com.android.tradefed.result
public com.android.tradefed.result.BugreportCollector extends java.lang.Object implements com.android.tradefed.result.ITestInvocationListener {
public static final com.android.tradefed.result.BugreportCollector$Predicate AFTER_FAILED_TESTCASES
public static final com.android.tradefed.result.BugreportCollector$Predicate AT_START
private com.android.tradefed.result.CollectingTestListener mCollector
private com.android.tradefed.result.ITestInvocationListener mListener
private com.android.tradefed.device.ITestDevice mTestDevice
private java.util.List mPredicates
private boolean mAsynchronous
private boolean mCapturedBugreport
private int mDeviceWaitTimeSecs
private String mDescriptiveName
private int mNumFailedRuns
public void (com.android.tradefed.result.ITestInvocationListener, com.android.tradefed.device.ITestDevice)
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.device.ITestDevice testDevice
public void addPredicate (com.android.tradefed.result.BugreportCollector$Predicate)
com.android.tradefed.result.BugreportCollector$Predicate p
public void setDeviceWaitTime (int)
int waitTime
public void blockUntilIdle ()
public void setAsynchronous (boolean)
boolean asynchronous
public void setDescriptiveName (java.lang.String)
String name
void grabBugreport (java.lang.String)
com.android.tradefed.device.DeviceNotAvailableException e
String logDesc
String logName
com.android.tradefed.result.InputStreamSource bugreport
com.android.tradefed.result.BugreportCollector$Predicate getPredicate (com.android.tradefed.result.BugreportCollector$Predicate)
com.android.tradefed.result.BugreportCollector$Predicate p
com.android.tradefed.result.BugreportCollector$Predicate predicate
com.android.tradefed.result.BugreportCollector$Predicate search (com.android.tradefed.result.BugreportCollector$Relation, java.util.Collection, com.android.tradefed.result.BugreportCollector$Noun)
com.android.tradefed.result.BugreportCollector$Freq freq
com.android.tradefed.result.BugreportCollector$Predicate pred
com.android.tradefed.result.BugreportCollector$Relation relation
java.util.Collection freqs
com.android.tradefed.result.BugreportCollector$Noun noun
boolean check (com.android.tradefed.result.BugreportCollector$Relation, com.android.tradefed.result.BugreportCollector$Noun)
com.android.tradefed.result.BugreportCollector$Relation relation
com.android.tradefed.result.BugreportCollector$Noun noun
boolean check (com.android.tradefed.result.BugreportCollector$Relation, com.android.tradefed.result.BugreportCollector$Noun, com.android.ddmlib.testrunner.TestIdentifier)
String testName
String desc
com.android.tradefed.result.BugreportCollector$Relation relation
com.android.tradefed.result.BugreportCollector$Noun noun
com.android.ddmlib.testrunner.TestIdentifier test
java.util.List applicableFreqs
com.android.ddmlib.testrunner.TestRunResult curResult
com.android.tradefed.result.BugreportCollector$Predicate storedP
void reset ()
private static com.android.tradefed.result.BugreportCollector$Predicate p (com.android.tradefed.result.BugreportCollector$Relation, com.android.tradefed.result.BugreportCollector$Freq, com.android.tradefed.result.BugreportCollector$Noun) throws java.lang.IllegalArgumentException
com.android.tradefed.result.BugreportCollector$Relation rp
com.android.tradefed.result.BugreportCollector$Freq fp
com.android.tradefed.result.BugreportCollector$Noun n
private static com.android.tradefed.result.BugreportCollector$Predicate p (com.android.tradefed.result.BugreportCollector$Relation, com.android.tradefed.result.BugreportCollector$Freq, com.android.tradefed.result.BugreportCollector$Noun, com.android.tradefed.result.BugreportCollector$Filter, com.android.tradefed.result.BugreportCollector$Noun) throws java.lang.IllegalArgumentException
com.android.tradefed.result.BugreportCollector$Relation rp
com.android.tradefed.result.BugreportCollector$Freq fp
com.android.tradefed.result.BugreportCollector$Noun fpN
com.android.tradefed.result.BugreportCollector$Filter filterP
com.android.tradefed.result.BugreportCollector$Noun filterPN
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map runMetrics
public void testRunFailed (java.lang.String)
String errorMessage
public void testRunStarted (java.lang.String, int)
String runName
int testCount
public void testRunStopped (long)
long elapsedTime
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void invocationStarted (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public void testLog (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource)
String dataName
com.android.tradefed.result.LogDataType dataType
com.android.tradefed.result.InputStreamSource dataStream
public void invocationEnded (long)
long elapsedTime
public void invocationFailed (java.lang.Throwable)
Throwable cause
public com.android.tradefed.result.TestSummary getSummary ()
public void testIgnored (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
static void ()
}
com/android/tradefed/result/LogSaverResultForwarder.classLogSaverResultForwarder.java
package com.android.tradefed.result
public com.android.tradefed.result.LogSaverResultForwarder extends com.android.tradefed.result.ResultForwarder {
com.android.tradefed.result.ILogSaver mLogSaver
public void (com.android.tradefed.result.ILogSaver, java.util.List)
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.result.ILogSaver logSaver
java.util.List listeners
public void invocationStarted (com.android.tradefed.build.IBuildInfo)
RuntimeException e
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.build.IBuildInfo buildInfo
public void invocationEnded (long)
long elapsedTime
public void testLog (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource)
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.result.LogFile logFile
java.io.IOException e
String dataName
com.android.tradefed.result.LogDataType dataType
com.android.tradefed.result.InputStreamSource dataStream
}
com/android/tradefed/result/SubprocessResultsReporter.classSubprocessResultsReporter.java
package com.android.tradefed.result
public com.android.tradefed.result.SubprocessResultsReporter extends java.lang.Object implements com.android.tradefed.result.ITestInvocationListener {
private String mReportFile
private boolean mPrintWarning
public void ()
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier testId
String trace
com.android.tradefed.util.SubprocessEventHelper$FailedTestEventInfo info
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier testId
java.util.Map metrics
com.android.tradefed.util.SubprocessEventHelper$TestEndedEventInfo info
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier testId
String reason
com.android.tradefed.util.SubprocessEventHelper$FailedTestEventInfo info
public void testIgnored (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier testId
com.android.tradefed.util.SubprocessEventHelper$BaseTestEventInfo info
public void testRunEnded (long, java.util.Map)
long time
java.util.Map runMetrics
com.android.tradefed.util.SubprocessEventHelper$TestRunEndedEventInfo info
public void testRunFailed (java.lang.String)
String reason
com.android.tradefed.util.SubprocessEventHelper$TestRunFailedEventInfo info
public void testRunStarted (java.lang.String, int)
String runName
int testCount
com.android.tradefed.util.SubprocessEventHelper$TestRunStartedEventInfo info
public void testRunStopped (long)
long arg0
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier testId
com.android.tradefed.util.SubprocessEventHelper$BaseTestEventInfo info
public void invocationStarted (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public void testLog (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource)
String dataName
com.android.tradefed.result.LogDataType dataType
com.android.tradefed.result.InputStreamSource dataStream
public void invocationEnded (long)
long elapsedTime
public void invocationFailed (java.lang.Throwable)
Throwable cause
com.android.tradefed.util.SubprocessEventHelper$InvocationFailedEventInfo info
public com.android.tradefed.result.TestSummary getSummary ()
public void printEvent (java.lang.String, java.lang.Object)
java.io.FileWriter fw
String eventLog
java.io.IOException e
java.io.File eventFile
String key
Object event
}
com/android/tradefed/result/JUnitToInvocationResultForwarder.classJUnitToInvocationResultForwarder.java
package com.android.tradefed.result
public com.android.tradefed.result.JUnitToInvocationResultForwarder extends java.lang.Object implements junit.framework.TestListener {
private final java.util.List mInvocationListeners
public void (com.android.tradefed.result.ITestInvocationListener)
com.android.tradefed.result.ITestInvocationListener invocationListener
public void (java.util.List)
java.util.List invocationListeners
public void addError (junit.framework.Test, java.lang.Throwable)
com.android.tradefed.result.ITestInvocationListener listener
junit.framework.Test test
Throwable t
public void addFailure (junit.framework.Test, junit.framework.AssertionFailedError)
com.android.tradefed.result.ITestInvocationListener listener
junit.framework.Test test
junit.framework.AssertionFailedError t
public void endTest (junit.framework.Test)
com.android.tradefed.result.ITestInvocationListener listener
junit.framework.Test test
java.util.Map emptyMap
public void startTest (junit.framework.Test)
com.android.tradefed.result.ITestInvocationListener listener
junit.framework.Test test
private com.android.ddmlib.testrunner.TestIdentifier getTestId (junit.framework.Test)
junit.framework.Test test
String className
String testName
private java.lang.String getStackTrace (java.lang.Throwable)
Throwable throwable
java.io.ByteArrayOutputStream outputStream
java.io.PrintStream bytePrintStream
}
com/android/tradefed/result/ITestInvocationListener.classITestInvocationListener.java
package com.android.tradefed.result
public abstract com.android.tradefed.result.ITestInvocationListener extends java.lang.Object implements com.android.ddmlib.testrunner.ITestRunListener com.android.tradefed.log.ITestLogger {
public abstract void invocationStarted (com.android.tradefed.build.IBuildInfo)
public abstract void invocationEnded (long)
public abstract void invocationFailed (java.lang.Throwable)
public abstract com.android.tradefed.result.TestSummary getSummary ()
public void invocationInterrupted ()
}
com/android/tradefed/result/CollectingTestListener.classCollectingTestListener.java
package com.android.tradefed.result
public com.android.tradefed.result.CollectingTestListener extends java.lang.Object implements com.android.tradefed.result.ITestInvocationListener {
private java.util.Map mRunResultsMap
private com.android.ddmlib.testrunner.TestRunResult mCurrentResults
private int[] mStatusCounts
private boolean mIsCountDirty
private boolean mIsAggregateMetrics
private com.android.tradefed.build.IBuildInfo mBuildInfo
public void ()
void setIsAggregrateMetrics (boolean)
boolean aggregate
public void invocationStarted (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public com.android.tradefed.build.IBuildInfo getBuildInfo ()
public void setBuildInfo (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public void testRunStarted (java.lang.String, int)
String name
int numTests
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testIgnored (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map runMetrics
public void testRunFailed (java.lang.String)
String errorMessage
public void testRunStopped (long)
long elapsedTime
public com.android.ddmlib.testrunner.TestRunResult getCurrentRunResults ()
public java.util.Collection getRunResults ()
public int getNumTotalTests ()
com.android.ddmlib.testrunner.TestResult$TestStatus s
int total
public int getNumTestsInState (com.android.ddmlib.testrunner.TestResult$TestStatus)
com.android.ddmlib.testrunner.TestResult$TestStatus s
com.android.ddmlib.testrunner.TestRunResult result
com.android.ddmlib.testrunner.TestResult$TestStatus status
public boolean hasFailedTests ()
public void invocationEnded (long)
long elapsedTime
public void invocationFailed (java.lang.Throwable)
Throwable cause
public com.android.tradefed.result.TestSummary getSummary ()
public void testLog (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource)
String dataName
com.android.tradefed.result.LogDataType dataType
com.android.tradefed.result.InputStreamSource dataStream
public int getNumAllFailedTests ()
}
com/android/tradefed/result/InvocationSummaryHelper.classInvocationSummaryHelper.java
package com.android.tradefed.result
public com.android.tradefed.result.InvocationSummaryHelper extends java.lang.Object {
private void ()
public static void reportInvocationEnded (java.util.List, long)
com.android.tradefed.result.TestSummary summary
com.android.tradefed.result.ITestInvocationListener listener
com.android.tradefed.result.ITestInvocationListener listener
java.util.List listeners
long elapsedTime
java.util.List summaries
}
com/android/tradefed/result/FileSystemLogSaver.classFileSystemLogSaver.java
package com.android.tradefed.result
public com.android.tradefed.result.FileSystemLogSaver extends java.lang.Object implements com.android.tradefed.result.ILogSaver {
private static final int BUFFER_SIZE
private java.io.File mRootReportDir
private String mReportUrl
private Integer mLogRetentionDays
private boolean mCompressFiles
private java.io.File mLogReportDir
public void ()
public void invocationStarted (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public void invocationEnded (long)
long elapsedTime
public com.android.tradefed.result.LogFile saveLogData (java.lang.String, com.android.tradefed.result.LogDataType, java.io.InputStream) throws java.io.IOException
String dataName
com.android.tradefed.result.LogDataType dataType
java.io.InputStream dataStream
java.io.BufferedInputStream bufferedDataStream
java.util.zip.ZipOutputStream outputStream
String saneDataName
java.io.File log
boolean setPerms
public com.android.tradefed.result.LogFile saveLogDataRaw (java.lang.String, java.lang.String, java.io.InputStream) throws java.io.IOException
String dataName
String ext
java.io.InputStream dataStream
String saneDataName
java.io.File log
boolean setPerms
public com.android.tradefed.result.LogFile getLogReportDir ()
private java.io.File createLogReportDir (com.android.tradefed.build.IBuildInfo, java.io.File, java.lang.Integer)
java.io.File buildDir
java.io.IOException e
com.android.tradefed.build.IBuildInfo buildInfo
java.io.File reportDir
Integer logRetentionDays
java.io.File logReportDir
java.io.File logReportDir
boolean setPerms
private java.io.File createBuildDir (com.android.tradefed.build.IBuildInfo, java.io.File) throws java.io.IOException
String msg
String msg
com.android.tradefed.build.IBuildInfo buildInfo
java.io.File reportDir
java.util.List pathSegments
java.io.File buildReportDir
private java.io.File createTempDir ()
java.io.IOException e
private static java.lang.String sanitizeFilename (java.lang.String)
String name
private java.lang.String getUrl (java.io.File)
String relativePath
String url
java.io.File file
String filePath
String reportPath
void setReportDir (java.io.File)
java.io.File reportDir
void setLogRetentionDays (int)
int logRetentionDays
}
com/android/tradefed/result/InvocationToJUnitResultForwarder$1.classInvocationToJUnitResultForwarder.java
package com.android.tradefed.result
com.android.tradefed.result.InvocationToJUnitResultForwarder$1 extends java.lang.Object {
}
com/android/tradefed/result/StubTestRunListener.classStubTestRunListener.java
package com.android.tradefed.result
public com.android.tradefed.result.StubTestRunListener extends java.lang.Object implements com.android.ddmlib.testrunner.ITestRunListener {
public void ()
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testAssumptionFailure (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testIgnored (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map runMetrics
public void testRunFailed (java.lang.String)
String errorMessage
public void testRunStarted (java.lang.String, int)
String runName
int testCount
public void testRunStopped (long)
long elapsedTime
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
}
com/android/tradefed/result/XmlResultReporter.classXmlResultReporter.java
package com.android.tradefed.result
public com.android.tradefed.result.XmlResultReporter extends com.android.tradefed.result.CollectingTestListener implements com.android.tradefed.result.ILogSaverListener {
private static final String LOG_TAG
private static final String TEST_RESULT_FILE_PREFIX
private static final String TESTSUITE
private static final String TESTCASE
private static final String ERROR
private static final String FAILURE
private static final String ATTR_NAME
private static final String ATTR_TIME
private static final String ATTR_ERRORS
private static final String ATTR_FAILURES
private static final String ATTR_TESTS
private static final String PROPERTIES
private static final String ATTR_CLASSNAME
private static final String TIMESTAMP
private static final String HOSTNAME
private static final String ns
private com.android.tradefed.result.ILogSaver mLogSaver
private com.android.tradefed.build.IBuildInfo mBuildInfo
public void ()
public void invocationEnded (long)
long elapsedTime
public void invocationStarted (com.android.tradefed.build.IBuildInfo)
com.android.tradefed.build.IBuildInfo buildInfo
public void testFailed (com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
String trace
private void generateSummary (long)
org.kxml2.io.KXmlSerializer serializer
com.android.tradefed.result.LogFile log
String msg
java.io.IOException e
long elapsedTime
String timestamp
java.io.ByteArrayOutputStream outputStream
java.io.InputStream inputStream
java.lang.String getTimestamp ()
java.text.SimpleDateFormat dateFormat
java.util.TimeZone gmt
String timestamp
java.io.ByteArrayOutputStream createOutputStream ()
void printTestResults (org.kxml2.io.KXmlSerializer, java.lang.String, long) throws java.io.IOException
java.util.Map$Entry testEntry
java.util.Map testResults
com.android.ddmlib.testrunner.TestRunResult runResult
org.kxml2.io.KXmlSerializer serializer
String timestamp
long elapsedTime
void print (org.kxml2.io.KXmlSerializer, com.android.ddmlib.testrunner.TestIdentifier, com.android.ddmlib.testrunner.TestResult) throws java.io.IOException
String result
String stackText
org.kxml2.io.KXmlSerializer serializer
com.android.ddmlib.testrunner.TestIdentifier testId
com.android.ddmlib.testrunner.TestResult testResult
private java.lang.String sanitize (java.lang.String)
String text
public void testLog (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource)
String dataName
com.android.tradefed.result.LogDataType dataType
com.android.tradefed.result.InputStreamSource dataStream
public void testLogSaved (java.lang.String, com.android.tradefed.result.LogDataType, com.android.tradefed.result.InputStreamSource, com.android.tradefed.result.LogFile)
String dataName
com.android.tradefed.result.LogDataType dataType
com.android.tradefed.result.InputStreamSource dataStream
com.android.tradefed.result.LogFile logFile
public void setLogSaver (com.android.tradefed.result.ILogSaver)
com.android.tradefed.result.ILogSaver logSaver
static void ()
}
com/android/tradefed/result/InputStreamSource.classInputStreamSource.java
package com.android.tradefed.result
public abstract com.android.tradefed.result.InputStreamSource extends java.lang.Object {
public abstract java.io.InputStream createInputStream ()
public abstract void cancel ()
public abstract long size ()
}
com/android/tradefed/result/BugreportCollector$Noun.classBugreportCollector.java
package com.android.tradefed.result
public final com.android.tradefed.result.BugreportCollector$Noun extends java.lang.Enum implements com.android.tradefed.result.BugreportCollector$SubPredicate {
public static final com.android.tradefed.result.BugreportCollector$Noun TESTCASE
public static final com.android.tradefed.result.BugreportCollector$Noun FAILED_TESTCASE
public static final com.android.tradefed.result.BugreportCollector$Noun TESTRUN
public static final com.android.tradefed.result.BugreportCollector$Noun FAILED_TESTRUN
public static final com.android.tradefed.result.BugreportCollector$Noun INVOCATION
public static final com.android.tradefed.result.BugreportCollector$Noun FAILED_INVOCATION
private static final com.android.tradefed.result.BugreportCollector$Noun[] $VALUES
public static com.android.tradefed.result.BugreportCollector$Noun[] values ()
public static com.android.tradefed.result.BugreportCollector$Noun valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/result/EmailResultReporter.classEmailResultReporter.java
package com.android.tradefed.result
public com.android.tradefed.result.EmailResultReporter extends com.android.tradefed.result.CollectingTestListener implements com.android.tradefed.result.ITestSummaryListener {
private static final String DEFAULT_SUBJECT_TAG
private static final String TEST_FAILURE_STATUS
private String mSender
private java.util.Collection mDestinations
private String mSubjectTag
private boolean mIncludeTestFailures
private java.util.List mSummaries
private Throwable mInvocationThrowable
private com.android.tradefed.util.IEmail mMailer
private boolean mHtml
public void ()
protected void (com.android.tradefed.util.IEmail)
com.android.tradefed.util.IEmail mailer
public void addDestination (java.lang.String)
String dest
public void putSummary (java.util.List)
java.util.List summaries
protected java.util.List fetchSummaries ()
protected boolean shouldSendMessage ()
protected java.lang.String generateEmailSubject ()
com.android.tradefed.build.IBuildInfo build
StringBuilder subj
private boolean appendUnlessNull (java.lang.StringBuilder, java.lang.String)
StringBuilder builder
String str
protected java.lang.String getInvocationOrTestStatus ()
com.android.tradefed.result.InvocationStatus invStatus
protected com.android.tradefed.result.InvocationStatus getInvocationStatus ()
protected java.lang.Throwable getInvocationException ()
protected java.lang.String generateEmailBody ()
java.util.Map$Entry buildAttr
java.net.UnknownHostException e
com.android.ddmlib.testrunner.TestResult tr
com.android.ddmlib.testrunner.TestIdentifier tid
com.android.ddmlib.testrunner.TestRunResult res
com.android.tradefed.result.TestSummary summary
StringBuilder bodyBuilder
protected void setHtml (boolean)
boolean html
protected boolean isHtml ()
public void invocationFailed (java.lang.Throwable)
Throwable t
public void invocationEnded (long)
IllegalArgumentException e
java.io.IOException e
long elapsedTime
com.android.tradefed.util.IEmail$Message msg
java.util.Iterator toAddress
}
com/android/tradefed/result/BugreportCollector$Predicate.classBugreportCollector.java
package com.android.tradefed.result
public com.android.tradefed.result.BugreportCollector$Predicate extends java.lang.Object {
java.util.List mSubPredicates
java.util.List mFilterSubPredicates
public void (com.android.tradefed.result.BugreportCollector$Relation, com.android.tradefed.result.BugreportCollector$Freq, com.android.tradefed.result.BugreportCollector$Noun) throws java.lang.IllegalArgumentException
com.android.tradefed.result.BugreportCollector$Relation rp
com.android.tradefed.result.BugreportCollector$Freq fp
com.android.tradefed.result.BugreportCollector$Noun n
public void (com.android.tradefed.result.BugreportCollector$Relation, com.android.tradefed.result.BugreportCollector$Freq, com.android.tradefed.result.BugreportCollector$Noun, com.android.tradefed.result.BugreportCollector$Filter, com.android.tradefed.result.BugreportCollector$Noun) throws java.lang.IllegalArgumentException
com.android.tradefed.result.BugreportCollector$Relation rp
com.android.tradefed.result.BugreportCollector$Freq fp
com.android.tradefed.result.BugreportCollector$Noun fpN
com.android.tradefed.result.BugreportCollector$Filter filterP
com.android.tradefed.result.BugreportCollector$Noun filterPN
public static void assertValidPredicate (com.android.tradefed.result.BugreportCollector$Relation, com.android.tradefed.result.BugreportCollector$Freq, com.android.tradefed.result.BugreportCollector$Noun) throws java.lang.IllegalArgumentException
com.android.tradefed.result.BugreportCollector$Relation rp
com.android.tradefed.result.BugreportCollector$Freq fp
com.android.tradefed.result.BugreportCollector$Noun n
protected java.util.List getPredicate ()
protected java.util.List getFilterPredicate ()
public boolean partialMatch (com.android.tradefed.result.BugreportCollector$Predicate)
com.android.tradefed.result.BugreportCollector$Predicate otherP
public boolean fullMatch (com.android.tradefed.result.BugreportCollector$Predicate)
com.android.tradefed.result.BugreportCollector$Predicate otherP
public java.lang.String toString ()
com.android.tradefed.result.BugreportCollector$SubPredicate p
StringBuilder sb
java.util.ListIterator iter
public boolean equals (java.lang.Object)
com.android.tradefed.result.BugreportCollector$Predicate otherP
Object other
public int hashCode ()
}
com/android/tradefed/result/LogFile.classLogFile.java
package com.android.tradefed.result
public com.android.tradefed.result.LogFile extends java.lang.Object {
private String mPath
private String mUrl
public void (java.lang.String, java.lang.String)
String path
String url
public java.lang.String getPath ()
public java.lang.String getUrl ()
}
com/android/tradefed/result/ILogSaver.classILogSaver.java
package com.android.tradefed.result
public abstract com.android.tradefed.result.ILogSaver extends java.lang.Object {
public abstract void invocationStarted (com.android.tradefed.build.IBuildInfo)
public abstract void invocationEnded (long)
public abstract com.android.tradefed.result.LogFile saveLogData (java.lang.String, com.android.tradefed.result.LogDataType, java.io.InputStream) throws java.io.IOException
public abstract com.android.tradefed.result.LogFile saveLogDataRaw (java.lang.String, java.lang.String, java.io.InputStream) throws java.io.IOException
public abstract com.android.tradefed.result.LogFile getLogReportDir ()
}
com/android/tradefed/result/BugreportCollector$Filter.classBugreportCollector.java
package com.android.tradefed.result
public final com.android.tradefed.result.BugreportCollector$Filter extends java.lang.Enum implements com.android.tradefed.result.BugreportCollector$SubPredicate {
public static final com.android.tradefed.result.BugreportCollector$Filter WITH_FAILING
public static final com.android.tradefed.result.BugreportCollector$Filter WITH_PASSING
public static final com.android.tradefed.result.BugreportCollector$Filter WITH_ANY
private static final com.android.tradefed.result.BugreportCollector$Filter[] $VALUES
public static com.android.tradefed.result.BugreportCollector$Filter[] values ()
public static com.android.tradefed.result.BugreportCollector$Filter valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tradefed/result/RetentionFileSaver.classRetentionFileSaver.java
package com.android.tradefed.result
public com.android.tradefed.result.RetentionFileSaver extends java.lang.Object {
public static final String RETENTION_DATE_FORMAT
public static final String RETENTION_FILE_NAME
public void ()
public void writeRetentionFile (java.io.File, int)
long deleteTimeEpoch
java.util.Date date
java.io.File retentionFile
java.io.IOException e
java.io.File dir
int logRetentionDays
public boolean shouldDelete (java.io.File)
java.util.Date retentionDate
java.io.IOException e
java.text.ParseException e
java.io.File retentionFile
String timestamp
}
com/android/tradefed/result/ByteArrayInputStreamSource.class