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.java105 private HashMap<BluetoothDevice, LinkedBlockingQueue<Intent>> mDeviceQueueMap; field in LeAudioServiceTest
222 mDeviceQueueMap = new HashMap<>(); in setUp()
223 mDeviceQueueMap.put(mLeftDevice, new LinkedBlockingQueue<>()); in setUp()
224 mDeviceQueueMap.put(mRightDevice, new LinkedBlockingQueue<>()); in setUp()
225 mDeviceQueueMap.put(mSingleDevice, new LinkedBlockingQueue<>()); in setUp()
244 mDeviceQueueMap.clear(); in tearDown()
270 LinkedBlockingQueue<Intent> queue = mDeviceQueueMap.get(device); in onReceive()
283 LinkedBlockingQueue<Intent> queue = mDeviceQueueMap.get(device); in onReceive()
297 Intent intent = TestUtils.waitForIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyConnectionStateIntent()
910 Intent intent = TestUtils.waitForNoIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyNoConnectionStateIntent()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java79 private HashMap<BluetoothDevice, LinkedBlockingQueue<Intent>> mDeviceQueueMap; field in VolumeControlServiceTest
146 mDeviceQueueMap = new HashMap<>(); in setUp()
147 mDeviceQueueMap.put(mDevice, new LinkedBlockingQueue<>()); in setUp()
148 mDeviceQueueMap.put(mDeviceTwo, new LinkedBlockingQueue<>()); in setUp()
163 mDeviceQueueMap.clear(); in tearDown()
187 LinkedBlockingQueue<Intent> queue = mDeviceQueueMap.get(device); in onReceive()
199 Intent intent = TestUtils.waitForIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyConnectionStateIntent()
210 Intent intent = TestUtils.waitForNoIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyNoConnectionStateIntent()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java76 private HashMap<BluetoothDevice, LinkedBlockingQueue<Intent>> mDeviceQueueMap; field in HearingAidServiceTest
122 mDeviceQueueMap = new HashMap<>(); in setUp()
123 mDeviceQueueMap.put(mLeftDevice, new LinkedBlockingQueue<>()); in setUp()
124 mDeviceQueueMap.put(mRightDevice, new LinkedBlockingQueue<>()); in setUp()
125 mDeviceQueueMap.put(mSingleDevice, new LinkedBlockingQueue<>()); in setUp()
136 mDeviceQueueMap.clear(); in tearDown()
162 LinkedBlockingQueue<Intent> queue = mDeviceQueueMap.get(device); in onReceive()
175 Intent intent = TestUtils.waitForIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyConnectionStateIntent()
191 Intent intent = TestUtils.waitForNoIntent(timeoutMs, mDeviceQueueMap.get(device)); in verifyNoConnectionStateIntent()