META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/ddmlib/
com/android/ddmlib/AdbCommandRejectedException.classAdbCommandRejectedException.java
package com.android.ddmlib
public com.android.ddmlib.AdbCommandRejectedException extends java.lang.Exception {
private static final long serialVersionUID
private final boolean mIsDeviceOffline
private final boolean mErrorDuringDeviceSelection
void (java.lang.String)
String message
void (java.lang.String, boolean)
String message
boolean errorDuringDeviceSelection
public boolean isDeviceOffline ()
public boolean wasErrorDuringDeviceSelection ()
}
com/android/ddmlib/AdbHelper$AdbResponse.classAdbHelper.java
package com.android.ddmlib
com.android.ddmlib.AdbHelper$AdbResponse extends java.lang.Object {
public boolean okay
public String message
public void ()
}
com/android/ddmlib/AdbHelper.classAdbHelper.java
package com.android.ddmlib
final com.android.ddmlib.AdbHelper extends java.lang.Object {
static final int WAIT_TIME
static final String DEFAULT_ENCODING
static final synthetic boolean $assertionsDisabled
private void ()
public static java.nio.channels.SocketChannel open (java.net.InetSocketAddress, com.android.ddmlib.Device, int) throws java.io.IOException com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException
byte[] req
com.android.ddmlib.AdbHelper$AdbResponse resp
com.android.ddmlib.TimeoutException e
java.io.IOException e
java.net.InetSocketAddress adbSockAddr
com.android.ddmlib.Device device
int devicePort
java.nio.channels.SocketChannel adbChan
public static java.nio.channels.SocketChannel createPassThroughConnection (java.net.InetSocketAddress, com.android.ddmlib.Device, int) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
byte[] req
com.android.ddmlib.AdbHelper$AdbResponse resp
com.android.ddmlib.TimeoutException e
java.io.IOException e
java.net.InetSocketAddress adbSockAddr
com.android.ddmlib.Device device
int pid
java.nio.channels.SocketChannel adbChan
private static byte[] createAdbForwardRequest (java.lang.String, int)
String reqStr
String addrStr
int port
String reqStr
private static byte[] createJdwpForwardRequest (int)
int pid
String reqStr
static byte[] formAdbRequest (java.lang.String)
java.io.UnsupportedEncodingException uee
String req
String resultStr
byte[] result
static com.android.ddmlib.AdbHelper$AdbResponse readAdbResponse (java.nio.channels.SocketChannel, boolean) throws com.android.ddmlib.TimeoutException java.io.IOException
NumberFormatException nfe
byte[] lenBuf
String lenStr
int len
byte[] msg
Exception e
java.nio.channels.SocketChannel chan
boolean readDiagString
com.android.ddmlib.AdbHelper$AdbResponse resp
byte[] reply
static com.android.ddmlib.RawImage getFrameBuffer (java.net.InetSocketAddress, com.android.ddmlib.Device) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
com.android.ddmlib.AdbHelper$AdbResponse resp
java.nio.ByteBuffer buf
int version
int headerSize
java.net.InetSocketAddress adbSockAddr
com.android.ddmlib.Device device
com.android.ddmlib.RawImage imageParams
byte[] request
byte[] nudge
byte[] reply
java.nio.channels.SocketChannel adbChan
static void executeRemoteCommand (java.net.InetSocketAddress, java.lang.String, com.android.ddmlib.IDevice, com.android.ddmlib.IShellOutputReceiver, int) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
java.net.InetSocketAddress adbSockAddr
String command
com.android.ddmlib.IDevice device
com.android.ddmlib.IShellOutputReceiver rcvr
int maxTimeToOutputResponse
static void executeRemoteCommand (java.net.InetSocketAddress, java.lang.String, com.android.ddmlib.IDevice, 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
int wait
InterruptedException ie
int count
byte[] request
com.android.ddmlib.AdbHelper$AdbResponse resp
byte[] data
java.nio.ByteBuffer buf
long timeToResponseCount
java.net.InetSocketAddress adbSockAddr
String command
com.android.ddmlib.IDevice device
com.android.ddmlib.IShellOutputReceiver rcvr
long maxTimeToOutputResponse
java.util.concurrent.TimeUnit maxTimeUnits
long maxTimeToOutputMs
java.nio.channels.SocketChannel adbChan
public static void runEventLogService (java.net.InetSocketAddress, com.android.ddmlib.Device, com.android.ddmlib.log.LogReceiver) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
java.net.InetSocketAddress adbSockAddr
com.android.ddmlib.Device device
com.android.ddmlib.log.LogReceiver rcvr
public static void runLogService (java.net.InetSocketAddress, com.android.ddmlib.Device, java.lang.String, com.android.ddmlib.log.LogReceiver) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
InterruptedException ie
int count
byte[] request
com.android.ddmlib.AdbHelper$AdbResponse resp
byte[] data
java.nio.ByteBuffer buf
java.net.InetSocketAddress adbSockAddr
com.android.ddmlib.Device device
String logName
com.android.ddmlib.log.LogReceiver rcvr
java.nio.channels.SocketChannel adbChan
public static void createForward (java.net.InetSocketAddress, com.android.ddmlib.Device, java.lang.String, java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
byte[] request
com.android.ddmlib.AdbHelper$AdbResponse resp
java.net.InetSocketAddress adbSockAddr
com.android.ddmlib.Device device
String localPortSpec
String remotePortSpec
java.nio.channels.SocketChannel adbChan
public static void removeForward (java.net.InetSocketAddress, com.android.ddmlib.Device, java.lang.String, java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
byte[] request
com.android.ddmlib.AdbHelper$AdbResponse resp
java.net.InetSocketAddress adbSockAddr
com.android.ddmlib.Device device
String localPortSpec
String remotePortSpec
java.nio.channels.SocketChannel adbChan
static boolean isOkay (byte[])
byte[] reply
static java.lang.String replyToString (byte[])
java.io.UnsupportedEncodingException uee
byte[] reply
String result
static void read (java.nio.channels.SocketChannel, byte[]) throws com.android.ddmlib.TimeoutException java.io.IOException
java.nio.channels.SocketChannel chan
byte[] data
static void read (java.nio.channels.SocketChannel, byte[], int, int) throws com.android.ddmlib.TimeoutException java.io.IOException
InterruptedException ie
int count
java.nio.channels.SocketChannel chan
byte[] data
int length
int timeout
java.nio.ByteBuffer buf
int numWaits
static void write (java.nio.channels.SocketChannel, byte[]) throws com.android.ddmlib.TimeoutException java.io.IOException
java.nio.channels.SocketChannel chan
byte[] data
static void write (java.nio.channels.SocketChannel, byte[], int, int) throws com.android.ddmlib.TimeoutException java.io.IOException
InterruptedException ie
int count
java.nio.channels.SocketChannel chan
byte[] data
int length
int timeout
java.nio.ByteBuffer buf
int numWaits
static void setDevice (java.nio.channels.SocketChannel, com.android.ddmlib.IDevice) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
String msg
byte[] device_query
com.android.ddmlib.AdbHelper$AdbResponse resp
java.nio.channels.SocketChannel adbChan
com.android.ddmlib.IDevice device
public static void reboot (java.lang.String, java.net.InetSocketAddress, com.android.ddmlib.Device) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
byte[] request
String into
java.net.InetSocketAddress adbSockAddr
com.android.ddmlib.Device device
byte[] request
java.nio.channels.SocketChannel adbChan
static void ()
}
com/android/ddmlib/AllocationInfo$1.classAllocationInfo.java
package com.android.ddmlib
synthetic com.android.ddmlib.AllocationInfo$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ddmlib$AllocationInfo$SortMode
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ddmlib/AllocationInfo$AllocationSorter.classAllocationInfo.java
package com.android.ddmlib
public final com.android.ddmlib.AllocationInfo$AllocationSorter extends java.lang.Object implements java.util.Comparator {
private com.android.ddmlib.AllocationInfo$SortMode mSortMode
private boolean mDescending
public void ()
public void setSortMode (com.android.ddmlib.AllocationInfo$SortMode)
com.android.ddmlib.AllocationInfo$SortMode mode
public com.android.ddmlib.AllocationInfo$SortMode getSortMode ()
public boolean isDescending ()
public int compare (com.android.ddmlib.AllocationInfo, com.android.ddmlib.AllocationInfo)
String method1
String method2
String class1
String class2
com.android.ddmlib.AllocationInfo o1
com.android.ddmlib.AllocationInfo o2
int diff
private int compareOptionalString (java.lang.String, java.lang.String)
String str1
String str2
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
Object x0
Object x1
}
com/android/ddmlib/AllocationInfo$SortMode.classAllocationInfo.java
package com.android.ddmlib
public final enum com.android.ddmlib.AllocationInfo$SortMode extends java.lang.Enum {
public static final enum com.android.ddmlib.AllocationInfo$SortMode NUMBER
public static final enum com.android.ddmlib.AllocationInfo$SortMode SIZE
public static final enum com.android.ddmlib.AllocationInfo$SortMode CLASS
public static final enum com.android.ddmlib.AllocationInfo$SortMode THREAD
public static final enum com.android.ddmlib.AllocationInfo$SortMode IN_CLASS
public static final enum com.android.ddmlib.AllocationInfo$SortMode IN_METHOD
private static final synthetic com.android.ddmlib.AllocationInfo$SortMode[] $VALUES
public static com.android.ddmlib.AllocationInfo$SortMode[] values ()
public static com.android.ddmlib.AllocationInfo$SortMode valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ddmlib/AllocationInfo.classAllocationInfo.java
package com.android.ddmlib
public com.android.ddmlib.AllocationInfo extends java.lang.Object implements com.android.ddmlib.IStackTraceInfo {
private final String mAllocatedClass
private final int mAllocNumber
private final int mAllocationSize
private final short mThreadId
private final StackTraceElement[] mStackTrace
void (int, java.lang.String, int, short, java.lang.StackTraceElement[])
int allocNumber
String allocatedClass
int allocationSize
short threadId
StackTraceElement[] stackTrace
public int getAllocNumber ()
public java.lang.String getAllocatedClass ()
public int getSize ()
public short getThreadId ()
public java.lang.StackTraceElement[] getStackTrace ()
public int compareTo (com.android.ddmlib.AllocationInfo)
com.android.ddmlib.AllocationInfo otherAlloc
public java.lang.String getFirstTraceClassName ()
public java.lang.String getFirstTraceMethodName ()
public boolean filter (java.lang.String, boolean, java.util.Locale)
int i
int length
String filter
boolean fullTrace
java.util.Locale locale
static synthetic int access$000 (com.android.ddmlib.AllocationInfo)
com.android.ddmlib.AllocationInfo x0
static synthetic java.lang.String access$100 (com.android.ddmlib.AllocationInfo)
com.android.ddmlib.AllocationInfo x0
static synthetic short access$200 (com.android.ddmlib.AllocationInfo)
com.android.ddmlib.AllocationInfo x0
static synthetic int access$300 (com.android.ddmlib.AllocationInfo)
com.android.ddmlib.AllocationInfo x0
}
com/android/ddmlib/AndroidDebugBridge$1.classAndroidDebugBridge.java
package com.android.ddmlib
com.android.ddmlib.AndroidDebugBridge$1 extends java.lang.Thread {
final synthetic Process val$process
final synthetic java.util.ArrayList val$errorOutput
final synthetic com.android.ddmlib.AndroidDebugBridge this$0
void (com.android.ddmlib.AndroidDebugBridge, java.lang.String, java.lang.Process, java.util.ArrayList)
String x0
public void run ()
String line
java.io.IOException e
java.io.InputStreamReader is
java.io.BufferedReader errReader
}
com/android/ddmlib/AndroidDebugBridge$2.classAndroidDebugBridge.java
package com.android.ddmlib
com.android.ddmlib.AndroidDebugBridge$2 extends java.lang.Thread {
final synthetic Process val$process
final synthetic java.util.ArrayList val$stdOutput
final synthetic com.android.ddmlib.AndroidDebugBridge this$0
void (com.android.ddmlib.AndroidDebugBridge, java.lang.String, java.lang.Process, java.util.ArrayList)
String x0
public void run ()
String line
java.io.IOException e
java.io.InputStreamReader is
java.io.BufferedReader outReader
}
com/android/ddmlib/AndroidDebugBridge$IClientChangeListener.classAndroidDebugBridge.java
package com.android.ddmlib
public abstract com.android.ddmlib.AndroidDebugBridge$IClientChangeListener extends java.lang.Object {
public abstract void clientChanged (com.android.ddmlib.Client, int)
}
com/android/ddmlib/AndroidDebugBridge$IDebugBridgeChangeListener.classAndroidDebugBridge.java
package com.android.ddmlib
public abstract com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener extends java.lang.Object {
public abstract void bridgeChanged (com.android.ddmlib.AndroidDebugBridge)
}
com/android/ddmlib/AndroidDebugBridge$IDeviceChangeListener.classAndroidDebugBridge.java
package com.android.ddmlib
public abstract com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener extends java.lang.Object {
public abstract void deviceConnected (com.android.ddmlib.IDevice)
public abstract void deviceDisconnected (com.android.ddmlib.IDevice)
public abstract void deviceChanged (com.android.ddmlib.IDevice, int)
}
com/android/ddmlib/AndroidDebugBridge.classAndroidDebugBridge.java
package com.android.ddmlib
public final com.android.ddmlib.AndroidDebugBridge extends java.lang.Object {
private static final int ADB_VERSION_MICRO_MIN
private static final int ADB_VERSION_MICRO_MAX
private static final java.util.regex.Pattern sAdbVersion
private static final String ADB
private static final String DDMS
private static final String SERVER_PORT_ENV_VAR
static final String DEFAULT_ADB_HOST
static final int DEFAULT_ADB_PORT
private static int sAdbServerPort
private static java.net.InetAddress sHostAddr
private static java.net.InetSocketAddress sSocketAddr
private static com.android.ddmlib.AndroidDebugBridge sThis
private static boolean sInitialized
private static boolean sClientSupport
private String mAdbOsLocation
private boolean mVersionCheck
private boolean mStarted
private com.android.ddmlib.DeviceMonitor mDeviceMonitor
private static final java.util.ArrayList sBridgeListeners
private static final java.util.ArrayList sDeviceListeners
private static final java.util.ArrayList sClientListeners
private static final Object sLock
static final synthetic boolean $assertionsDisabled
public static synchronized void initIfNeeded (boolean)
boolean clientSupport
public static synchronized void init (boolean)
boolean clientSupport
com.android.ddmlib.MonitorThread monitorThread
public static synchronized void terminate ()
com.android.ddmlib.MonitorThread monitorThread
static boolean getClientSupport ()
public static java.net.InetSocketAddress getSocketAddress ()
public static com.android.ddmlib.AndroidDebugBridge createBridge ()
java.security.InvalidParameterException e
Exception e
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener listener
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener[] arr$
int len$
int i$
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener[] listenersCopy
public static com.android.ddmlib.AndroidDebugBridge createBridge (java.lang.String, boolean)
java.security.InvalidParameterException e
Exception e
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener listener
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener[] arr$
int len$
int i$
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener[] listenersCopy
String osLocation
boolean forceNewBridge
public static com.android.ddmlib.AndroidDebugBridge getBridge ()
public static void disconnectBridge ()
Exception e
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener listener
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener[] arr$
int len$
int i$
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener[] listenersCopy
public static void addDebugBridgeChangeListener (com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener)
Exception e
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener listener
public static void removeDebugBridgeChangeListener (com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener)
com.android.ddmlib.AndroidDebugBridge$IDebugBridgeChangeListener listener
public static void addDeviceChangeListener (com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener)
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener listener
public static void removeDeviceChangeListener (com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener)
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener listener
public static void addClientChangeListener (com.android.ddmlib.AndroidDebugBridge$IClientChangeListener)
com.android.ddmlib.AndroidDebugBridge$IClientChangeListener listener
public static void removeClientChangeListener (com.android.ddmlib.AndroidDebugBridge$IClientChangeListener)
com.android.ddmlib.AndroidDebugBridge$IClientChangeListener listener
public com.android.ddmlib.IDevice[] getDevices ()
public boolean hasInitialDeviceList ()
public void setSelectedClient (com.android.ddmlib.Client)
com.android.ddmlib.Client selectedClient
com.android.ddmlib.MonitorThread monitorThread
public boolean isConnected ()
com.android.ddmlib.MonitorThread monitorThread
public int getConnectionAttemptCount ()
public int getRestartAttemptCount ()
private void (java.lang.String) throws java.security.InvalidParameterException
String osLocation
private void ()
private void checkAdbVersion ()
String msg
boolean exists
String msg
java.io.IOException e
InterruptedException e
String error
java.util.Iterator i$
StringBuilder builder
String line
java.util.Iterator i$
String line
java.util.Iterator i$
String line
java.util.Iterator i$
String line
java.util.Iterator i$
StringBuilder builder
String[] command
Process process
java.util.ArrayList errorOutput
java.util.ArrayList stdOutput
int status
boolean versionFound
private boolean scanVersionLine (java.lang.String)
String message
int majorVersion
int minorVersion
int microVersion
java.util.regex.Matcher matcher
String line
boolean start ()
boolean stop ()
public boolean restart ()
boolean restart
void deviceConnected (com.android.ddmlib.IDevice)
Exception e
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener listener
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener[] arr$
int len$
int i$
com.android.ddmlib.IDevice device
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener[] listenersCopy
void deviceDisconnected (com.android.ddmlib.IDevice)
Exception e
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener listener
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener[] arr$
int len$
int i$
com.android.ddmlib.IDevice device
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener[] listenersCopy
void deviceChanged (com.android.ddmlib.IDevice, int)
Exception e
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener listener
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener[] arr$
int len$
int i$
com.android.ddmlib.IDevice device
int changeMask
com.android.ddmlib.AndroidDebugBridge$IDeviceChangeListener[] listenersCopy
void clientChanged (com.android.ddmlib.Client, int)
Exception e
com.android.ddmlib.AndroidDebugBridge$IClientChangeListener listener
com.android.ddmlib.AndroidDebugBridge$IClientChangeListener[] arr$
int len$
int i$
com.android.ddmlib.Client client
int changeMask
com.android.ddmlib.AndroidDebugBridge$IClientChangeListener[] listenersCopy
com.android.ddmlib.DeviceMonitor getDeviceMonitor ()
synchronized boolean startAdb ()
java.util.Map env
String adbHostValue
ProcessBuilder processBuilder
java.util.ArrayList errorOutput
java.util.ArrayList stdOutput
java.io.IOException ioe
InterruptedException ie
Process proc
int status
String[] command
String commandString
private java.lang.String[] getAdbLaunchCommand (java.lang.String)
String option
java.util.List command
private synchronized boolean stopAdb ()
java.io.IOException ioe
InterruptedException ie
Process proc
int status
String[] command
String commandString
private int grabProcessOutput (java.lang.Process, java.util.ArrayList, java.util.ArrayList, boolean) throws java.lang.InterruptedException
InterruptedException e
InterruptedException e
Process process
java.util.ArrayList errorOutput
java.util.ArrayList stdOutput
boolean waitForReaders
Thread t1
Thread t2
static java.lang.Object getLock ()
private static void initAdbSocketAddr ()
java.net.UnknownHostException e
private static int getAdbServerPort ()
String msg
IllegalArgumentException e
String env
SecurityException ex
String msg
IllegalArgumentException e
Integer prop
private static int validateAdbServerPort (java.lang.String) throws java.lang.IllegalArgumentException
int port
NumberFormatException e
String adbServerPort
static void ()
}
com/android/ddmlib/BadPacketException.classBadPacketException.java
package com.android.ddmlib
com.android.ddmlib.BadPacketException extends java.lang.RuntimeException {
public void ()
public void (java.lang.String)
String msg
}
com/android/ddmlib/CanceledException.classCanceledException.java
package com.android.ddmlib
public abstract com.android.ddmlib.CanceledException extends java.lang.Exception {
private static final long serialVersionUID
void (java.lang.String)
String message
void (java.lang.String, java.lang.Throwable)
String message
Throwable cause
public abstract boolean wasCanceled ()
}
com/android/ddmlib/ChunkHandler.classChunkHandler.java
package com.android.ddmlib
abstract com.android.ddmlib.ChunkHandler extends java.lang.Object {
public static final int CHUNK_HEADER_LEN
public static final java.nio.ByteOrder CHUNK_ORDER
public static final int CHUNK_FAIL
static final synthetic boolean $assertionsDisabled
void ()
abstract void clientReady (com.android.ddmlib.Client) throws java.io.IOException
abstract void clientDisconnected (com.android.ddmlib.Client)
abstract void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
protected void handleUnknownChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
int errorCode
int msgLen
String msg
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
public static java.lang.String getString (java.nio.ByteBuffer, int)
int i
java.nio.ByteBuffer buf
int len
char[] data
static void putString (java.nio.ByteBuffer, java.lang.String)
int i
java.nio.ByteBuffer buf
String str
int len
static int type (java.lang.String)
int i
String typeName
int val
static java.lang.String name (int)
int type
char[] ascii
static java.nio.ByteBuffer allocBuffer (int)
int maxChunkLen
java.nio.ByteBuffer buf
static java.nio.ByteBuffer getChunkDataBuf (java.nio.ByteBuffer)
java.nio.ByteBuffer jdwpBuf
java.nio.ByteBuffer slice
static void finishChunkPacket (com.android.ddmlib.JdwpPacket, int, int)
com.android.ddmlib.JdwpPacket packet
int type
int chunkLen
java.nio.ByteBuffer buf
protected static com.android.ddmlib.Client checkDebuggerPortForAppName (com.android.ddmlib.Client, java.lang.String)
com.android.ddmlib.DeviceMonitor deviceMonitor
com.android.ddmlib.AndroidDebugBridge bridge
com.android.ddmlib.Device device
int newPort
com.android.ddmlib.Client client
String appName
com.android.ddmlib.DebugPortManager$IDebugPortProvider provider
static void ()
}
com/android/ddmlib/Client$1.classClient.java
package com.android.ddmlib
synthetic com.android.ddmlib.Client$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ddmlib$ClientData$MethodProfilingStatus
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ddmlib/Client.classClient.java
package com.android.ddmlib
public com.android.ddmlib.Client extends java.lang.Object {
private static final int SERVER_PROTOCOL_VERSION
public static final int CHANGE_NAME
public static final int CHANGE_DEBUGGER_STATUS
public static final int CHANGE_PORT
public static final int CHANGE_THREAD_MODE
public static final int CHANGE_THREAD_DATA
public static final int CHANGE_HEAP_MODE
public static final int CHANGE_HEAP_DATA
public static final int CHANGE_NATIVE_HEAP_DATA
public static final int CHANGE_THREAD_STACKTRACE
public static final int CHANGE_HEAP_ALLOCATIONS
public static final int CHANGE_HEAP_ALLOCATION_STATUS
public static final int CHANGE_METHOD_PROFILING_STATUS
public static final int CHANGE_INFO
private java.nio.channels.SocketChannel mChan
private com.android.ddmlib.Debugger mDebugger
private int mDebuggerListenPort
private java.util.HashMap mOutstandingReqs
private com.android.ddmlib.ClientData mClientData
private boolean mThreadUpdateEnabled
private boolean mHeapUpdateEnabled
private static final int INITIAL_BUF_SIZE
private static final int MAX_BUF_SIZE
private java.nio.ByteBuffer mReadBuffer
private static final int WRITE_BUF_SIZE
private java.nio.ByteBuffer mWriteBuffer
private com.android.ddmlib.Device mDevice
private int mConnState
private static final int ST_INIT
private static final int ST_NOT_JDWP
private static final int ST_AWAIT_SHAKE
private static final int ST_NEED_DDM_PKT
private static final int ST_NOT_DDM
private static final int ST_READY
private static final int ST_ERROR
private static final int ST_DISCONNECTED
static final synthetic boolean $assertionsDisabled
void (com.android.ddmlib.Device, java.nio.channels.SocketChannel, int)
com.android.ddmlib.Device device
java.nio.channels.SocketChannel chan
int pid
public java.lang.String toString ()
public com.android.ddmlib.IDevice getDevice ()
com.android.ddmlib.Device getDeviceImpl ()
public int getDebuggerListenPort ()
public boolean isDdmAware ()
public boolean isDebuggerAttached ()
com.android.ddmlib.Debugger getDebugger ()
public com.android.ddmlib.ClientData getClientData ()
public void executeGarbageCollector ()
java.io.IOException ioe
public void dumpHprof ()
String file
java.io.IOException e
boolean canStream
public void toggleMethodProfiling ()
java.io.IOException e
private int getProfileBufferSize ()
public void startMethodTracer () throws java.io.IOException
String file
boolean canStream
int bufferSize
public void stopMethodTracer () throws java.io.IOException
boolean canStream
public void startSamplingProfiler (int, java.util.concurrent.TimeUnit) throws java.io.IOException
int samplingInterval
java.util.concurrent.TimeUnit timeUnit
int bufferSize
public void stopSamplingProfiler () throws java.io.IOException
public boolean startOpenGlTracing ()
java.io.IOException e
boolean canTraceOpenGl
public boolean stopOpenGlTracing ()
java.io.IOException e
boolean canTraceOpenGl
public void requestMethodProfilingStatus ()
java.io.IOException e
public void setThreadUpdateEnabled (boolean)
java.io.IOException ioe
boolean enabled
public boolean isThreadUpdateEnabled ()
public void requestThreadUpdate ()
public void requestThreadStackTrace (int)
int threadId
public void setHeapUpdateEnabled (boolean)
java.io.IOException ioe
boolean enabled
public boolean isHeapUpdateEnabled ()
public boolean requestNativeHeapInformation ()
java.io.IOException e
public void enableAllocationTracker (boolean)
java.io.IOException e
boolean enable
public void requestAllocationStatus ()
java.io.IOException e
public void requestAllocationDetails ()
java.io.IOException e
public void kill ()
java.io.IOException ioe
void register (java.nio.channels.Selector) throws java.io.IOException
java.nio.channels.Selector sel
public void setAsSelectedClient ()
com.android.ddmlib.MonitorThread monitorThread
public boolean isSelectedClient ()
com.android.ddmlib.MonitorThread monitorThread
void listenForDebugger (int) throws java.io.IOException
int listenPort
boolean sendHandshake ()
int expectedLen
java.io.IOException ioe
void sendAndConsume (com.android.ddmlib.JdwpPacket) throws java.io.IOException
com.android.ddmlib.JdwpPacket packet
void sendAndConsume (com.android.ddmlib.JdwpPacket, com.android.ddmlib.ChunkHandler) throws java.io.IOException
java.io.IOException ioe
com.android.ddmlib.JdwpPacket packet
com.android.ddmlib.ChunkHandler replyHandler
void forwardPacketToDebugger (com.android.ddmlib.JdwpPacket) throws java.io.IOException
com.android.ddmlib.JdwpPacket packet
com.android.ddmlib.Debugger dbg
void read () throws java.io.IOException java.nio.BufferOverflowException
java.nio.ByteBuffer newBuffer
int count
com.android.ddmlib.JdwpPacket getJdwpPacket () throws java.io.IOException
int result
private void addRequestId (int, com.android.ddmlib.ChunkHandler)
int id
com.android.ddmlib.ChunkHandler handler
void removeRequestId (int)
int id
com.android.ddmlib.ChunkHandler isResponseToUs (int)
com.android.ddmlib.ChunkHandler handler
int id
void packetFailed (com.android.ddmlib.JdwpPacket)
com.android.ddmlib.JdwpPacket reply
synchronized boolean ddmSeen ()
void close (boolean)
java.io.IOException ioe
boolean notify
public boolean isValid ()
void update (int)
int changeMask
static void ()
}
com/android/ddmlib/ClientData$AllocationTrackingStatus.classClientData.java
package com.android.ddmlib
public final enum com.android.ddmlib.ClientData$AllocationTrackingStatus extends java.lang.Enum {
public static final enum com.android.ddmlib.ClientData$AllocationTrackingStatus UNKNOWN
public static final enum com.android.ddmlib.ClientData$AllocationTrackingStatus OFF
public static final enum com.android.ddmlib.ClientData$AllocationTrackingStatus ON
private static final synthetic com.android.ddmlib.ClientData$AllocationTrackingStatus[] $VALUES
public static com.android.ddmlib.ClientData$AllocationTrackingStatus[] values ()
public static com.android.ddmlib.ClientData$AllocationTrackingStatus valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ddmlib/ClientData$DebuggerStatus.classClientData.java
package com.android.ddmlib
public final enum com.android.ddmlib.ClientData$DebuggerStatus extends java.lang.Enum {
public static final enum com.android.ddmlib.ClientData$DebuggerStatus DEFAULT
public static final enum com.android.ddmlib.ClientData$DebuggerStatus WAITING
public static final enum com.android.ddmlib.ClientData$DebuggerStatus ATTACHED
public static final enum com.android.ddmlib.ClientData$DebuggerStatus ERROR
private static final synthetic com.android.ddmlib.ClientData$DebuggerStatus[] $VALUES
public static com.android.ddmlib.ClientData$DebuggerStatus[] values ()
public static com.android.ddmlib.ClientData$DebuggerStatus valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ddmlib/ClientData$HeapData.classClientData.java
package com.android.ddmlib
public com.android.ddmlib.ClientData$HeapData extends java.lang.Object {
private java.util.TreeSet mHeapSegments
private boolean mHeapDataComplete
private byte[] mProcessedHeapData
private java.util.Map mProcessedHeapMap
public void ()
public synchronized void clearHeapData ()
synchronized void addHeapData (java.nio.ByteBuffer)
java.nio.BufferUnderflowException e
java.nio.ByteBuffer data
com.android.ddmlib.HeapSegment hs
synchronized void sealHeapData ()
public boolean isHeapDataComplete ()
public java.util.Collection getHeapSegments ()
public void setProcessedHeapData (byte[])
byte[] heapData
public byte[] getProcessedHeapData ()
public void setProcessedHeapMap (java.util.Map)
java.util.Map heapMap
public java.util.Map getProcessedHeapMap ()
}
com/android/ddmlib/ClientData$IHprofDumpHandler.classClientData.java
package com.android.ddmlib
public abstract com.android.ddmlib.ClientData$IHprofDumpHandler extends java.lang.Object {
public abstract void onSuccess (java.lang.String, com.android.ddmlib.Client)
public abstract void onSuccess (byte[], com.android.ddmlib.Client)
public abstract void onEndFailure (com.android.ddmlib.Client, java.lang.String)
}
com/android/ddmlib/ClientData$IMethodProfilingHandler.classClientData.java
package com.android.ddmlib
public abstract com.android.ddmlib.ClientData$IMethodProfilingHandler extends java.lang.Object {
public abstract void onSuccess (java.lang.String, com.android.ddmlib.Client)
public abstract void onSuccess (byte[], com.android.ddmlib.Client)
public abstract void onStartFailure (com.android.ddmlib.Client, java.lang.String)
public abstract void onEndFailure (com.android.ddmlib.Client, java.lang.String)
}
com/android/ddmlib/ClientData$MethodProfilingStatus.classClientData.java
package com.android.ddmlib
public final enum com.android.ddmlib.ClientData$MethodProfilingStatus extends java.lang.Enum {
public static final enum com.android.ddmlib.ClientData$MethodProfilingStatus UNKNOWN
public static final enum com.android.ddmlib.ClientData$MethodProfilingStatus OFF
public static final enum com.android.ddmlib.ClientData$MethodProfilingStatus TRACER_ON
public static final enum com.android.ddmlib.ClientData$MethodProfilingStatus SAMPLER_ON
private static final synthetic com.android.ddmlib.ClientData$MethodProfilingStatus[] $VALUES
public static com.android.ddmlib.ClientData$MethodProfilingStatus[] values ()
public static com.android.ddmlib.ClientData$MethodProfilingStatus valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ddmlib/ClientData.classClientData.java
package com.android.ddmlib
public com.android.ddmlib.ClientData extends java.lang.Object {
private static final String PRE_INITIALIZED
public static final String HEAP_MAX_SIZE_BYTES
public static final String HEAP_SIZE_BYTES
public static final String HEAP_BYTES_ALLOCATED
public static final String HEAP_OBJECTS_ALLOCATED
public static final String FEATURE_PROFILING
public static final String FEATURE_PROFILING_STREAMING
public static final String FEATURE_SAMPLING_PROFILER
public static final String FEATURE_OPENGL_TRACING
public static final String FEATURE_VIEW_HIERARCHY
public static final String FEATURE_HPROF
public static final String FEATURE_HPROF_STREAMING
private static com.android.ddmlib.ClientData$IHprofDumpHandler sHprofDumpHandler
private static com.android.ddmlib.ClientData$IMethodProfilingHandler sMethodProfilingHandler
private boolean mIsDdmAware
private final int mPid
private String mVmIdentifier
private String mClientDescription
private int mUserId
private boolean mValidUserId
private com.android.ddmlib.ClientData$DebuggerStatus mDebuggerInterest
private final java.util.HashSet mFeatures
private java.util.TreeMap mThreadMap
private final com.android.ddmlib.ClientData$HeapData mHeapData
private final com.android.ddmlib.ClientData$HeapData mNativeHeapData
private java.util.HashMap mHeapInfoMap
private java.util.ArrayList mNativeLibMapInfo
private java.util.ArrayList mNativeAllocationList
private int mNativeTotalMemory
private com.android.ddmlib.AllocationInfo[] mAllocations
private com.android.ddmlib.ClientData$AllocationTrackingStatus mAllocationStatus
private String mPendingHprofDump
private com.android.ddmlib.ClientData$MethodProfilingStatus mProfilingStatus
private String mPendingMethodProfiling
public static void setHprofDumpHandler (com.android.ddmlib.ClientData$IHprofDumpHandler)
com.android.ddmlib.ClientData$IHprofDumpHandler handler
static com.android.ddmlib.ClientData$IHprofDumpHandler getHprofDumpHandler ()
public static void setMethodProfilingHandler (com.android.ddmlib.ClientData$IMethodProfilingHandler)
com.android.ddmlib.ClientData$IMethodProfilingHandler handler
static com.android.ddmlib.ClientData$IMethodProfilingHandler getMethodProfilingHandler ()
void (int)
int pid
public boolean isDdmAware ()
void isDdmAware (boolean)
boolean aware
public int getPid ()
public java.lang.String getVmIdentifier ()
void setVmIdentifier (java.lang.String)
String ident
public java.lang.String getClientDescription ()
public int getUserId ()
public boolean isValidUserId ()
void setClientDescription (java.lang.String)
String description
void setUserId (int)
int id
public com.android.ddmlib.ClientData$DebuggerStatus getDebuggerConnectionStatus ()
void setDebuggerConnectionStatus (com.android.ddmlib.ClientData$DebuggerStatus)
com.android.ddmlib.ClientData$DebuggerStatus status
synchronized void setHeapInfo (int, long, long, long, long)
int heapId
long maxSizeInBytes
long sizeInBytes
long bytesAllocated
long objectsAllocated
java.util.HashMap heapInfo
public com.android.ddmlib.ClientData$HeapData getVmHeapData ()
com.android.ddmlib.ClientData$HeapData getNativeHeapData ()
public synchronized java.util.Iterator getVmHeapIds ()
public synchronized java.util.Map getVmHeapInfo (int)
int heapId
synchronized void addThread (int, java.lang.String)
int threadId
String threadName
com.android.ddmlib.ThreadInfo attr
synchronized void removeThread (int)
int threadId
public synchronized com.android.ddmlib.ThreadInfo[] getThreads ()
java.util.Collection threads
synchronized com.android.ddmlib.ThreadInfo getThread (int)
int threadId
synchronized void clearThreads ()
public synchronized java.util.List getNativeAllocationList ()
synchronized void addNativeAllocation (com.android.ddmlib.NativeAllocationInfo)
com.android.ddmlib.NativeAllocationInfo allocInfo
synchronized void clearNativeAllocationInfo ()
public synchronized int getTotalNativeMemory ()
synchronized void setTotalNativeMemory (int)
int totalMemory
synchronized void addNativeLibraryMapInfo (long, long, java.lang.String)
long startAddr
long endAddr
String library
public synchronized java.util.List getMappedNativeLibraries ()
synchronized void setAllocationStatus (com.android.ddmlib.ClientData$AllocationTrackingStatus)
com.android.ddmlib.ClientData$AllocationTrackingStatus status
public synchronized com.android.ddmlib.ClientData$AllocationTrackingStatus getAllocationStatus ()
synchronized void setAllocations (com.android.ddmlib.AllocationInfo[])
com.android.ddmlib.AllocationInfo[] allocs
public synchronized com.android.ddmlib.AllocationInfo[] getAllocations ()
void addFeature (java.lang.String)
String feature
public boolean hasFeature (java.lang.String)
String feature
void setPendingHprofDump (java.lang.String)
String pendingHprofDump
java.lang.String getPendingHprofDump ()
public boolean hasPendingHprofDump ()
synchronized void setMethodProfilingStatus (com.android.ddmlib.ClientData$MethodProfilingStatus)
com.android.ddmlib.ClientData$MethodProfilingStatus status
public synchronized com.android.ddmlib.ClientData$MethodProfilingStatus getMethodProfilingStatus ()
void setPendingMethodProfiling (java.lang.String)
String pendingMethodProfiling
java.lang.String getPendingMethodProfiling ()
}
com/android/ddmlib/CollectingOutputReceiver.classCollectingOutputReceiver.java
package com.android.ddmlib
public com.android.ddmlib.CollectingOutputReceiver extends java.lang.Object implements com.android.ddmlib.IShellOutputReceiver {
private java.util.concurrent.CountDownLatch mCompletionLatch
private StringBuffer mOutputBuffer
private java.util.concurrent.atomic.AtomicBoolean mIsCanceled
public void ()
public void (java.util.concurrent.CountDownLatch)
java.util.concurrent.CountDownLatch commandCompleteLatch
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/ddmlib/DdmConstants.classDdmConstants.java
package com.android.ddmlib
public final com.android.ddmlib.DdmConstants extends java.lang.Object {
public static final int PLATFORM_UNKNOWN
public static final int PLATFORM_LINUX
public static final int PLATFORM_WINDOWS
public static final int PLATFORM_DARWIN
public static final int CURRENT_PLATFORM
public static final String DOT_TRACE
public static final String FN_HPROF_CONVERTER
public static final String FN_TRACEVIEW
public void ()
public static int currentPlatform ()
String os
static void ()
}
com/android/ddmlib/DdmPreferences.classDdmPreferences.java
package com.android.ddmlib
public final com.android.ddmlib.DdmPreferences extends java.lang.Object {
public static final boolean DEFAULT_INITIAL_THREAD_UPDATE
public static final boolean DEFAULT_INITIAL_HEAP_UPDATE
public static final int DEFAULT_SELECTED_DEBUG_PORT
public static final int DEFAULT_DEBUG_PORT_BASE
public static final com.android.ddmlib.Log$LogLevel DEFAULT_LOG_LEVEL
public static final int DEFAULT_TIMEOUT
public static final int DEFAULT_PROFILER_BUFFER_SIZE_MB
public static final boolean DEFAULT_USE_ADBHOST
public static final String DEFAULT_ADBHOST_VALUE
private static boolean sThreadUpdate
private static boolean sInitialHeapUpdate
private static int sSelectedDebugPort
private static int sDebugPortBase
private static com.android.ddmlib.Log$LogLevel sLogLevel
private static int sTimeOut
private static int sProfilerBufferSizeMb
private static boolean sUseAdbHost
private static String sAdbHostValue
public static boolean getInitialThreadUpdate ()
public static void setInitialThreadUpdate (boolean)
boolean state
public static boolean getInitialHeapUpdate ()
public static void setInitialHeapUpdate (boolean)
boolean state
public static int getSelectedDebugPort ()
public static void setSelectedDebugPort (int)
int port
com.android.ddmlib.MonitorThread monitorThread
public static int getDebugPortBase ()
public static void setDebugPortBase (int)
int port
public static com.android.ddmlib.Log$LogLevel getLogLevel ()
public static void setLogLevel (java.lang.String)
String value
public static int getTimeOut ()
public static void setTimeOut (int)
int timeOut
public static int getProfilerBufferSizeMb ()
public static void setProfilerBufferSizeMb (int)
int bufferSizeMb
public static boolean getUseAdbHost ()
public static void setUseAdbHost (boolean)
boolean useAdbHost
public static java.lang.String getAdbHostValue ()
public static void setAdbHostValue (java.lang.String)
String adbHostValue
private void ()
static void ()
}
com/android/ddmlib/DebugPortManager$IDebugPortProvider.classDebugPortManager.java
package com.android.ddmlib
public abstract com.android.ddmlib.DebugPortManager$IDebugPortProvider extends java.lang.Object {
public static final int NO_STATIC_PORT
public abstract int getPort (com.android.ddmlib.IDevice, java.lang.String)
}
com/android/ddmlib/DebugPortManager.classDebugPortManager.java
package com.android.ddmlib
public com.android.ddmlib.DebugPortManager extends java.lang.Object {
private static com.android.ddmlib.DebugPortManager$IDebugPortProvider sProvider
public void ()
public static void setProvider (com.android.ddmlib.DebugPortManager$IDebugPortProvider)
com.android.ddmlib.DebugPortManager$IDebugPortProvider provider
static com.android.ddmlib.DebugPortManager$IDebugPortProvider getProvider ()
static void ()
}
com/android/ddmlib/Debugger.classDebugger.java
package com.android.ddmlib
com.android.ddmlib.Debugger extends java.lang.Object {
private static final int INITIAL_BUF_SIZE
private static final int MAX_BUF_SIZE
private java.nio.ByteBuffer mReadBuffer
private static final int PRE_DATA_BUF_SIZE
private java.nio.ByteBuffer mPreDataBuffer
private int mConnState
private static final int ST_NOT_CONNECTED
private static final int ST_AWAIT_SHAKE
private static final int ST_READY
private com.android.ddmlib.Client mClient
private int mListenPort
private java.nio.channels.ServerSocketChannel mListenChannel
private java.nio.channels.SocketChannel mChannel
void (com.android.ddmlib.Client, int) throws java.io.IOException
com.android.ddmlib.Client client
int listenPort
java.net.InetSocketAddress addr
boolean isDebuggerAttached ()
public java.lang.String toString ()
void registerListener (java.nio.channels.Selector) throws java.io.IOException
java.nio.channels.Selector sel
com.android.ddmlib.Client getClient ()
synchronized java.nio.channels.SocketChannel accept () throws java.io.IOException
synchronized java.nio.channels.SocketChannel accept (java.nio.channels.ServerSocketChannel) throws java.io.IOException
java.nio.channels.SocketChannel newChan
java.nio.channels.ServerSocketChannel listenChan
synchronized void closeData ()
com.android.ddmlib.ClientData cd
java.io.IOException ioe
synchronized void close ()
java.io.IOException ioe
void read () throws java.io.IOException
java.nio.ByteBuffer newBuffer
int count
com.android.ddmlib.JdwpPacket getJdwpPacket () throws java.io.IOException
com.android.ddmlib.ClientData cd
int result
void forwardPacketToClient (com.android.ddmlib.JdwpPacket) throws java.io.IOException
com.android.ddmlib.JdwpPacket packet
private synchronized void sendHandshake () throws java.io.IOException
java.nio.ByteBuffer tempBuffer
int expectedLength
synchronized void sendAndConsume (com.android.ddmlib.JdwpPacket) throws java.io.IOException
com.android.ddmlib.JdwpPacket packet
}
com/android/ddmlib/Device$1.classDevice.java
package com.android.ddmlib
synthetic com.android.ddmlib.Device$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ddmlib$IDevice$Feature
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ddmlib/Device$BatteryReceiver.classDevice.java
package com.android.ddmlib
final com.android.ddmlib.Device$BatteryReceiver extends com.android.ddmlib.MultiLineReceiver {
private static final java.util.regex.Pattern BATTERY_LEVEL
private static final java.util.regex.Pattern SCALE
private Integer mBatteryLevel
private Integer mBatteryScale
private void ()
public java.lang.Integer getBatteryLevel ()
public void processNewLines (java.lang.String[])
NumberFormatException e
NumberFormatException e
java.util.regex.Matcher batteryMatch
java.util.regex.Matcher scaleMatch
String line
String[] arr$
int len$
int i$
String[] lines
public boolean isCancelled ()
synthetic void (com.android.ddmlib.Device$1)
com.android.ddmlib.Device$1 x0
static void ()
}
com/android/ddmlib/Device$InstallReceiver.classDevice.java
package com.android.ddmlib
final com.android.ddmlib.Device$InstallReceiver extends com.android.ddmlib.MultiLineReceiver {
private static final String SUCCESS_OUTPUT
private static final java.util.regex.Pattern FAILURE_PATTERN
private String mErrorMessage
public void ()
public void processNewLines (java.lang.String[])
java.util.regex.Matcher m
String line
String[] arr$
int len$
int i$
String[] lines
public boolean isCancelled ()
public java.lang.String getErrorMessage ()
static void ()
}
com/android/ddmlib/Device$SysFsBatteryLevelReceiver.classDevice.java
package com.android.ddmlib
final com.android.ddmlib.Device$SysFsBatteryLevelReceiver extends com.android.ddmlib.MultiLineReceiver {
private static final java.util.regex.Pattern BATTERY_LEVEL
private Integer mBatteryLevel
void ()
public java.lang.Integer getBatteryLevel ()
public boolean isCancelled ()
public void processNewLines (java.lang.String[])
Integer tmpLevel
java.util.regex.Matcher batteryMatch
String line
String[] arr$
int len$
int i$
String[] lines
static void ()
}
com/android/ddmlib/Device.classDevice.java
package com.android.ddmlib
final com.android.ddmlib.Device extends java.lang.Object implements com.android.ddmlib.IDevice {
private static final int INSTALL_TIMEOUT
private static final int BATTERY_TIMEOUT
private static final int GETPROP_TIMEOUT
static final String RE_EMULATOR_SN
private String mSerialNumber
private String mAvdName
private com.android.ddmlib.IDevice$DeviceState mState
private final java.util.Map mProperties
private final java.util.Map mMountPoints
private final java.util.List mClients
private final java.util.Map mClientInfo
private com.android.ddmlib.DeviceMonitor mMonitor
private static final String LOG_TAG
private static final char SEPARATOR
private static final String UNKNOWN_PACKAGE
private java.nio.channels.SocketChannel mSocketChannel
private boolean mArePropertiesSet
private Integer mLastBatteryLevel
private long mLastBatteryCheckTime
private static final String SCREEN_RECORDER_DEVICE_PATH
private Boolean mHasScreenRecorder
private int mApiLevel
private String mName
public java.lang.String getSerialNumber ()
public java.lang.String getAvdName ()
void setAvdName (java.lang.String)
String avdName
public java.lang.String getName ()
private java.lang.String constructName ()
String avdName
Exception e
String manufacturer
String model
StringBuilder sb
private java.lang.String cleanupStringForDisplay (java.lang.String)
char c
int i
String s
StringBuilder sb
public com.android.ddmlib.IDevice$DeviceState getState ()
void setState (com.android.ddmlib.IDevice$DeviceState)
com.android.ddmlib.IDevice$DeviceState state
public java.util.Map getProperties ()
public int getPropertyCount ()
public java.lang.String getProperty (java.lang.String)
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.String getPropertySync (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
InterruptedException e
String name
java.util.concurrent.CountDownLatch latch
com.android.ddmlib.CollectingOutputReceiver receiver
String value
public boolean supportsFeature (com.android.ddmlib.IDevice$Feature)
com.android.ddmlib.IDevice$Feature feature
private int getApiLevel ()
Exception e
private boolean hasBinary (java.lang.String)
Exception e
InterruptedException e
String path
java.util.concurrent.CountDownLatch latch
com.android.ddmlib.CollectingOutputReceiver receiver
String value
public java.lang.String getMountPoint (java.lang.String)
String name
public java.lang.String toString ()
public boolean isOnline ()
public boolean isEmulator ()
public boolean isOffline ()
public boolean isBootLoader ()
public com.android.ddmlib.SyncService getSyncService () throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
com.android.ddmlib.SyncService syncService
public com.android.ddmlib.FileListingService getFileListingService ()
public com.android.ddmlib.RawImage getScreenshot () throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
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
static java.lang.String getScreenRecorderCommand (java.lang.String, com.android.ddmlib.ScreenRecorderOptions)
long seconds
String remoteFilePath
com.android.ddmlib.ScreenRecorderOptions options
StringBuilder sb
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 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 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 void createForward (int, int) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
int localPort
int remotePort
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, int) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
int localPort
int remotePort
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
void (com.android.ddmlib.DeviceMonitor, java.lang.String, com.android.ddmlib.IDevice$DeviceState)
com.android.ddmlib.DeviceMonitor monitor
String serialNumber
com.android.ddmlib.IDevice$DeviceState deviceState
com.android.ddmlib.DeviceMonitor getMonitor ()
public boolean hasClients ()
public com.android.ddmlib.Client[] getClients ()
public com.android.ddmlib.Client getClient (java.lang.String)
com.android.ddmlib.Client c
java.util.Iterator i$
String applicationName
void addClient (com.android.ddmlib.Client)
com.android.ddmlib.Client client
java.util.List getClientList ()
void clearClientList ()
void removeClient (com.android.ddmlib.Client, boolean)
com.android.ddmlib.Client client
boolean notify
void setClientMonitoringSocket (java.nio.channels.SocketChannel)
java.nio.channels.SocketChannel socketChannel
java.nio.channels.SocketChannel getClientMonitoringSocket ()
void update (int)
int changeMask
void update (com.android.ddmlib.Client, int)
com.android.ddmlib.Client client
int changeMask
void addProperty (java.lang.String, java.lang.String)
String label
String value
void setMountingPoint (java.lang.String, java.lang.String)
String name
String value
private void addClientInfo (com.android.ddmlib.Client)
com.android.ddmlib.Client client
com.android.ddmlib.ClientData cd
private void updateClientInfo (com.android.ddmlib.Client, int)
com.android.ddmlib.Client client
int changeMask
private void removeClientInfo (com.android.ddmlib.Client)
com.android.ddmlib.Client client
int pid
private void clearClientInfo ()
private void setClientInfo (int, java.lang.String)
int pid
String pkgName
public java.lang.String getClientName (int)
int pid
String pkgName
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 message
String targetFileName
com.android.ddmlib.TimeoutException e
com.android.ddmlib.SyncException e
java.io.IOException e
String local
String remote
com.android.ddmlib.SyncService sync
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 message
String targetFileName
com.android.ddmlib.TimeoutException e
com.android.ddmlib.SyncException e
java.io.IOException e
String remote
String local
com.android.ddmlib.SyncService sync
public transient java.lang.String installPackage (java.lang.String, boolean, java.lang.String[]) throws com.android.ddmlib.InstallException
String remoteFilePath
String result
java.io.IOException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.SyncException e
String packageFilePath
boolean reinstall
String[] extraArgs
public java.lang.String syncPackageToDevice (java.lang.String) throws java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.TimeoutException com.android.ddmlib.SyncException
String message
String packageFileName
String remoteFilePath
com.android.ddmlib.TimeoutException e
com.android.ddmlib.SyncException e
java.io.IOException e
String localFilePath
com.android.ddmlib.SyncService sync
private java.lang.String getFileName (java.lang.String)
String filePath
public transient java.lang.String installRemotePackage (java.lang.String, boolean, java.lang.String[]) throws com.android.ddmlib.InstallException
String arg
String[] arr$
int len$
int i$
com.android.ddmlib.Device$InstallReceiver receiver
StringBuilder optionString
String cmd
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
java.io.IOException e
String remoteFilePath
boolean reinstall
String[] extraArgs
public void removeRemotePackage (java.lang.String) throws com.android.ddmlib.InstallException
java.io.IOException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
String remoteFilePath
public java.lang.String uninstallPackage (java.lang.String) throws com.android.ddmlib.InstallException
com.android.ddmlib.Device$InstallReceiver receiver
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
java.io.IOException e
String packageName
public void reboot (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
String into
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
com.android.ddmlib.Device$SysFsBatteryLevelReceiver sysBattReceiver
com.android.ddmlib.Device$BatteryReceiver receiver
}
com/android/ddmlib/DeviceMonitor$1.classDeviceMonitor.java
package com.android.ddmlib
com.android.ddmlib.DeviceMonitor$1 extends java.lang.Thread {
final synthetic com.android.ddmlib.DeviceMonitor this$0
void (com.android.ddmlib.DeviceMonitor, java.lang.String)
String x0
public void run ()
}
com/android/ddmlib/DeviceMonitor$2.classDeviceMonitor.java
package com.android.ddmlib
com.android.ddmlib.DeviceMonitor$2 extends com.android.ddmlib.MultiLineReceiver {
final synthetic com.android.ddmlib.Device val$device
final synthetic String val$name
final synthetic com.android.ddmlib.DeviceMonitor this$0
void (com.android.ddmlib.DeviceMonitor, com.android.ddmlib.Device, java.lang.String)
public boolean isCancelled ()
public void processNewLines (java.lang.String[])
String line
String[] arr$
int len$
int i$
String[] lines
}
com/android/ddmlib/DeviceMonitor$3.classDeviceMonitor.java
package com.android.ddmlib
com.android.ddmlib.DeviceMonitor$3 extends java.lang.Thread {
final synthetic com.android.ddmlib.DeviceMonitor this$0
void (com.android.ddmlib.DeviceMonitor, java.lang.String)
String x0
public void run ()
}
com/android/ddmlib/DeviceMonitor.classDeviceMonitor.java
package com.android.ddmlib
final com.android.ddmlib.DeviceMonitor extends java.lang.Object {
private byte[] mLengthBuffer
private byte[] mLengthBuffer2
private boolean mQuit
private com.android.ddmlib.AndroidDebugBridge mServer
private java.nio.channels.SocketChannel mMainAdbConnection
private boolean mMonitoring
private int mConnectionAttempt
private int mRestartAttemptCount
private boolean mInitialDeviceListDone
private java.nio.channels.Selector mSelector
private final java.util.ArrayList mDevices
private final java.util.ArrayList mDebuggerPorts
private final java.util.HashMap mClientsToReopen
void (com.android.ddmlib.AndroidDebugBridge)
com.android.ddmlib.AndroidDebugBridge server
void start ()
void stop ()
java.io.IOException e1
boolean isMonitoring ()
int getConnectionAttemptCount ()
int getRestartAttemptCount ()
com.android.ddmlib.Device[] getDevices ()
boolean hasInitialDeviceList ()
com.android.ddmlib.AndroidDebugBridge getServer ()
void addClientToDropAndReopen (com.android.ddmlib.Client, int)
com.android.ddmlib.Client client
int port
private void deviceMonitorLoop ()
int length
java.nio.channels.AsynchronousCloseException ace
com.android.ddmlib.TimeoutException ioe
java.io.IOException ioe
private void handleExpectionInMonitorLoop (java.lang.Exception)
java.io.IOException ioe
com.android.ddmlib.Device device
int n
Exception e
private void waitABit ()
InterruptedException e1
private java.nio.channels.SocketChannel openAdbConnection ()
java.io.IOException e
java.nio.channels.SocketChannel adbChannel
private boolean sendDeviceListMonitoringRequest () throws com.android.ddmlib.TimeoutException java.io.IOException
com.android.ddmlib.AdbHelper$AdbResponse resp
java.io.IOException e
byte[] request
private void processIncomingDeviceData (int) throws java.io.IOException
com.android.ddmlib.Device device
String[] param
String d
String[] arr$
int len$
int i$
byte[] buffer
String result
String[] devices
int length
java.util.ArrayList list
private void updateDevices (java.util.ArrayList)
com.android.ddmlib.Device newDevice
int dd
com.android.ddmlib.Device device
int count
boolean foundMatch
int d
com.android.ddmlib.Device newDevice
java.util.Iterator i$
com.android.ddmlib.Device d
java.util.Iterator i$
java.util.ArrayList devicesToQuery
java.util.ArrayList newList
private void removeDevice (com.android.ddmlib.Device)
java.io.IOException e
com.android.ddmlib.Device device
java.nio.channels.SocketChannel channel
private void queryNewDeviceForInfo (com.android.ddmlib.Device)
com.android.ddmlib.EmulatorConsole console
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
com.android.ddmlib.ShellCommandUnresponsiveException e
java.io.IOException e
com.android.ddmlib.Device device
private void queryNewDeviceForMountingPoint (com.android.ddmlib.Device, java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
com.android.ddmlib.Device device
String name
private boolean startMonitoringDevice (com.android.ddmlib.Device)
boolean result
java.io.IOException e1
com.android.ddmlib.TimeoutException e
java.io.IOException e1
com.android.ddmlib.AdbCommandRejectedException e
java.io.IOException e1
java.io.IOException e
com.android.ddmlib.Device device
java.nio.channels.SocketChannel socketChannel
private void startDeviceMonitorThread () throws java.io.IOException
private void deviceClientMonitorLoop ()
com.android.ddmlib.Device device
int pid
int port
com.android.ddmlib.Client client
java.util.Iterator i$
java.util.Set clients
com.android.ddmlib.MonitorThread monitorThread
int length
java.io.IOException ioe
com.android.ddmlib.Device device
java.nio.channels.SocketChannel socket
Object attachment
java.nio.channels.SelectionKey key
int count
java.util.Set keys
java.util.Iterator iter
java.io.IOException e
private boolean sendDeviceMonitoringRequest (java.nio.channels.SocketChannel, com.android.ddmlib.Device) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
byte[] request
com.android.ddmlib.AdbHelper$AdbResponse resp
com.android.ddmlib.TimeoutException e
java.io.IOException e
java.nio.channels.SocketChannel socket
com.android.ddmlib.Device device
private void processIncomingJdwpData (com.android.ddmlib.Device, java.nio.channels.SocketChannel, int) throws java.io.IOException
NumberFormatException nfe
String pid
String[] arr$
int len$
int i$
byte[] buffer
String result
String[] pids
com.android.ddmlib.Client c
java.util.Iterator i$
Integer pid
java.util.Iterator i$
int newPid
java.util.Iterator i$
java.util.Set newPids
com.android.ddmlib.MonitorThread monitorThread
java.util.List clients
java.util.Map existingClients
java.util.Set clientsToRemove
java.util.Set pidsToAdd
com.android.ddmlib.Device device
java.nio.channels.SocketChannel monitorSocket
int length
private void openClient (com.android.ddmlib.Device, int, int, com.android.ddmlib.MonitorThread)
java.net.UnknownHostException uhe
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException e
java.io.IOException ioe
com.android.ddmlib.Device device
int pid
int port
com.android.ddmlib.MonitorThread monitorThread
java.nio.channels.SocketChannel clientSocket
private void createClient (com.android.ddmlib.Device, int, java.nio.channels.SocketChannel, int, com.android.ddmlib.MonitorThread)
java.io.IOException ioe
com.android.ddmlib.Device device
int pid
java.nio.channels.SocketChannel socket
int debuggerPort
com.android.ddmlib.MonitorThread monitorThread
com.android.ddmlib.Client client
private int getNextDebuggerPort ()
int port
void addPortToAvailableList (int)
int i
int count
int port
private int readLength (java.nio.channels.SocketChannel, byte[]) throws java.io.IOException
NumberFormatException nfe
java.nio.channels.SocketChannel socket
byte[] buffer
String msg
private java.lang.String read (java.nio.channels.SocketChannel, byte[]) throws java.io.IOException
int count
java.io.UnsupportedEncodingException e
java.nio.channels.SocketChannel socket
byte[] buffer
java.nio.ByteBuffer buf
static synthetic void access$000 (com.android.ddmlib.DeviceMonitor)
com.android.ddmlib.DeviceMonitor x0
static synthetic void access$100 (com.android.ddmlib.DeviceMonitor)
com.android.ddmlib.DeviceMonitor x0
}
com/android/ddmlib/EmulatorConsole$GsmMode.classEmulatorConsole.java
package com.android.ddmlib
public final enum com.android.ddmlib.EmulatorConsole$GsmMode extends java.lang.Enum {
public static final enum com.android.ddmlib.EmulatorConsole$GsmMode UNKNOWN
public static final enum com.android.ddmlib.EmulatorConsole$GsmMode UNREGISTERED
public static final enum com.android.ddmlib.EmulatorConsole$GsmMode HOME
public static final enum com.android.ddmlib.EmulatorConsole$GsmMode ROAMING
public static final enum com.android.ddmlib.EmulatorConsole$GsmMode SEARCHING
public static final enum com.android.ddmlib.EmulatorConsole$GsmMode DENIED
private final String[] tags
private static final synthetic com.android.ddmlib.EmulatorConsole$GsmMode[] $VALUES
public static com.android.ddmlib.EmulatorConsole$GsmMode[] values ()
public static com.android.ddmlib.EmulatorConsole$GsmMode valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String tag
private void (java.lang.String, int, java.lang.String[])
String[] tags
public static com.android.ddmlib.EmulatorConsole$GsmMode getEnum (java.lang.String)
String t
String[] arr$
int len$
int i$
com.android.ddmlib.EmulatorConsole$GsmMode mode
com.android.ddmlib.EmulatorConsole$GsmMode[] arr$
int len$
int i$
String tag
public java.lang.String getTag ()
static void ()
}
com/android/ddmlib/EmulatorConsole$GsmStatus.classEmulatorConsole.java
package com.android.ddmlib
public com.android.ddmlib.EmulatorConsole$GsmStatus extends java.lang.Object {
public com.android.ddmlib.EmulatorConsole$GsmMode voice
public com.android.ddmlib.EmulatorConsole$GsmMode data
public void ()
}
com/android/ddmlib/EmulatorConsole$NetworkStatus.classEmulatorConsole.java
package com.android.ddmlib
public com.android.ddmlib.EmulatorConsole$NetworkStatus extends java.lang.Object {
public int speed
public int latency
public void ()
}
com/android/ddmlib/EmulatorConsole.classEmulatorConsole.java
package com.android.ddmlib
public final com.android.ddmlib.EmulatorConsole extends java.lang.Object {
private static final String DEFAULT_ENCODING
private static final int WAIT_TIME
private static final int STD_TIMEOUT
private static final String HOST
private static final String COMMAND_PING
private static final String COMMAND_AVD_NAME
private static final String COMMAND_KILL
private static final String COMMAND_GSM_STATUS
private static final String COMMAND_GSM_CALL
private static final String COMMAND_GSM_CANCEL_CALL
private static final String COMMAND_GSM_DATA
private static final String COMMAND_GSM_VOICE
private static final String COMMAND_SMS_SEND
private static final String COMMAND_NETWORK_STATUS
private static final String COMMAND_NETWORK_SPEED
private static final String COMMAND_NETWORK_LATENCY
private static final String COMMAND_GPS
private static final java.util.regex.Pattern RE_KO
public static final int[] MIN_LATENCIES
public static final int[] DOWNLOAD_SPEEDS
public static final String[] NETWORK_SPEEDS
public static final String[] NETWORK_LATENCIES
public static final String RESULT_OK
private static final java.util.regex.Pattern sEmulatorRegexp
private static final java.util.regex.Pattern sVoiceStatusRegexp
private static final java.util.regex.Pattern sDataStatusRegexp
private static final java.util.regex.Pattern sDownloadSpeedRegexp
private static final java.util.regex.Pattern sMinLatencyRegexp
private static final java.util.HashMap sEmulators
private static final String LOG_TAG
private int mPort
private java.nio.channels.SocketChannel mSocketChannel
private byte[] mBuffer
public static com.android.ddmlib.EmulatorConsole getConsole (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice d
Integer port
com.android.ddmlib.EmulatorConsole console
public static java.lang.Integer getEmulatorPort (java.lang.String)
NumberFormatException e
int port
String serialNumber
java.util.regex.Matcher m
private static com.android.ddmlib.EmulatorConsole retrieveConsole (int)
com.android.ddmlib.EmulatorConsole console
int port
private static void removeConsole (int)
int port
private void (int)
int port
private synchronized boolean checkConnection ()
java.net.InetAddress hostAddr
java.io.IOException e
java.net.InetSocketAddress socketAddr
private synchronized boolean ping ()
public synchronized void kill ()
java.io.IOException e
public synchronized java.lang.String getAvdName ()
int i
java.util.regex.Matcher m
String[] result
public synchronized com.android.ddmlib.EmulatorConsole$NetworkStatus getNetworkStatus ()
String value
String value
java.util.regex.Matcher m
String line
String[] arr$
int len$
int i$
com.android.ddmlib.EmulatorConsole$NetworkStatus status
String[] result
public synchronized com.android.ddmlib.EmulatorConsole$GsmStatus getGsmStatus ()
String value
String value
java.util.regex.Matcher m
String line
String[] arr$
int len$
int i$
com.android.ddmlib.EmulatorConsole$GsmStatus status
String[] result
public synchronized java.lang.String setGsmVoiceMode (com.android.ddmlib.EmulatorConsole$GsmMode) throws java.security.InvalidParameterException
com.android.ddmlib.EmulatorConsole$GsmMode mode
String command
public synchronized java.lang.String setGsmDataMode (com.android.ddmlib.EmulatorConsole$GsmMode) throws java.security.InvalidParameterException
com.android.ddmlib.EmulatorConsole$GsmMode mode
String command
public synchronized java.lang.String call (java.lang.String)
String number
String command
public synchronized java.lang.String cancelCall (java.lang.String)
String number
String command
public synchronized java.lang.String sendSms (java.lang.String, java.lang.String)
String number
String message
String command
public synchronized java.lang.String setNetworkSpeed (int)
int selectionIndex
String command
public synchronized java.lang.String setNetworkLatency (int)
int selectionIndex
String command
public synchronized java.lang.String sendLocation (double, double, double)
double longitude
double latitude
double elevation
java.util.Formatter formatter
private boolean sendCommand (java.lang.String)
java.io.UnsupportedEncodingException e
byte[] bCommand
Exception e
String command
boolean result
private java.lang.String processCommand (java.lang.String)
java.util.regex.Matcher m
String[] result
String command
private java.lang.String[] readLines ()
InterruptedException ie
int pos
int count
java.nio.ByteBuffer buf
int numWaits
boolean stop
String msg
java.io.IOException e
private boolean endsWithOK (int)
int currentPosition
private boolean lastLineIsKO (int)
int currentPosition
int i
private boolean isValid (java.lang.String[])
String[] result
private int getLatencyIndex (java.lang.String)
int i
int latency
NumberFormatException e
String value
private int getSpeedIndex (java.lang.String)
int i
int speed
NumberFormatException e
String value
static void ()
}
com/android/ddmlib/FileListingService$1$1.classFileListingService.java
package com.android.ddmlib
com.android.ddmlib.FileListingService$1$1 extends com.android.ddmlib.MultiLineReceiver {
final synthetic java.util.HashMap val$map
final synthetic com.android.ddmlib.FileListingService$1 this$1
void (com.android.ddmlib.FileListingService$1, java.util.HashMap)
public void processNewLines (java.lang.String[])
com.android.ddmlib.FileListingService$FileEntry entry
java.util.regex.Matcher m
String line
String[] arr$
int len$
int i$
String[] lines
public boolean isCancelled ()
}
com/android/ddmlib/FileListingService$1.classFileListingService.java
package com.android.ddmlib
com.android.ddmlib.FileListingService$1 extends java.lang.Thread {
final synthetic com.android.ddmlib.FileListingService$FileEntry val$entry
final synthetic com.android.ddmlib.FileListingService$IListingReceiver val$receiver
final synthetic com.android.ddmlib.FileListingService this$0
void (com.android.ddmlib.FileListingService, java.lang.String, com.android.ddmlib.FileListingService$FileEntry, com.android.ddmlib.FileListingService$IListingReceiver)
String x0
public void run ()
String path
com.android.ddmlib.FileListingService$FileEntry child
com.android.ddmlib.FileListingService$FileEntry[] arr$
int len$
int i$
Exception e
java.util.HashMap map
String command
Thread t
com.android.ddmlib.FileListingService$FileEntry[] children
}
com/android/ddmlib/FileListingService$FileEntry$1.classFileListingService.java
package com.android.ddmlib
final com.android.ddmlib.FileListingService$FileEntry$1 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (com.android.ddmlib.FileListingService$FileEntry, com.android.ddmlib.FileListingService$FileEntry)
com.android.ddmlib.FileListingService$FileEntry fe1
com.android.ddmlib.FileListingService$FileEntry fe2
com.android.ddmlib.FileListingService$FileEntry o1
com.android.ddmlib.FileListingService$FileEntry o2
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
Object x0
Object x1
}
com/android/ddmlib/FileListingService$FileEntry.classFileListingService.java
package com.android.ddmlib
public final com.android.ddmlib.FileListingService$FileEntry extends java.lang.Object {
private static final java.util.regex.Pattern sEscapePattern
private static java.util.Comparator sEntryComparator
com.android.ddmlib.FileListingService$FileEntry parent
String name
String info
String permissions
String size
String date
String time
String owner
String group
int type
boolean isAppPackage
boolean isRoot
long fetchTime
final java.util.ArrayList mChildren
private void (com.android.ddmlib.FileListingService$FileEntry, java.lang.String, int, boolean)
com.android.ddmlib.FileListingService$FileEntry parent
String name
int type
boolean isRoot
public java.lang.String getName ()
public java.lang.String getSize ()
public int getSizeValue ()
public java.lang.String getDate ()
public java.lang.String getTime ()
public java.lang.String getPermissions ()
public java.lang.String getOwner ()
public java.lang.String getGroup ()
public java.lang.String getInfo ()
public java.lang.String getFullPath ()
StringBuilder pathBuilder
public java.lang.String getFullEscapedPath ()
StringBuilder pathBuilder
public java.lang.String[] getPathSegments ()
java.util.ArrayList list
public int getType ()
public void setType (int)
int type
public boolean isDirectory ()
public com.android.ddmlib.FileListingService$FileEntry getParent ()
public com.android.ddmlib.FileListingService$FileEntry[] getCachedChildren ()
public com.android.ddmlib.FileListingService$FileEntry findChild (java.lang.String)
com.android.ddmlib.FileListingService$FileEntry entry
java.util.Iterator i$
String name
public boolean isRoot ()
void addChild (com.android.ddmlib.FileListingService$FileEntry)
com.android.ddmlib.FileListingService$FileEntry child
void setChildren (java.util.ArrayList)
java.util.ArrayList newChildren
boolean needFetch ()
long current
public boolean isApplicationPackage ()
public boolean isAppFileName ()
java.util.regex.Matcher m
protected void fillPathBuilder (java.lang.StringBuilder, boolean)
StringBuilder pathBuilder
boolean escapePath
protected void fillPathSegments (java.util.ArrayList)
java.util.ArrayList list
private void checkAppPackageStatus ()
String[] segments
public static java.lang.String escape (java.lang.String)
String entryName
synthetic void (com.android.ddmlib.FileListingService$FileEntry, java.lang.String, int, boolean, com.android.ddmlib.FileListingService$1)
com.android.ddmlib.FileListingService$FileEntry x0
String x1
int x2
boolean x3
com.android.ddmlib.FileListingService$1 x4
static synthetic java.util.Comparator access$800 ()
static void ()
}
com/android/ddmlib/FileListingService$IListingReceiver.classFileListingService.java
package com.android.ddmlib
public abstract com.android.ddmlib.FileListingService$IListingReceiver extends java.lang.Object {
public abstract void setChildren (com.android.ddmlib.FileListingService$FileEntry, com.android.ddmlib.FileListingService$FileEntry[])
public abstract void refreshEntry (com.android.ddmlib.FileListingService$FileEntry)
}
com/android/ddmlib/FileListingService$LsReceiver$1.classFileListingService.java
package com.android.ddmlib
com.android.ddmlib.FileListingService$LsReceiver$1 extends com.android.ddmlib.MultiLineReceiver {
final synthetic int[] val$nLines
final synthetic com.android.ddmlib.FileListingService$LsReceiver this$0
void (com.android.ddmlib.FileListingService$LsReceiver, int[])
public void processNewLines (java.lang.String[])
java.util.regex.Matcher m
String line
String[] arr$
int len$
int i$
String[] lines
public boolean isCancelled ()
}
com/android/ddmlib/FileListingService$LsReceiver.classFileListingService.java
package com.android.ddmlib
com.android.ddmlib.FileListingService$LsReceiver extends com.android.ddmlib.MultiLineReceiver {
private java.util.ArrayList mEntryList
private java.util.ArrayList mLinkList
private com.android.ddmlib.FileListingService$FileEntry[] mCurrentChildren
private com.android.ddmlib.FileListingService$FileEntry mParentEntry
public void (com.android.ddmlib.FileListingService$FileEntry, java.util.ArrayList, java.util.ArrayList)
com.android.ddmlib.FileListingService$FileEntry parentEntry
java.util.ArrayList entryList
java.util.ArrayList linkList
public void processNewLines (java.lang.String[])
String[] pathSegments
String[] segments
java.util.regex.Matcher m
String name
String permissions
String owner
String group
String size
String date
String time
String info
int objectType
com.android.ddmlib.FileListingService$FileEntry entry
String line
String[] arr$
int len$
int i$
String[] lines
private com.android.ddmlib.FileListingService$FileEntry getExistingEntry (java.lang.String)
com.android.ddmlib.FileListingService$FileEntry e
int i
String name
public boolean isCancelled ()
public void finishLinks (com.android.ddmlib.IDevice, java.util.ArrayList) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
String command
com.android.ddmlib.FileListingService$FileEntry entry
java.util.Iterator i$
com.android.ddmlib.IDevice device
java.util.ArrayList entries
int[] nLines
com.android.ddmlib.MultiLineReceiver receiver
}
com/android/ddmlib/FileListingService.classFileListingService.java
package com.android.ddmlib
public final com.android.ddmlib.FileListingService extends java.lang.Object {
private static final java.util.regex.Pattern sApkPattern
private static final String PM_FULL_LISTING
private static final java.util.regex.Pattern sPmPattern
public static final String DIRECTORY_DATA
public static final String DIRECTORY_SDCARD
public static final String DIRECTORY_MNT
public static final String DIRECTORY_SYSTEM
public static final String DIRECTORY_TEMP
public static final String DIRECTORY_APP
public static final long REFRESH_RATE
static final long REFRESH_TEST
public static final int TYPE_FILE
public static final int TYPE_DIRECTORY
public static final int TYPE_DIRECTORY_LINK
public static final int TYPE_BLOCK
public static final int TYPE_CHARACTER
public static final int TYPE_LINK
public static final int TYPE_SOCKET
public static final int TYPE_FIFO
public static final int TYPE_OTHER
public static final String FILE_SEPARATOR
private static final String FILE_ROOT
private static final java.util.regex.Pattern LS_L_PATTERN
private static final java.util.regex.Pattern LS_LD_PATTERN
private com.android.ddmlib.Device mDevice
private com.android.ddmlib.FileListingService$FileEntry mRoot
private java.util.ArrayList mThreadList
void (com.android.ddmlib.Device)
com.android.ddmlib.Device device
public com.android.ddmlib.FileListingService$FileEntry getRoot ()
public com.android.ddmlib.FileListingService$FileEntry[] getChildren (com.android.ddmlib.FileListingService$FileEntry, boolean, com.android.ddmlib.FileListingService$IListingReceiver)
com.android.ddmlib.FileListingService$FileEntry entry
boolean useCache
com.android.ddmlib.FileListingService$IListingReceiver receiver
Thread t
public com.android.ddmlib.FileListingService$FileEntry[] getChildrenSync (com.android.ddmlib.FileListingService$FileEntry) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
com.android.ddmlib.FileListingService$FileEntry entry
private void doLs (com.android.ddmlib.FileListingService$FileEntry)
Exception e
com.android.ddmlib.FileListingService$FileEntry entry
private void doLsAndThrow (com.android.ddmlib.FileListingService$FileEntry) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
String command
com.android.ddmlib.FileListingService$LsReceiver receiver
com.android.ddmlib.FileListingService$FileEntry entry
java.util.ArrayList entryList
java.util.ArrayList linkList
static synthetic java.util.regex.Pattern access$000 ()
static synthetic java.util.regex.Pattern access$100 ()
static synthetic java.util.regex.Pattern access$300 ()
static synthetic void access$400 (com.android.ddmlib.FileListingService, com.android.ddmlib.FileListingService$FileEntry)
com.android.ddmlib.FileListingService x0
com.android.ddmlib.FileListingService$FileEntry x1
static synthetic java.util.regex.Pattern access$500 ()
static synthetic com.android.ddmlib.Device access$600 (com.android.ddmlib.FileListingService)
com.android.ddmlib.FileListingService x0
static synthetic java.util.ArrayList access$700 (com.android.ddmlib.FileListingService)
com.android.ddmlib.FileListingService x0
static void ()
}
com/android/ddmlib/GetPropReceiver.classGetPropReceiver.java
package com.android.ddmlib
final com.android.ddmlib.GetPropReceiver extends com.android.ddmlib.MultiLineReceiver {
static final String GETPROP_COMMAND
private static final java.util.regex.Pattern GETPROP_PATTERN
private com.android.ddmlib.Device mDevice
public void (com.android.ddmlib.Device)
com.android.ddmlib.Device device
public void processNewLines (java.lang.String[])
String label
String value
java.util.regex.Matcher m
String line
String[] arr$
int len$
int i$
String[] lines
public boolean isCancelled ()
public void done ()
static void ()
}
com/android/ddmlib/HandleAppName.classHandleAppName.java
package com.android.ddmlib
final com.android.ddmlib.HandleAppName extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_APNM
private static final com.android.ddmlib.HandleAppName mInst
static final synthetic boolean $assertionsDisabled
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
private static void handleAPNM (com.android.ddmlib.Client, java.nio.ByteBuffer)
int expectedPacketLength
java.nio.BufferUnderflowException e
com.android.ddmlib.Client client
java.nio.ByteBuffer data
int appNameLen
String appName
int userId
boolean validUserId
com.android.ddmlib.ClientData cd
static void ()
}
com/android/ddmlib/HandleExit.classHandleExit.java
package com.android.ddmlib
final com.android.ddmlib.HandleExit extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_EXIT
private static final com.android.ddmlib.HandleExit mInst
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
public static void sendEXIT (com.android.ddmlib.Client, int) throws java.io.IOException
com.android.ddmlib.Client client
int status
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
static void ()
}
com/android/ddmlib/HandleHeap.classHandleHeap.java
package com.android.ddmlib
final com.android.ddmlib.HandleHeap extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_HPIF
public static final int CHUNK_HPST
public static final int CHUNK_HPEN
public static final int CHUNK_HPSG
public static final int CHUNK_HPGC
public static final int CHUNK_HPDU
public static final int CHUNK_HPDS
public static final int CHUNK_REAE
public static final int CHUNK_REAQ
public static final int CHUNK_REAL
public static final int WHEN_DISABLE
public static final int WHEN_GC
public static final int WHAT_MERGE
public static final int WHAT_OBJ
public static final int HPIF_WHEN_NEVER
public static final int HPIF_WHEN_NOW
public static final int HPIF_WHEN_NEXT_GC
public static final int HPIF_WHEN_EVERY_GC
private static final com.android.ddmlib.HandleHeap mInst
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
private void handleHPIF (com.android.ddmlib.Client, java.nio.ByteBuffer)
int heapId
long timeStamp
byte reason
long maxHeapSize
long heapSize
long bytesAllocated
long objectsAllocated
int i
int numHeaps
java.nio.BufferUnderflowException ex
com.android.ddmlib.Client client
java.nio.ByteBuffer data
public static void sendHPIF (com.android.ddmlib.Client, int) throws java.io.IOException
com.android.ddmlib.Client client
int when
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
private void handleHPST (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
private void handleHPEN (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
private void handleHPSG (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
byte[] dataCopy
public static void sendHPSG (com.android.ddmlib.Client, int, int) throws java.io.IOException
com.android.ddmlib.Client client
int when
int what
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendHPGC (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendHPDU (com.android.ddmlib.Client, java.lang.String) throws java.io.IOException
com.android.ddmlib.Client client
String fileName
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendHPDS (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
private void handleHPDU (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
byte result
String filename
com.android.ddmlib.ClientData$IHprofDumpHandler handler
private void handleHPDS (com.android.ddmlib.Client, java.nio.ByteBuffer)
byte[] stuff
com.android.ddmlib.Client client
java.nio.ByteBuffer data
com.android.ddmlib.ClientData$IHprofDumpHandler handler
public static void sendREAE (com.android.ddmlib.Client, boolean) throws java.io.IOException
com.android.ddmlib.Client client
boolean enable
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendREAQ (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendREAL (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
private void handleREAQ (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
boolean enabled
private java.lang.String descriptorToDot (java.lang.String)
int a
String str
int array
int len
private void readStringTable (java.nio.ByteBuffer, java.lang.String[])
int nameLen
String descriptor
java.nio.ByteBuffer data
String[] strings
int count
int i
private void handleREAL (com.android.ddmlib.Client, java.nio.ByteBuffer)
int skip
int skip
int methodClassNameIndex
int methodNameIndex
int methodSourceFileIndex
short lineNumber
String methodClassName
String methodName
String methodSourceFile
int sti
int totalSize
int threadId
int classNameIndex
int stackDepth
StackTraceElement[] steArray
int i
com.android.ddmlib.Client client
java.nio.ByteBuffer data
int messageHdrLen
int entryHdrLen
int stackFrameLen
int numEntries
int offsetToStrings
int numClassNames
int numMethodNames
int numFileNames
String[] classNames
String[] methodNames
String[] fileNames
java.util.ArrayList list
int allocNumber
private static void dumpRecords (com.android.ddmlib.AllocationInfo[])
StackTraceElement ste
StackTraceElement[] arr$
int len$
int i$
com.android.ddmlib.AllocationInfo rec
com.android.ddmlib.AllocationInfo[] arr$
int len$
int i$
com.android.ddmlib.AllocationInfo[] records
static void ()
}
com/android/ddmlib/HandleHello.classHandleHello.java
package com.android.ddmlib
final com.android.ddmlib.HandleHello extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_HELO
public static final int CHUNK_FEAT
private static final com.android.ddmlib.HandleHello mInst
static final synthetic boolean $assertionsDisabled
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public static void sendHelloCommands (com.android.ddmlib.Client, int) throws java.io.IOException
com.android.ddmlib.Client client
int serverProtocolVersion
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
private static void handleHELO (com.android.ddmlib.Client, java.nio.ByteBuffer)
int expectedPacketLength
java.nio.BufferUnderflowException e
com.android.ddmlib.Client client
java.nio.ByteBuffer data
int version
int pid
int vmIdentLen
int appNameLen
String vmIdent
String appName
int userId
boolean validUserId
com.android.ddmlib.ClientData cd
public static void sendHELO (com.android.ddmlib.Client, int) throws java.io.IOException
com.android.ddmlib.Client client
int serverProtocolVersion
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
private static void handleFEAT (com.android.ddmlib.Client, java.nio.ByteBuffer)
int len
String feature
com.android.ddmlib.Client client
java.nio.ByteBuffer data
int featureCount
int i
public static void sendFEAT (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
static void ()
}
com/android/ddmlib/HandleNativeHeap.classHandleNativeHeap.java
package com.android.ddmlib
final com.android.ddmlib.HandleNativeHeap extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_NHGT
public static final int CHUNK_NHSG
public static final int CHUNK_NHST
public static final int CHUNK_NHEN
private static final com.android.ddmlib.HandleNativeHeap mInst
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
public static void sendNHGT (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
private void handleNHGT (com.android.ddmlib.Client, java.nio.ByteBuffer)
byte[] maps
long addr
int j
com.android.ddmlib.NativeAllocationInfo info
int i
com.android.ddmlib.Client client
java.nio.ByteBuffer data
com.android.ddmlib.ClientData cd
byte[] copy
java.nio.ByteBuffer buffer
int mapSize
int allocSize
int allocInfoSize
int totalMemory
int backtraceSize
int iterations
private void handleNHSG (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
byte[] dataCopy
private void parseMaps (com.android.ddmlib.ClientData, byte[])
long tmpStart
long tmpEnd
int index
String tmpLib
NumberFormatException e
long startAddr
long endAddr
String library
java.io.IOException e
com.android.ddmlib.ClientData cd
byte[] maps
java.io.InputStreamReader input
java.io.BufferedReader reader
String line
static void ()
}
com/android/ddmlib/HandleProfiling.classHandleProfiling.java
package com.android.ddmlib
final com.android.ddmlib.HandleProfiling extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_MPRS
public static final int CHUNK_MPRE
public static final int CHUNK_MPSS
public static final int CHUNK_MPSE
public static final int CHUNK_SPSS
public static final int CHUNK_SPSE
public static final int CHUNK_MPRQ
public static final int CHUNK_FAIL
private static final com.android.ddmlib.HandleProfiling mInst
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
public static void sendMPRS (com.android.ddmlib.Client, java.lang.String, int, int) throws java.io.IOException
com.android.ddmlib.Client client
String fileName
int bufferSize
int flags
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendMPRE (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
private void handleMPRE (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
byte result
String filename
com.android.ddmlib.ClientData$IMethodProfilingHandler handler
public static void sendMPSS (com.android.ddmlib.Client, int, int) throws java.io.IOException
com.android.ddmlib.Client client
int bufferSize
int flags
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendSPSS (com.android.ddmlib.Client, int, int, java.util.concurrent.TimeUnit) throws java.io.IOException
com.android.ddmlib.Client client
int bufferSize
int samplingInterval
java.util.concurrent.TimeUnit samplingIntervalTimeUnits
int interval
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendMPSE (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendSPSE (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
private void handleMPSE (com.android.ddmlib.Client, java.nio.ByteBuffer)
byte[] stuff
com.android.ddmlib.Client client
java.nio.ByteBuffer data
com.android.ddmlib.ClientData$IMethodProfilingHandler handler
public static void sendMPRQ (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
private void handleMPRQ (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
byte result
private void handleFAIL (com.android.ddmlib.Client, java.nio.ByteBuffer)
byte[] messageBuffer
com.android.ddmlib.ClientData$IMethodProfilingHandler handler
com.android.ddmlib.ClientData$IMethodProfilingHandler handler
java.io.IOException e
com.android.ddmlib.Client client
java.nio.ByteBuffer data
int length
String message
String filename
static void ()
}
com/android/ddmlib/HandleTest.classHandleTest.java
package com.android.ddmlib
final com.android.ddmlib.HandleTest extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_TEST
private static final com.android.ddmlib.HandleTest mInst
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
private void handleTEST (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
byte[] copy
static void ()
}
com/android/ddmlib/HandleThread$1.classHandleThread.java
package com.android.ddmlib
final com.android.ddmlib.HandleThread$1 extends java.lang.Thread {
final synthetic com.android.ddmlib.Client val$client
void (java.lang.String, com.android.ddmlib.Client)
String x0
public void run ()
java.io.IOException ioe
}
com/android/ddmlib/HandleThread$2.classHandleThread.java
package com.android.ddmlib
final com.android.ddmlib.HandleThread$2 extends java.lang.Thread {
final synthetic com.android.ddmlib.Client val$client
final synthetic int val$threadId
void (java.lang.String, com.android.ddmlib.Client, int)
String x0
public void run ()
java.io.IOException ioe
}
com/android/ddmlib/HandleThread.classHandleThread.java
package com.android.ddmlib
final com.android.ddmlib.HandleThread extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_THEN
public static final int CHUNK_THCR
public static final int CHUNK_THDE
public static final int CHUNK_THST
public static final int CHUNK_THNM
public static final int CHUNK_STKL
private static final com.android.ddmlib.HandleThread mInst
private static volatile boolean sThreadStatusReqRunning
private static volatile boolean sThreadStackTraceReqRunning
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
private void handleTHCR (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
int threadId
int nameLen
String name
private void handleTHDE (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
int threadId
private void handleTHST (com.android.ddmlib.Client, java.nio.ByteBuffer)
int slurp
int threadId
int status
int tid
int utime
int stime
boolean isDaemon
com.android.ddmlib.ClientData cd
com.android.ddmlib.ThreadInfo threadInfo
int i
com.android.ddmlib.Client client
java.nio.ByteBuffer data
int headerLen
int bytesPerEntry
int extraPerEntry
int threadCount
private void handleTHNM (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
int threadId
int nameLen
String name
com.android.ddmlib.ThreadInfo threadInfo
private void handleSTKL (com.android.ddmlib.Client, java.nio.ByteBuffer)
String fileName
String className
String methodName
String fileName
int len
int lineNumber
com.android.ddmlib.Client client
java.nio.ByteBuffer data
StackTraceElement[] trace
int i
int threadId
int stackDepth
int future
com.android.ddmlib.ThreadInfo threadInfo
public static void sendTHEN (com.android.ddmlib.Client, boolean) throws java.io.IOException
com.android.ddmlib.Client client
boolean enable
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
public static void sendSTKL (com.android.ddmlib.Client, int) throws java.io.IOException
com.android.ddmlib.Client client
int threadId
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
static void requestThreadUpdate (com.android.ddmlib.Client)
com.android.ddmlib.Client client
static void requestThreadStackCallRefresh (com.android.ddmlib.Client, int)
com.android.ddmlib.Client client
int threadId
private static void sendTHST (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer rawBuf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer buf
static synthetic boolean access$002 (boolean)
boolean x0
static synthetic void access$100 (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client x0
static synthetic boolean access$202 (boolean)
boolean x0
static void ()
}
com/android/ddmlib/HandleViewDebug$NullChunkHandler.classHandleViewDebug.java
package com.android.ddmlib
com.android.ddmlib.HandleViewDebug$NullChunkHandler extends com.android.ddmlib.HandleViewDebug$ViewDumpHandler {
public void (int)
int chunkType
protected void handleViewDebugResult (java.nio.ByteBuffer)
java.nio.ByteBuffer data
}
com/android/ddmlib/HandleViewDebug$ViewDumpHandler.classHandleViewDebug.java
package com.android.ddmlib
public abstract com.android.ddmlib.HandleViewDebug$ViewDumpHandler extends com.android.ddmlib.ChunkHandler {
private final java.util.concurrent.CountDownLatch mLatch
private final int mChunkType
public void (int)
int chunkType
void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
protected abstract void handleViewDebugResult (java.nio.ByteBuffer)
protected void waitForResult (long, java.util.concurrent.TimeUnit)
InterruptedException e
long timeout
java.util.concurrent.TimeUnit unit
}
com/android/ddmlib/HandleViewDebug.classHandleViewDebug.java
package com.android.ddmlib
public final com.android.ddmlib.HandleViewDebug extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_VUGL
public static final int CHUNK_VULW
public static final int CHUNK_VURT
private static final int VURT_DUMP_HIERARCHY
private static final int VURT_CAPTURE_LAYERS
public static final int CHUNK_VUOP
private static final int VUOP_CAPTURE_VIEW
private static final int VUOP_DUMP_DISPLAYLIST
private static final int VUOP_PROFILE_VIEW
private static final int VUOP_INVOKE_VIEW_METHOD
private static final int VUOP_SET_LAYOUT_PARAMETER
private static final String TAG
private static final com.android.ddmlib.HandleViewDebug sInstance
private static final com.android.ddmlib.HandleViewDebug$ViewDumpHandler sViewOpNullChunkHandler
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public static void listViewRoots (com.android.ddmlib.Client, com.android.ddmlib.HandleViewDebug$ViewDumpHandler) throws java.io.IOException
com.android.ddmlib.Client client
com.android.ddmlib.HandleViewDebug$ViewDumpHandler replyHandler
java.nio.ByteBuffer buf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer chunkBuf
public static void dumpViewHierarchy (com.android.ddmlib.Client, java.lang.String, boolean, boolean, com.android.ddmlib.HandleViewDebug$ViewDumpHandler) throws java.io.IOException
com.android.ddmlib.Client client
String viewRoot
boolean skipChildren
boolean includeProperties
com.android.ddmlib.HandleViewDebug$ViewDumpHandler handler
java.nio.ByteBuffer buf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer chunkBuf
public static void captureLayers (com.android.ddmlib.Client, java.lang.String, com.android.ddmlib.HandleViewDebug$ViewDumpHandler) throws java.io.IOException
com.android.ddmlib.Client client
String viewRoot
com.android.ddmlib.HandleViewDebug$ViewDumpHandler handler
int bufLen
java.nio.ByteBuffer buf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer chunkBuf
private static void sendViewOpPacket (com.android.ddmlib.Client, int, java.lang.String, java.lang.String, byte[], com.android.ddmlib.HandleViewDebug$ViewDumpHandler) throws java.io.IOException
com.android.ddmlib.Client client
int op
String viewRoot
String view
byte[] extra
com.android.ddmlib.HandleViewDebug$ViewDumpHandler handler
int bufLen
java.nio.ByteBuffer buf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer chunkBuf
public static void profileView (com.android.ddmlib.Client, java.lang.String, java.lang.String, com.android.ddmlib.HandleViewDebug$ViewDumpHandler) throws java.io.IOException
com.android.ddmlib.Client client
String viewRoot
String view
com.android.ddmlib.HandleViewDebug$ViewDumpHandler handler
public static void captureView (com.android.ddmlib.Client, java.lang.String, java.lang.String, com.android.ddmlib.HandleViewDebug$ViewDumpHandler) throws java.io.IOException
com.android.ddmlib.Client client
String viewRoot
String view
com.android.ddmlib.HandleViewDebug$ViewDumpHandler handler
public static void invalidateView (com.android.ddmlib.Client, java.lang.String, java.lang.String) throws java.io.IOException
com.android.ddmlib.Client client
String viewRoot
String view
public static void requestLayout (com.android.ddmlib.Client, java.lang.String, java.lang.String) throws java.io.IOException
com.android.ddmlib.Client client
String viewRoot
String view
public static void dumpDisplayList (com.android.ddmlib.Client, java.lang.String, java.lang.String) throws java.io.IOException
com.android.ddmlib.Client client
String viewRoot
String view
public static transient void invokeMethod (com.android.ddmlib.Client, java.lang.String, java.lang.String, java.lang.String, java.lang.Object[]) throws java.io.IOException
Object arg
int i
com.android.ddmlib.Client client
String viewRoot
String view
String method
Object[] args
int len
byte[] extra
java.nio.ByteBuffer b
public static void setLayoutParameter (com.android.ddmlib.Client, java.lang.String, java.lang.String, java.lang.String, int) throws java.io.IOException
com.android.ddmlib.Client client
String viewRoot
String view
String parameter
int value
int len
byte[] extra
java.nio.ByteBuffer b
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
public static void sendStartGlTracing (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer buf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer chunkBuf
public static void sendStopGlTracing (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
java.nio.ByteBuffer buf
com.android.ddmlib.JdwpPacket packet
java.nio.ByteBuffer chunkBuf
static void ()
}
com/android/ddmlib/HandleWait.classHandleWait.java
package com.android.ddmlib
final com.android.ddmlib.HandleWait extends com.android.ddmlib.ChunkHandler {
public static final int CHUNK_WAIT
private static final com.android.ddmlib.HandleWait mInst
static final synthetic boolean $assertionsDisabled
private void ()
public static void register (com.android.ddmlib.MonitorThread)
com.android.ddmlib.MonitorThread mt
public void clientReady (com.android.ddmlib.Client) throws java.io.IOException
com.android.ddmlib.Client client
public void clientDisconnected (com.android.ddmlib.Client)
com.android.ddmlib.Client client
public void handleChunk (com.android.ddmlib.Client, int, java.nio.ByteBuffer, boolean, int)
com.android.ddmlib.Client client
int type
java.nio.ByteBuffer data
boolean isReply
int msgId
private static void handleWAIT (com.android.ddmlib.Client, java.nio.ByteBuffer)
com.android.ddmlib.Client client
java.nio.ByteBuffer data
byte reason
com.android.ddmlib.ClientData cd
static void ()
}
com/android/ddmlib/HeapSegment$HeapSegmentElement.classHeapSegment.java
package com.android.ddmlib
public com.android.ddmlib.HeapSegment$HeapSegmentElement extends java.lang.Object implements java.lang.Comparable {
public static final int SOLIDITY_FREE
public static final int SOLIDITY_HARD
public static final int SOLIDITY_SOFT
public static final int SOLIDITY_WEAK
public static final int SOLIDITY_PHANTOM
public static final int SOLIDITY_FINALIZABLE
public static final int SOLIDITY_SWEEP
public static final int SOLIDITY_INVALID
public static final int KIND_OBJECT
public static final int KIND_CLASS_OBJECT
public static final int KIND_ARRAY_1
public static final int KIND_ARRAY_2
public static final int KIND_ARRAY_4
public static final int KIND_ARRAY_8
public static final int KIND_UNKNOWN
public static final int KIND_NATIVE
public static final int KIND_INVALID
private static final int PARTIAL_MASK
private int mSolidity
private int mKind
private int mLength
public void ()
public void (com.android.ddmlib.HeapSegment) throws java.nio.BufferUnderflowException java.text.ParseException
com.android.ddmlib.HeapSegment hs
public com.android.ddmlib.HeapSegment$HeapSegmentElement set (com.android.ddmlib.HeapSegment) throws java.nio.BufferUnderflowException java.text.ParseException
int nextState
com.android.ddmlib.HeapSegment hs
java.nio.ByteBuffer data
int eState
int eLen
public int getSolidity ()
public void setSolidity (int)
int solidity
public int getKind ()
public void setKind (int)
int kind
public int getLength ()
public void setLength (int)
int length
public int compareTo (com.android.ddmlib.HeapSegment$HeapSegmentElement)
com.android.ddmlib.HeapSegment$HeapSegmentElement other
public volatile synthetic int compareTo (java.lang.Object)
Object x0
}
com/android/ddmlib/HeapSegment.classHeapSegment.java
package com.android.ddmlib
public final com.android.ddmlib.HeapSegment extends java.lang.Object implements java.lang.Comparable {
protected int mHeapId
protected int mAllocationUnitSize
protected long mStartAddress
protected int mOffset
protected int mAllocationUnitCount
protected java.nio.ByteBuffer mUsageData
private static final long INVALID_START_ADDRESS
public void (java.nio.ByteBuffer) throws java.nio.BufferUnderflowException
java.nio.ByteBuffer hpsgData
public boolean isValid ()
public boolean canAppend (com.android.ddmlib.HeapSegment)
com.android.ddmlib.HeapSegment other
public boolean append (com.android.ddmlib.HeapSegment)
int newSize
java.nio.ByteBuffer newData
int pos
com.android.ddmlib.HeapSegment other
public long getStartAddress ()
public int getLength ()
public long getEndAddress ()
public void rewindElements ()
public com.android.ddmlib.HeapSegment$HeapSegmentElement getNextElement (com.android.ddmlib.HeapSegment$HeapSegmentElement)
java.nio.BufferUnderflowException ex
java.text.ParseException ex
com.android.ddmlib.HeapSegment$HeapSegmentElement reuse
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
public java.lang.String toString ()
StringBuilder str
public int compareTo (com.android.ddmlib.HeapSegment)
com.android.ddmlib.HeapSegment other
public volatile synthetic int compareTo (java.lang.Object)
Object x0
}
com/android/ddmlib/IDevice$DeviceState.classIDevice.java
package com.android.ddmlib
public final enum com.android.ddmlib.IDevice$DeviceState extends java.lang.Enum {
public static final enum com.android.ddmlib.IDevice$DeviceState BOOTLOADER
public static final enum com.android.ddmlib.IDevice$DeviceState OFFLINE
public static final enum com.android.ddmlib.IDevice$DeviceState ONLINE
public static final enum com.android.ddmlib.IDevice$DeviceState RECOVERY
private String mState
private static final synthetic com.android.ddmlib.IDevice$DeviceState[] $VALUES
public static com.android.ddmlib.IDevice$DeviceState[] values ()
public static com.android.ddmlib.IDevice$DeviceState valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String state
public static com.android.ddmlib.IDevice$DeviceState getState (java.lang.String)
com.android.ddmlib.IDevice$DeviceState deviceState
com.android.ddmlib.IDevice$DeviceState[] arr$
int len$
int i$
String state
static void ()
}
com/android/ddmlib/IDevice$DeviceUnixSocketNamespace.classIDevice.java
package com.android.ddmlib
public final enum com.android.ddmlib.IDevice$DeviceUnixSocketNamespace extends java.lang.Enum {
public static final enum com.android.ddmlib.IDevice$DeviceUnixSocketNamespace ABSTRACT
public static final enum com.android.ddmlib.IDevice$DeviceUnixSocketNamespace FILESYSTEM
public static final enum com.android.ddmlib.IDevice$DeviceUnixSocketNamespace RESERVED
private String mType
private static final synthetic com.android.ddmlib.IDevice$DeviceUnixSocketNamespace[] $VALUES
public static com.android.ddmlib.IDevice$DeviceUnixSocketNamespace[] values ()
public static com.android.ddmlib.IDevice$DeviceUnixSocketNamespace valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String type
java.lang.String getType ()
static void ()
}
com/android/ddmlib/IDevice$Feature.classIDevice.java
package com.android.ddmlib
public final enum com.android.ddmlib.IDevice$Feature extends java.lang.Enum {
public static final enum com.android.ddmlib.IDevice$Feature SCREEN_RECORD
public static final enum com.android.ddmlib.IDevice$Feature PROCSTATS
private static final synthetic com.android.ddmlib.IDevice$Feature[] $VALUES
public static com.android.ddmlib.IDevice$Feature[] values ()
public static com.android.ddmlib.IDevice$Feature valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ddmlib/IDevice.classIDevice.java
package com.android.ddmlib
public abstract com.android.ddmlib.IDevice extends java.lang.Object implements com.android.ddmlib.IShellEnabledDevice {
public static final String PROP_BUILD_VERSION
public static final String PROP_BUILD_API_LEVEL
public static final String PROP_BUILD_CODENAME
public static final String PROP_DEVICE_MODEL
public static final String PROP_DEVICE_MANUFACTURER
public static final String PROP_DEVICE_CPU_ABI
public static final String PROP_DEVICE_CPU_ABI2
public static final String PROP_DEBUGGABLE
public static final String FIRST_EMULATOR_SN
public static final int CHANGE_STATE
public static final int CHANGE_CLIENT_LIST
public static final int CHANGE_BUILD_INFO
public static final String PROP_BUILD_VERSION_NUMBER
public static final String MNT_EXTERNAL_STORAGE
public static final String MNT_ROOT
public static final String MNT_DATA
public abstract java.lang.String getSerialNumber ()
public abstract java.lang.String getAvdName ()
public abstract com.android.ddmlib.IDevice$DeviceState getState ()
public abstract java.util.Map getProperties ()
public abstract int getPropertyCount ()
public abstract java.lang.String getProperty (java.lang.String)
public abstract boolean arePropertiesSet ()
public abstract java.lang.String getPropertySync (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
public abstract java.lang.String getPropertyCacheOrSync (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
public abstract boolean supportsFeature (com.android.ddmlib.IDevice$Feature)
public abstract java.lang.String getMountPoint (java.lang.String)
public abstract boolean isOnline ()
public abstract boolean isEmulator ()
public abstract boolean isOffline ()
public abstract boolean isBootLoader ()
public abstract boolean hasClients ()
public abstract com.android.ddmlib.Client[] getClients ()
public abstract com.android.ddmlib.Client getClient (java.lang.String)
public abstract com.android.ddmlib.SyncService getSyncService () throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public abstract com.android.ddmlib.FileListingService getFileListingService ()
public abstract com.android.ddmlib.RawImage getScreenshot () throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public abstract 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
public abstract 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
public abstract 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
public abstract void runEventLogService (com.android.ddmlib.log.LogReceiver) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public abstract void runLogService (java.lang.String, com.android.ddmlib.log.LogReceiver) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public abstract void createForward (int, int) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public abstract void createForward (int, java.lang.String, com.android.ddmlib.IDevice$DeviceUnixSocketNamespace) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public abstract void removeForward (int, int) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public abstract void removeForward (int, java.lang.String, com.android.ddmlib.IDevice$DeviceUnixSocketNamespace) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public abstract java.lang.String getClientName (int)
public abstract void pushFile (java.lang.String, java.lang.String) throws java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.TimeoutException com.android.ddmlib.SyncException
public abstract void pullFile (java.lang.String, java.lang.String) throws java.io.IOException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.TimeoutException com.android.ddmlib.SyncException
public transient abstract java.lang.String installPackage (java.lang.String, boolean, java.lang.String[]) throws com.android.ddmlib.InstallException
public abstract java.lang.String syncPackageToDevice (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException com.android.ddmlib.SyncException
public transient abstract java.lang.String installRemotePackage (java.lang.String, boolean, java.lang.String[]) throws com.android.ddmlib.InstallException
public abstract void removeRemotePackage (java.lang.String) throws com.android.ddmlib.InstallException
public abstract java.lang.String uninstallPackage (java.lang.String) throws com.android.ddmlib.InstallException
public abstract void reboot (java.lang.String) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
public abstract java.lang.Integer getBatteryLevel () throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException com.android.ddmlib.ShellCommandUnresponsiveException
public abstract java.lang.Integer getBatteryLevel (long) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException com.android.ddmlib.ShellCommandUnresponsiveException
}
com/android/ddmlib/IShellEnabledDevice.classIShellEnabledDevice.java
package com.android.ddmlib
public abstract com.android.ddmlib.IShellEnabledDevice extends java.lang.Object {
public abstract java.lang.String getName ()
public abstract 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
}
com/android/ddmlib/IShellOutputReceiver.classIShellOutputReceiver.java
package com.android.ddmlib
public abstract com.android.ddmlib.IShellOutputReceiver extends java.lang.Object {
public abstract void addOutput (byte[], int, int)
public abstract void flush ()
public abstract boolean isCancelled ()
}
com/android/ddmlib/IStackTraceInfo.classIStackTraceInfo.java
package com.android.ddmlib
public abstract com.android.ddmlib.IStackTraceInfo extends java.lang.Object {
public abstract java.lang.StackTraceElement[] getStackTrace ()
}
com/android/ddmlib/InstallException.classInstallException.java
package com.android.ddmlib
public com.android.ddmlib.InstallException extends com.android.ddmlib.CanceledException {
private static final long serialVersionUID
public void (java.lang.Throwable)
Throwable cause
public void (java.lang.String, java.lang.Throwable)
String message
Throwable cause
public boolean wasCanceled ()
Throwable cause
}
com/android/ddmlib/JdwpPacket.classJdwpPacket.java
package com.android.ddmlib
final com.android.ddmlib.JdwpPacket extends java.lang.Object {
public static final int JDWP_HEADER_LEN
public static final int HANDSHAKE_GOOD
public static final int HANDSHAKE_NOTYET
public static final int HANDSHAKE_BAD
private static final int DDMS_CMD_SET
private static final int DDMS_CMD
private static final int REPLY_PACKET
private static final byte[] mHandshake
public static final int HANDSHAKE_LEN
private java.nio.ByteBuffer mBuffer
private int mLength
private int mId
private int mFlags
private int mCmdSet
private int mCmd
private int mErrCode
private boolean mIsNew
private static int sSerialId
static final synthetic boolean $assertionsDisabled
void (java.nio.ByteBuffer)
java.nio.ByteBuffer buf
void finishPacket (int)
int payloadLength
java.nio.ByteOrder oldOrder
private static synchronized int getNextSerial ()
java.nio.ByteBuffer getPayload ()
java.nio.ByteBuffer buf
int oldPosn
boolean isDdmPacket ()
boolean isReply ()
boolean isError ()
boolean isEmpty ()
int getId ()
int getLength ()
void writeAndConsume (java.nio.channels.SocketChannel) throws java.io.IOException
java.nio.channels.SocketChannel chan
int oldLimit
void movePacket (java.nio.ByteBuffer)
java.nio.ByteBuffer buf
int oldPosn
void consume ()
static com.android.ddmlib.JdwpPacket findPacket (java.nio.ByteBuffer)
java.nio.ByteBuffer buf
int count
int length
int id
int flags
int cmdSet
int cmd
java.nio.ByteOrder oldOrder
com.android.ddmlib.JdwpPacket pkt
static int findHandshake (java.nio.ByteBuffer)
java.nio.ByteBuffer buf
int count
int i
static void consumeHandshake (java.nio.ByteBuffer)
java.nio.ByteBuffer buf
static void putHandshake (java.nio.ByteBuffer)
java.nio.ByteBuffer buf
static void ()
}
com/android/ddmlib/Log$Config.classLog.java
package com.android.ddmlib
final com.android.ddmlib.Log$Config extends java.lang.Object {
static final boolean LOGV
static final boolean LOGD
void ()
}
com/android/ddmlib/Log$ILogOutput.classLog.java
package com.android.ddmlib
public abstract com.android.ddmlib.Log$ILogOutput extends java.lang.Object {
public abstract void printLog (com.android.ddmlib.Log$LogLevel, java.lang.String, java.lang.String)
public abstract void printAndPromptLog (com.android.ddmlib.Log$LogLevel, java.lang.String, java.lang.String)
}
com/android/ddmlib/Log$LogLevel.classLog.java
package com.android.ddmlib
public final enum com.android.ddmlib.Log$LogLevel extends java.lang.Enum {
public static final enum com.android.ddmlib.Log$LogLevel VERBOSE
public static final enum com.android.ddmlib.Log$LogLevel DEBUG
public static final enum com.android.ddmlib.Log$LogLevel INFO
public static final enum com.android.ddmlib.Log$LogLevel WARN
public static final enum com.android.ddmlib.Log$LogLevel ERROR
public static final enum com.android.ddmlib.Log$LogLevel ASSERT
private int mPriorityLevel
private String mStringValue
private char mPriorityLetter
private static final synthetic com.android.ddmlib.Log$LogLevel[] $VALUES
public static com.android.ddmlib.Log$LogLevel[] values ()
public static com.android.ddmlib.Log$LogLevel valueOf (java.lang.String)
String name
private void (java.lang.String, int, int, java.lang.String, char)
int intPriority
String stringValue
char priorityChar
public static com.android.ddmlib.Log$LogLevel getByString (java.lang.String)
com.android.ddmlib.Log$LogLevel mode
com.android.ddmlib.Log$LogLevel[] arr$
int len$
int i$
String value
public static com.android.ddmlib.Log$LogLevel getByLetter (char)
com.android.ddmlib.Log$LogLevel mode
com.android.ddmlib.Log$LogLevel[] arr$
int len$
int i$
char letter
public static com.android.ddmlib.Log$LogLevel getByLetterString (java.lang.String)
String letter
public char getPriorityLetter ()
public int getPriority ()
public java.lang.String getStringValue ()
static void ()
}
com/android/ddmlib/Log.classLog.java
package com.android.ddmlib
public final com.android.ddmlib.Log extends java.lang.Object {
private static com.android.ddmlib.Log$LogLevel sLevel
private static com.android.ddmlib.Log$ILogOutput sLogOutput
private static final char[] mSpaceLine
private static final char[] mHexDigit
private void ()
public static void v (java.lang.String, java.lang.String)
String tag
String message
public static void d (java.lang.String, java.lang.String)
String tag
String message
public static void i (java.lang.String, java.lang.String)
String tag
String message
public static void w (java.lang.String, java.lang.String)
String tag
String message
public static void e (java.lang.String, java.lang.String)
String tag
String message
public static void logAndDisplay (com.android.ddmlib.Log$LogLevel, java.lang.String, java.lang.String)
com.android.ddmlib.Log$LogLevel logLevel
String tag
String message
public static void e (java.lang.String, java.lang.Throwable)
java.io.StringWriter sw
java.io.PrintWriter pw
String tag
Throwable throwable
static void setLevel (com.android.ddmlib.Log$LogLevel)
com.android.ddmlib.Log$LogLevel logLevel
public static void setLogOutput (com.android.ddmlib.Log$ILogOutput)
com.android.ddmlib.Log$ILogOutput logOutput
static void hexDump (java.lang.String, com.android.ddmlib.Log$LogLevel, byte[], int, int)
int count
byte val
int addr
int count
int i
int ch
String tag
com.android.ddmlib.Log$LogLevel level
byte[] data
int offset
int length
int kHexOffset
int kAscOffset
char[] line
int baseAddr
boolean needErase
static void hexDump (byte[])
byte[] data
private static void println (com.android.ddmlib.Log$LogLevel, java.lang.String, java.lang.String)
com.android.ddmlib.Log$LogLevel logLevel
String tag
String message
public static void printLog (com.android.ddmlib.Log$LogLevel, java.lang.String, java.lang.String)
com.android.ddmlib.Log$LogLevel logLevel
String tag
String message
public static java.lang.String getLogFormatString (com.android.ddmlib.Log$LogLevel, java.lang.String, java.lang.String)
com.android.ddmlib.Log$LogLevel logLevel
String tag
String message
java.text.SimpleDateFormat formatter
static void ()
int i
}
com/android/ddmlib/MonitorThread.classMonitorThread.java
package com.android.ddmlib
final com.android.ddmlib.MonitorThread extends java.lang.Thread {
private static final int CLIENT_READY
private static final int CLIENT_DISCONNECTED
private volatile boolean mQuit
private java.util.ArrayList mClientList
private java.nio.channels.Selector mSelector
private java.util.HashMap mHandlerMap
private java.nio.channels.ServerSocketChannel mDebugSelectedChan
private int mNewDebugSelectedPort
private int mDebugSelectedPort
private com.android.ddmlib.Client mSelectedClient
private static com.android.ddmlib.MonitorThread sInstance
static final synthetic boolean $assertionsDisabled
private void ()
static com.android.ddmlib.MonitorThread createInstance ()
static com.android.ddmlib.MonitorThread getInstance ()
synchronized void setDebugSelectedPort (int) throws java.lang.IllegalStateException
int port
synchronized void setSelectedClient (com.android.ddmlib.Client)
com.android.ddmlib.Client oldClient
com.android.ddmlib.Client selectedClient
com.android.ddmlib.Client getSelectedClient ()
boolean getRetryOnBadHandshake ()
com.android.ddmlib.Client[] getClients ()
synchronized void registerChunkHandler (int, com.android.ddmlib.ChunkHandler)
int type
com.android.ddmlib.ChunkHandler handler
public void run ()
java.io.IOException ioe
java.io.IOException ioe
java.io.IOException ioe
java.nio.channels.CancelledKeyException cke
Exception e
java.nio.channels.SelectionKey key
int count
java.util.Set keys
java.util.Iterator iter
Exception e
int getDebugSelectedPort ()
private void processClientActivity (java.nio.channels.SelectionKey)
com.android.ddmlib.ChunkHandler handler
com.android.ddmlib.JdwpPacket packet
java.nio.channels.CancelledKeyException e
java.io.IOException ex
Exception ex
java.nio.channels.SelectionKey key
com.android.ddmlib.Client client
private void callHandler (com.android.ddmlib.Client, com.android.ddmlib.JdwpPacket, com.android.ddmlib.ChunkHandler)
java.nio.ByteBuffer ibuf
java.nio.ByteBuffer roBuf
com.android.ddmlib.Client client
com.android.ddmlib.JdwpPacket packet
com.android.ddmlib.ChunkHandler handler
java.nio.ByteBuffer buf
int type
int length
boolean reply
synchronized void dropClient (com.android.ddmlib.Client, boolean)
com.android.ddmlib.Client client
boolean notify
synchronized void dropClients (java.util.Collection, boolean)
com.android.ddmlib.Client c
java.util.Iterator i$
java.util.Collection clients
boolean notify
private void processDebuggerActivity (java.nio.channels.SelectionKey)
java.io.IOException ioe
java.nio.channels.CancelledKeyException cke
java.nio.channels.SelectionKey key
com.android.ddmlib.Debugger dbg
private void acceptNewDebugger (com.android.ddmlib.Debugger, java.nio.channels.ServerSocketChannel) throws java.io.IOException
java.nio.channels.SocketChannel chan
java.io.IOException ioe
RuntimeException re
java.nio.channels.SocketChannel chan
com.android.ddmlib.Debugger dbg
java.nio.channels.ServerSocketChannel acceptChan
private void processDebuggerData (java.nio.channels.SelectionKey)
com.android.ddmlib.JdwpPacket packet
com.android.ddmlib.Client client
java.io.IOException ioe
java.nio.channels.SelectionKey key
com.android.ddmlib.Debugger dbg
private void wakeup ()
synchronized void quit ()
com.android.ddmlib.Client c
java.util.Iterator i$
InterruptedException ie
java.io.IOException e
synchronized void addClient (com.android.ddmlib.Client)
com.android.ddmlib.Debugger dbg
java.io.IOException ioe
com.android.ddmlib.Client client
private void broadcast (int, com.android.ddmlib.Client)
java.util.Collection values
java.io.IOException ioe
com.android.ddmlib.ChunkHandler handler
int event
com.android.ddmlib.Client client
java.util.HashSet set
java.util.Iterator iter
private boolean reopenDebugSelectedPort () throws java.io.IOException
java.net.BindException e
java.net.InetSocketAddress addr
private void processDebugSelectedActivity (java.nio.channels.SelectionKey)
java.io.IOException ioe
com.android.ddmlib.Debugger dbg
java.nio.channels.SocketChannel chan
java.io.IOException ioe
java.nio.channels.NotYetBoundException e
java.nio.channels.SelectionKey key
java.nio.channels.ServerSocketChannel acceptChan
private void displayDebugSelectedBindError (int)
int port
String message
static void ()
}
com/android/ddmlib/MultiLineReceiver.classMultiLineReceiver.java
package com.android.ddmlib
public abstract com.android.ddmlib.MultiLineReceiver extends java.lang.Object implements com.android.ddmlib.IShellOutputReceiver {
private boolean mTrimLines
private String mUnfinishedLine
private final java.util.ArrayList mArray
public void ()
public void setTrimLine (boolean)
boolean trim
public final void addOutput (byte[], int, int)
java.io.UnsupportedEncodingException e
int index
String line
String[] lines
String s
int start
byte[] data
int offset
int length
public final void flush ()
public void done ()
public abstract void processNewLines (java.lang.String[])
}
com/android/ddmlib/NativeAllocationInfo.classNativeAllocationInfo.java
package com.android.ddmlib
public com.android.ddmlib.NativeAllocationInfo extends java.lang.Object {
public static final String END_STACKTRACE_KW
public static final String BEGIN_STACKTRACE_KW
public static final String TOTAL_SIZE_KW
public static final String SIZE_KW
public static final String ALLOCATIONS_KW
private static final int FLAG_ZYGOTE_CHILD
private static final int FLAG_MASK
private static final java.util.List FILTERED_LIBRARIES
private static final java.util.List FILTERED_METHOD_NAME_PATTERNS
private final int mSize
private final boolean mIsZygoteChild
private int mAllocations
private final java.util.ArrayList mStackCallAddresses
private java.util.ArrayList mResolvedStackCall
private boolean mIsStackCallResolved
public void (int, int)
int size
int allocations
public void addStackCallAddress (long)
long address
public int getSize ()
public boolean isZygoteChild ()
public int getAllocationCount ()
public boolean isStackCallResolved ()
public java.util.List getStackCallAddresses ()
public synchronized void setResolvedStackCall (java.util.List)
java.util.List resolvedStackCall
public synchronized java.util.List getResolvedStackCall ()
public boolean equals (java.lang.Object)
com.android.ddmlib.NativeAllocationInfo mi
Object obj
public boolean stackEquals (com.android.ddmlib.NativeAllocationInfo)
long a
long b
int i
com.android.ddmlib.NativeAllocationInfo mi
int count
public int hashCode ()
long addr
java.util.Iterator i$
int result
public java.lang.String toString ()
long addr
com.android.ddmlib.NativeStackCallInfo source
java.util.Iterator i$
StringBuilder buffer
public synchronized com.android.ddmlib.NativeStackCallInfo getRelevantStackCallInfo ()
com.android.ddmlib.NativeStackCallInfo info
java.util.Iterator i$
private boolean isRelevantLibrary (java.lang.String)
String l
java.util.Iterator i$
String libPath
private boolean isRelevantMethod (java.lang.String)
java.util.regex.Matcher m
java.util.regex.Pattern p
java.util.Iterator i$
String methodName
static void ()
}
com/android/ddmlib/NativeLibraryMapInfo.classNativeLibraryMapInfo.java
package com.android.ddmlib
public final com.android.ddmlib.NativeLibraryMapInfo extends java.lang.Object {
private long mStartAddr
private long mEndAddr
private String mLibrary
void (long, long, java.lang.String)
long startAddr
long endAddr
String library
public java.lang.String getLibraryName ()
public long getStartAddress ()
public long getEndAddress ()
public boolean isWithinLibrary (long)
long address
}
com/android/ddmlib/NativeStackCallInfo.classNativeStackCallInfo.java
package com.android.ddmlib
public final com.android.ddmlib.NativeStackCallInfo extends java.lang.Object {
private static final java.util.regex.Pattern SOURCE_NAME_PATTERN
private long mAddress
private String mLibrary
private String mMethod
private String mSourceFile
private int mLineNumber
public void (long, java.lang.String, java.lang.String, java.lang.String)
NumberFormatException e
long address
String lib
String method
String sourceFile
java.util.regex.Matcher m
public long getAddress ()
public java.lang.String getLibraryName ()
public java.lang.String getMethodName ()
public java.lang.String getSourceFile ()
public int getLineNumber ()
public java.lang.String toString ()
static void ()
}
com/android/ddmlib/NullOutputReceiver.classNullOutputReceiver.java
package com.android.ddmlib
public final com.android.ddmlib.NullOutputReceiver extends java.lang.Object implements com.android.ddmlib.IShellOutputReceiver {
private static com.android.ddmlib.NullOutputReceiver sReceiver
public void ()
public static com.android.ddmlib.IShellOutputReceiver getReceiver ()
public void addOutput (byte[], int, int)
byte[] data
int offset
int length
public void flush ()
public boolean isCancelled ()
static void ()
}
com/android/ddmlib/RawImage.classRawImage.java
package com.android.ddmlib
public final com.android.ddmlib.RawImage extends java.lang.Object {
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 ()
public boolean readHeader (int, java.nio.ByteBuffer)
int version
java.nio.ByteBuffer buf
public int getRedMask ()
public int getGreenMask ()
public int getBlueMask ()
public static int getHeaderSize (int)
int version
public com.android.ddmlib.RawImage getRotated ()
int x
int y
com.android.ddmlib.RawImage rotated
int count
int byteCount
int w
int h
public int getARGB (int)
int value
int r
int g
int b
int a
int value
int r
int g
int b
int a
int index
int value
int r
int g
int b
int a
private int getMask (int, int)
int length
int offset
int res
private static int getMask (int)
int length
}
com/android/ddmlib/ScreenRecorderOptions$1.classScreenRecorderOptions.java
package com.android.ddmlib
synthetic com.android.ddmlib.ScreenRecorderOptions$1 extends java.lang.Object {
}
com/android/ddmlib/ScreenRecorderOptions$Builder.classScreenRecorderOptions.java
package com.android.ddmlib
public com.android.ddmlib.ScreenRecorderOptions$Builder extends java.lang.Object {
private int mWidth
private int mHeight
private int mBitRate
private long mTime
private java.util.concurrent.TimeUnit mTimeUnits
public void ()
public com.android.ddmlib.ScreenRecorderOptions$Builder setSize (int, int)
int w
int h
public com.android.ddmlib.ScreenRecorderOptions$Builder setBitRate (int)
int bitRateMbps
public com.android.ddmlib.ScreenRecorderOptions$Builder setTimeLimit (long, java.util.concurrent.TimeUnit)
long time
java.util.concurrent.TimeUnit units
public com.android.ddmlib.ScreenRecorderOptions build ()
static synthetic int access$000 (com.android.ddmlib.ScreenRecorderOptions$Builder)
com.android.ddmlib.ScreenRecorderOptions$Builder x0
static synthetic int access$100 (com.android.ddmlib.ScreenRecorderOptions$Builder)
com.android.ddmlib.ScreenRecorderOptions$Builder x0
static synthetic int access$200 (com.android.ddmlib.ScreenRecorderOptions$Builder)
com.android.ddmlib.ScreenRecorderOptions$Builder x0
static synthetic long access$300 (com.android.ddmlib.ScreenRecorderOptions$Builder)
com.android.ddmlib.ScreenRecorderOptions$Builder x0
static synthetic java.util.concurrent.TimeUnit access$400 (com.android.ddmlib.ScreenRecorderOptions$Builder)
com.android.ddmlib.ScreenRecorderOptions$Builder x0
}
com/android/ddmlib/ScreenRecorderOptions.classScreenRecorderOptions.java
package com.android.ddmlib
public com.android.ddmlib.ScreenRecorderOptions extends java.lang.Object {
public final int width
public final int height
public final int bitrateMbps
public final long timeLimit
public final java.util.concurrent.TimeUnit timeLimitUnits
private void (com.android.ddmlib.ScreenRecorderOptions$Builder)
com.android.ddmlib.ScreenRecorderOptions$Builder builder
synthetic void (com.android.ddmlib.ScreenRecorderOptions$Builder, com.android.ddmlib.ScreenRecorderOptions$1)
com.android.ddmlib.ScreenRecorderOptions$Builder x0
com.android.ddmlib.ScreenRecorderOptions$1 x1
}
com/android/ddmlib/ShellCommandUnresponsiveException.classShellCommandUnresponsiveException.java
package com.android.ddmlib
public com.android.ddmlib.ShellCommandUnresponsiveException extends java.lang.Exception {
private static final long serialVersionUID
public void ()
}
com/android/ddmlib/SyncException$SyncError.classSyncException.java
package com.android.ddmlib
public final enum com.android.ddmlib.SyncException$SyncError extends java.lang.Enum {
public static final enum com.android.ddmlib.SyncException$SyncError CANCELED
public static final enum com.android.ddmlib.SyncException$SyncError TRANSFER_PROTOCOL_ERROR
public static final enum com.android.ddmlib.SyncException$SyncError NO_REMOTE_OBJECT
public static final enum com.android.ddmlib.SyncException$SyncError TARGET_IS_FILE
public static final enum com.android.ddmlib.SyncException$SyncError NO_DIR_TARGET
public static final enum com.android.ddmlib.SyncException$SyncError REMOTE_PATH_ENCODING
public static final enum com.android.ddmlib.SyncException$SyncError REMOTE_PATH_LENGTH
public static final enum com.android.ddmlib.SyncException$SyncError FILE_READ_ERROR
public static final enum com.android.ddmlib.SyncException$SyncError FILE_WRITE_ERROR
public static final enum com.android.ddmlib.SyncException$SyncError LOCAL_IS_DIRECTORY
public static final enum com.android.ddmlib.SyncException$SyncError NO_LOCAL_FILE
public static final enum com.android.ddmlib.SyncException$SyncError REMOTE_IS_FILE
public static final enum com.android.ddmlib.SyncException$SyncError BUFFER_OVERRUN
private final String mMessage
private static final synthetic com.android.ddmlib.SyncException$SyncError[] $VALUES
public static com.android.ddmlib.SyncException$SyncError[] values ()
public static com.android.ddmlib.SyncException$SyncError valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String message
public java.lang.String getMessage ()
static void ()
}
com/android/ddmlib/SyncException.classSyncException.java
package com.android.ddmlib
public com.android.ddmlib.SyncException extends com.android.ddmlib.CanceledException {
private static final long serialVersionUID
private final com.android.ddmlib.SyncException$SyncError mError
public void (com.android.ddmlib.SyncException$SyncError)
com.android.ddmlib.SyncException$SyncError error
public void (com.android.ddmlib.SyncException$SyncError, java.lang.String)
com.android.ddmlib.SyncException$SyncError error
String message
public void (com.android.ddmlib.SyncException$SyncError, java.lang.Throwable)
com.android.ddmlib.SyncException$SyncError error
Throwable cause
public com.android.ddmlib.SyncException$SyncError getErrorCode ()
public boolean wasCanceled ()
}
com/android/ddmlib/SyncService$1.classSyncService.java
package com.android.ddmlib
synthetic com.android.ddmlib.SyncService$1 extends java.lang.Object {
}
com/android/ddmlib/SyncService$ISyncProgressMonitor.classSyncService.java
package com.android.ddmlib
public abstract com.android.ddmlib.SyncService$ISyncProgressMonitor extends java.lang.Object {
public abstract void start (int)
public abstract void stop ()
public abstract boolean isCanceled ()
public abstract void startSubTask (java.lang.String)
public abstract void advance (int)
}
com/android/ddmlib/SyncService$NullSyncProgressMonitor.classSyncService.java
package com.android.ddmlib
com.android.ddmlib.SyncService$NullSyncProgressMonitor extends java.lang.Object implements com.android.ddmlib.SyncService$ISyncProgressMonitor {
private void ()
public void advance (int)
int work
public boolean isCanceled ()
public void start (int)
int totalWork
public void startSubTask (java.lang.String)
String name
public void stop ()
synthetic void (com.android.ddmlib.SyncService$1)
com.android.ddmlib.SyncService$1 x0
}
com/android/ddmlib/SyncService.classSyncService.java
package com.android.ddmlib
public final com.android.ddmlib.SyncService extends java.lang.Object {
private static final byte[] ID_OKAY
private static final byte[] ID_FAIL
private static final byte[] ID_STAT
private static final byte[] ID_RECV
private static final byte[] ID_DATA
private static final byte[] ID_DONE
private static final byte[] ID_SEND
private static final com.android.ddmlib.SyncService$NullSyncProgressMonitor sNullSyncProgressMonitor
private static final int S_ISOCK
private static final int S_IFLNK
private static final int S_IFREG
private static final int S_IFBLK
private static final int S_IFDIR
private static final int S_IFCHR
private static final int S_IFIFO
private static final int SYNC_DATA_MAX
private static final int REMOTE_PATH_MAX_LENGTH
private java.net.InetSocketAddress mAddress
private com.android.ddmlib.Device mDevice
private java.nio.channels.SocketChannel mChannel
private byte[] mBuffer
void (java.net.InetSocketAddress, com.android.ddmlib.Device)
java.net.InetSocketAddress address
com.android.ddmlib.Device device
boolean openSync () throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException java.io.IOException
byte[] request
com.android.ddmlib.AdbHelper$AdbResponse resp
java.io.IOException e2
com.android.ddmlib.TimeoutException e
java.io.IOException e2
java.io.IOException e
public void close ()
java.io.IOException e
public static com.android.ddmlib.SyncService$ISyncProgressMonitor getNullProgressMonitor ()
public void pull (com.android.ddmlib.FileListingService$FileEntry[], java.lang.String, com.android.ddmlib.SyncService$ISyncProgressMonitor) throws com.android.ddmlib.SyncException java.io.IOException com.android.ddmlib.TimeoutException
com.android.ddmlib.FileListingService$FileEntry[] entries
String localPath
com.android.ddmlib.SyncService$ISyncProgressMonitor monitor
java.io.File f
com.android.ddmlib.FileListingService fls
int total
public void pullFile (com.android.ddmlib.FileListingService$FileEntry, java.lang.String, com.android.ddmlib.SyncService$ISyncProgressMonitor) throws java.io.IOException com.android.ddmlib.SyncException com.android.ddmlib.TimeoutException
com.android.ddmlib.FileListingService$FileEntry remote
String localFilename
com.android.ddmlib.SyncService$ISyncProgressMonitor monitor
int total
public void pullFile (java.lang.String, java.lang.String, com.android.ddmlib.SyncService$ISyncProgressMonitor) throws com.android.ddmlib.TimeoutException java.io.IOException com.android.ddmlib.SyncException
String remoteFilepath
String localFilename
com.android.ddmlib.SyncService$ISyncProgressMonitor monitor
Integer mode
public void push (java.lang.String[], com.android.ddmlib.FileListingService$FileEntry, com.android.ddmlib.SyncService$ISyncProgressMonitor) throws com.android.ddmlib.SyncException java.io.IOException com.android.ddmlib.TimeoutException
String path
String[] arr$
int len$
int i$
String[] local
com.android.ddmlib.FileListingService$FileEntry remote
com.android.ddmlib.SyncService$ISyncProgressMonitor monitor
java.util.ArrayList files
java.io.File[] fileArray
int total
public void pushFile (java.lang.String, java.lang.String, com.android.ddmlib.SyncService$ISyncProgressMonitor) throws com.android.ddmlib.SyncException java.io.IOException com.android.ddmlib.TimeoutException
String local
String remote
com.android.ddmlib.SyncService$ISyncProgressMonitor monitor
java.io.File f
private int getTotalRemoteFileSize (com.android.ddmlib.FileListingService$FileEntry[], com.android.ddmlib.FileListingService)
com.android.ddmlib.FileListingService$FileEntry[] children
int type
com.android.ddmlib.FileListingService$FileEntry e
com.android.ddmlib.FileListingService$FileEntry[] arr$
int len$
int i$
com.android.ddmlib.FileListingService$FileEntry[] entries
com.android.ddmlib.FileListingService fls
int count
private int getTotalLocalFileSize (java.io.File[])
java.io.File f
java.io.File[] arr$
int len$
int i$
java.io.File[] files
int count
private void doPull (com.android.ddmlib.FileListingService$FileEntry[], java.lang.String, com.android.ddmlib.FileListingService, com.android.ddmlib.SyncService$ISyncProgressMonitor) throws com.android.ddmlib.SyncException java.io.IOException com.android.ddmlib.TimeoutException
String dest
java.io.File d
com.android.ddmlib.FileListingService$FileEntry[] children
String dest
int type
com.android.ddmlib.FileListingService$FileEntry e
com.android.ddmlib.FileListingService$FileEntry[] arr$
int len$
int i$
com.android.ddmlib.FileListingService$FileEntry[] entries
String localPath
com.android.ddmlib.FileListingService fileListingService
com.android.ddmlib.SyncService$ISyncProgressMonitor monitor
private void doPullFile (java.lang.String, java.lang.String, com.android.ddmlib.SyncService$ISyncProgressMonitor) throws java.io.IOException com.android.ddmlib.SyncException com.android.ddmlib.TimeoutException
byte[] remotePathContent
java.io.UnsupportedEncodingException e
int length
byte[] data
java.io.IOException e
String remotePath
String localPath
com.android.ddmlib.SyncService$ISyncProgressMonitor monitor
byte[] msg
byte[] pullResult
int timeOut
java.io.File f
java.io.FileOutputStream fos
private void doPush (java.io.File[], java.lang.String, com.android.ddmlib.SyncService$ISyncProgressMonitor) throws com.android.ddmlib.SyncException java.io.IOException com.android.ddmlib.TimeoutException
String dest
String remoteFile
java.io.File f
java.io.File[] arr$
int len$
int i$
java.io.File[] fileArray
String remotePath
com.android.ddmlib.SyncService$ISyncProgressMonitor monitor
private void doPushFile (java.lang.String, java.lang.String, com.android.ddmlib.SyncService$ISyncProgressMonitor) throws com.android.ddmlib.SyncException java.io.IOException com.android.ddmlib.TimeoutException
int readCount
byte[] remotePathContent
java.io.File f
java.io.UnsupportedEncodingException e
String localPath
String remotePath
com.android.ddmlib.SyncService$ISyncProgressMonitor monitor
java.io.FileInputStream fis
byte[] msg
int timeOut
long time
byte[] result
private java.lang.String readErrorMessage (byte[], int) throws com.android.ddmlib.TimeoutException java.io.IOException
String message
int len
byte[] result
int timeOut
private java.lang.Integer readMode (java.lang.String) throws com.android.ddmlib.TimeoutException java.io.IOException
String path
byte[] msg
byte[] statResult
private static byte[] createReq (byte[], int)
byte[] command
int value
byte[] array
private static byte[] createFileReq (byte[], java.lang.String)
java.io.UnsupportedEncodingException e
byte[] command
String path
byte[] pathContent
private static byte[] createFileReq (byte[], byte[])
byte[] command
byte[] path
byte[] array
private static byte[] createSendFileReq (byte[], byte[], int)
java.io.UnsupportedEncodingException e
byte[] command
byte[] path
int mode
String modeStr
byte[] modeContent
byte[] array
private static boolean checkResult (byte[], byte[])
byte[] result
byte[] code
private static int getFileType (int)
int mode
private byte[] getBuffer ()
static void ()
}
com/android/ddmlib/ThreadInfo.classThreadInfo.java
package com.android.ddmlib
public final com.android.ddmlib.ThreadInfo extends java.lang.Object implements com.android.ddmlib.IStackTraceInfo {
private int mThreadId
private String mThreadName
private int mStatus
private int mTid
private int mUtime
private int mStime
private boolean mIsDaemon
private StackTraceElement[] mTrace
private long mTraceTime
void (int, java.lang.String)
int threadId
String threadName
void updateThread (int, int, int, int, boolean)
int status
int tid
int utime
int stime
boolean isDaemon
void setStackCall (java.lang.StackTraceElement[])
StackTraceElement[] trace
public int getThreadId ()
public java.lang.String getThreadName ()
void setThreadName (java.lang.String)
String name
public int getTid ()
public int getStatus ()
public int getUtime ()
public int getStime ()
public boolean isDaemon ()
public java.lang.StackTraceElement[] getStackTrace ()
public long getStackCallTime ()
}
com/android/ddmlib/TimeoutException.classTimeoutException.java
package com.android.ddmlib
public com.android.ddmlib.TimeoutException extends java.lang.Exception {
private static final long serialVersionUID
public void ()
public void (java.lang.String)
String s
public void (java.lang.String, java.lang.Throwable)
String s
Throwable throwable
public void (java.lang.Throwable)
Throwable throwable
}
com/android/ddmlib/log/
com/android/ddmlib/log/EventContainer$1.classEventContainer.java
package com.android.ddmlib.log
synthetic com.android.ddmlib.log.EventContainer$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ddmlib$log$EventContainer$EventValueType
static final synthetic int[] $SwitchMap$com$android$ddmlib$log$EventContainer$CompareMethod
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ddmlib/log/EventContainer$CompareMethod.classEventContainer.java
package com.android.ddmlib.log
public final enum com.android.ddmlib.log.EventContainer$CompareMethod extends java.lang.Enum {
public static final enum com.android.ddmlib.log.EventContainer$CompareMethod EQUAL_TO
public static final enum com.android.ddmlib.log.EventContainer$CompareMethod LESSER_THAN
public static final enum com.android.ddmlib.log.EventContainer$CompareMethod LESSER_THAN_STRICT
public static final enum com.android.ddmlib.log.EventContainer$CompareMethod GREATER_THAN
public static final enum com.android.ddmlib.log.EventContainer$CompareMethod GREATER_THAN_STRICT
public static final enum com.android.ddmlib.log.EventContainer$CompareMethod BIT_CHECK
private final String mName
private final String mTestString
private static final synthetic com.android.ddmlib.log.EventContainer$CompareMethod[] $VALUES
public static com.android.ddmlib.log.EventContainer$CompareMethod[] values ()
public static com.android.ddmlib.log.EventContainer$CompareMethod valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String, java.lang.String)
String name
String testString
public java.lang.String toString ()
public java.lang.String testString ()
static void ()
}
com/android/ddmlib/log/EventContainer$EventValueType.classEventContainer.java
package com.android.ddmlib.log
public final enum com.android.ddmlib.log.EventContainer$EventValueType extends java.lang.Enum {
public static final enum com.android.ddmlib.log.EventContainer$EventValueType UNKNOWN
public static final enum com.android.ddmlib.log.EventContainer$EventValueType INT
public static final enum com.android.ddmlib.log.EventContainer$EventValueType LONG
public static final enum com.android.ddmlib.log.EventContainer$EventValueType STRING
public static final enum com.android.ddmlib.log.EventContainer$EventValueType LIST
public static final enum com.android.ddmlib.log.EventContainer$EventValueType TREE
private static final java.util.regex.Pattern STORAGE_PATTERN
private int mValue
private static final synthetic com.android.ddmlib.log.EventContainer$EventValueType[] $VALUES
public static com.android.ddmlib.log.EventContainer$EventValueType[] values ()
public static com.android.ddmlib.log.EventContainer$EventValueType valueOf (java.lang.String)
String name
static com.android.ddmlib.log.EventContainer$EventValueType getEventValueType (int)
com.android.ddmlib.log.EventContainer$EventValueType type
com.android.ddmlib.log.EventContainer$EventValueType[] arr$
int len$
int i$
int value
public static java.lang.String getStorageString (java.lang.Object)
Object object
public static java.lang.Object getObjectFromStorageString (java.lang.String)
com.android.ddmlib.log.EventContainer$EventValueType type
NumberFormatException nfe
String value
java.util.regex.Matcher m
public int getValue ()
public java.lang.String toString ()
private void (java.lang.String, int, int)
int value
static void ()
}
com/android/ddmlib/log/EventContainer.classEventContainer.java
package com.android.ddmlib.log
public com.android.ddmlib.log.EventContainer extends java.lang.Object {
public int mTag
public int pid
public int tid
public int sec
public int nsec
private Object mData
void (com.android.ddmlib.log.LogReceiver$LogEntry, int, java.lang.Object)
com.android.ddmlib.log.LogReceiver$LogEntry entry
int tag
Object data
void (int, int, int, int, int, java.lang.Object)
int tag
int pid
int tid
int sec
int nsec
Object data
public final java.lang.Integer getInt () throws com.android.ddmlib.log.InvalidTypeException
public final java.lang.Long getLong () throws com.android.ddmlib.log.InvalidTypeException
public final java.lang.String getString () throws com.android.ddmlib.log.InvalidTypeException
public java.lang.Object getValue (int)
int valueIndex
public double getValueAsDouble (int) throws com.android.ddmlib.log.InvalidTypeException
int valueIndex
public java.lang.String getValueAsString (int) throws com.android.ddmlib.log.InvalidTypeException
int valueIndex
public com.android.ddmlib.log.EventContainer$EventValueType getType ()
public final com.android.ddmlib.log.EventContainer$EventValueType getType (java.lang.Object)
com.android.ddmlib.log.EventContainer$EventValueType type
Object obj
Object[] arr$
int len$
int i$
Object[] objects
Object data
public boolean testValue (int, java.lang.Object, com.android.ddmlib.log.EventContainer$CompareMethod) throws com.android.ddmlib.log.InvalidTypeException
int index
Object value
com.android.ddmlib.log.EventContainer$CompareMethod compareMethod
com.android.ddmlib.log.EventContainer$EventValueType type
Object data
private final java.lang.Object getValue (java.lang.Object, int, boolean)
Object[] list
Object data
int valueIndex
boolean recursive
com.android.ddmlib.log.EventContainer$EventValueType type
private final double getValueAsDouble (java.lang.Object, int, boolean) throws com.android.ddmlib.log.InvalidTypeException
Object[] list
Object data
int valueIndex
boolean recursive
com.android.ddmlib.log.EventContainer$EventValueType type
private final java.lang.String getValueAsString (java.lang.Object, int, boolean) throws com.android.ddmlib.log.InvalidTypeException
Object[] list
Object data
int valueIndex
boolean recursive
com.android.ddmlib.log.EventContainer$EventValueType type
}
com/android/ddmlib/log/EventLogParser$1.classEventLogParser.java
package com.android.ddmlib.log
com.android.ddmlib.log.EventLogParser$1 extends com.android.ddmlib.MultiLineReceiver {
final synthetic com.android.ddmlib.log.EventLogParser this$0
void (com.android.ddmlib.log.EventLogParser)
public void processNewLines (java.lang.String[])
String line
String[] arr$
int len$
int i$
String[] lines
public boolean isCancelled ()
}
com/android/ddmlib/log/EventLogParser$2.classEventLogParser.java
package com.android.ddmlib.log
synthetic com.android.ddmlib.log.EventLogParser$2 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ddmlib$log$EventContainer$EventValueType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ddmlib/log/EventLogParser.classEventLogParser.java
package com.android.ddmlib.log
public final com.android.ddmlib.log.EventLogParser extends java.lang.Object {
private static final String EVENT_TAG_MAP_FILE
private static final int EVENT_TYPE_INT
private static final int EVENT_TYPE_LONG
private static final int EVENT_TYPE_STRING
private static final int EVENT_TYPE_LIST
private static final java.util.regex.Pattern PATTERN_SIMPLE_TAG
private static final java.util.regex.Pattern PATTERN_TAG_WITH_DESC
private static final java.util.regex.Pattern PATTERN_DESCRIPTION
private static final java.util.regex.Pattern TEXT_LOG_LINE
private final java.util.TreeMap mTagMap
private final java.util.TreeMap mValueDescriptionMap
public void ()
public boolean init (com.android.ddmlib.IDevice)
Exception e
com.android.ddmlib.IDevice device
public boolean init (java.lang.String[])
String line
String[] arr$
int len$
int i$
String[] tagFileContent
public boolean init (java.lang.String)
java.io.IOException e
String line
java.io.IOException e
java.io.IOException e
java.io.IOException e
String filePath
java.io.BufferedReader reader
private void processTagLine (java.lang.String)
com.android.ddmlib.log.EventValueDescription[] desc
String description
int value
String name
NumberFormatException e
int value
String name
java.util.regex.Matcher m
String line
private com.android.ddmlib.log.EventValueDescription[] processDescription (java.lang.String)
com.android.ddmlib.log.EventValueDescription$ValueType valueType
String name
String typeString
int typeValue
com.android.ddmlib.log.EventContainer$EventValueType eventValueType
NumberFormatException nfe
com.android.ddmlib.log.InvalidValueTypeException e
java.util.regex.Matcher m
String desc
String[] arr$
int len$
int i$
String description
String[] descriptions
java.util.ArrayList list
public com.android.ddmlib.log.EventContainer parse (com.android.ddmlib.log.LogReceiver$LogEntry)
Object data
com.android.ddmlib.log.LogReceiver$LogEntry entry
int inOffset
int tagValue
String tag
java.util.ArrayList list
Object data
com.android.ddmlib.log.EventContainer event
public com.android.ddmlib.log.EventContainer parse (java.lang.String)
java.util.Map$Entry entry
java.util.Iterator i$
int month
int day
int hours
int minutes
int seconds
int milliseconds
java.util.Calendar cal
int sec
int nsec
String tag
int tagValue
java.util.Set tagSet
int pid
Object data
com.android.ddmlib.log.EventContainer event
NumberFormatException e
String textLogLine
java.util.regex.Matcher m
public java.util.Map getTagMap ()
public java.util.Map getEventInfoMap ()
private static int parseBinaryEvent (byte[], int, java.util.ArrayList)
int ival
long lval
String str
java.io.UnsupportedEncodingException e
int strLen
int result
int i
int count
java.util.ArrayList subList
byte[] eventData
int dataOffset
java.util.ArrayList list
int offset
int type
private java.lang.Object parseTextData (java.lang.String, int)
Object[] objects
Object obj
int i
Object[] objects
String[] values
String data
int tagValue
com.android.ddmlib.log.EventValueDescription[] desc
private java.lang.Object getObjectFromString (java.lang.String, com.android.ddmlib.log.EventContainer$EventValueType)
NumberFormatException e
String value
com.android.ddmlib.log.EventContainer$EventValueType type
public void saveTags (java.lang.String) throws java.io.IOException
com.android.ddmlib.log.EventValueDescription evd
com.android.ddmlib.log.EventValueDescription[] arr$
int len$
int i$
StringBuilder sb
boolean first
String tagName
com.android.ddmlib.log.EventValueDescription[] descriptors
String line
byte[] buffer
Integer key
java.util.Iterator i$
String filePath
java.io.File destFile
java.io.FileOutputStream fos
static synthetic void access$000 (com.android.ddmlib.log.EventLogParser, java.lang.String)
com.android.ddmlib.log.EventLogParser x0
String x1
static void ()
}
com/android/ddmlib/log/EventValueDescription$1.classEventValueDescription.java
package com.android.ddmlib.log
synthetic com.android.ddmlib.log.EventValueDescription$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ddmlib$log$EventContainer$EventValueType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ddmlib/log/EventValueDescription$ValueType.classEventValueDescription.java
package com.android.ddmlib.log
public final enum com.android.ddmlib.log.EventValueDescription$ValueType extends java.lang.Enum {
public static final enum com.android.ddmlib.log.EventValueDescription$ValueType NOT_APPLICABLE
public static final enum com.android.ddmlib.log.EventValueDescription$ValueType OBJECTS
public static final enum com.android.ddmlib.log.EventValueDescription$ValueType BYTES
public static final enum com.android.ddmlib.log.EventValueDescription$ValueType MILLISECONDS
public static final enum com.android.ddmlib.log.EventValueDescription$ValueType ALLOCATIONS
public static final enum com.android.ddmlib.log.EventValueDescription$ValueType ID
public static final enum com.android.ddmlib.log.EventValueDescription$ValueType PERCENT
private int mValue
private static final synthetic com.android.ddmlib.log.EventValueDescription$ValueType[] $VALUES
public static com.android.ddmlib.log.EventValueDescription$ValueType[] values ()
public static com.android.ddmlib.log.EventValueDescription$ValueType valueOf (java.lang.String)
String name
public void checkType (com.android.ddmlib.log.EventContainer$EventValueType) throws com.android.ddmlib.log.InvalidValueTypeException
com.android.ddmlib.log.EventContainer$EventValueType type
public static com.android.ddmlib.log.EventValueDescription$ValueType getValueType (int)
com.android.ddmlib.log.EventValueDescription$ValueType type
com.android.ddmlib.log.EventValueDescription$ValueType[] arr$
int len$
int i$
int value
public int getValue ()
public java.lang.String toString ()
private void (java.lang.String, int, int)
int value
static void ()
}
com/android/ddmlib/log/EventValueDescription.classEventValueDescription.java
package com.android.ddmlib.log
public final com.android.ddmlib.log.EventValueDescription extends java.lang.Object {
private String mName
private com.android.ddmlib.log.EventContainer$EventValueType mEventValueType
private com.android.ddmlib.log.EventValueDescription$ValueType mValueType
void (java.lang.String, com.android.ddmlib.log.EventContainer$EventValueType)
String name
com.android.ddmlib.log.EventContainer$EventValueType type
void (java.lang.String, com.android.ddmlib.log.EventContainer$EventValueType, com.android.ddmlib.log.EventValueDescription$ValueType) throws com.android.ddmlib.log.InvalidValueTypeException
String name
com.android.ddmlib.log.EventContainer$EventValueType type
com.android.ddmlib.log.EventValueDescription$ValueType valueType
public java.lang.String getName ()
public com.android.ddmlib.log.EventContainer$EventValueType getEventValueType ()
public com.android.ddmlib.log.EventValueDescription$ValueType getValueType ()
public java.lang.String toString ()
public boolean checkForType (java.lang.Object)
Object value
public java.lang.Object getObjectFromString (java.lang.String)
NumberFormatException e
NumberFormatException e
String value
}
com/android/ddmlib/log/GcEventContainer$1.classGcEventContainer.java
package com.android.ddmlib.log
synthetic com.android.ddmlib.log.GcEventContainer$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ddmlib$log$EventContainer$CompareMethod
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ddmlib/log/GcEventContainer.classGcEventContainer.java
package com.android.ddmlib.log
final com.android.ddmlib.log.GcEventContainer extends com.android.ddmlib.log.EventContainer {
public static final int GC_EVENT_TAG
private String processId
private long gcTime
private long bytesFreed
private long objectsFreed
private long actualSize
private long allowedSize
private long softLimit
private long objectsAllocated
private long bytesAllocated
private long zActualSize
private long zAllowedSize
private long zObjectsAllocated
private long zBytesAllocated
private long dlmallocFootprint
private long mallinfoTotalAllocatedSpace
private long externalLimit
private long externalBytesAllocated
static final synthetic boolean $assertionsDisabled
void (com.android.ddmlib.log.LogReceiver$LogEntry, int, java.lang.Object)
com.android.ddmlib.log.LogReceiver$LogEntry entry
int tag
Object data
void (int, int, int, int, int, java.lang.Object)
int tag
int pid
int tid
int sec
int nsec
Object data
private void init (java.lang.Object)
int i
Object[] values
Object data
public com.android.ddmlib.log.EventContainer$EventValueType getType ()
public boolean testValue (int, java.lang.Object, com.android.ddmlib.log.EventContainer$CompareMethod) throws com.android.ddmlib.log.InvalidTypeException
int index
Object value
com.android.ddmlib.log.EventContainer$CompareMethod compareMethod
public java.lang.Object getValue (int)
com.android.ddmlib.log.InvalidTypeException e
int valueIndex
public double getValueAsDouble (int) throws com.android.ddmlib.log.InvalidTypeException
int valueIndex
public java.lang.String getValueAsString (int)
com.android.ddmlib.log.InvalidTypeException e
int valueIndex
static com.android.ddmlib.log.EventValueDescription[] getValueDescriptions ()
com.android.ddmlib.log.InvalidValueTypeException e
private void parseDvmHeapInfo (long, int)
byte[] dataArray
long data
int index
private static long float12ToInt (int)
int f12
private static void put64bitsToArray (long, byte[], int)
long value
byte[] dest
int offset
private final long getValueAsLong (int) throws com.android.ddmlib.log.InvalidTypeException
int valueIndex
static void ()
}
com/android/ddmlib/log/InvalidTypeException.classInvalidTypeException.java
package com.android.ddmlib.log
public final com.android.ddmlib.log.InvalidTypeException extends java.lang.Exception {
private static final long serialVersionUID
public void ()
public void (java.lang.String)
String message
public void (java.lang.Throwable)
Throwable cause
public void (java.lang.String, java.lang.Throwable)
String message
Throwable cause
}
com/android/ddmlib/log/InvalidValueTypeException.classInvalidValueTypeException.java
package com.android.ddmlib.log
public final com.android.ddmlib.log.InvalidValueTypeException extends java.lang.Exception {
private static final long serialVersionUID
public void ()
public void (java.lang.String)
String message
public void (java.lang.Throwable)
Throwable cause
public void (java.lang.String, java.lang.Throwable)
String message
Throwable cause
}
com/android/ddmlib/log/LogReceiver$ILogListener.classLogReceiver.java
package com.android.ddmlib.log
public abstract com.android.ddmlib.log.LogReceiver$ILogListener extends java.lang.Object {
public abstract void newEntry (com.android.ddmlib.log.LogReceiver$LogEntry)
public abstract void newData (byte[], int, int)
}
com/android/ddmlib/log/LogReceiver$LogEntry.classLogReceiver.java
package com.android.ddmlib.log
public final com.android.ddmlib.log.LogReceiver$LogEntry extends java.lang.Object {
public int len
public int pid
public int tid
public int sec
public int nsec
public byte[] data
public void ()
}
com/android/ddmlib/log/LogReceiver.classLogReceiver.java
package com.android.ddmlib.log
public final com.android.ddmlib.log.LogReceiver extends java.lang.Object {
private static final int ENTRY_HEADER_SIZE
private com.android.ddmlib.log.LogReceiver$LogEntry mCurrentEntry
private byte[] mEntryHeaderBuffer
private int mEntryHeaderOffset
private int mEntryDataOffset
private com.android.ddmlib.log.LogReceiver$ILogListener mListener
private boolean mIsCancelled
public void (com.android.ddmlib.log.LogReceiver$ILogListener)
com.android.ddmlib.log.LogReceiver$ILogListener listener
public void parseNewData (byte[], int, int)
int size
int dataSize
byte[] data
int offset
int length
public boolean isCancelled ()
public void cancel ()
private com.android.ddmlib.log.LogReceiver$LogEntry createEntry (byte[], int)
byte[] data
int offset
com.android.ddmlib.log.LogReceiver$LogEntry entry
}
com/android/ddmlib/logcat/
com/android/ddmlib/logcat/LogCatFilter.classLogCatFilter.java
package com.android.ddmlib.logcat
public final com.android.ddmlib.logcat.LogCatFilter extends java.lang.Object {
private static final String PID_KEYWORD
private static final String APP_KEYWORD
private static final String TAG_KEYWORD
private static final String TEXT_KEYWORD
private final String mName
private final String mTag
private final String mText
private final String mPid
private final String mAppName
private final com.android.ddmlib.Log$LogLevel mLogLevel
private boolean mCheckPid
private boolean mCheckAppName
private boolean mCheckTag
private boolean mCheckText
private java.util.regex.Pattern mAppNamePattern
private java.util.regex.Pattern mTagPattern
private java.util.regex.Pattern mTextPattern
public void (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.android.ddmlib.Log$LogLevel)
java.util.regex.PatternSyntaxException e
java.util.regex.PatternSyntaxException e
java.util.regex.PatternSyntaxException e
String name
String tag
String text
String pid
String appName
com.android.ddmlib.Log$LogLevel logLevel
private int getPatternCompileFlags (java.lang.String)
char c
char[] arr$
int len$
int i$
String regex
public static java.util.List fromString (java.lang.String, com.android.ddmlib.Log$LogLevel)
String tag
String text
String pid
String app
String s
String[] arr$
int len$
int i$
String query
com.android.ddmlib.Log$LogLevel minLevel
java.util.List filterSettings
public java.lang.String getName ()
public java.lang.String getTag ()
public java.lang.String getText ()
public java.lang.String getPid ()
public java.lang.String getAppName ()
public com.android.ddmlib.Log$LogLevel getLogLevel ()
public boolean matches (com.android.ddmlib.logcat.LogCatMessage)
java.util.regex.Matcher matcher
java.util.regex.Matcher matcher
java.util.regex.Matcher matcher
com.android.ddmlib.logcat.LogCatMessage m
}
com/android/ddmlib/logcat/LogCatListener.classLogCatListener.java
package com.android.ddmlib.logcat
public abstract com.android.ddmlib.logcat.LogCatListener extends java.lang.Object {
public abstract void log (java.util.List)
}
com/android/ddmlib/logcat/LogCatMessage.classLogCatMessage.java
package com.android.ddmlib.logcat
public final com.android.ddmlib.logcat.LogCatMessage extends java.lang.Object {
private final com.android.ddmlib.Log$LogLevel mLogLevel
private final String mPid
private final String mTid
private final String mAppName
private final String mTag
private final String mTime
private final String mMessage
public void (com.android.ddmlib.Log$LogLevel, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
NumberFormatException e
com.android.ddmlib.Log$LogLevel logLevel
String pid
String tid
String appName
String tag
String time
String msg
long tidValue
public com.android.ddmlib.Log$LogLevel getLogLevel ()
public java.lang.String getPid ()
public java.lang.String getTid ()
public java.lang.String getAppName ()
public java.lang.String getTag ()
public java.lang.String getTime ()
public java.lang.String getMessage ()
public java.lang.String toString ()
}
com/android/ddmlib/logcat/LogCatMessageParser.classLogCatMessageParser.java
package com.android.ddmlib.logcat
public final com.android.ddmlib.logcat.LogCatMessageParser extends java.lang.Object {
private com.android.ddmlib.Log$LogLevel mCurLogLevel
private String mCurPid
private String mCurTid
private String mCurTag
private String mCurTime
private static final java.util.regex.Pattern sLogHeaderPattern
public void ()
public java.util.List processLogLines (java.lang.String[], com.android.ddmlib.IDevice)
String pkgName
Integer pid
com.android.ddmlib.logcat.LogCatMessage m
java.util.regex.Matcher matcher
String line
String[] arr$
int len$
int i$
String[] lines
com.android.ddmlib.IDevice device
java.util.List messages
static void ()
}
com/android/ddmlib/logcat/LogCatReceiverTask$LogCatOutputReceiver.classLogCatReceiverTask.java
package com.android.ddmlib.logcat
com.android.ddmlib.logcat.LogCatReceiverTask$LogCatOutputReceiver extends com.android.ddmlib.MultiLineReceiver {
final synthetic com.android.ddmlib.logcat.LogCatReceiverTask this$0
public void (com.android.ddmlib.logcat.LogCatReceiverTask)
public boolean isCancelled ()
public void processNewLines (java.lang.String[])
String[] lines
private void processLogLines (java.lang.String[])
String[] lines
java.util.List newMessages
}
com/android/ddmlib/logcat/LogCatReceiverTask.classLogCatReceiverTask.java
package com.android.ddmlib.logcat
public com.android.ddmlib.logcat.LogCatReceiverTask extends java.lang.Object implements java.lang.Runnable {
private static final String LOGCAT_COMMAND
private static final int DEVICE_POLL_INTERVAL_MSEC
private static final com.android.ddmlib.logcat.LogCatMessage sDeviceDisconnectedMsg
private static final com.android.ddmlib.logcat.LogCatMessage sConnectionTimeoutMsg
private static final com.android.ddmlib.logcat.LogCatMessage sConnectionErrorMsg
private final com.android.ddmlib.IDevice mDevice
private final com.android.ddmlib.logcat.LogCatReceiverTask$LogCatOutputReceiver mReceiver
private final com.android.ddmlib.logcat.LogCatMessageParser mParser
private final java.util.concurrent.atomic.AtomicBoolean mCancelled
private final java.util.Set mListeners
public void (com.android.ddmlib.IDevice)
com.android.ddmlib.IDevice device
public void run ()
InterruptedException e
com.android.ddmlib.TimeoutException e
com.android.ddmlib.AdbCommandRejectedException ignored
com.android.ddmlib.ShellCommandUnresponsiveException ignored
java.io.IOException e
public void stop ()
public synchronized void addLogCatListener (com.android.ddmlib.logcat.LogCatListener)
com.android.ddmlib.logcat.LogCatListener l
public synchronized void removeLogCatListener (com.android.ddmlib.logcat.LogCatListener)
com.android.ddmlib.logcat.LogCatListener l
private synchronized void notifyListeners (java.util.List)
com.android.ddmlib.logcat.LogCatListener l
java.util.Iterator i$
java.util.List messages
private static com.android.ddmlib.logcat.LogCatMessage errorMessage (java.lang.String)
String msg
static synthetic java.util.concurrent.atomic.AtomicBoolean access$000 (com.android.ddmlib.logcat.LogCatReceiverTask)
com.android.ddmlib.logcat.LogCatReceiverTask x0
static synthetic com.android.ddmlib.IDevice access$100 (com.android.ddmlib.logcat.LogCatReceiverTask)
com.android.ddmlib.logcat.LogCatReceiverTask x0
static synthetic com.android.ddmlib.logcat.LogCatMessageParser access$200 (com.android.ddmlib.logcat.LogCatReceiverTask)
com.android.ddmlib.logcat.LogCatReceiverTask x0
static synthetic void access$300 (com.android.ddmlib.logcat.LogCatReceiverTask, java.util.List)
com.android.ddmlib.logcat.LogCatReceiverTask x0
java.util.List x1
static void ()
}
com/android/ddmlib/testrunner/
com/android/ddmlib/testrunner/IRemoteAndroidTestRunner$TestSize.classIRemoteAndroidTestRunner.java
package com.android.ddmlib.testrunner
public final enum com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize extends java.lang.Enum {
public static final enum com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize SMALL
public static final enum com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize MEDIUM
public static final enum com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize LARGE
private String mRunnerValue
private static final synthetic com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize[] $VALUES
public static com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize[] values ()
public static com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String runnerValue
java.lang.String getRunnerValue ()
public static com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize getTestSize (java.lang.String)
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize size
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize[] arr$
int len$
int i$
String value
StringBuilder msgBuilder
static void ()
}
com/android/ddmlib/testrunner/IRemoteAndroidTestRunner.classIRemoteAndroidTestRunner.java
package com.android.ddmlib.testrunner
public abstract com.android.ddmlib.testrunner.IRemoteAndroidTestRunner extends java.lang.Object {
public abstract java.lang.String getPackageName ()
public abstract java.lang.String getRunnerName ()
public abstract void setClassName (java.lang.String)
public abstract void setClassNames (java.lang.String[])
public abstract void setMethodName (java.lang.String, java.lang.String)
public abstract void setTestPackageName (java.lang.String)
public abstract void setTestSize (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize)
public abstract void addInstrumentationArg (java.lang.String, java.lang.String)
public abstract void removeInstrumentationArg (java.lang.String)
public abstract void addBooleanArg (java.lang.String, boolean)
public abstract void setLogOnly (boolean)
public abstract void setDebug (boolean)
public abstract void setCoverage (boolean)
public abstract void setMaxtimeToOutputResponse (int)
public abstract void setMaxTimeToOutputResponse (long, java.util.concurrent.TimeUnit)
public abstract void setRunName (java.lang.String)
public transient abstract void run (com.android.ddmlib.testrunner.ITestRunListener[]) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
public abstract void run (java.util.Collection) throws com.android.ddmlib.TimeoutException com.android.ddmlib.AdbCommandRejectedException com.android.ddmlib.ShellCommandUnresponsiveException java.io.IOException
public abstract void cancel ()
}
com/android/ddmlib/testrunner/ITestRunListener$TestFailure.classITestRunListener.java
package com.android.ddmlib.testrunner
public final enum com.android.ddmlib.testrunner.ITestRunListener$TestFailure extends java.lang.Enum {
public static final enum com.android.ddmlib.testrunner.ITestRunListener$TestFailure ERROR
public static final enum com.android.ddmlib.testrunner.ITestRunListener$TestFailure FAILURE
private static final synthetic com.android.ddmlib.testrunner.ITestRunListener$TestFailure[] $VALUES
public static com.android.ddmlib.testrunner.ITestRunListener$TestFailure[] values ()
public static com.android.ddmlib.testrunner.ITestRunListener$TestFailure valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ddmlib/testrunner/ITestRunListener.classITestRunListener.java
package com.android.ddmlib.testrunner
public abstract com.android.ddmlib.testrunner.ITestRunListener extends java.lang.Object {
public abstract void testRunStarted (java.lang.String, int)
public abstract void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
public abstract void testFailed (com.android.ddmlib.testrunner.ITestRunListener$TestFailure, com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
public abstract void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
public abstract void testRunFailed (java.lang.String)
public abstract void testRunStopped (long)
public abstract void testRunEnded (long, java.util.Map)
}
com/android/ddmlib/testrunner/InstrumentationResultParser$1.classInstrumentationResultParser.java
package com.android.ddmlib.testrunner
synthetic com.android.ddmlib.testrunner.InstrumentationResultParser$1 extends java.lang.Object {
}
com/android/ddmlib/testrunner/InstrumentationResultParser$Prefixes.classInstrumentationResultParser.java
package com.android.ddmlib.testrunner
com.android.ddmlib.testrunner.InstrumentationResultParser$Prefixes extends java.lang.Object {
private static final String STATUS
private static final String STATUS_CODE
private static final String STATUS_FAILED
private static final String CODE
private static final String RESULT
private static final String TIME_REPORT
private void ()
}
com/android/ddmlib/testrunner/InstrumentationResultParser$StatusCodes.classInstrumentationResultParser.java
package com.android.ddmlib.testrunner
com.android.ddmlib.testrunner.InstrumentationResultParser$StatusCodes extends java.lang.Object {
private static final int FAILURE
private static final int START
private static final int ERROR
private static final int OK
private static final int IN_PROGRESS
private void ()
}
com/android/ddmlib/testrunner/InstrumentationResultParser$StatusKeys.classInstrumentationResultParser.java
package com.android.ddmlib.testrunner
com.android.ddmlib.testrunner.InstrumentationResultParser$StatusKeys extends java.lang.Object {
private static final String TEST
private static final String CLASS
private static final String STACK
private static final String NUMTESTS
private static final String ERROR
private static final String SHORTMSG
private void ()
}
com/android/ddmlib/testrunner/InstrumentationResultParser$TestResult.classInstrumentationResultParser.java
package com.android.ddmlib.testrunner
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult extends java.lang.Object {
private Integer mCode
private String mTestName
private String mTestClass
private String mStackTrace
private Integer mNumTests
private void ()
boolean isComplete ()
public java.lang.String toString ()
StringBuilder output
static synthetic java.lang.String access$002 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult, java.lang.String)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
String x1
static synthetic java.lang.String access$102 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult, java.lang.String)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
String x1
static synthetic java.lang.Integer access$202 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult, java.lang.Integer)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
Integer x1
static synthetic java.lang.String access$302 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult, java.lang.String)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
String x1
synthetic void (com.android.ddmlib.testrunner.InstrumentationResultParser$1)
com.android.ddmlib.testrunner.InstrumentationResultParser$1 x0
static synthetic java.lang.Integer access$502 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult, java.lang.Integer)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
Integer x1
static synthetic java.lang.Integer access$500 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
static synthetic java.lang.String access$000 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
static synthetic java.lang.String access$100 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
static synthetic java.lang.Integer access$200 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
static synthetic java.lang.String access$300 (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult x0
}
com/android/ddmlib/testrunner/InstrumentationResultParser.classInstrumentationResultParser.java
package com.android.ddmlib.testrunner
public com.android.ddmlib.testrunner.InstrumentationResultParser extends com.android.ddmlib.MultiLineReceiver {
private static final java.util.Set KNOWN_KEYS
private final java.util.Collection mTestListeners
private final String mTestRunName
private com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult mCurrentTestResult
private com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult mLastTestResult
private String mCurrentKey
private StringBuilder mCurrentValue
private boolean mTestStartReported
private boolean mTestRunFinished
private boolean mTestRunFailReported
private long mTestTime
private boolean mIsCancelled
private int mNumTestsRun
private int mNumTestsExpected
private boolean mInInstrumentationResultKey
private java.util.Map mInstrumentationResultBundle
private java.util.Map mTestMetrics
private static final String LOG_TAG
static final String NO_TEST_RESULTS_MSG
static final String INCOMPLETE_TEST_ERR_MSG_PREFIX
static final String INCOMPLETE_TEST_ERR_MSG_POSTFIX
static final String INCOMPLETE_RUN_ERR_MSG_PREFIX
public void (java.lang.String, java.util.Collection)
String runName
java.util.Collection listeners
public void (java.lang.String, com.android.ddmlib.testrunner.ITestRunListener)
String runName
com.android.ddmlib.testrunner.ITestRunListener listener
public void processNewLines (java.lang.String[])
String line
String[] arr$
int len$
int i$
String[] lines
private void parse (java.lang.String)
String line
private void submitCurrentKeyValue ()
NumberFormatException e
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult testInfo
String statusValue
private java.util.Map getAndResetTestMetrics ()
java.util.Map retVal
private com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult getCurrentTestInfo ()
private void clearCurrentTestInfo ()
private void parseKey (java.lang.String, int)
String line
int keyStartPos
int endKeyPos
private void parseValue (java.lang.String, int)
String line
int valueStartPos
private void parseStatusCode (java.lang.String)
NumberFormatException e
String line
String value
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult testInfo
public boolean isCancelled ()
public void cancel ()
private void reportResult (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult)
com.android.ddmlib.testrunner.ITestRunListener listener
java.util.Iterator i$
com.android.ddmlib.testrunner.ITestRunListener listener
java.util.Iterator i$
com.android.ddmlib.testrunner.ITestRunListener listener
java.util.Iterator i$
com.android.ddmlib.testrunner.ITestRunListener listener
java.util.Iterator i$
com.android.ddmlib.testrunner.ITestRunListener listener
java.util.Iterator i$
java.util.Map metrics
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult testInfo
com.android.ddmlib.testrunner.TestIdentifier testId
private void reportTestRunStarted (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult)
com.android.ddmlib.testrunner.ITestRunListener listener
java.util.Iterator i$
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult testInfo
private java.lang.String getTrace (com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult)
com.android.ddmlib.testrunner.InstrumentationResultParser$TestResult testInfo
private void parseTime (java.lang.String)
float timeSeconds
NumberFormatException e
String timeString
String line
java.util.regex.Pattern timePattern
java.util.regex.Matcher timeMatcher
public void handleTestRunFailed (java.lang.String)
com.android.ddmlib.testrunner.ITestRunListener listener
java.util.Iterator i$
com.android.ddmlib.testrunner.TestIdentifier testId
com.android.ddmlib.testrunner.ITestRunListener listener
java.util.Iterator i$
String errorMsg
public void done ()
private void handleOutputDone ()
String message
com.android.ddmlib.testrunner.ITestRunListener listener
java.util.Iterator i$
static void ()
}
com/android/ddmlib/testrunner/RemoteAndroidTestRunner.classRemoteAndroidTestRunner.java
package com.android.ddmlib.testrunner
public com.android.ddmlib.testrunner.RemoteAndroidTestRunner extends java.lang.Object implements com.android.ddmlib.testrunner.IRemoteAndroidTestRunner {
private final String mPackageName
private final String mRunnerName
private com.android.ddmlib.IShellEnabledDevice mRemoteDevice
private long mMaxTimeToOutputResponse
private java.util.concurrent.TimeUnit mMaxTimeUnits
private String mRunName
private java.util.Map mArgMap
private com.android.ddmlib.testrunner.InstrumentationResultParser mParser
private static final String LOG_TAG
private static final String DEFAULT_RUNNER_NAME
private static final char CLASS_SEPARATOR
private static final char METHOD_SEPARATOR
private static final char RUNNER_SEPARATOR
private static final String CLASS_ARG_NAME
private static final String LOG_ARG_NAME
private static final String DEBUG_ARG_NAME
private static final String COVERAGE_ARG_NAME
private static final String PACKAGE_ARG_NAME
private static final String SIZE_ARG_NAME
public void (java.lang.String, java.lang.String, com.android.ddmlib.IShellEnabledDevice)
String packageName
String runnerName
com.android.ddmlib.IShellEnabledDevice remoteDevice
public void (java.lang.String, com.android.ddmlib.IShellEnabledDevice)
String packageName
com.android.ddmlib.IShellEnabledDevice remoteDevice
public java.lang.String getPackageName ()
public java.lang.String getRunnerName ()
private java.lang.String getRunnerPath ()
public void setClassName (java.lang.String)
String className
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 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 setTestSize (com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize)
com.android.ddmlib.testrunner.IRemoteAndroidTestRunner$TestSize size
public void setMaxtimeToOutputResponse (int)
int maxTimeToOutputResponse
public void setMaxTimeToOutputResponse (long, java.util.concurrent.TimeUnit)
long maxTimeToOutputResponse
java.util.concurrent.TimeUnit maxTimeUnits
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 runCaseCommandStr
String runName
public void cancel ()
private java.lang.String getArgsCommand ()
String argCmd
java.util.Map$Entry argPair
java.util.Iterator i$
StringBuilder commandBuilder
}
com/android/ddmlib/testrunner/TestIdentifier.classTestIdentifier.java
package com.android.ddmlib.testrunner
public com.android.ddmlib.testrunner.TestIdentifier extends java.lang.Object {
private final String mClassName
private final String mTestName
public void (java.lang.String, java.lang.String)
String className
String testName
public java.lang.String getClassName ()
public java.lang.String getTestName ()
public int hashCode ()
int prime
int result
public boolean equals (java.lang.Object)
Object obj
com.android.ddmlib.testrunner.TestIdentifier other
public java.lang.String toString ()
}
com/android/ddmlib/testrunner/TestResult$TestStatus.classTestResult.java
package com.android.ddmlib.testrunner
public final enum com.android.ddmlib.testrunner.TestResult$TestStatus extends java.lang.Enum {
public static final enum com.android.ddmlib.testrunner.TestResult$TestStatus ERROR
public static final enum com.android.ddmlib.testrunner.TestResult$TestStatus FAILURE
public static final enum com.android.ddmlib.testrunner.TestResult$TestStatus PASSED
public static final enum com.android.ddmlib.testrunner.TestResult$TestStatus INCOMPLETE
private static final synthetic com.android.ddmlib.testrunner.TestResult$TestStatus[] $VALUES
public static com.android.ddmlib.testrunner.TestResult$TestStatus[] values ()
public static com.android.ddmlib.testrunner.TestResult$TestStatus valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ddmlib/testrunner/TestResult.classTestResult.java
package com.android.ddmlib.testrunner
public com.android.ddmlib.testrunner.TestResult extends java.lang.Object {
private com.android.ddmlib.testrunner.TestResult$TestStatus mStatus
private String mStackTrace
private java.util.Map mMetrics
private long mStartTime
private long mEndTime
public void ()
public com.android.ddmlib.testrunner.TestResult$TestStatus getStatus ()
public java.lang.String getStackTrace ()
public java.util.Map getMetrics ()
public void setMetrics (java.util.Map)
java.util.Map metrics
public long getStartTime ()
public long getEndTime ()
public com.android.ddmlib.testrunner.TestResult setStatus (com.android.ddmlib.testrunner.TestResult$TestStatus)
com.android.ddmlib.testrunner.TestResult$TestStatus status
public void setStackTrace (java.lang.String)
String trace
public void setEndTime (long)
long currentTimeMillis
public int hashCode ()
public boolean equals (java.lang.Object)
Object obj
com.android.ddmlib.testrunner.TestResult other
private static boolean equal (java.lang.Object, java.lang.Object)
Object a
Object b
}
com/android/ddmlib/testrunner/TestRunResult$1.classTestRunResult.java
package com.android.ddmlib.testrunner
synthetic com.android.ddmlib.testrunner.TestRunResult$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ddmlib$testrunner$TestResult$TestStatus
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ddmlib/testrunner/TestRunResult.classTestRunResult.java
package com.android.ddmlib.testrunner
public com.android.ddmlib.testrunner.TestRunResult extends java.lang.Object {
private static final String LOG_TAG
private final String mTestRunName
private java.util.Map mTestResults
private java.util.Map mRunMetrics
private boolean mIsRunComplete
private long mElapsedTime
private int mNumFailedTests
private int mNumErrorTests
private int mNumPassedTests
private int mNumInCompleteTests
private String mRunFailureError
public void (java.lang.String)
String runName
public void ()
public java.lang.String getName ()
public java.util.Map getTestResults ()
public void addMetrics (java.util.Map, boolean)
String existingValue
String combinedValue
java.util.Map$Entry entry
java.util.Iterator i$
java.util.Map runMetrics
boolean aggregateMetrics
private java.lang.String combineValues (java.lang.String, java.lang.String)
Long existingLong
Long newLong
NumberFormatException e
Double existingDouble
Double newDouble
NumberFormatException e
String existingValue
String newValue
public java.util.Map getRunMetrics ()
public java.util.Set getCompletedTests ()
java.util.Map$Entry testEntry
java.util.Iterator i$
java.util.Set completedTests
public boolean isRunFailure ()
public boolean isRunComplete ()
void setRunComplete (boolean)
boolean runComplete
void addElapsedTime (long)
long elapsedTime
void setRunFailureError (java.lang.String)
String errorMessage
public int getNumPassedTests ()
public int getNumTests ()
public int getNumCompleteTests ()
public int getNumFailedTests ()
public int getNumErrorTests ()
public int getNumIncompleteTests ()
public boolean hasFailedTests ()
public long getElapsedTime ()
public java.lang.String getRunFailureMessage ()
void reportTestStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
com.android.ddmlib.testrunner.TestResult result
void reportTestFailure (com.android.ddmlib.testrunner.TestIdentifier, com.android.ddmlib.testrunner.TestResult$TestStatus, java.lang.String)
com.android.ddmlib.testrunner.TestIdentifier test
com.android.ddmlib.testrunner.TestResult$TestStatus status
String trace
com.android.ddmlib.testrunner.TestResult result
boolean reportTestEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
com.android.ddmlib.testrunner.TestResult result
static void ()
}
com/android/ddmlib/testrunner/XmlTestRunListener.classXmlTestRunListener.java
package com.android.ddmlib.testrunner
public com.android.ddmlib.testrunner.XmlTestRunListener extends java.lang.Object implements com.android.ddmlib.testrunner.ITestRunListener {
private static final String LOG_TAG
private static final String TEST_RESULT_FILE_SUFFIX
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 String mHostName
private java.io.File mReportDir
private String mReportPath
private com.android.ddmlib.testrunner.TestRunResult mRunResult
public void ()
public void setReportDir (java.io.File)
java.io.File file
public void setHostName (java.lang.String)
String hostName
public com.android.ddmlib.testrunner.TestRunResult getRunResult ()
public void testRunStarted (java.lang.String, int)
String runName
int numTests
public void testStarted (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier test
public void testFailed (com.android.ddmlib.testrunner.ITestRunListener$TestFailure, com.android.ddmlib.testrunner.TestIdentifier, java.lang.String)
com.android.ddmlib.testrunner.ITestRunListener$TestFailure status
com.android.ddmlib.testrunner.TestIdentifier test
String trace
public void testEnded (com.android.ddmlib.testrunner.TestIdentifier, java.util.Map)
com.android.ddmlib.testrunner.TestIdentifier test
java.util.Map testMetrics
public void testRunFailed (java.lang.String)
String errorMessage
public void testRunStopped (long)
long arg0
public void testRunEnded (long, java.util.Map)
long elapsedTime
java.util.Map runMetrics
private void generateDocument (java.io.File, long)
org.kxml2.io.KXmlSerializer serializer
String msg
java.io.IOException ignored
java.io.IOException e
java.io.IOException ignored
java.io.IOException ignored
java.io.File reportDir
long elapsedTime
String timestamp
java.io.OutputStream stream
private java.lang.String getAbsoluteReportPath ()
java.lang.String getTimestamp ()
java.text.SimpleDateFormat dateFormat
java.util.TimeZone gmt
String timestamp
protected java.io.File getResultFile (java.io.File) throws java.io.IOException
java.io.File reportDir
java.io.File reportFile
java.io.OutputStream createOutputResultStream (java.io.File) throws java.io.IOException
java.io.File reportDir
java.io.File reportFile
protected java.lang.String getTestSuiteName ()
void printTestResults (org.kxml2.io.KXmlSerializer, java.lang.String, long) throws java.io.IOException
java.util.Map$Entry testEntry
java.util.Iterator i$
org.kxml2.io.KXmlSerializer serializer
String timestamp
long elapsedTime
String name
java.util.Map testResults
protected void setPropertiesAttributes (org.kxml2.io.KXmlSerializer, java.lang.String) throws java.io.IOException
org.kxml2.io.KXmlSerializer serializer
String namespace
protected java.lang.String getTestName (com.android.ddmlib.testrunner.TestIdentifier)
com.android.ddmlib.testrunner.TestIdentifier testId
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
long elapsedTimeMs
private java.lang.String sanitize (java.lang.String)
String text
static void ()
}
com/android/ddmlib/utils/
com/android/ddmlib/utils/ArrayHelper.classArrayHelper.java
package com.android.ddmlib.utils
public final com.android.ddmlib.utils.ArrayHelper extends java.lang.Object {
public void ()
public static void swap32bitsToArray (int, byte[], int)
int value
byte[] dest
int offset
public static int swap32bitFromArray (byte[], int)
byte[] value
int offset
int v
public static int swapU16bitFromArray (byte[], int)
byte[] value
int offset
int v
public static long swap64bitFromArray (byte[], int)
byte[] value
int offset
long v
}
NOTICE