Searched refs:mBondedDevices (Results 1 – 4 of 4) sorted by relevance
115 mBondedDevices.add(mConnectedDevice); in register_true_shouldSendSummaryChange()129 mBondedDevices.add(mConnectedDevice); in onBluetoothStateChanged_btDisabled_shouldSendDisabledSummary()142 mBondedDevices.add(mConnectedDevice); in onBluetoothStateChanged_btEnabled_connected_shouldSendConnectedSummary()156 mBondedDevices.add(mConnectedDevice); in onBluetoothStateChanged_btEnabled_connectedMisMatch_shouldSendNotConnected()170 mBondedDevices.add(mConnectedDevice); in onBluetoothStateChanged_btEnabled_notConnected_shouldSendDisconnectedMessage()184 mBondedDevices.add(mConnectedDevice); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()218 mBondedDevices.add(mConnectedDevice); in onConnectionStateChanged_connected_shouldSendConnectedMessage()233 mBondedDevices.add(mConnectedDevice); in onConnectionStateChanged_inconsistentState_shouldSendDisconnectedMessage()280 mBondedDevices.add(mConnectedDevice); in getConnectedDeviceSummary_hasConnectedDevice_returnOneDeviceSummary()291 mBondedDevices.add(mConnectedDevice); in getConnectedDeviceSummary_multipleDevices_returnMultipleDevicesSummary()[all …]
101 private HashSet<BluetoothDevice> mBondedDevices = new HashSet<>(); field in HeadsetServiceAndStateMachineTest254 mBondedDevices.clear(); in tearDown()284 mBondedDevices.add(device); in testConnectFromApi()327 mBondedDevices.add(device); in testUnbondDevice_disconnectBeforeUnbond()370 mBondedDevices.add(device); in testUnbondDevice_disconnectAfterUnbond()431 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()434 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()471 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall()474 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall()514 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_rejectedWhenThereIsTelecomCall()[all …]
91 private CopyOnWriteArrayList<BluetoothDevice> mBondedDevices = field in AdapterProperties250 mBondedDevices.clear(); in cleanup()575 bondedDeviceList = mBondedDevices.toArray(bondedDeviceList); in getBondedDevices()601 if (!mBondedDevices.contains(device)) { in onBondStateChanged()603 mBondedDevices.add(device); in onBondStateChanged()607 if (mBondedDevices.remove(device)) { in onBondStateChanged()1066 for (BluetoothDevice device : mBondedDevices) { in dump()
83 private Set<BluetoothDevice> mBondedDevices = new HashSet<>(); field in PairedBluetoothDevicesTest107 when(mLocalBluetoothAdapter.getBondedDevices()).thenReturn(mBondedDevices); in setUp()299 mBondedDevices.add(device); in addBluetoothDevice()