Home
last modified time | relevance | path

Searched refs:interrupt (Results 1 – 25 of 69) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java85 parent.interrupt(); in run()
341 firstOne.interrupt(); in test_enumerate$Ljava_lang_Thread()
344 secondOne.interrupt(); in test_enumerate$Ljava_lang_Thread()
470 parent.interrupt(); in test_interrupt()
515 Thread.currentThread().interrupt(); in test_interrupted()
579 spinner.interrupt(); in test_isInterrupted()
584 spinner.interrupt(); in test_isInterrupted()
641 st.interrupt(); in test_joinJ()
667 main.interrupt(); in test_joinJ()
681 killer.interrupt(); in test_joinJ()
[all …]
DProcessManagerTest.java85 thread.interrupt(); in testSleep()
101 thread.interrupt(); in testSleep()
/libcore/jsr166-tests/src/test/java/jsr166/
DCountDownLatchTest.java108 Thread.currentThread().interrupt(); in testAwait_Interruptible()
127 t.interrupt(); in testAwait_Interruptible()
139 Thread.currentThread().interrupt(); in testTimedAwait_Interruptible()
158 t.interrupt(); in testTimedAwait_Interruptible()
DLinkedBlockingDequeTest.java558 Thread.currentThread().interrupt(); in testBlockingPut()
575 t.interrupt(); in testBlockingPut()
610 t.interrupt(); in testPutWithTake()
637 t.interrupt(); in testTimedOffer()
663 Thread.currentThread().interrupt(); in testBlockingTake()
680 t.interrupt(); in testBlockingTake()
748 t.interrupt(); in testInterruptedTimedPoll()
790 Thread.currentThread().interrupt(); in testBlockingPutFirst()
807 t.interrupt(); in testBlockingPutFirst()
842 t.interrupt(); in testPutFirstWithTake()
[all …]
DBlockingQueueTest.java217 Thread.currentThread().interrupt(); in testTimedPollWithOffer()
239 t.interrupt(); in testTimedPollWithOffer()
261 t.interrupt();
273 Thread.currentThread().interrupt();
302 t.interrupt();
314 Thread.currentThread().interrupt();
DExchangerTest.java73 t.interrupt(); in testExchange_InterruptedException()
90 t.interrupt(); in testTimedExchange_InterruptedException()
139 t1.interrupt(); in testReplacementAfterExchange()
DPhaserTest.java455 Thread.currentThread().interrupt();
472 Thread.currentThread().interrupt();
490 t1.interrupt();
491 t2.interrupt();
509 Thread.currentThread().interrupt();
523 Thread.currentThread().interrupt();
548 t.interrupt();
552 Thread.currentThread().interrupt();
567 Thread.currentThread().interrupt();
577 Thread.currentThread().interrupt();
[all …]
DTimeUnitTest.java360 Thread.currentThread().interrupt(); in testTimedWait_Interruptible()
381 t.interrupt(); in testTimedWait_Interruptible()
397 Thread.currentThread().interrupt(); in testTimedJoin_Interruptible()
414 t.interrupt(); in testTimedJoin_Interruptible()
416 s.interrupt(); in testTimedJoin_Interruptible()
428 Thread.currentThread().interrupt(); in testTimedSleep_Interruptible()
445 t.interrupt(); in testTimedSleep_Interruptible()
DSemaphoreTest.java226 Thread.currentThread().interrupt(); in testInterruptible()
239 Thread.currentThread().interrupt(); in testInterruptible()
255 t.interrupt(); in testInterruptible()
258 t.interrupt(); in testInterruptible()
278 Thread.currentThread().interrupt(); in testUninterruptible()
294 t2.interrupt(); in testUninterruptible()
320 t1.interrupt(); in testHasQueuedThreads()
343 t1.interrupt(); in testGetQueueLength()
368 t1.interrupt(); in testGetQueuedThreads()
DAbstractQueuedLongSynchronizerTest.java290 t1.interrupt(); in testHasQueuedThreads()
327 t1.interrupt(); in testIsQueued()
350 t1.interrupt(); in testGetFirstQueuedThread()
372 t1.interrupt(); in testHasContended()
400 t1.interrupt(); in testGetQueuedThreads()
428 t1.interrupt(); in testGetExclusiveQueuedThreads()
450 t1.interrupt(); in testGetSharedQueuedThreads_Exclusive()
476 t1.interrupt(); in testGetSharedQueuedThreads_Shared()
496 t.interrupt(); in testTryAcquireNanos_Interruptible()
575 t.interrupt(); in testAcquireInterruptibly()
[all …]
DAbstractQueuedSynchronizerTest.java293 t1.interrupt(); in testHasQueuedThreads()
330 t1.interrupt(); in testIsQueued()
353 t1.interrupt(); in testGetFirstQueuedThread()
375 t1.interrupt(); in testHasContended()
403 t1.interrupt(); in testGetQueuedThreads()
431 t1.interrupt(); in testGetExclusiveQueuedThreads()
453 t1.interrupt(); in testGetSharedQueuedThreads_Exclusive()
479 t1.interrupt(); in testGetSharedQueuedThreads_Shared()
499 t.interrupt(); in testTryAcquireNanos_Interruptible()
578 t.interrupt(); in testAcquireInterruptibly()
[all …]
DRecursiveActionTest.java61 Thread.currentThread().interrupt(); in checkNotDone()
68 Thread.currentThread().interrupt(); in checkNotDone()
259 myself.interrupt(); in testJoinIgnoresInterrupts()
269 myself.interrupt(); in testJoinIgnoresInterrupts()
282 myself.interrupt(); in testJoinIgnoresInterrupts()
295 myself.interrupt(); in testJoinIgnoresInterrupts()
305 myself.interrupt(); in testJoinIgnoresInterrupts()
314 myself.interrupt(); in testJoinIgnoresInterrupts()
361 myself.interrupt(); in testJoinIgnoresInterruptsOutsideForkJoinPool()
369 myself.interrupt(); in testJoinIgnoresInterruptsOutsideForkJoinPool()
[all …]
DCyclicBarrierTest.java135 t1.interrupt(); in testAwait1_Interrupted_BrokenBarrier()
161 t1.interrupt(); in testAwait2_Interrupted_BrokenBarrier()
312 t.interrupt(); in testReset_Leakage()
315 t.interrupt(); in testReset_Leakage()
372 t1.interrupt(); in testResetAfterInterrupt()
DLockSupportTest.java183 t.interrupt(); in testParkBeforeInterrupt()
222 t.interrupt(); in testParkAfterInterrupt()
298 t.interrupt(); in testGetBlocker()
DSynchronousQueueTest.java104 Thread.currentThread().interrupt(); in testBlockingPut()
121 t.interrupt(); in testBlockingPut()
155 t.interrupt(); in testPutWithTake()
182 t.interrupt(); in testTimedOffer()
241 Thread.currentThread().interrupt(); in testTimedPollWithOffer()
264 t.interrupt(); in testTimedPollWithOffer()
DLinkedBlockingQueueTest.java248 Thread.currentThread().interrupt(); in testBlockingPut()
265 t.interrupt(); in testBlockingPut()
300 t.interrupt(); in testPutWithTake()
327 t.interrupt(); in testTimedOffer()
353 Thread.currentThread().interrupt(); in testBlockingTake()
370 t.interrupt(); in testBlockingTake()
438 t.interrupt(); in testInterruptedTimedPoll()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java211 st.interrupt(); in test_sleepJ()
258 st.interrupt(); in test_sleepJI()
367 th.interrupt(); in test_getState()
465 st.interrupt(); in tearDown()
470 spinner.interrupt(); in tearDown()
475 ct.interrupt(); in tearDown()
DThreadTest.java74 Thread.currentThread().interrupt(); in testThreadInterrupted()
112 t1.interrupt(); in testThreadWakeup()
113 t2.interrupt(); in testThreadWakeup()
DOldAndroidMonitorTest.java118 OldAndroidMonitorTest.testThread.interrupt(); in run()
136 waiter.interrupt(); in run_inner()
155 waiter.interrupt(); in run_inner()
182 OldAndroidMonitorTest.testThread.interrupt(); in run()
/libcore/libart/src/main/java/java/lang/
DDaemons.java82 public synchronized void interrupt() { in interrupt() method in Daemons.Daemon
86 thread.interrupt(); in interrupt()
102 threadToStop.interrupt(); in stop()
DThreadGroup.java412 public final void interrupt() { in interrupt() method in ThreadGroup
415 thread.interrupt(); in interrupt()
420 group.interrupt(); in interrupt()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactory2Test.java119 keepalive.interrupt(); in test_generatePrivateLjava_security_spec_KeySpec()
149 keepalive.interrupt(); in test_generatePublicLjava_security_spec_KeySpec()
241 keepalive.interrupt(); in test_getKeySpecLjava_security_KeyLjava_lang_Class()
298 keepalive.interrupt(); in test_translateKeyLjava_security_Key()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceQueueTest.java144 rt.interrupt(); in test_remove()
216 rt.interrupt(); in test_removeJ()
/libcore/luni/src/test/java/tests/support/
DThreadPool.java69 interrupt(); in close()
/libcore/luni/src/test/java/libcore/java/io/
DOldPipedWriterTest.java216 readerThread.interrupt(); in test_write$CII()
267 readerThread.interrupt(); in tearDown()

123