Searched refs:isInterruptible (Results 1 – 3 of 3) sorted by relevance
77 public boolean isInterruptible() { in isInterruptible() method in CommandInterrupter78 return isInterruptible(Thread.currentThread()); in isInterruptible()82 public boolean isInterruptible(@Nonnull Thread thread) { in isInterruptible() method in CommandInterrupter96 if (isInterruptible(thread)) { in allowInterruptAsync()124 if (isInterruptible(thread)) { in interrupt()135 if (isInterruptible()) { in checkInterrupted()
58 assertFalse(mInterrupter.isInterruptible()); in testAllowInterrupt()62 assertTrue(mInterrupter.isInterruptible()); in testAllowInterrupt()149 assertFalse(mInterrupter.isInterruptible()); in testAllowInterruptAsync()154 assertTrue(mInterrupter.isInterruptible()); in testAllowInterruptAsync()175 assertTrue(mInterrupter.isInterruptible()); in testAllowInterruptsAsync_alreadyAllowed()
744 return mInterrupter.isInterruptible(); in isInterruptAllowed()