Lines Matching refs:looper
22 * Blocks a looper from executing any messages, and allows the holder of this object
45 public TestLooperManager(Looper looper) {
47 if (sHeldLoopers.contains(looper)) {
48 throw new RuntimeException("TestLooperManager already held for this looper");
50 sHeldLoopers.add(looper);
52 mLooper = looper;
54 // Post a message that will keep the looper blocked as long as we are dispatching.
55 new Handler(looper).post(new LooperHolder());
80 // Wait for the looper block to come up, to make sure we don't accidentally get
95 * Releases the looper to continue standard looping and processing of messages,