Home
last modified time | relevance | path

Searched refs:mInterrupter (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandInterrupterTest.java46 private CommandInterrupter mInterrupter; field in CommandInterrupterTest
50 mInterrupter = new CommandInterrupter(); in setUp()
58 assertFalse(mInterrupter.isInterruptible()); in testAllowInterrupt()
61 mInterrupter.allowInterrupt(); in testAllowInterrupt()
62 assertTrue(mInterrupter.isInterruptible()); in testAllowInterrupt()
71 mInterrupter.allowInterrupt(); in testInterrupt()
72 mInterrupter.interrupt( in testInterrupt()
80 mInterrupter.checkInterrupted(); in testInterrupt()
93 mInterrupter.blockInterrupt(); in testInterrupt_blocked()
94 mInterrupter.interrupt( in testInterrupt_blocked()
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java75 private final CommandInterrupter mInterrupter; field in RunUtil
86 mInterrupter = interrupter; in RunUtil()
552 mInterrupter.checkInterrupted(); in runTimedWithOutputMonitor()
593 mInterrupter.checkInterrupted(); in runTimedWithOutputMonitor()
608 mInterrupter.checkInterrupted(); in runTimedWithOutputMonitor()
717 mInterrupter.checkInterrupted(); in sleep()
728 mInterrupter.checkInterrupted(); in sleep()
735 mInterrupter.allowInterrupt(); in allowInterrupt()
737 mInterrupter.blockInterrupt(); in allowInterrupt()
744 return mInterrupter.isInterruptible(); in isInterruptAllowed()
[all …]