Searched refs:setConnection (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 207 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/ |
D | DatabaseManagerTest.java | 415 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/ |
D | PhonePolicy.java | 343 mDatabaseManager.setConnection(device, profileId == BluetoothProfile.A2DP); in processActiveDeviceChanged() 349 mDatabaseManager.setConnection(device, false); in processDeviceConnected()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManager.java | 546 public void setConnection(BluetoothDevice device, boolean isA2dpDevice) { in setConnection() method in DatabaseManager
|