Home
last modified time | relevance | path

Searched refs:isInterruptible (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/common_util/com/android/tradefed/command/
DCommandInterrupter.java77 public boolean isInterruptible() { in isInterruptible() method in CommandInterrupter
78 return isInterruptible(Thread.currentThread()); in isInterruptible()
82 public boolean isInterruptible(@Nonnull Thread thread) { in isInterruptible() method in CommandInterrupter
96 if (isInterruptible(thread)) { in allowInterruptAsync()
124 if (isInterruptible(thread)) { in interrupt()
135 if (isInterruptible()) { in checkInterrupted()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandInterrupterTest.java58 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()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java744 return mInterrupter.isInterruptible(); in isInterruptAllowed()