Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DBlockingBroadcastReceiver.java48 private final BlockingQueue<Intent> mBlockingQueue; field in BlockingBroadcastReceiver
55 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()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningControllerBaseTest.java96 private BlockingQueue<AbstractProvisioningTask> mBlockingQueue field in ProvisioningControllerBaseTest.FakeTaskHandler
100 return mBlockingQueue.poll(10, TimeUnit.SECONDS); in getLastTask()
105 assertTrue(mBlockingQueue.add((AbstractProvisioningTask) msg.obj)); in handleMessage()