Searched refs:mBlockingQueue (Results 1 – 2 of 2) sorted by relevance
48 private final BlockingQueue<Intent> mBlockingQueue; field in BlockingBroadcastReceiver55 mBlockingQueue = new ArrayBlockingQueue<>(1); in BlockingBroadcastReceiver()61 mBlockingQueue.add(intent); in onReceive()76 return mBlockingQueue.poll(DEFAULT_TIMEOUT_SECONDS, TimeUnit.SECONDS); in awaitForBroadcast()89 return mBlockingQueue.poll(timeoutMillis, TimeUnit.MILLISECONDS); in awaitForBroadcast()
96 private BlockingQueue<AbstractProvisioningTask> mBlockingQueue field in ProvisioningControllerBaseTest.FakeTaskHandler100 return mBlockingQueue.poll(10, TimeUnit.SECONDS); in getLastTask()105 assertTrue(mBlockingQueue.add((AbstractProvisioningTask) msg.obj)); in handleMessage()