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 HeadsetServiceAndStateMachineTest185 doAnswer(invocation -> mBondedDevices.toArray(new BluetoothDevice[]{})).when( in setUp()254 mBondedDevices.clear(); in tearDown()285 mBondedDevices.add(device); in testConnectFromApi()329 mBondedDevices.add(device); in testUnbondDevice_disconnectBeforeUnbond()373 mBondedDevices.add(device); in testUnbondDevice_disconnectAfterUnbond()434 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()437 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()440 Assert.assertThat(connectedDevices, Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()470 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall()[all …]
84 private CopyOnWriteArrayList<BluetoothDevice> mBondedDevices = field in AdapterProperties236 mBondedDevices.clear(); in cleanup()503 bondedDeviceList = mBondedDevices.toArray(bondedDeviceList); in getBondedDevices()529 if (!mBondedDevices.contains(device)) { in onBondStateChanged()531 mBondedDevices.add(device); in onBondStateChanged()535 if (mBondedDevices.remove(device)) { in onBondStateChanged()961 for (BluetoothDevice device : mBondedDevices) { in dump()