Searched refs:mBondedDevices (Results 1 – 3 of 3) 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 …]
101 private HashSet<BluetoothDevice> mBondedDevices = new HashSet<>(); field in HeadsetServiceAndStateMachineTest184 doAnswer(invocation -> mBondedDevices.toArray(new BluetoothDevice[]{})).when( in setUp()253 mBondedDevices.clear(); in tearDown()284 mBondedDevices.add(device); in testConnectFromApi()328 mBondedDevices.add(device); in testUnbondDevice_disconnectBeforeUnbond()372 mBondedDevices.add(device); in testUnbondDevice_disconnectAfterUnbond()433 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()436 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()439 Assert.assertThat(connectedDevices, Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()469 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall()[all …]
84 private CopyOnWriteArrayList<BluetoothDevice> mBondedDevices = field in AdapterProperties238 mBondedDevices.clear(); in cleanup()521 bondedDeviceList = mBondedDevices.toArray(bondedDeviceList); in getBondedDevices()547 if (!mBondedDevices.contains(device)) { in onBondStateChanged()549 mBondedDevices.add(device); in onBondStateChanged()553 if (mBondedDevices.remove(device)) { in onBondStateChanged()975 for (BluetoothDevice device : mBondedDevices) { in dump()