Searched refs:mBondedDevices (Results 1 – 5 of 5) sorted by relevance
74 private final Set<BluetoothDevice> mBondedDevices = new HashSet<>(); field in BluetoothSummaryUpdaterTest93 mShadowBluetoothAdapter.setBondedDevices(mBondedDevices); in setUp()115 mBondedDevices.add(mConnectedDevice); in register_true_shouldSendSummaryChange()116 mShadowBluetoothAdapter.setBondedDevices(mBondedDevices); in register_true_shouldSendSummaryChange()129 mBondedDevices.add(mConnectedDevice); in onBluetoothStateChanged_btDisabled_shouldSendDisabledSummary()130 mShadowBluetoothAdapter.setBondedDevices(mBondedDevices); in onBluetoothStateChanged_btDisabled_shouldSendDisabledSummary()142 mBondedDevices.add(mConnectedDevice); in onBluetoothStateChanged_btEnabled_connected_shouldSendConnectedSummary()143 mShadowBluetoothAdapter.setBondedDevices(mBondedDevices); in onBluetoothStateChanged_btEnabled_connected_shouldSendConnectedSummary()156 mBondedDevices.add(mConnectedDevice); in onBluetoothStateChanged_btEnabled_connectedMisMatch_shouldSendNotConnected()157 mShadowBluetoothAdapter.setBondedDevices(mBondedDevices); in onBluetoothStateChanged_btEnabled_connectedMisMatch_shouldSendNotConnected()[all …]
116 private final Set<BluetoothDevice> mBondedDevices = new HashSet<>(); field in HeadsetServiceAndStateMachineTest143 doAnswer(invocation -> mBondedDevices.toArray(new BluetoothDevice[] {})) in setUp()209 mBondedDevices.clear(); in tearDown()234 mBondedDevices.add(device); in testConnectFromApi()283 mBondedDevices.add(device); in testUnbondDevice_disconnectBeforeUnbond()329 mBondedDevices.add(device); in testUnbondDevice_disconnectAfterUnbond()392 .containsExactlyElementsIn(mBondedDevices); in testVirtualCall_normalStartStop()396 .containsExactlyElementsIn(mBondedDevices); in testVirtualCall_normalStartStop()399 assertThat(connectedDevices).containsExactlyElementsIn(mBondedDevices); in testVirtualCall_normalStartStop()431 .containsExactlyElementsIn(mBondedDevices); in testVirtualCall_preemptedByTelecomCall()[all …]
100 private CopyOnWriteArrayList<BluetoothDevice> mBondedDevices = field in AdapterProperties292 mBondedDevices.clear(); in cleanup()612 bondedDeviceList = mBondedDevices.toArray(bondedDeviceList); in getBondedDevices()639 if (!mBondedDevices.contains(device)) { in onBondStateChanged()641 mBondedDevices.add(device); in onBondStateChanged()646 if (mBondedDevices.remove(device)) { in onBondStateChanged()674 for (BluetoothDevice existingDevice : mBondedDevices) { in cleanupPrevBondRecordsFor()698 mBondedDevices.remove(existingDevice); in cleanupPrevBondRecordsFor()1249 for (BluetoothDevice device : mBondedDevices) { in dump()
81 private Set<BluetoothDevice> mBondedDevices = new HashSet<>(); field in PairedBluetoothDevicesTest102 when(mLocalBluetoothAdapter.getBondedDevices()).thenReturn(mBondedDevices); in setUp()448 mBondedDevices.add(device); in addBluetoothDevice()
115 private HashSet<BluetoothDevice> mBondedDevices = new HashSet<>(); field in LeAudioServiceTest207 doAnswer(invocation -> mBondedDevices.toArray(new BluetoothDevice[] {})) in setUp()243 doAnswer(invocation -> mBondedDevices.toArray(new BluetoothDevice[] {})) in setUp()277 mBondedDevices.clear(); in tearDown()1295 mBondedDevices.add(device); in connectTestDevice()