Home
last modified time | relevance | path

Searched refs:synchronizer (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DFieldModification002Debuggee.java67 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
70 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
73 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
76 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
79 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
82 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
85 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
88 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
91 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
94 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
[all …]
DEventWithExceptionTest.java75 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testBreakpoint_BeforeException()
80 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testBreakpoint_BeforeException()
98 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testBreakpoint_BeforeException()
103 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testBreakpoint_BeforeException()
121 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testBreakpoint_BeforeException()
134 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testBreakpoint_UponException()
139 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testBreakpoint_UponException()
154 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testBreakpoint_UponException()
156 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testBreakpoint_UponException()
181 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testBreakpoint_UponException()
[all …]
/external/sl4a/Utils/src/com/trilead/ssh2/
DStreamGobbler.java62 synchronized (synchronizer) { in run()
65 synchronizer.notifyAll(); in run()
85 synchronizer.notifyAll(); in run()
91 synchronized (synchronizer) { in run()
93 synchronizer.notifyAll(); in run()
104 private Object synchronizer = new Object(); field in StreamGobbler
144 synchronized (synchronizer) { in read()
159 synchronizer.wait(); in read()
172 synchronized (synchronizer) { in available()
188 synchronized (synchronizer) { in close()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPSyncTestCase.java36 protected JPDADebuggeeSynchronizer synchronizer; field in JDWPSyncTestCase
45 synchronizer = createSynchronizer(); in beforeDebuggeeStart()
46 int port = synchronizer.bindServer(); in beforeDebuggeeStart()
69 synchronizer.startServer(); in internalSetUp()
72 String remotePid = synchronizer.receiveMessage(); in internalSetUp()
81 if (synchronizer != null) { in internalTearDown()
83 synchronizer.sendMessage(finalSyncMessage); in internalTearDown()
85 synchronizer.stop(); in internalTearDown()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DForceEarlyReturnDebuggee.java77 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
92 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
93 threadName = synchronizer.receiveMessage(); in run()
107 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
215 synchronizer.sendMessage("TRUE"); in run()
217 synchronizer.sendMessage("FALSE"); in run()
226 synchronizer in run()
233 synchronizer in run()
240 synchronizer in run()
247 synchronizer.sendMessage(new Character(result) in run()
[all …]
DThreadGroupDebuggee.java73 logWriter, synchronizer); in run()
92 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
94 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
100 DebuggeeSynchronizer synchronizer; field in ThreadGroupDebuggee.DebuggeeThread
103 LogWriter logWriter, DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
106 this.synchronizer = synchronizer; in DebuggeeThread()
119 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
122 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
DInterruptDebuggee.java52 logWriter, synchronizer); in run()
71 DebuggeeSynchronizer synchronizer; field in InterruptDebuggee.DebuggeeThread
74 DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
77 this.synchronizer = synchronizer; in DebuggeeThread()
93 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
99 synchronizer.sendMessage(e.toString()); in run()
103 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
DOwnedMonitorsStackDepthInfoDebuggee.java44 logWriter, synchronizer); in run()
63 DebuggeeSynchronizer synchronizer; field in OwnedMonitorsStackDepthInfoDebuggee.DebuggeeThread
66 DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
69 this.synchronizer = synchronizer; in DebuggeeThread()
99 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run3()
102 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run3()
DOwnedMonitorsDebuggee.java50 logWriter, synchronizer); in run()
69 DebuggeeSynchronizer synchronizer; field in OwnedMonitorsDebuggee.DebuggeeThread
72 DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
75 this.synchronizer = synchronizer; in DebuggeeThread()
88 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
91 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
DStatusDebuggee.java48 logWriter, synchronizer); in run()
67 DebuggeeSynchronizer synchronizer; field in StatusDebuggee.DebuggeeThread
70 DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
73 this.synchronizer = synchronizer; in DebuggeeThread()
86 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
89 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
DCurrentContendedMonitorDebuggee.java52 thrd = new DebuggeeThread(TESTED_THREAD, logWriter, synchronizer); in run()
65 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
68 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
81 DebuggeeSynchronizer synchronizer; field in CurrentContendedMonitorDebuggee.DebuggeeThread
84 DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
87 this.synchronizer = synchronizer; in DebuggeeThread()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DebuggerOnDemand/
DOnthrowDebuggerLaunchDebuggee.java47 synchronizer = createSynchronizer(); in onStart()
48 synchronizer.bindServer(); in onStart()
59 synchronizer.startServer(); in onStart()
65 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
66 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
82 if (synchronizer != null) { in onFinish()
83 synchronizer.stop(); in onFinish()
93 protected JPDADebuggeeSynchronizer synchronizer; field in OnthrowDebuggerLaunchDebuggee
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DStackTraceDebuggee.java40 synchronizer.sendMessage(currentThreadName); in run()
41 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
47 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in nestledMethod1()
48 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in nestledMethod1()
54 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in nestledMethod2()
55 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in nestledMethod2()
68 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in nestledMethod3()
69 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in nestledMethod3()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DAllThreadsDebuggee.java65 logWriter, synchronizer); in run()
82 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
84 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
90 DebuggeeSynchronizer synchronizer; field in AllThreadsDebuggee.DebuggeeThread
93 DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
96 this.synchronizer = synchronizer; in DebuggeeThread()
108 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
110 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
DHoldEventsDebuggee.java47 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
50 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
53 logWriter, synchronizer); in run()
73 DebuggeeSynchronizer synchronizer; field in HoldEventsDebuggee.DebuggeeThread
76 DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
79 this.synchronizer = synchronizer; in DebuggeeThread()
DReleaseEventsDebuggee.java47 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
50 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
53 logWriter, synchronizer); in run()
73 DebuggeeSynchronizer synchronizer; field in ReleaseEventsDebuggee.DebuggeeThread
76 DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
79 this.synchronizer = synchronizer; in DebuggeeThread()
DAllThreadsTest.java54 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testAllThreads003()
56 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testAllThreads003()
58 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testAllThreads003()
104 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testAllThreads003()
116 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testAllThreads002()
175 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testAllThreads002()
177 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testAllThreads002()
178 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testAllThreads002()
189 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testAllThreads001()
227 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testAllThreads001()
[all …]
DDisposeDuringInvokeDebuggee.java61 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in invokeMethodWithSynchronization()
64 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in invokeMethodWithSynchronization()
74 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
76 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
90 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
93 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DSyncDebuggee.java40 public JPDADebuggeeSynchronizer synchronizer; field in SyncDebuggee
65 synchronizer = createSynchronizer(); in onStart()
66 synchronizer.startClient(); in onStart()
67 synchronizer.sendMessage(getPid()); in onStart()
82 if (synchronizer != null) { in onFinish()
83 synchronizer.stop(); in onFinish()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/
DNameDebuggee.java60 logWriter, synchronizer); in run()
79 DebuggeeSynchronizer synchronizer; field in NameDebuggee.DebuggeeThread
82 LogWriter logWriter, DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
85 this.synchronizer = synchronizer; in DebuggeeThread()
98 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
101 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
DChildrenDebuggee.java59 logWriter, synchronizer); in run()
80 DebuggeeSynchronizer synchronizer; field in ChildrenDebuggee.DebuggeeThread
83 LogWriter logWriter, DebuggeeSynchronizer synchronizer) { in DebuggeeThread() argument
86 this.synchronizer = synchronizer; in DebuggeeThread()
99 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
102 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
DNameTest.java56 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testName001()
85 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testName001()
97 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testName001_NullObject()
102 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testName001_NullObject()
114 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testName001_InvalidObject()
119 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testName001_InvalidObject()
132 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testName001_InvalidThreadGroup()
138 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testName001_InvalidThreadGroup()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DDM/
DDDMDebuggee.java87 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
88 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
92 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
93 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
97 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_READY); in run()
99 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in run()
102 synchronizer.sendMessage(Integer.toString(h.connectCount)); in run()
103 synchronizer.sendMessage(Integer.toString(h.disconnectCount)); in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StringReference/
DValueTest.java73 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testStringReferenceValueTest001()
84 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testStringReferenceValueTest001()
94 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testStringReferenceValueTest001_NullString()
99 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testStringReferenceValueTest001_NullString()
109 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testStringReferenceValueTest001_InvalidObject()
114 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testStringReferenceValueTest001_InvalidObject()
125 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testStringReferenceValueTest001_InvalidString()
131 synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE); in testStringReferenceValueTest001_InvalidString()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DThreadOnlyModifierTest.java57 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testBreakpoint()
82 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testMethodEntry()
102 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testMethodExit()
125 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testMethodExitWithReturnValue()
146 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testException()
165 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testThreadStart()
183 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testThreadEnd()
205 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testFieldAccess()
229 synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY); in testFieldModification()

12345678910>>...14