/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 85 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() 584 spinner.interrupt(); in test_isInterrupted() 589 spinner.interrupt(); in test_isInterrupted() 646 st.interrupt(); in test_joinJ() 672 main.interrupt(); in test_joinJ() 686 killer.interrupt(); in test_joinJ() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | PollArrayWrapper.java | 121 public void interrupt() { in interrupt() method in PollArrayWrapper 122 interrupt(interruptFD); in interrupt() 127 private static native void interrupt(int fd); in interrupt() method in PollArrayWrapper
|
D | Interruptible.java | 34 public void interrupt(Thread t); in interrupt() method
|
D | EPollArrayWrapper.java | 304 public void interrupt() { in interrupt() method in EPollArrayWrapper 305 interrupt(outgoingInterruptFD); in interrupt() 326 private static native void interrupt(int fd); in interrupt() method in EPollArrayWrapper
|
D | DevPollArrayWrapper.java | 296 public void interrupt() { in interrupt() method in DevPollArrayWrapper 297 interrupt(outgoingInterruptFD); in interrupt() 318 private static native void interrupt(int fd); in interrupt() method in DevPollArrayWrapper
|
/libcore/libart/src/main/java/java/lang/ |
D | Daemons.java | 88 public synchronized void interrupt() { in interrupt() method in Daemons.Daemon 89 interrupt(thread); in interrupt() 92 public synchronized void interrupt(Thread thread) { in interrupt() method in Daemons.Daemon 96 thread.interrupt(); in interrupt() 112 interrupt(threadToStop); in stop() 418 public synchronized void interrupt(Thread thread) { in interrupt() method in Daemons.HeapTaskDaemon
|
/libcore/ojluni/src/main/java/java/io/ |
D | PrintStream.java | 467 Thread.currentThread().interrupt(); in write() 498 Thread.currentThread().interrupt(); in write() 528 Thread.currentThread().interrupt(); in write() 549 Thread.currentThread().interrupt(); in write() 570 Thread.currentThread().interrupt(); in newLine() 991 Thread.currentThread().interrupt(); in format() 1048 Thread.currentThread().interrupt(); in format()
|
D | PrintWriter.java | 409 Thread.currentThread().interrupt(); in write() 430 Thread.currentThread().interrupt(); in write() 460 Thread.currentThread().interrupt(); in write() 486 Thread.currentThread().interrupt(); in newLine() 910 Thread.currentThread().interrupt(); in format() 969 Thread.currentThread().interrupt(); in format()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CountDownLatchTest.java | 119 Thread.currentThread().interrupt(); in testAwait_Interruptible() 138 t.interrupt(); in testAwait_Interruptible() 150 Thread.currentThread().interrupt(); in testTimedAwait_Interruptible() 169 t.interrupt(); in testTimedAwait_Interruptible()
|
D | BlockingQueueTest.java | 229 Thread.currentThread().interrupt(); in testTimedPollWithOffer() 253 t.interrupt(); in testTimedPollWithOffer() 275 t.interrupt(); 287 Thread.currentThread().interrupt(); 316 t.interrupt(); 328 Thread.currentThread().interrupt();
|
D | LinkedBlockingDequeTest.java | 585 Thread.currentThread().interrupt(); in testBlockingPut() 602 t.interrupt(); in testBlockingPut() 637 t.interrupt(); in testPutWithTake() 664 t.interrupt(); in testTimedOffer() 690 Thread.currentThread().interrupt(); in testBlockingTake() 707 t.interrupt(); in testBlockingTake() 773 t.interrupt(); in testInterruptedTimedPoll() 815 Thread.currentThread().interrupt(); in testBlockingPutFirst() 832 t.interrupt(); in testBlockingPutFirst() 867 t.interrupt(); in testPutFirstWithTake() [all …]
|
D | PhaserTest.java | 466 Thread.currentThread().interrupt(); 483 Thread.currentThread().interrupt(); 501 t1.interrupt(); 502 t2.interrupt(); 520 Thread.currentThread().interrupt(); 534 Thread.currentThread().interrupt(); 559 t.interrupt(); 563 Thread.currentThread().interrupt(); 578 Thread.currentThread().interrupt(); 588 Thread.currentThread().interrupt(); [all …]
|
D | ExchangerTest.java | 85 t.interrupt(); in testExchange_InterruptedException() 102 t.interrupt(); in testTimedExchange_InterruptedException() 151 t1.interrupt(); in testReplacementAfterExchange()
|
D | TimeUnitTest.java | 343 Thread.currentThread().interrupt(); in testTimedWait_Interruptible() 364 t.interrupt(); in testTimedWait_Interruptible() 380 Thread.currentThread().interrupt(); in testTimedJoin_Interruptible() 397 t.interrupt(); in testTimedJoin_Interruptible() 399 s.interrupt(); in testTimedJoin_Interruptible() 411 Thread.currentThread().interrupt(); in testTimedSleep_Interruptible() 428 t.interrupt(); in testTimedSleep_Interruptible()
|
D | SemaphoreTest.java | 239 Thread.currentThread().interrupt(); in testInterruptible() 252 Thread.currentThread().interrupt(); in testInterruptible() 268 t.interrupt(); in testInterruptible() 271 t.interrupt(); in testInterruptible() 291 Thread.currentThread().interrupt(); in testUninterruptible() 307 t2.interrupt(); in testUninterruptible() 333 t1.interrupt(); in testHasQueuedThreads() 356 t1.interrupt(); in testGetQueueLength() 381 t1.interrupt(); in testGetQueuedThreads()
|
D | RecursiveActionTest.java | 71 Thread.currentThread().interrupt(); in checkNotDone() 78 Thread.currentThread().interrupt(); in checkNotDone() 269 myself.interrupt(); in testJoinIgnoresInterrupts() 279 myself.interrupt(); in testJoinIgnoresInterrupts() 292 myself.interrupt(); in testJoinIgnoresInterrupts() 305 myself.interrupt(); in testJoinIgnoresInterrupts() 315 myself.interrupt(); in testJoinIgnoresInterrupts() 324 myself.interrupt(); in testJoinIgnoresInterrupts() 371 myself.interrupt(); in testJoinIgnoresInterruptsOutsideForkJoinPool() 379 myself.interrupt(); in testJoinIgnoresInterruptsOutsideForkJoinPool() [all …]
|
D | CyclicBarrierTest.java | 146 t1.interrupt(); in testAwait1_Interrupted_BrokenBarrier() 172 t1.interrupt(); in testAwait2_Interrupted_BrokenBarrier() 323 t.interrupt(); in testReset_Leakage() 326 t.interrupt(); in testReset_Leakage() 383 t1.interrupt(); in testResetAfterInterrupt()
|
D | AbstractQueuedLongSynchronizerTest.java | 316 t1.interrupt(); in testHasQueuedThreads() 353 t1.interrupt(); in testIsQueued() 376 t1.interrupt(); in testGetFirstQueuedThread() 398 t1.interrupt(); in testHasContended() 426 t1.interrupt(); in testGetQueuedThreads() 454 t1.interrupt(); in testGetExclusiveQueuedThreads() 476 t1.interrupt(); in testGetSharedQueuedThreads_Exclusive() 502 t1.interrupt(); in testGetSharedQueuedThreads_Shared() 522 t.interrupt(); in testTryAcquireNanos_Interruptible() 601 t.interrupt(); in testAcquireInterruptibly() [all …]
|
D | AbstractQueuedSynchronizerTest.java | 319 t1.interrupt(); in testHasQueuedThreads() 356 t1.interrupt(); in testIsQueued() 379 t1.interrupt(); in testGetFirstQueuedThread() 401 t1.interrupt(); in testHasContended() 429 t1.interrupt(); in testGetQueuedThreads() 457 t1.interrupt(); in testGetExclusiveQueuedThreads() 479 t1.interrupt(); in testGetSharedQueuedThreads_Exclusive() 505 t1.interrupt(); in testGetSharedQueuedThreads_Shared() 525 t.interrupt(); in testTryAcquireNanos_Interruptible() 604 t.interrupt(); in testAcquireInterruptibly() [all …]
|
D | SynchronousQueueTest.java | 132 Thread.currentThread().interrupt(); in testBlockingPut() 149 t.interrupt(); in testBlockingPut() 183 t.interrupt(); in testPutWithTake() 210 t.interrupt(); in testTimedOffer() 268 Thread.currentThread().interrupt(); in testTimedPollWithOffer() 293 t.interrupt(); in testTimedPollWithOffer()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractInterruptibleChannel.java | 159 public void interrupt(Thread target) { in begin() 174 interruptor.interrupt(me); in begin()
|
D | AbstractSelector.java | 209 public void interrupt(Thread ignore) { in begin() 216 interruptor.interrupt(me); in begin()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 211 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()
|
D | ThreadTest.java | 77 Thread.currentThread().interrupt(); in testThreadInterrupted() 115 t1.interrupt(); in testThreadWakeup() 116 t2.interrupt(); in testThreadWakeup()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactory2Test.java | 119 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()
|