Home
last modified time | relevance | path

Searched refs:suspendPolicy (Results 1 – 25 of 26) sorted by relevance

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DParsedEvent.java35 private byte suspendPolicy; field in ParsedEvent
44 protected ParsedEvent(byte suspendPolicy, Packet packet, byte eventKind) { in ParsedEvent() argument
45 this.suspendPolicy = suspendPolicy; in ParsedEvent()
65 return suspendPolicy; in getSuspendPolicy()
88 protected EventThread(byte suspendPolicy, Packet packet, byte eventKind) { in EventThread() argument
89 super(suspendPolicy, packet, eventKind); in EventThread()
114 protected EventThreadLocation(byte suspendPolicy, Packet packet, in EventThreadLocation() argument
116 super(suspendPolicy, packet, eventKind); in EventThreadLocation()
142 protected EventThreadMonitor(byte suspendPolicy, Packet packet, in EventThreadMonitor() argument
144 super(suspendPolicy, packet, eventKind); in EventThreadMonitor()
[all …]
DEvent.java36 public static EventBuilder builder(byte eventKind, byte suspendPolicy) { in builder() argument
37 return new EventBuilder(eventKind, suspendPolicy); in builder()
41 public final byte suspendPolicy; field in Event
49 Event(byte eventKind, byte suspendPolicy, List<EventMod> mods) { in Event() argument
51 this.suspendPolicy = suspendPolicy; in Event()
DVmMirror.java120 public ReplyPacket setBreakpoint(Location location, byte suspendPolicy) { in setBreakpoint() argument
121 Event event = Event.builder(JDWPConstants.EventKind.BREAKPOINT, suspendPolicy) in setBreakpoint()
141 Breakpoint breakpoint, byte suspendPolicy, int count) { in setCountableBreakpoint() argument
145 Event event = Event.builder(JDWPConstants.EventKind.BREAKPOINT, suspendPolicy) in setCountableBreakpoint()
175 public int setBreakpointAtMethodBegin(long classID, String methodName, byte suspendPolicy) { in setBreakpointAtMethodBegin() argument
203 ReplyPacket reply = setBreakpoint(breakpointLocation, suspendPolicy); in setBreakpointAtMethodBegin()
944 byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL; in setClassPreparedForSourceNameMatch()
945 Event event = Event.builder(eventKind, suspendPolicy) in setClassPreparedForSourceNameMatch()
1150 commandPacket.setNextValueAsByte(event.suspendPolicy); in setEvent()
1353 byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL; in setException()
[all …]
DEventBuilder.java29 private final byte suspendPolicy; field in EventBuilder
32 EventBuilder(byte eventKind, byte suspendPolicy) { in EventBuilder() argument
34 this.suspendPolicy = suspendPolicy; in EventBuilder()
197 return new Event(eventKind, suspendPolicy, modifiers); in build()
/external/oj-libjdwp/src/share/back/
DeventHelper.c48 jbyte suspendPolicy; /* NOTE: Must be the first field */ member
59 jbyte suspendPolicy; /* NOTE: Must be the first field */ member
85 jbyte suspendPolicy; /* NOTE: Must be the first field */ member
94 jbyte suspendPolicy; /* NOTE: Must be the first field */ member
505 if (recc->suspendPolicy != JDWP_SUSPEND_POLICY(NONE)) { in handleReportEventCompositeCommand()
527 suspendWithInvokeEnabled(recc->suspendPolicy, thread); in handleReportEventCompositeCommand()
534 (void)outStream_writeByte(&out, recc->suspendPolicy); in handleReportEventCompositeCommand()
571 if (command->suspendPolicy == JDWP_SUSPEND_POLICY(ALL)) { in handleReportVMInitCommand()
573 } else if (command->suspendPolicy == JDWP_SUSPEND_POLICY(EVENT_THREAD)) { in handleReportVMInitCommand()
580 (void)outStream_writeByte(&out, command->suspendPolicy); in handleReportVMInitCommand()
[all …]
DstandardHandlers.c70 if (node->suspendPolicy == JDWP_SUSPEND_POLICY(EVENT_THREAD)) { in handleClassPrepare()
71 node->suspendPolicy = JDWP_SUSPEND_POLICY(ALL); in handleClassPrepare()
75 node->suspendPolicy, eventBag); in handleClassPrepare()
114 node->suspendPolicy, in handleFrameEvent()
130 eventHelper_recordEvent(evinfo, node->handlerID, node->suspendPolicy, in genericHandler()
DeventHelper.h37 jbyte suspendPolicy, struct bag *eventBag);
39 void eventHelper_recordFrameEvent(jint id, jbyte suspendPolicy, EventIndex ei,
48 void eventHelper_reportVMInit(JNIEnv *env, jbyte sessionID, jthread thread, jbyte suspendPolicy);
DeventHandler.h37 jbyte suspendPolicy; member
50 jbyte suspendPolicy);
DEventRequestImpl.c237 jbyte suspendPolicy; in setCommand() local
246 suspendPolicy = inStream_readByte(in); in setCommand()
270 node = eventHandler_alloc(filterCount, ei, suspendPolicy); in setCommand()
DeventHandler.c392 jbyte suspendPolicy; in reportEvents() local
436 suspendPolicy = eventHelper_reportEvents(sessionID, completedBag); in reportEvents()
437 if (thread != NULL && suspendPolicy != JDWP_SUSPEND_POLICY(NONE)) { in reportEvents()
1589 eventHandler_alloc(jint filterCount, EventIndex ei, jbyte suspendPolicy) in eventHandler_alloc() argument
1595 node->suspendPolicy = suspendPolicy; in eventHandler_alloc()
DdebugInit.c758 jbyte suspendPolicy; in initialize() local
835 suspendPolicy = suspendOnInit ? JDWP_SUSPEND_POLICY(ALL) in initialize()
842 eventHelper_reportVMInit(env, currentSessionID, thread, suspendPolicy); in initialize()
857 eventHelper_recordEvent(&info, 0, suspendPolicy, initEventBag); in initialize()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DVMDeath002Test.java76 byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL; in testVMDeathRequest()
78 + suspendPolicy + "/" in testVMDeathRequest()
79 + JDWPConstants.SuspendPolicy.getName(suspendPolicy)); in testVMDeathRequest()
133 if (eventSuspendPolicy != suspendPolicy) { in testVMDeathRequest()
DClassPrepare002Test.java62 final byte suspendPolicy = JDWPConstants.SuspendPolicy.EVENT_THREAD; in testClassPrepareCausedByDebugger()
63 Event event = Event.builder(eventKind, suspendPolicy) in testClassPrepareCausedByDebugger()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
DVMDeathTest.java65 byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL; in testVMDeathRequest()
67 + suspendPolicy in testVMDeathRequest()
69 + JDWPConstants.SuspendPolicy.getName(suspendPolicy)); in testVMDeathRequest()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DInvokeMethodTest.java114 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethod001()
116 … logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy + " events=" + events); in testInvokeMethod001()
268 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethod002()
270 logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy in testInvokeMethod002()
405 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethod003()
407 logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy in testInvokeMethod003()
DNewInstanceTest.java112 byte suspendPolicy = event.getNextValueAsByte(); in testNewInstance001()
114 logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy in testNewInstance001()
302 byte suspendPolicy = event.getNextValueAsByte(); in testNewInstance002()
304 logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy in testNewInstance002()
DInvokeMethod003Test.java77 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethod_null_argument()
79 … logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy + " events=" + events); in testInvokeMethod_null_argument()
DNewInstance002Test.java78 byte suspendPolicy = event.getNextValueAsByte(); in testNewInstance_null_argument()
80 … logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy + " events=" + events); in testNewInstance_null_argument()
DInvokeMethod002Test.java109 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethod()
111 logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy in testInvokeMethod()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/InterfaceType/
DInvokeMethodTest.java72 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethodStatic()
74 … logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy + " events=" + events); in testInvokeMethodStatic()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethodDefaultTest.java75 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethod()
77 logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy + in testInvokeMethod()
DInvokeMethodDefault002Test.java76 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethod()
79 " EVENT_THREAD event: suspendPolicy=" + suspendPolicy + " events=" + events); in testInvokeMethod()
DInvokeMethod002Test.java77 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethod_null_argument()
79 … logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy + " events=" + events); in testInvokeMethod_null_argument()
DInvokeMethod003Test.java79 byte suspendPolicy = event.getNextValueAsByte(); in testInvokeMethod_toString()
81 … logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy + " events=" + events); in testInvokeMethod_toString()
DInvokeMethodTest.java85 byte suspendPolicy = event.getNextValueAsByte(); in waitEvent()
87 logWriter.println(" EVENT_THREAD event: suspendPolicy=" + suspendPolicy in waitEvent()

12