/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/ojluni/src/test/java/util/concurrent/tck/ |
D | LockSupportTest.java | 220 } while (! Thread.currentThread().isInterrupted()); in testParkBeforeInterrupt() 258 assertTrue(Thread.currentThread().isInterrupted()); in testParkAfterInterrupt() 260 assertTrue(Thread.currentThread().isInterrupted()); in testParkAfterInterrupt() 332 } while (! Thread.currentThread().isInterrupted()); in testGetBlocker()
|
D | PhaserTest.java | 548 assertTrue(Thread.currentThread().isInterrupted()); 575 assertFalse(Thread.currentThread().isInterrupted()); 605 assertTrue(Thread.currentThread().isInterrupted()); 629 assertFalse(Thread.currentThread().isInterrupted());
|
/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 | 395 else if (!t.isInterrupted() && m == 0 && in arenaExchange() 456 if (t.isInterrupted()) // preserve interrupt status so caller can recheck in slotExchange() 499 else if (!t.isInterrupted() && arena == null && in slotExchange() 511 v = timed && ns <= 0L && !t.isInterrupted() ? TIMED_OUT : null; in slotExchange()
|
D | SynchronousQueue.java | 284 return match != null || Thread.currentThread().isInterrupted(); in isReleasable() 379 w.isInterrupted()) { in transfer() 558 Thread.currentThread().isInterrupted(); in isReleasable() 678 w.isInterrupted()) { in transfer()
|
D | ThreadPoolExecutor.java | 677 if (getState() >= 0 && (t = thread) != null && !t.isInterrupted()) { in interruptIfStarted() 806 if (!t.isInterrupted() && w.tryLock()) { in interruptIdleWorkers() 1140 !wt.isInterrupted()) in runWorker()
|
D | LinkedTransferQueue.java | 466 Thread.currentThread().isInterrupted(); in isReleasable() 645 else if ((timed && nanos <= 0L) || w.isInterrupted()) { in awaitMatch()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractInterruptibleChannel.java | 170 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() 572 while (!Thread.currentThread().isInterrupted()) in test_isInterrupted() 585 .isInterrupted()); in test_isInterrupted() 588 .isInterrupted()); in test_isInterrupted()
|
/libcore/ojluni/src/test/java/nio/channels/Selector/ |
D | SelectWithConsumer.java | 375 assertTrue(Thread.currentThread().isInterrupted()); in testInterruptBeforeSelect() 389 assertTrue(Thread.currentThread().isInterrupted()); in testInterruptBeforeSelect() 405 assertTrue(Thread.currentThread().isInterrupted()); 418 assertTrue(Thread.currentThread().isInterrupted()); in try()
|
/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/mmodule/java/lang/ |
D | Thread.annotated.java | 80 public native boolean isInterrupted(); in isInterrupted() method in Thread
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Thread.annotated.java | 80 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 | 114 assertFalse(Thread.currentThread().isInterrupted()); in threadInterrupted()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 1210 public native boolean isInterrupted(); in isInterrupted() method in Thread
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | AbstractQueuedSynchronizer.java | 502 return status <= 1 || Thread.currentThread().isInterrupted(); in isReleasable()
|
D | AbstractQueuedLongSynchronizer.java | 137 return status <= 1 || Thread.currentThread().isInterrupted(); in isReleasable()
|