Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java583 Assert.assertNull(mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
594 Assert.assertEquals(mTestDevice, mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
608 Assert.assertEquals(mTestDevice2, mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
624 Assert.assertEquals(mTestDevice, mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
640 Assert.assertNull(mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
659 Assert.assertNull(mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
679 Assert.assertEquals(mTestDevice, mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
699 Assert.assertEquals(mTestDevice, mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
719 Assert.assertEquals(mTestDevice, mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
739 Assert.assertNull(mDatabaseManager.getMostRecentlyConnectedA2dpDevice()); in testSetConnection()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java755 when(mDatabaseManager.getMostRecentlyConnectedA2dpDevice()).thenReturn(bondedDevice); in testAdapterOnAutoConnect()
786 when(mDatabaseManager.getMostRecentlyConnectedA2dpDevice()) in testDisconnectNoAutoConnect()
985 when(mDatabaseManager.getMostRecentlyConnectedA2dpDevice()) in testReconnectOnPartialConnect_PreviousPartialFail()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DPhonePolicy.java878 mDatabaseManager.getMostRecentlyConnectedA2dpDevice(); in autoConnect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java815 public BluetoothDevice getMostRecentlyConnectedA2dpDevice() { in getMostRecentlyConnectedA2dpDevice() method in DatabaseManager