/libcore/ojluni/src/main/java/sun/misc/ |
D | Resource.java | 96 boolean isInterrupted = Thread.interrupted(); in getBytes() 104 isInterrupted = true; in getBytes() 127 isInterrupted = true; in getBytes() 145 isInterrupted = true; in getBytes() 148 if (isInterrupted) { in getBytes()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | LockSupportTest.java | 196 } while (! Thread.currentThread().isInterrupted()); in testParkBeforeInterrupt() 234 assertTrue(Thread.currentThread().isInterrupted()); in testParkAfterInterrupt() 236 assertTrue(Thread.currentThread().isInterrupted()); in testParkAfterInterrupt() 308 } while (! Thread.currentThread().isInterrupted()); in testGetBlocker()
|
D | RecursiveActionTest.java | 270 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 280 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 293 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 306 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 316 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 325 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 372 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool() 380 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool() 391 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool() 404 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool() [all …]
|
D | PhaserTest.java | 524 assertTrue(Thread.currentThread().isInterrupted()); 551 assertFalse(Thread.currentThread().isInterrupted()); 581 assertTrue(Thread.currentThread().isInterrupted()); 605 assertFalse(Thread.currentThread().isInterrupted());
|
D | ForkJoinPool8Test.java | 281 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 291 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 304 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 317 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 327 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts() 336 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Exchanger.java | 396 else if (!t.isInterrupted() && m == 0 && in arenaExchange() 455 if (t.isInterrupted()) // preserve interrupt status so caller can recheck in slotExchange() 498 else if (!t.isInterrupted() && arena == null && in slotExchange() 508 v = timed && ns <= 0L && !t.isInterrupted() ? TIMED_OUT : null; in slotExchange()
|
D | ThreadPoolExecutor.java | 674 if (getState() >= 0 && (t = thread) != null && !t.isInterrupted()) { in interruptIfStarted() 812 if (!t.isInterrupted() && w.tryLock()) { in interruptIdleWorkers() 1161 !wt.isInterrupted()) in runWorker()
|
D | SynchronousQueue.java | 442 if (w.isInterrupted()) in awaitFulfill() 743 if (w.isInterrupted()) in awaitFulfill()
|
D | LinkedTransferQueue.java | 707 else if (w.isInterrupted() || (timed && nanos <= 0L)) { in awaitMatch()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractInterruptibleChannel.java | 173 if (me.isInterrupted()) in begin()
|
D | AbstractSelector.java | 218 if (me.isInterrupted()) in begin()
|
/libcore/luni/src/test/java/tests/support/ |
D | ThreadPool.java | 97 while (!isInterrupted()) { in run()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 86 while (!Thread.currentThread().isInterrupted()) { in run() 571 while (!Thread.currentThread().isInterrupted()) in test_isInterrupted() 584 .isInterrupted()); in test_isInterrupted() 587 .isInterrupted()); in test_isInterrupted()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Thread.annotated.java | 80 public native boolean isInterrupted(); in isInterrupted() method in Thread
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SelectorTest.java | 62 assertTrue(Thread.currentThread().isInterrupted()); in testInterrupted()
|
D | FileIOInterruptTest.java | 697 assertFalse(Thread.currentThread().isInterrupted()); in waitToDie() 710 assertFalse(Thread.currentThread().isInterrupted()); in delay()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Thread.annotated.java | 78 public native boolean isInterrupted(); in isInterrupted() method in Thread
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Thread.java | 161 public native boolean isInterrupted(); in isInterrupted() method in Thread
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 98 assertFalse(Thread.currentThread().isInterrupted()); in testThreadInterrupted()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 1116 public native boolean isInterrupted(); in isInterrupted() method in Thread
|