Home
last modified time | relevance | path

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

1234

/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()
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/
DPollArrayWrapper.java121 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
DInterruptible.java34 public void interrupt(Thread t); in interrupt() method
DEPollArrayWrapper.java304 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
DDevPollArrayWrapper.java296 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/
DDaemons.java88 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/
DPrintStream.java467 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()
DPrintWriter.java409 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/
DCountDownLatchTest.java119 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()
DBlockingQueueTest.java229 Thread.currentThread().interrupt(); in testTimedPollWithOffer()
253 t.interrupt(); in testTimedPollWithOffer()
275 t.interrupt();
287 Thread.currentThread().interrupt();
316 t.interrupt();
328 Thread.currentThread().interrupt();
DLinkedBlockingDequeTest.java585 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 …]
DPhaserTest.java466 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 …]
DExchangerTest.java85 t.interrupt(); in testExchange_InterruptedException()
102 t.interrupt(); in testTimedExchange_InterruptedException()
151 t1.interrupt(); in testReplacementAfterExchange()
DTimeUnitTest.java343 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()
DSemaphoreTest.java239 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()
DRecursiveActionTest.java71 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 …]
DCyclicBarrierTest.java146 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()
DAbstractQueuedLongSynchronizerTest.java316 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 …]
DAbstractQueuedSynchronizerTest.java319 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 …]
DSynchronousQueueTest.java132 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/
DAbstractInterruptibleChannel.java159 public void interrupt(Thread target) { in begin()
174 interruptor.interrupt(me); in begin()
DAbstractSelector.java209 public void interrupt(Thread ignore) { in begin()
216 interruptor.interrupt(me); in begin()
/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.java77 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/
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()

1234