|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.ddmlib.HandleViewDebug
public final class HandleViewDebug
Nested Class Summary | |
---|---|
static class |
HandleViewDebug.ViewDumpHandler
|
Field Summary | |
---|---|
static int |
CHUNK_FAIL
|
static int |
CHUNK_HEADER_LEN
|
static java.nio.ByteOrder |
CHUNK_ORDER
|
static int |
CHUNK_VUGL
Enable/Disable tracing of OpenGL calls. |
static int |
CHUNK_VULW
List ViewRootImpl 's of this process. |
static int |
CHUNK_VUOP
Generic View Operation, first parameter in the packet should be one of the VUOP_* constants below. |
static int |
CHUNK_VURT
Operation on view root, first parameter in packet should be one of VURT_* constants |
Method Summary | |
---|---|
static void |
captureLayers(Client client,
java.lang.String viewRoot,
HandleViewDebug.ViewDumpHandler handler)
|
static void |
captureView(Client client,
java.lang.String viewRoot,
java.lang.String view,
HandleViewDebug.ViewDumpHandler handler)
|
protected static Client |
checkDebuggerPortForAppName(Client client,
java.lang.String appName)
Check that the client is opened with the proper debugger port for the specified application name, and if not, reopen it. |
void |
clientDisconnected(Client client)
Client has gone away. |
void |
clientReady(Client client)
Client is ready. |
static void |
dumpDisplayList(Client client,
java.lang.String viewRoot,
java.lang.String view)
|
static void |
dumpViewHierarchy(Client client,
java.lang.String viewRoot,
boolean skipChildren,
boolean includeProperties,
HandleViewDebug.ViewDumpHandler handler)
|
static java.lang.String |
getString(java.nio.ByteBuffer buf,
int len)
Utility function to copy a String out of a ByteBuffer. |
void |
handleChunk(Client client,
int type,
java.nio.ByteBuffer data,
boolean isReply,
int msgId)
Handle an incoming chunk. |
protected void |
handleUnknownChunk(Client client,
int type,
java.nio.ByteBuffer data,
boolean isReply,
int msgId)
Handle chunks not recognized by handlers. |
static void |
invalidateView(Client client,
java.lang.String viewRoot,
java.lang.String view)
|
static void |
invokeMethod(Client client,
java.lang.String viewRoot,
java.lang.String view,
java.lang.String method,
java.lang.Object... args)
|
static void |
listViewRoots(Client client,
HandleViewDebug.ViewDumpHandler replyHandler)
|
static void |
profileView(Client client,
java.lang.String viewRoot,
java.lang.String view,
HandleViewDebug.ViewDumpHandler handler)
|
static void |
register(com.android.ddmlib.MonitorThread mt)
|
static void |
requestLayout(Client client,
java.lang.String viewRoot,
java.lang.String view)
|
static void |
sendStartGlTracing(Client client)
|
static void |
sendStopGlTracing(Client client)
|
static void |
setLayoutParameter(Client client,
java.lang.String viewRoot,
java.lang.String view,
java.lang.String parameter,
int value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CHUNK_VUGL
public static final int CHUNK_VULW
ViewRootImpl
's of this process.
public static final int CHUNK_VURT
public static final int CHUNK_VUOP
public static final int CHUNK_HEADER_LEN
public static final java.nio.ByteOrder CHUNK_ORDER
public static final int CHUNK_FAIL
Method Detail |
---|
public static void register(com.android.ddmlib.MonitorThread mt)
public void clientReady(Client client) throws java.io.IOException
java.io.IOException
public void clientDisconnected(Client client)
public static void listViewRoots(Client client, HandleViewDebug.ViewDumpHandler replyHandler) throws java.io.IOException
java.io.IOException
public static void dumpViewHierarchy(@NonNull Client client, @NonNull java.lang.String viewRoot, boolean skipChildren, boolean includeProperties, @NonNull HandleViewDebug.ViewDumpHandler handler) throws java.io.IOException
java.io.IOException
public static void captureLayers(@NonNull Client client, @NonNull java.lang.String viewRoot, @NonNull HandleViewDebug.ViewDumpHandler handler) throws java.io.IOException
java.io.IOException
public static void profileView(@NonNull Client client, @NonNull java.lang.String viewRoot, @NonNull java.lang.String view, @NonNull HandleViewDebug.ViewDumpHandler handler) throws java.io.IOException
java.io.IOException
public static void captureView(@NonNull Client client, @NonNull java.lang.String viewRoot, @NonNull java.lang.String view, @NonNull HandleViewDebug.ViewDumpHandler handler) throws java.io.IOException
java.io.IOException
public static void invalidateView(@NonNull Client client, @NonNull java.lang.String viewRoot, @NonNull java.lang.String view) throws java.io.IOException
java.io.IOException
public static void requestLayout(@NonNull Client client, @NonNull java.lang.String viewRoot, @NonNull java.lang.String view) throws java.io.IOException
java.io.IOException
public static void dumpDisplayList(@NonNull Client client, @NonNull java.lang.String viewRoot, @NonNull java.lang.String view) throws java.io.IOException
java.io.IOException
public static void invokeMethod(@NonNull Client client, @NonNull java.lang.String viewRoot, @NonNull java.lang.String view, @NonNull java.lang.String method, java.lang.Object... args) throws java.io.IOException
java.io.IOException
public static void setLayoutParameter(@NonNull Client client, @NonNull java.lang.String viewRoot, @NonNull java.lang.String view, @NonNull java.lang.String parameter, int value) throws java.io.IOException
java.io.IOException
public void handleChunk(Client client, int type, java.nio.ByteBuffer data, boolean isReply, int msgId)
public static void sendStartGlTracing(Client client) throws java.io.IOException
java.io.IOException
public static void sendStopGlTracing(Client client) throws java.io.IOException
java.io.IOException
protected void handleUnknownChunk(Client client, int type, java.nio.ByteBuffer data, boolean isReply, int msgId)
public static java.lang.String getString(java.nio.ByteBuffer buf, int len)
protected static Client checkDebuggerPortForAppName(Client client, java.lang.String appName)
client
- uiThread
- appName
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |