JdwpCommands

public class JdwpCommands
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.server.jdwp.JdwpCommands


JDWP command constants as specified here

Summary

Constants

int CMD_ARRAYREF_GETVALUES

int CMD_ARRAYREF_LENGTH

int CMD_ARRAYREF_SETVALUES

int CMD_ARRAYTYPE_NEWINSTANCE

int CMD_CLASSLOADERREF_VISIBLECLASSES

int CMD_CLASSOBJECTREF_REFLECTEDTYPE

int CMD_CLASSTYPE_INVOKEMETHOD

int CMD_CLASSTYPE_NEWINSTANCE

int CMD_CLASSTYPE_SETVALUES

int CMD_CLASSTYPE_SUPERCLASS

int CMD_EVENTREQUEST_CLEAR

int CMD_EVENTREQUEST_CLEARALLBREAKPOINTS

int CMD_EVENTREQUEST_SET

int CMD_EVENT_COMPOSITE

int CMD_METHOD_BYTECODES

int CMD_METHOD_ISOBSOLETE

int CMD_METHOD_LINETABLE

int CMD_METHOD_VARIABLETABLE

int CMD_METHOD_VARIABLETABLEWITHGENERIC

int CMD_OBJREF_DISABLECOLLECTION

int CMD_OBJREF_ENABLECOLLECTION

int CMD_OBJREF_GETVALUES

int CMD_OBJREF_INVOKEMETHOD

int CMD_OBJREF_ISCOLLECTED

int CMD_OBJREF_MONITORINFO

int CMD_OBJREF_REFERENCETYPE

int CMD_OBJREF_SETVALUES

int CMD_REFTYPE_CLASSLOADER

int CMD_REFTYPE_CLASSOBJECT

int CMD_REFTYPE_FIELDS

int CMD_REFTYPE_FIELDSWITHGENERIC

int CMD_REFTYPE_GETVALUES

int CMD_REFTYPE_INTERFACES

int CMD_REFTYPE_METHODS

int CMD_REFTYPE_METHODSWITHGENERIC

int CMD_REFTYPE_MODIFIERS

int CMD_REFTYPE_NESTEDTYPES

int CMD_REFTYPE_SIGNATURE

int CMD_REFTYPE_SIGNATUREWITHGENERIC

int CMD_REFTYPE_SOURCEDEBUGEXTENSION

int CMD_REFTYPE_SOURCEFILE

int CMD_REFTYPE_STATUS

int CMD_STACKFRAME_GETVALUES

int CMD_STACKFRAME_POPFRAMES

int CMD_STACKFRAME_SETVALUES

int CMD_STACKFRAME_THISOBJECT

int CMD_STRINGREF_VALUE

int CMD_THREADGROUPREF_CHILDREN

int CMD_THREADGROUPREF_NAME

int CMD_THREADGROUPREF_PARENT

int CMD_THREADREF_CURRENTCONTENDEDMONITOR

int CMD_THREADREF_FRAMECOUNT

int CMD_THREADREF_FRAMES

int CMD_THREADREF_INTERRUPT

int CMD_THREADREF_NAME

int CMD_THREADREF_OWNEDMONITORS

int CMD_THREADREF_RESUME

int CMD_THREADREF_STATUS

int CMD_THREADREF_STOP

int CMD_THREADREF_SUSPEND

int CMD_THREADREF_SUSPENDCOUNT

int CMD_THREADREF_THREADGROUP

int CMD_VM_ALLCLASSES

int CMD_VM_ALLCLASSESWITHGENERIC

int CMD_VM_ALLTHREADS

int CMD_VM_CAPABILITIES

int CMD_VM_CAPABILITIESNEW

int CMD_VM_CLASSESBYSIGNATURE

int CMD_VM_CLASSPATHS

int CMD_VM_CREATESTRING

int CMD_VM_DISPOSE

int CMD_VM_DISPOSEOBJECTS

int CMD_VM_EXIT

int CMD_VM_HOLDEVENTS

int CMD_VM_IDSIZES

int CMD_VM_REDEFINECLASSES

int CMD_VM_RELEASEEVENTS

int CMD_VM_RESUME

int CMD_VM_SETDEFAULTSTRATUM

int CMD_VM_SUSPEND

int CMD_VM_TOPLEVELTHREADGROUPS

int CMD_VM_VERSION

int SET_ARRAYREF

int SET_ARRAYTYPE

int SET_CLASSLOADERREF

int SET_CLASSOBJECTREF

int SET_CLASSTYPE

int SET_EVENT

int SET_EVENTREQUEST

int SET_FIELD

int SET_INTERFACETYPE

int SET_METHOD

int SET_OBJREF

int SET_REFTYPE

int SET_STACKFRAME

int SET_STRINGREF

int SET_THREADGROUPREF

int SET_THREADREF

int SET_VM

Public constructors

JdwpCommands()

Public methods

static String commandSetToString(int cmdSet)
static String commandToString(int cmdSet, int cmd)

Constants

CMD_ARRAYREF_GETVALUES

public static final int CMD_ARRAYREF_GETVALUES

Constant Value: 2 (0x00000002)

CMD_ARRAYREF_LENGTH

public static final int CMD_ARRAYREF_LENGTH

Constant Value: 1 (0x00000001)

CMD_ARRAYREF_SETVALUES

public static final int CMD_ARRAYREF_SETVALUES

Constant Value: 3 (0x00000003)

CMD_ARRAYTYPE_NEWINSTANCE

public static final int CMD_ARRAYTYPE_NEWINSTANCE

Constant Value: 1 (0x00000001)

CMD_CLASSLOADERREF_VISIBLECLASSES

public static final int CMD_CLASSLOADERREF_VISIBLECLASSES

Constant Value: 1 (0x00000001)

CMD_CLASSOBJECTREF_REFLECTEDTYPE

public static final int CMD_CLASSOBJECTREF_REFLECTEDTYPE

Constant Value: 1 (0x00000001)

CMD_CLASSTYPE_INVOKEMETHOD

public static final int CMD_CLASSTYPE_INVOKEMETHOD

Constant Value: 3 (0x00000003)

CMD_CLASSTYPE_NEWINSTANCE

public static final int CMD_CLASSTYPE_NEWINSTANCE

Constant Value: 4 (0x00000004)

CMD_CLASSTYPE_SETVALUES

public static final int CMD_CLASSTYPE_SETVALUES

Constant Value: 2 (0x00000002)

CMD_CLASSTYPE_SUPERCLASS

public static final int CMD_CLASSTYPE_SUPERCLASS

Constant Value: 1 (0x00000001)

CMD_EVENTREQUEST_CLEAR

public static final int CMD_EVENTREQUEST_CLEAR

Constant Value: 2 (0x00000002)

CMD_EVENTREQUEST_CLEARALLBREAKPOINTS

public static final int CMD_EVENTREQUEST_CLEARALLBREAKPOINTS

Constant Value: 3 (0x00000003)

CMD_EVENTREQUEST_SET

public static final int CMD_EVENTREQUEST_SET

Constant Value: 1 (0x00000001)

CMD_EVENT_COMPOSITE

public static final int CMD_EVENT_COMPOSITE

Constant Value: 100 (0x00000064)

CMD_METHOD_BYTECODES

public static final int CMD_METHOD_BYTECODES

Constant Value: 3 (0x00000003)

CMD_METHOD_ISOBSOLETE

public static final int CMD_METHOD_ISOBSOLETE

Constant Value: 4 (0x00000004)

CMD_METHOD_LINETABLE

public static final int CMD_METHOD_LINETABLE

Constant Value: 1 (0x00000001)

CMD_METHOD_VARIABLETABLE

public static final int CMD_METHOD_VARIABLETABLE

Constant Value: 2 (0x00000002)

CMD_METHOD_VARIABLETABLEWITHGENERIC

public static final int CMD_METHOD_VARIABLETABLEWITHGENERIC

Constant Value: 5 (0x00000005)

CMD_OBJREF_DISABLECOLLECTION

public static final int CMD_OBJREF_DISABLECOLLECTION

Constant Value: 7 (0x00000007)

CMD_OBJREF_ENABLECOLLECTION

public static final int CMD_OBJREF_ENABLECOLLECTION

Constant Value: 8 (0x00000008)

CMD_OBJREF_GETVALUES

public static final int CMD_OBJREF_GETVALUES

Constant Value: 2 (0x00000002)

CMD_OBJREF_INVOKEMETHOD

public static final int CMD_OBJREF_INVOKEMETHOD

Constant Value: 6 (0x00000006)

CMD_OBJREF_ISCOLLECTED

public static final int CMD_OBJREF_ISCOLLECTED

Constant Value: 9 (0x00000009)

CMD_OBJREF_MONITORINFO

public static final int CMD_OBJREF_MONITORINFO

Constant Value: 5 (0x00000005)

CMD_OBJREF_REFERENCETYPE

public static final int CMD_OBJREF_REFERENCETYPE

Constant Value: 1 (0x00000001)

CMD_OBJREF_SETVALUES

public static final int CMD_OBJREF_SETVALUES

Constant Value: 3 (0x00000003)

CMD_REFTYPE_CLASSLOADER

public static final int CMD_REFTYPE_CLASSLOADER

Constant Value: 2 (0x00000002)

CMD_REFTYPE_CLASSOBJECT

public static final int CMD_REFTYPE_CLASSOBJECT

Constant Value: 11 (0x0000000b)

CMD_REFTYPE_FIELDS

public static final int CMD_REFTYPE_FIELDS

Constant Value: 4 (0x00000004)

CMD_REFTYPE_FIELDSWITHGENERIC

public static final int CMD_REFTYPE_FIELDSWITHGENERIC

Constant Value: 14 (0x0000000e)

CMD_REFTYPE_GETVALUES

public static final int CMD_REFTYPE_GETVALUES

Constant Value: 6 (0x00000006)

CMD_REFTYPE_INTERFACES

public static final int CMD_REFTYPE_INTERFACES

Constant Value: 10 (0x0000000a)

CMD_REFTYPE_METHODS

public static final int CMD_REFTYPE_METHODS

Constant Value: 5 (0x00000005)

CMD_REFTYPE_METHODSWITHGENERIC

public static final int CMD_REFTYPE_METHODSWITHGENERIC

Constant Value: 15 (0x0000000f)

CMD_REFTYPE_MODIFIERS

public static final int CMD_REFTYPE_MODIFIERS

Constant Value: 3 (0x00000003)

CMD_REFTYPE_NESTEDTYPES

public static final int CMD_REFTYPE_NESTEDTYPES

Constant Value: 8 (0x00000008)

CMD_REFTYPE_SIGNATURE

public static final int CMD_REFTYPE_SIGNATURE

Constant Value: 1 (0x00000001)

CMD_REFTYPE_SIGNATUREWITHGENERIC

public static final int CMD_REFTYPE_SIGNATUREWITHGENERIC

Constant Value: 13 (0x0000000d)

CMD_REFTYPE_SOURCEDEBUGEXTENSION

public static final int CMD_REFTYPE_SOURCEDEBUGEXTENSION

Constant Value: 12 (0x0000000c)

CMD_REFTYPE_SOURCEFILE

public static final int CMD_REFTYPE_SOURCEFILE

Constant Value: 7 (0x00000007)

CMD_REFTYPE_STATUS

public static final int CMD_REFTYPE_STATUS

Constant Value: 9 (0x00000009)

CMD_STACKFRAME_GETVALUES

public static final int CMD_STACKFRAME_GETVALUES

Constant Value: 1 (0x00000001)

CMD_STACKFRAME_POPFRAMES

public static final int CMD_STACKFRAME_POPFRAMES

Constant Value: 4 (0x00000004)

CMD_STACKFRAME_SETVALUES

public static final int CMD_STACKFRAME_SETVALUES

Constant Value: 2 (0x00000002)

CMD_STACKFRAME_THISOBJECT

public static final int CMD_STACKFRAME_THISOBJECT

Constant Value: 3 (0x00000003)

CMD_STRINGREF_VALUE

public static final int CMD_STRINGREF_VALUE

Constant Value: 1 (0x00000001)

CMD_THREADGROUPREF_CHILDREN

public static final int CMD_THREADGROUPREF_CHILDREN

Constant Value: 3 (0x00000003)

CMD_THREADGROUPREF_NAME

public static final int CMD_THREADGROUPREF_NAME

Constant Value: 1 (0x00000001)

CMD_THREADGROUPREF_PARENT

public static final int CMD_THREADGROUPREF_PARENT

Constant Value: 2 (0x00000002)

CMD_THREADREF_CURRENTCONTENDEDMONITOR

public static final int CMD_THREADREF_CURRENTCONTENDEDMONITOR

Constant Value: 9 (0x00000009)

CMD_THREADREF_FRAMECOUNT

public static final int CMD_THREADREF_FRAMECOUNT

Constant Value: 7 (0x00000007)

CMD_THREADREF_FRAMES

public static final int CMD_THREADREF_FRAMES

Constant Value: 6 (0x00000006)

CMD_THREADREF_INTERRUPT

public static final int CMD_THREADREF_INTERRUPT

Constant Value: 11 (0x0000000b)

CMD_THREADREF_NAME

public static final int CMD_THREADREF_NAME

Constant Value: 1 (0x00000001)

CMD_THREADREF_OWNEDMONITORS

public static final int CMD_THREADREF_OWNEDMONITORS

Constant Value: 8 (0x00000008)

CMD_THREADREF_RESUME

public static final int CMD_THREADREF_RESUME

Constant Value: 3 (0x00000003)

CMD_THREADREF_STATUS

public static final int CMD_THREADREF_STATUS

Constant Value: 4 (0x00000004)

CMD_THREADREF_STOP

public static final int CMD_THREADREF_STOP

Constant Value: 10 (0x0000000a)

CMD_THREADREF_SUSPEND

public static final int CMD_THREADREF_SUSPEND

Constant Value: 2 (0x00000002)

CMD_THREADREF_SUSPENDCOUNT

public static final int CMD_THREADREF_SUSPENDCOUNT

Constant Value: 12 (0x0000000c)

CMD_THREADREF_THREADGROUP

public static final int CMD_THREADREF_THREADGROUP

Constant Value: 5 (0x00000005)

CMD_VM_ALLCLASSES

public static final int CMD_VM_ALLCLASSES

Constant Value: 3 (0x00000003)

CMD_VM_ALLCLASSESWITHGENERIC

public static final int CMD_VM_ALLCLASSESWITHGENERIC

Constant Value: 20 (0x00000014)

CMD_VM_ALLTHREADS

public static final int CMD_VM_ALLTHREADS

Constant Value: 4 (0x00000004)

CMD_VM_CAPABILITIES

public static final int CMD_VM_CAPABILITIES

Constant Value: 12 (0x0000000c)

CMD_VM_CAPABILITIESNEW

public static final int CMD_VM_CAPABILITIESNEW

Constant Value: 17 (0x00000011)

CMD_VM_CLASSESBYSIGNATURE

public static final int CMD_VM_CLASSESBYSIGNATURE

Constant Value: 2 (0x00000002)

CMD_VM_CLASSPATHS

public static final int CMD_VM_CLASSPATHS

Constant Value: 13 (0x0000000d)

CMD_VM_CREATESTRING

public static final int CMD_VM_CREATESTRING

Constant Value: 11 (0x0000000b)

CMD_VM_DISPOSE

public static final int CMD_VM_DISPOSE

Constant Value: 6 (0x00000006)

CMD_VM_DISPOSEOBJECTS

public static final int CMD_VM_DISPOSEOBJECTS

Constant Value: 14 (0x0000000e)

CMD_VM_EXIT

public static final int CMD_VM_EXIT

Constant Value: 10 (0x0000000a)

CMD_VM_HOLDEVENTS

public static final int CMD_VM_HOLDEVENTS

Constant Value: 15 (0x0000000f)

CMD_VM_IDSIZES

public static final int CMD_VM_IDSIZES

Constant Value: 7 (0x00000007)

CMD_VM_REDEFINECLASSES

public static final int CMD_VM_REDEFINECLASSES

Constant Value: 18 (0x00000012)

CMD_VM_RELEASEEVENTS

public static final int CMD_VM_RELEASEEVENTS

Constant Value: 16 (0x00000010)

CMD_VM_RESUME

public static final int CMD_VM_RESUME

Constant Value: 9 (0x00000009)

CMD_VM_SETDEFAULTSTRATUM

public static final int CMD_VM_SETDEFAULTSTRATUM

Constant Value: 19 (0x00000013)

CMD_VM_SUSPEND

public static final int CMD_VM_SUSPEND

Constant Value: 8 (0x00000008)

CMD_VM_TOPLEVELTHREADGROUPS

public static final int CMD_VM_TOPLEVELTHREADGROUPS

Constant Value: 5 (0x00000005)

CMD_VM_VERSION

public static final int CMD_VM_VERSION

Constant Value: 1 (0x00000001)

SET_ARRAYREF

public static final int SET_ARRAYREF

Constant Value: 13 (0x0000000d)

SET_ARRAYTYPE

public static final int SET_ARRAYTYPE

Constant Value: 4 (0x00000004)

SET_CLASSLOADERREF

public static final int SET_CLASSLOADERREF

Constant Value: 14 (0x0000000e)

SET_CLASSOBJECTREF

public static final int SET_CLASSOBJECTREF

Constant Value: 17 (0x00000011)

SET_CLASSTYPE

public static final int SET_CLASSTYPE

Constant Value: 3 (0x00000003)

SET_EVENT

public static final int SET_EVENT

Constant Value: 64 (0x00000040)

SET_EVENTREQUEST

public static final int SET_EVENTREQUEST

Constant Value: 15 (0x0000000f)

SET_FIELD

public static final int SET_FIELD

Constant Value: 8 (0x00000008)

SET_INTERFACETYPE

public static final int SET_INTERFACETYPE

Constant Value: 5 (0x00000005)

SET_METHOD

public static final int SET_METHOD

Constant Value: 6 (0x00000006)

SET_OBJREF

public static final int SET_OBJREF

Constant Value: 9 (0x00000009)

SET_REFTYPE

public static final int SET_REFTYPE

Constant Value: 2 (0x00000002)

SET_STACKFRAME

public static final int SET_STACKFRAME

Constant Value: 16 (0x00000010)

SET_STRINGREF

public static final int SET_STRINGREF

Constant Value: 10 (0x0000000a)

SET_THREADGROUPREF

public static final int SET_THREADGROUPREF

Constant Value: 12 (0x0000000c)

SET_THREADREF

public static final int SET_THREADREF

Constant Value: 11 (0x0000000b)

SET_VM

public static final int SET_VM

Constant Value: 1 (0x00000001)

Public constructors

JdwpCommands

public JdwpCommands ()

Public methods

commandSetToString

public static String commandSetToString (int cmdSet)

Parameters
cmdSet int

Returns
String

commandToString

public static String commandToString (int cmdSet, 
                int cmd)

Parameters
cmdSet int

cmd int

Returns
String