Home
last modified time | relevance | path

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

/tools/tradefederation/core/common_util/com/android/tradefed/command/
DCommandInterrupter.java43 private ConcurrentMap<Thread, Boolean> mInterruptible = new MapMaker().weakKeys().makeMap(); field in CommandInterrupter
65 mInterruptible.put(Thread.currentThread(), true); in allowInterrupt()
72 mInterruptible.put(Thread.currentThread(), false); in blockInterrupt()
83 return Boolean.TRUE.equals(mInterruptible.get(thread)); in isInterruptible()
105 mInterruptible.put(thread, true); in allowInterruptAsync()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerFuncTest.java86 private boolean mInterruptible = false; field in CommandSchedulerFuncTest
109 mInterruptible = false; in setUp()
154 if (mInterruptible) { in setUp()
241 if (mInterruptible) { in invoke()
354 mInterruptible = true; in testBatteryLowLevel_interruptible()
382 mInterruptible = true; in testShutdown_interruptible()
429 if (mInterruptible) { in testShutdown_notInterruptible()
460 mInterruptible = false; in testShutdown_notInterruptible()
502 if (mInterruptible) { in invoke()
557 if (mInterruptible) { in testShutdown_notInterruptible_timeout()
[all …]