Home
last modified time | relevance | path

Searched refs:mDeviceQueueMap (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java102 private HashMap<BluetoothDevice, LinkedBlockingQueue<Intent>> mDeviceQueueMap; field in LeAudioServiceTest
216 mDeviceQueueMap = new HashMap<>(); in setUp()
217 mDeviceQueueMap.put(mLeftDevice, new LinkedBlockingQueue<>()); in setUp()
218 mDeviceQueueMap.put(mRightDevice, new LinkedBlockingQueue<>()); in setUp()
219 mDeviceQueueMap.put(mSingleDevice, new LinkedBlockingQueue<>()); in setUp()
238 mDeviceQueueMap.clear(); in tearDown()
264 LinkedBlockingQueue<Intent> queue = mDeviceQueueMap.get(device); in onReceive()
277 LinkedBlockingQueue<Intent> queue = mDeviceQueueMap.get(device); in onReceive()
291 Intent intent = TestUtils.waitForIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyConnectionStateIntent()
912 Intent intent = TestUtils.waitForNoIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyNoConnectionStateIntent()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java77 private HashMap<BluetoothDevice, LinkedBlockingQueue<Intent>> mDeviceQueueMap; field in HearingAidServiceTest
124 mDeviceQueueMap = new HashMap<>(); in setUp()
125 mDeviceQueueMap.put(mLeftDevice, new LinkedBlockingQueue<>()); in setUp()
126 mDeviceQueueMap.put(mRightDevice, new LinkedBlockingQueue<>()); in setUp()
127 mDeviceQueueMap.put(mSingleDevice, new LinkedBlockingQueue<>()); in setUp()
138 mDeviceQueueMap.clear(); in tearDown()
164 LinkedBlockingQueue<Intent> queue = mDeviceQueueMap.get(device); in onReceive()
182 Intent intent = TestUtils.waitForIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyConnectionStateIntent()
201 Intent intent = TestUtils.waitForNoIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyNoConnectionStateIntent()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java79 private HashMap<BluetoothDevice, LinkedBlockingQueue<Intent>> mDeviceQueueMap; field in VolumeControlServiceTest
147 mDeviceQueueMap = new HashMap<>(); in setUp()
148 mDeviceQueueMap.put(mDevice, new LinkedBlockingQueue<>()); in setUp()
149 mDeviceQueueMap.put(mDeviceTwo, new LinkedBlockingQueue<>()); in setUp()
164 mDeviceQueueMap.clear(); in tearDown()
188 LinkedBlockingQueue<Intent> queue = mDeviceQueueMap.get(device); in onReceive()
200 Intent intent = TestUtils.waitForIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyConnectionStateIntent()
211 Intent intent = TestUtils.waitForNoIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyNoConnectionStateIntent()