META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/chimpchat/
com/android/chimpchat/ChimpChat.classChimpChat.java
package com.android.chimpchat
public com.android.chimpchat.ChimpChat extends java.lang.Object {
private final com.android.chimpchat.core.IChimpBackend mBackend
private static String sAdbLocation
private static boolean sNoInitAdb
private void (com.android.chimpchat.core.IChimpBackend)
com.android.chimpchat.core.IChimpBackend backend
public static com.android.chimpchat.ChimpChat getInstance (java.util.Map)
java.util.Map options
com.android.chimpchat.core.IChimpBackend backend
com.android.chimpchat.ChimpChat chimpchat
public static com.android.chimpchat.ChimpChat getInstance ()
java.util.Map options
private static com.android.chimpchat.core.IChimpBackend createBackendByName (java.lang.String)
String backendName
public com.android.chimpchat.core.IChimpDevice waitForConnection (long, java.lang.String)
long timeoutMs
String deviceId
public com.android.chimpchat.core.IChimpDevice waitForConnection ()
public void shutdown ()
}
com/android/chimpchat/ChimpManager.classChimpManager.java
package com.android.chimpchat
public com.android.chimpchat.ChimpManager extends java.lang.Object {
private static java.util.logging.Logger LOG
private java.net.Socket monkeySocket
private java.io.BufferedWriter monkeyWriter
private java.io.BufferedReader monkeyReader
public void (java.net.Socket) throws java.io.IOException
java.net.Socket monkeySocket
protected void finalize () throws java.lang.Throwable
public boolean touchDown (int, int) throws java.io.IOException
int x
int y
public boolean touchUp (int, int) throws java.io.IOException
int x
int y
public boolean touchMove (int, int) throws java.io.IOException
int x
int y
public boolean touch (int, int) throws java.io.IOException
int x
int y
public boolean press (java.lang.String) throws java.io.IOException
String name
public boolean keyDown (java.lang.String) throws java.io.IOException
String name
public boolean keyUp (java.lang.String) throws java.io.IOException
String name
public boolean press (com.android.chimpchat.core.PhysicalButton) throws java.io.IOException
com.android.chimpchat.core.PhysicalButton button
private java.lang.String sendMonkeyEventAndGetResponse (java.lang.String) throws java.io.IOException
String command
private boolean parseResponseForSuccess (java.lang.String)
String monkeyResponse
private java.lang.String parseResponseForExtra (java.lang.String)
String monkeyResponse
int offset
private boolean sendMonkeyEvent (java.lang.String) throws java.io.IOException
String monkeyResponse
String command
public void close ()
java.io.IOException e
java.io.IOException e
java.io.IOException e
public java.lang.String getVariable (java.lang.String) throws java.io.IOException
String response
String name
public java.util.Collection listVariable () throws java.io.IOException
String response
String extras
public void done () throws java.io.IOException
public void quit () throws java.io.IOException
java.net.SocketException e
public boolean tap (int, int) throws java.io.IOException
int x
int y
public boolean type (java.lang.String) throws java.io.IOException
boolean success
boolean success
String line
String text
java.util.StringTokenizer tok
public boolean type (char) throws java.io.IOException
char keyChar
public void wake () throws java.io.IOException
public java.util.Collection listViewIds () throws java.io.IOException
String response
String extras
public java.lang.String queryView (java.lang.String, java.util.List, java.lang.String) throws java.io.IOException
String id
java.util.Iterator i$
String response
String idType
java.util.List ids
String query
StringBuilder monkeyCommand
public com.android.chimpchat.core.IChimpView getRootView () throws java.io.IOException
String response
String extra
java.util.List ids
com.android.chimpchat.core.ChimpView root
public java.lang.String getViewsWithText (java.lang.String) throws java.io.IOException
String response
String text
static void ()
}
com/android/chimpchat/adb/
com/android/chimpchat/adb/AdbChimpDevice.classAdbChimpDevice.java
package com.android.chimpchat.adb
public com.android.chimpchat.adb.AdbChimpDevice extends java.lang.Object implements com.android.chimpchat.core.IChimpDevice {
private static final java.util.logging.Logger LOG
private static final String[] ZERO_LENGTH_STRING_ARRAY
private static final long MANAGER_CREATE_TIMEOUT_MS
private static final long MANAGER_CREATE_WAIT_TIME_MS
private final java.util.concurrent.ExecutorService executor
private final com.android.ddmlib.IDevice device
private com.android.chimpchat.ChimpManager manager
public void (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice device
public com.android.chimpchat.ChimpManager getManager ()
public void dispose ()
java.io.IOException e
public com.android.chimpchat.hierarchyviewer.HierarchyViewer getHierarchyViewer ()
private void executeAsyncCommand (java.lang.String, com.android.chimpchat.adb.LoggingOutputReceiver)
String command
com.android.chimpchat.adb.LoggingOutputReceiver logger
private com.android.chimpchat.ChimpManager createManager (java.lang.String, int)
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
java.io.IOException e
InterruptedException e
java.net.UnknownHostException e
InterruptedException e
java.io.IOException e
java.io.IOException e
java.io.IOException e
long now
long diff
java.net.Socket monkeySocket
String address
int port
String command
java.net.InetAddress addr
boolean success
com.android.chimpchat.ChimpManager mm
long start
public com.android.chimpchat.core.IChimpImage takeSnapshot ()
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
java.io.IOException e
public java.lang.String getSystemProperty (java.lang.String)
String key
public java.lang.String getProperty (java.lang.String)
java.io.IOException e
String key
public java.util.Collection getPropertyList ()
java.io.IOException e
public void wake ()
java.io.IOException e
private transient java.lang.String shell (java.lang.String[])
String arg
String[] arr$
int len$
int i$
String[] args
StringBuilder cmd
public java.lang.String shell (java.lang.String)
String cmd
public java.lang.String shell (java.lang.String, int)
com.android.ddmlib.TimeoutException e
com.android.ddmlib.ShellCommandUnresponsiveException e
com.android.ddmlib.AdbCommandRejectedException e
java.io.IOException e
String cmd
int timeout
com.android.chimpchat.adb.CommandOutputCapture capture
public boolean installPackage (java.lang.String)
com.android.ddmlib.InstallException e
String path
public boolean removePackage (java.lang.String)
String result
com.android.ddmlib.InstallException e
String packageName
public void press (java.lang.String, com.android.chimpchat.core.TouchPressType)
java.io.IOException e
String keyName
com.android.chimpchat.core.TouchPressType type
public void press (com.android.chimpchat.core.PhysicalButton, com.android.chimpchat.core.TouchPressType)
com.android.chimpchat.core.PhysicalButton key
com.android.chimpchat.core.TouchPressType type
public void type (java.lang.String)
java.io.IOException e
String string
public void touch (int, int, com.android.chimpchat.core.TouchPressType)
java.io.IOException e
int x
int y
com.android.chimpchat.core.TouchPressType type
public void reboot (java.lang.String)
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
java.io.IOException e
String into
public void startActivity (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Collection, java.util.Map, java.lang.String, int)
String uri
String action
String data
String mimetype
java.util.Collection categories
java.util.Map extras
String component
int flags
java.util.List intentArgs
public void broadcastIntent (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Collection, java.util.Map, java.lang.String, int)
String uri
String action
String data
String mimetype
java.util.Collection categories
java.util.Map extras
String component
int flags
java.util.List intentArgs
private static boolean isNullOrEmpty (java.lang.String)
String string
private java.util.List buildIntentArgString (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Collection, java.util.Map, java.lang.String, int)
String category
java.util.Iterator i$
String valueString
String arg
String valueString
String arg
Object value
String valueString
String arg
java.util.Map$Entry entry
java.util.Iterator i$
String uri
String action
String data
String mimetype
java.util.Collection categories
java.util.Map extras
String component
int flags
java.util.List parts
public java.util.Map instrument (java.lang.String, java.util.Map)
String key
Object value
java.util.Map$Entry entry
java.util.Iterator i$
String packageName
java.util.Map args
java.util.List shellCmd
String result
static java.util.Map convertInstrumentResult (java.lang.String)
String resultLine
int splitIndex
String key
String value
String resultLine
int splitIndex
String key
String value
String result
java.util.Map map
java.util.regex.Pattern pattern
java.util.regex.Matcher matcher
int previousEnd
String previousWhich
public void drag (int, int, int, int, int, long)
int startx
int starty
int endx
int endy
int steps
long ms
long iterationTime
com.android.chimpchat.adb.LinearInterpolator lerp
com.android.chimpchat.adb.LinearInterpolator$Point start
com.android.chimpchat.adb.LinearInterpolator$Point end
public java.util.Collection getViewIdList ()
java.io.IOException e
public com.android.chimpchat.core.IChimpView getView (com.android.chimpchat.core.ISelector)
com.android.chimpchat.core.ISelector selector
public java.util.Collection getViews (com.android.chimpchat.core.IMultiSelector)
com.android.chimpchat.core.IMultiSelector selector
public com.android.chimpchat.core.IChimpView getRootView ()
java.io.IOException e
static com.android.ddmlib.IDevice access$000 (com.android.chimpchat.adb.AdbChimpDevice)
com.android.chimpchat.adb.AdbChimpDevice x0
static java.util.logging.Logger access$100 ()
static com.android.chimpchat.ChimpManager access$200 (com.android.chimpchat.adb.AdbChimpDevice)
com.android.chimpchat.adb.AdbChimpDevice x0
static void ()
}
com/android/chimpchat/adb/LoggingOutputReceiver.classLoggingOutputReceiver.java
package com.android.chimpchat.adb
public com.android.chimpchat.adb.LoggingOutputReceiver extends java.lang.Object implements com.android.ddmlib.IShellOutputReceiver {
private final java.util.logging.Logger log
private final java.util.logging.Level level
public void (java.util.logging.Logger, java.util.logging.Level)
java.util.logging.Logger log
java.util.logging.Level level
public void addOutput (byte[], int, int)
String line
String[] arr$
int len$
int i$
byte[] data
int offset
int length
String message
public void flush ()
public boolean isCancelled ()
}
com/android/chimpchat/adb/AdbChimpImage.classAdbChimpImage.java
package com.android.chimpchat.adb
public com.android.chimpchat.adb.AdbChimpImage extends com.android.chimpchat.core.ChimpImageBase {
private final com.android.ddmlib.RawImage image
void (com.android.ddmlib.RawImage)
com.android.ddmlib.RawImage image
public java.awt.image.BufferedImage createBufferedImage ()
public com.android.ddmlib.RawImage getRawImage ()
}
com/android/chimpchat/adb/CommandOutputCapture.classCommandOutputCapture.java
package com.android.chimpchat.adb
public com.android.chimpchat.adb.CommandOutputCapture extends java.lang.Object implements com.android.ddmlib.IShellOutputReceiver {
private final StringBuilder builder
public void ()
public void flush ()
public boolean isCancelled ()
public void addOutput (byte[], int, int)
byte[] data
int offset
int length
String message
public java.lang.String toString ()
}
com/android/chimpchat/adb/LinearInterpolator$Callback.classLinearInterpolator.java
package com.android.chimpchat.adb
public abstract com.android.chimpchat.adb.LinearInterpolator$Callback extends java.lang.Object {
public abstract void start (com.android.chimpchat.adb.LinearInterpolator$Point)
public abstract void end (com.android.chimpchat.adb.LinearInterpolator$Point)
public abstract void step (com.android.chimpchat.adb.LinearInterpolator$Point)
}
com/android/chimpchat/adb/AdbChimpDevice$2.classAdbChimpDevice.java
package com.android.chimpchat.adb
com.android.chimpchat.adb.AdbChimpDevice$2 extends java.lang.Object implements com.android.chimpchat.adb.LinearInterpolator$Callback {
final long val$iterationTime
final com.android.chimpchat.adb.AdbChimpDevice this$0
void (com.android.chimpchat.adb.AdbChimpDevice, long)
public void step (com.android.chimpchat.adb.LinearInterpolator$Point)
java.io.IOException e
InterruptedException e
com.android.chimpchat.adb.LinearInterpolator$Point point
public void start (com.android.chimpchat.adb.LinearInterpolator$Point)
java.io.IOException e
InterruptedException e
com.android.chimpchat.adb.LinearInterpolator$Point point
public void end (com.android.chimpchat.adb.LinearInterpolator$Point)
java.io.IOException e
com.android.chimpchat.adb.LinearInterpolator$Point point
}
com/android/chimpchat/adb/LinearInterpolator.classLinearInterpolator.java
package com.android.chimpchat.adb
public com.android.chimpchat.adb.LinearInterpolator extends java.lang.Object {
private final int steps
public void (int)
int steps
private static float lerp (float, float, float)
float start
float stop
float amount
public void interpolate (com.android.chimpchat.adb.LinearInterpolator$Point, com.android.chimpchat.adb.LinearInterpolator$Point, com.android.chimpchat.adb.LinearInterpolator$Callback)
float newX
float newY
int i
com.android.chimpchat.adb.LinearInterpolator$Point start
com.android.chimpchat.adb.LinearInterpolator$Point end
com.android.chimpchat.adb.LinearInterpolator$Callback callback
int xDistance
int yDistance
float amount
}
com/android/chimpchat/adb/LinearInterpolator$Point.classLinearInterpolator.java
package com.android.chimpchat.adb
public com.android.chimpchat.adb.LinearInterpolator$Point extends java.lang.Object {
private final int x
private final int y
public void (int, int)
int x
int y
public java.lang.String toString ()
public boolean equals (java.lang.Object)
com.android.chimpchat.adb.LinearInterpolator$Point that
Object obj
public int hashCode ()
public int getX ()
public int getY ()
}
com/android/chimpchat/adb/AdbChimpDevice$1.classAdbChimpDevice.java
package com.android.chimpchat.adb
com.android.chimpchat.adb.AdbChimpDevice$1 extends java.lang.Object implements java.lang.Runnable {
final String val$command
final com.android.chimpchat.adb.LoggingOutputReceiver val$logger
final com.android.chimpchat.adb.AdbChimpDevice this$0
void (com.android.chimpchat.adb.AdbChimpDevice, java.lang.String, com.android.chimpchat.adb.LoggingOutputReceiver)
public void run ()
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
java.io.IOException e
}
com/android/chimpchat/adb/AdbChimpDevice$3.classAdbChimpDevice.java
package com.android.chimpchat.adb
com.android.chimpchat.adb.AdbChimpDevice$3 extends java.lang.Object {
static final int[] $SwitchMap$com$android$chimpchat$core$TouchPressType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/chimpchat/adb/AdbBackend.classAdbBackend.java
package com.android.chimpchat.adb
public com.android.chimpchat.adb.AdbBackend extends java.lang.Object implements com.android.chimpchat.core.IChimpBackend {
private static java.util.logging.Logger LOG
private static final int CONNECTION_ITERATION_TIMEOUT_MS
private final java.util.List devices
private final com.android.ddmlib.AndroidDebugBridge bridge
private final boolean initAdb
public void ()
public void (java.lang.String, boolean)
String adbLocation
boolean noInitAdb
private java.lang.String findAdb ()
java.io.File platformTools
String mrParentLocation
private com.android.ddmlib.IDevice findAttachedDevice (java.lang.String)
String serialNumber
com.android.ddmlib.IDevice device
com.android.ddmlib.IDevice[] arr$
int len$
int i$
String deviceIdRegex
java.util.regex.Pattern pattern
public com.android.chimpchat.core.IChimpDevice waitForConnection ()
public com.android.chimpchat.core.IChimpDevice waitForConnection (long, java.lang.String)
com.android.chimpchat.core.IChimpDevice chimpDevice
InterruptedException e
com.android.ddmlib.IDevice device
long timeoutMs
String deviceIdRegex
public void shutdown ()
com.android.chimpchat.core.IChimpDevice device
java.util.Iterator i$
static void ()
}
com/android/chimpchat/adb/image/
com/android/chimpchat/adb/image/ImageUtils.classImageUtils.java
package com.android.chimpchat.adb.image
public com.android.chimpchat.adb.image.ImageUtils extends java.lang.Object {
private static java.util.Hashtable EMPTY_HASH
private static int[] BAND_OFFSETS_32
private static int[] BAND_OFFSETS_16
private void ()
public static java.awt.image.BufferedImage convertImage (com.android.ddmlib.RawImage, java.awt.image.BufferedImage)
com.android.ddmlib.RawImage rawImage
java.awt.image.BufferedImage image
public static java.awt.image.BufferedImage convertImage (com.android.ddmlib.RawImage)
com.android.ddmlib.RawImage rawImage
static int getMask (int)
int i
int length
int res
private static java.awt.image.BufferedImage rawImage32toARGB (com.android.ddmlib.RawImage)
com.android.ddmlib.RawImage rawImage
java.awt.image.DataBufferByte dataBuffer
java.awt.image.PixelInterleavedSampleModel sampleModel
java.awt.image.WritableRaster raster
private static java.awt.image.BufferedImage rawImage16toARGB (java.awt.image.BufferedImage, com.android.ddmlib.RawImage)
java.awt.image.BufferedImage image
com.android.ddmlib.RawImage rawImage
java.awt.image.DataBufferByte dataBuffer
java.awt.image.PixelInterleavedSampleModel sampleModel
java.awt.image.WritableRaster raster
static void ()
}
com/android/chimpchat/adb/image/CaptureRawAndConvertedImage.classCaptureRawAndConvertedImage.java
package com.android.chimpchat.adb.image
public com.android.chimpchat.adb.image.CaptureRawAndConvertedImage extends java.lang.Object {
public void ()
private static void writeOutImage (com.android.ddmlib.RawImage, java.lang.String) throws java.io.IOException
com.android.ddmlib.RawImage screenshot
String name
java.io.ObjectOutputStream out
public static void main (java.lang.String[]) throws java.io.IOException
String[] args
com.android.chimpchat.core.IChimpBackend backend
com.android.chimpchat.core.IChimpDevice device
com.android.chimpchat.core.IChimpImage snapshot
}
com/android/chimpchat/adb/image/ThirtyTwoBitColorModel.classThirtyTwoBitColorModel.java
package com.android.chimpchat.adb.image
com.android.chimpchat.adb.image.ThirtyTwoBitColorModel extends java.awt.image.ColorModel {
private static final int[] BITS
private final int alphaLength
private final int alphaMask
private final int alphaOffset
private final int blueMask
private final int blueLength
private final int blueOffset
private final int greenMask
private final int greenLength
private final int greenOffset
private final int redMask
private final int redLength
private final int redOffset
public void (com.android.ddmlib.RawImage)
com.android.ddmlib.RawImage rawImage
public boolean isCompatibleRaster (java.awt.image.Raster)
java.awt.image.Raster raster
private int getPixel (java.lang.Object)
Object inData
byte[] data
int value
public int getAlpha (java.lang.Object)
Object inData
int pixel
public int getBlue (java.lang.Object)
Object inData
int pixel
public int getGreen (java.lang.Object)
Object inData
int pixel
public int getRed (java.lang.Object)
Object inData
int pixel
public int getAlpha (int)
int pixel
public int getBlue (int)
int pixel
public int getGreen (int)
int pixel
public int getRed (int)
int pixel
static void ()
}
com/android/chimpchat/adb/image/SixteenBitColorModel.classSixteenBitColorModel.java
package com.android.chimpchat.adb.image
com.android.chimpchat.adb.image.SixteenBitColorModel extends java.awt.image.ColorModel {
private static final int[] BITS
public void (com.android.ddmlib.RawImage)
com.android.ddmlib.RawImage rawImage
public boolean isCompatibleRaster (java.awt.image.Raster)
java.awt.image.Raster raster
private int getPixel (java.lang.Object)
Object inData
byte[] data
int value
public int getAlpha (java.lang.Object)
Object inData
public int getBlue (java.lang.Object)
Object inData
int pixel
public int getGreen (java.lang.Object)
Object inData
int pixel
public int getRed (java.lang.Object)
Object inData
int pixel
public int getAlpha (int)
int pixel
public int getBlue (int)
int pixel
public int getGreen (int)
int pixel
public int getRed (int)
int pixel
static void ()
}
com/android/chimpchat/adb/image/CaptureRawAndConvertedImage$IRawImager.classCaptureRawAndConvertedImage.java
package com.android.chimpchat.adb.image
public abstract com.android.chimpchat.adb.image.CaptureRawAndConvertedImage$IRawImager extends java.lang.Object {
public abstract com.android.ddmlib.RawImage toRawImage ()
}
com/android/chimpchat/adb/image/CaptureRawAndConvertedImage$ChimpRawImage.classCaptureRawAndConvertedImage.java
package com.android.chimpchat.adb.image
public com.android.chimpchat.adb.image.CaptureRawAndConvertedImage$ChimpRawImage extends java.lang.Object implements java.io.Serializable com.android.chimpchat.adb.image.CaptureRawAndConvertedImage$IRawImager {
public int version
public int bpp
public int size
public int width
public int height
public int red_offset
public int red_length
public int blue_offset
public int blue_length
public int green_offset
public int green_length
public int alpha_offset
public int alpha_length
public byte[] data
public void (com.android.ddmlib.RawImage)
com.android.ddmlib.RawImage rawImage
public com.android.ddmlib.RawImage toRawImage ()
com.android.ddmlib.RawImage rawImage
}
com/android/chimpchat/core/
com/android/chimpchat/core/IChimpView$AccessibilityIds.classIChimpView.java
package com.android.chimpchat.core
public com.android.chimpchat.core.IChimpView$AccessibilityIds extends java.lang.Object {
private final int windowId
private final long nodeId
public void ()
public void (int, long)
int windowId
long nodeId
public int getWindowId ()
public long getNodeId ()
}
com/android/chimpchat/core/IChimpView.classIChimpView.java
package com.android.chimpchat.core
public abstract com.android.chimpchat.core.IChimpView extends java.lang.Object {
public abstract void setManager (com.android.chimpchat.ChimpManager)
public abstract java.lang.String getViewClass ()
public abstract java.lang.String getText ()
public abstract com.android.chimpchat.core.ChimpRect getLocation ()
public abstract boolean getChecked ()
public abstract boolean getEnabled ()
public abstract boolean getSelected ()
public abstract void setSelected (boolean)
public abstract boolean getFocused ()
public abstract void setFocused (boolean)
public abstract com.android.chimpchat.core.IChimpView getParent ()
public abstract java.util.List getChildren ()
public abstract com.android.chimpchat.core.IChimpView$AccessibilityIds getAccessibilityIds ()
}
com/android/chimpchat/core/PhysicalButton.classPhysicalButton.java
package com.android.chimpchat.core
public final com.android.chimpchat.core.PhysicalButton extends java.lang.Enum {
public static final com.android.chimpchat.core.PhysicalButton HOME
public static final com.android.chimpchat.core.PhysicalButton SEARCH
public static final com.android.chimpchat.core.PhysicalButton MENU
public static final com.android.chimpchat.core.PhysicalButton BACK
public static final com.android.chimpchat.core.PhysicalButton DPAD_UP
public static final com.android.chimpchat.core.PhysicalButton DPAD_DOWN
public static final com.android.chimpchat.core.PhysicalButton DPAD_LEFT
public static final com.android.chimpchat.core.PhysicalButton DPAD_RIGHT
public static final com.android.chimpchat.core.PhysicalButton DPAD_CENTER
public static final com.android.chimpchat.core.PhysicalButton ENTER
private String keyName
private static final com.android.chimpchat.core.PhysicalButton[] $VALUES
public static com.android.chimpchat.core.PhysicalButton[] values ()
public static com.android.chimpchat.core.PhysicalButton valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String keyName
public java.lang.String getKeyName ()
static void ()
}
com/android/chimpchat/core/IMultiSelector.classIMultiSelector.java
package com.android.chimpchat.core
public abstract com.android.chimpchat.core.IMultiSelector extends java.lang.Object {
public abstract java.util.Collection getViews (com.android.chimpchat.ChimpManager)
}
com/android/chimpchat/core/SelectorAccessibilityIds.classSelectorAccessibilityIds.java
package com.android.chimpchat.core
public com.android.chimpchat.core.SelectorAccessibilityIds extends java.lang.Object implements com.android.chimpchat.core.ISelector {
private int windowId
private long accessibilityId
public void (int, long)
int windowId
long accessibilityId
public com.android.chimpchat.core.IChimpView getView (com.android.chimpchat.ChimpManager)
com.android.chimpchat.ChimpManager manager
com.android.chimpchat.core.ChimpView view
}
com/android/chimpchat/core/ChimpRect.classChimpRect.java
package com.android.chimpchat.core
public com.android.chimpchat.core.ChimpRect extends java.lang.Object {
public int left
public int top
public int right
public int bottom
public void ()
public void (int, int, int, int)
int left
int top
int right
int bottom
public boolean equals (java.lang.Object)
com.android.chimpchat.core.ChimpRect r
Object obj
public int getWidth ()
public int getHeight ()
public int[] getCenter ()
int[] center
public java.lang.String toString ()
StringBuilder sb
}
com/android/chimpchat/core/TouchPressType.classTouchPressType.java
package com.android.chimpchat.core
public final com.android.chimpchat.core.TouchPressType extends java.lang.Enum {
public static final com.android.chimpchat.core.TouchPressType DOWN
public static final com.android.chimpchat.core.TouchPressType UP
public static final com.android.chimpchat.core.TouchPressType DOWN_AND_UP
public static final com.android.chimpchat.core.TouchPressType MOVE
private static final java.util.Map identifierToEnum
private String identifier
private static final com.android.chimpchat.core.TouchPressType[] $VALUES
public static com.android.chimpchat.core.TouchPressType[] values ()
public static com.android.chimpchat.core.TouchPressType valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String identifier
public java.lang.String getIdentifier ()
public static com.android.chimpchat.core.TouchPressType fromIdentifier (java.lang.String)
String name
static void ()
com.android.chimpchat.core.TouchPressType type
com.android.chimpchat.core.TouchPressType[] arr$
int len$
int i$
}
com/android/chimpchat/core/IChimpDevice.classIChimpDevice.java
package com.android.chimpchat.core
public abstract com.android.chimpchat.core.IChimpDevice extends java.lang.Object {
public abstract com.android.chimpchat.ChimpManager getManager ()
public abstract void dispose ()
public abstract com.android.chimpchat.hierarchyviewer.HierarchyViewer getHierarchyViewer ()
public abstract com.android.chimpchat.core.IChimpImage takeSnapshot ()
public abstract void reboot (java.lang.String)
public abstract java.util.Collection getPropertyList ()
public abstract java.lang.String getProperty (java.lang.String)
public abstract java.lang.String getSystemProperty (java.lang.String)
public abstract void touch (int, int, com.android.chimpchat.core.TouchPressType)
public abstract void press (java.lang.String, com.android.chimpchat.core.TouchPressType)
public abstract void press (com.android.chimpchat.core.PhysicalButton, com.android.chimpchat.core.TouchPressType)
public abstract void drag (int, int, int, int, int, long)
public abstract void type (java.lang.String)
public abstract java.lang.String shell (java.lang.String)
public abstract java.lang.String shell (java.lang.String, int)
public abstract boolean installPackage (java.lang.String)
public abstract boolean removePackage (java.lang.String)
public abstract void startActivity (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Collection, java.util.Map, java.lang.String, int)
public abstract void broadcastIntent (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Collection, java.util.Map, java.lang.String, int)
public abstract java.util.Map instrument (java.lang.String, java.util.Map)
public abstract void wake ()
public abstract java.util.Collection getViewIdList ()
public abstract com.android.chimpchat.core.IChimpView getView (com.android.chimpchat.core.ISelector)
public abstract com.android.chimpchat.core.IChimpView getRootView ()
public abstract java.util.Collection getViews (com.android.chimpchat.core.IMultiSelector)
}
com/android/chimpchat/core/ChimpImageBase$BufferedImageChimpImage.classChimpImageBase.java
package com.android.chimpchat.core
com.android.chimpchat.core.ChimpImageBase$BufferedImageChimpImage extends com.android.chimpchat.core.ChimpImageBase {
private final java.awt.image.BufferedImage image
public void (java.awt.image.BufferedImage)
java.awt.image.BufferedImage image
public java.awt.image.BufferedImage createBufferedImage ()
}
com/android/chimpchat/core/SelectorId.classSelectorId.java
package com.android.chimpchat.core
public com.android.chimpchat.core.SelectorId extends java.lang.Object implements com.android.chimpchat.core.ISelector {
private String id
public void (java.lang.String)
String id
public com.android.chimpchat.core.IChimpView getView (com.android.chimpchat.ChimpManager)
com.android.chimpchat.ChimpManager manager
com.android.chimpchat.core.ChimpView view
}
com/android/chimpchat/core/IChimpBackend.classIChimpBackend.java
package com.android.chimpchat.core
public abstract com.android.chimpchat.core.IChimpBackend extends java.lang.Object {
public abstract com.android.chimpchat.core.IChimpDevice waitForConnection ()
public abstract com.android.chimpchat.core.IChimpDevice waitForConnection (long, java.lang.String)
public abstract void shutdown ()
}
com/android/chimpchat/core/IChimpImage.classIChimpImage.java
package com.android.chimpchat.core
public abstract com.android.chimpchat.core.IChimpImage extends java.lang.Object {
public abstract java.awt.image.BufferedImage createBufferedImage ()
public abstract java.awt.image.BufferedImage getBufferedImage ()
public abstract com.android.chimpchat.core.IChimpImage getSubImage (int, int, int, int)
public abstract byte[] convertToBytes (java.lang.String)
public abstract boolean writeToFile (java.lang.String, java.lang.String)
public abstract int getPixel (int, int)
public abstract boolean sameAs (com.android.chimpchat.core.IChimpImage, double)
}
com/android/chimpchat/core/ISelector.classISelector.java
package com.android.chimpchat.core
public abstract com.android.chimpchat.core.ISelector extends java.lang.Object {
public abstract com.android.chimpchat.core.IChimpView getView (com.android.chimpchat.ChimpManager)
}
com/android/chimpchat/core/ChimpView.classChimpView.java
package com.android.chimpchat.core
public com.android.chimpchat.core.ChimpView extends java.lang.Object implements com.android.chimpchat.core.IChimpView {
private static final java.util.logging.Logger LOG
public static final String ACCESSIBILITY_IDS
public static final String VIEW_ID
private String viewType
private java.util.List ids
private com.android.chimpchat.ChimpManager manager
public void (java.lang.String, java.util.List)
String viewType
java.util.List ids
public void setManager (com.android.chimpchat.ChimpManager)
com.android.chimpchat.ChimpManager manager
private java.lang.String queryView (java.lang.String)
java.io.IOException e
String query
public com.android.chimpchat.core.ChimpRect getLocation ()
int left
int top
int width
int height
NumberFormatException e
java.util.List result
public java.lang.String getText ()
public java.lang.String getViewClass ()
public boolean getChecked ()
public boolean getEnabled ()
public boolean getSelected ()
public void setSelected (boolean)
boolean selected
public boolean getFocused ()
public void setFocused (boolean)
boolean focused
public com.android.chimpchat.core.IChimpView getParent ()
com.android.chimpchat.core.ChimpView parent
java.util.List results
public java.util.List getChildren ()
java.util.List ids
com.android.chimpchat.core.ChimpView child
int i
java.util.List children
java.util.List results
public com.android.chimpchat.core.IChimpView$AccessibilityIds getAccessibilityIds ()
NumberFormatException e
java.util.List results
static void ()
}
com/android/chimpchat/core/By.classBy.java
package com.android.chimpchat.core
public com.android.chimpchat.core.By extends java.lang.Object {
public void ()
public static com.android.chimpchat.core.ISelector id (java.lang.String)
String id
public static com.android.chimpchat.core.ISelector accessibilityIds (int, long)
int windowId
long accessibilityId
public static com.android.chimpchat.core.IMultiSelector text (java.lang.String)
String searchText
}
com/android/chimpchat/core/MultiSelectorText.classMultiSelectorText.java
package com.android.chimpchat.core
public com.android.chimpchat.core.MultiSelectorText extends java.lang.Object implements com.android.chimpchat.core.IMultiSelector {
private static final java.util.logging.Logger LOG
private String text
public void (java.lang.String)
String text
public java.util.Collection getViews (com.android.chimpchat.ChimpManager)
java.io.IOException e
java.util.List accessibilityIds
com.android.chimpchat.core.ChimpView view
int i
java.util.List views
com.android.chimpchat.ChimpManager manager
String response
java.util.List ids
static void ()
}
com/android/chimpchat/core/ChimpImageBase.classChimpImageBase.java
package com.android.chimpchat.core
public abstract com.android.chimpchat.core.ChimpImageBase extends java.lang.Object implements com.android.chimpchat.core.IChimpImage {
private static java.util.logging.Logger LOG
private java.lang.ref.WeakReference cachedBufferedImage
public void ()
public abstract java.awt.image.BufferedImage createBufferedImage ()
public java.awt.image.BufferedImage getBufferedImage ()
java.awt.image.BufferedImage img
java.awt.image.BufferedImage img
public byte[] convertToBytes (java.lang.String)
java.io.IOException e
String format
java.awt.image.BufferedImage argb
java.io.ByteArrayOutputStream os
public boolean writeToFile (java.lang.String, java.lang.String)
java.io.File f
javax.imageio.stream.ImageOutputStream outputStream
java.io.IOException e
String path
String format
int offset
String ext
java.util.Iterator writers
javax.imageio.ImageWriter writer
java.awt.image.BufferedImage image
public int getPixel (int, int)
int x
int y
java.awt.image.BufferedImage image
private java.awt.image.BufferedImage convertSnapshot ()
java.awt.image.BufferedImage image
java.awt.image.BufferedImage argb
java.awt.Graphics g
private boolean writeToFileHelper (java.lang.String, java.lang.String)
java.io.IOException e
String path
String format
java.awt.image.BufferedImage argb
public boolean sameAs (com.android.chimpchat.core.IChimpImage, double)
int x
int y
com.android.chimpchat.core.IChimpImage other
double percent
java.awt.image.BufferedImage otherImage
java.awt.image.BufferedImage myImage
int[] otherPixel
int[] myPixel
int width
int height
int numDiffPixels
double numberPixels
double diffPercent
public static com.android.chimpchat.core.IChimpImage loadImageFromFile (java.lang.String)
java.awt.image.BufferedImage bufferedImage
java.io.IOException e
String path
java.io.File f
public com.android.chimpchat.core.IChimpImage getSubImage (int, int, int, int)
int x
int y
int w
int h
java.awt.image.BufferedImage image
static void ()
}
com/android/chimpchat/core/ChimpException.classChimpException.java
package com.android.chimpchat.core
public com.android.chimpchat.core.ChimpException extends java.lang.RuntimeException {
public void (java.lang.String)
String s
}
com/android/chimpchat/hierarchyviewer/
com/android/chimpchat/hierarchyviewer/HierarchyViewer.classHierarchyViewer.java
package com.android.chimpchat.hierarchyviewer
public com.android.chimpchat.hierarchyviewer.HierarchyViewer extends java.lang.Object {
public static final String TAG
private com.android.ddmlib.IDevice mDevice
public void (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice device
private void setupViewServer ()
InterruptedException e
public com.android.hierarchyviewerlib.models.ViewNode findViewById (java.lang.String)
String id
com.android.hierarchyviewerlib.models.ViewNode rootNode
public com.android.hierarchyviewerlib.models.ViewNode findViewById (java.lang.String, com.android.hierarchyviewerlib.models.ViewNode)
com.android.hierarchyviewerlib.models.ViewNode found
com.android.hierarchyviewerlib.models.ViewNode child
java.util.Iterator i$
String id
com.android.hierarchyviewerlib.models.ViewNode rootNode
public java.lang.String getFocusedWindowName ()
com.android.hierarchyviewerlib.models.Window w
com.android.hierarchyviewerlib.models.Window[] arr$
int len$
int i$
int id
com.android.hierarchyviewerlib.models.Window[] windows
public static org.eclipse.swt.graphics.Point getAbsolutePositionOfView (com.android.hierarchyviewerlib.models.ViewNode)
com.android.hierarchyviewerlib.models.ViewNode node
int x
int y
com.android.hierarchyviewerlib.models.ViewNode p
public static org.eclipse.swt.graphics.Point getAbsoluteCenterOfView (com.android.hierarchyviewerlib.models.ViewNode)
com.android.hierarchyviewerlib.models.ViewNode node
org.eclipse.swt.graphics.Point point
public boolean visible (com.android.hierarchyviewerlib.models.ViewNode)
com.android.hierarchyviewerlib.models.ViewNode node
boolean ret
public java.lang.String getText (com.android.hierarchyviewerlib.models.ViewNode)
com.android.hierarchyviewerlib.models.ViewNode node
com.android.hierarchyviewerlib.models.ViewNode$Property textProperty
}