Home
last modified time | relevance | path

Searched refs:setConnection (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java207 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setConnection( in testDisconnectNoAutoConnect()
209 verify(mDatabaseManager, never()).setConnection(eq(connectionOrder.get(1)), anyBoolean()); in testDisconnectNoAutoConnect()
210 verify(mDatabaseManager, never()).setConnection(eq(connectionOrder.get(2)), anyBoolean()); in testDisconnectNoAutoConnect()
211 verify(mDatabaseManager, never()).setConnection(eq(connectionOrder.get(3)), anyBoolean()); in testDisconnectNoAutoConnect()
222 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).setConnection( in testDisconnectNoAutoConnect()
224 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).setConnection( in testDisconnectNoAutoConnect()
226 verify(mDatabaseManager, never()).setConnection(eq(connectionOrder.get(2)), anyBoolean()); in testDisconnectNoAutoConnect()
227 verify(mDatabaseManager, never()).setConnection(eq(connectionOrder.get(3)), anyBoolean()); in testDisconnectNoAutoConnect()
240 verify(mDatabaseManager, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1)).setConnection( in testDisconnectNoAutoConnect()
256 verify(mDatabaseManager, times(2)).setConnection(any(BluetoothDevice.class), anyBoolean()); in testDisconnectNoAutoConnect()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java415 mDatabaseManager.setConnection(mTestDevice, true); in testSetConnection()
427 mDatabaseManager.setConnection(mTestDevice2, true); in testSetConnection()
441 mDatabaseManager.setConnection(mTestDevice, true); in testSetConnection()
469 mDatabaseManager.setConnection(mTestDevice3, false); in testSetConnection()
486 mDatabaseManager.setConnection(mTestDevice, true); in testSetConnection()
503 mDatabaseManager.setConnection(mTestDevice3, false); in testSetConnection()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java343 mDatabaseManager.setConnection(device, profileId == BluetoothProfile.A2DP); in processActiveDeviceChanged()
349 mDatabaseManager.setConnection(device, false); in processDeviceConnected()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java546 public void setConnection(BluetoothDevice device, boolean isA2dpDevice) { in setConnection() method in DatabaseManager