Home
last modified time | relevance | path

Searched refs:getDeviceConnectionPriority (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothProfileDeviceManagerTest.java606 int priority = mProfileDeviceManager.getDeviceConnectionPriority(devices.get(i)); in testGetConnectionPriority_prioritiesReturned()
625 int priority = mProfileDeviceManager.getDeviceConnectionPriority(deviceNotPresent); in testGetConnectionPriorityDeviceNotInList_negativeOneReturned()
657 Assert.assertEquals(0, mProfileDeviceManager.getDeviceConnectionPriority(device)); in testSetConnectionPriority_listOrderedCorrectly()
664 Assert.assertEquals(2, mProfileDeviceManager.getDeviceConnectionPriority(device)); in testSetConnectionPriority_listOrderedCorrectly()
671 Assert.assertEquals(1, mProfileDeviceManager.getDeviceConnectionPriority(device)); in testSetConnectionPriority_listOrderedCorrectly()
677 Assert.assertEquals(2, mProfileDeviceManager.getDeviceConnectionPriority(device)); in testSetConnectionPriority_listOrderedCorrectly()
683 Assert.assertEquals(0, mProfileDeviceManager.getDeviceConnectionPriority(device)); in testSetConnectionPriority_listOrderedCorrectly()
690 Assert.assertEquals(1, mProfileDeviceManager.getDeviceConnectionPriority(device)); in testSetConnectionPriority_listOrderedCorrectly()
696 Assert.assertEquals(1, mProfileDeviceManager.getDeviceConnectionPriority(device)); in testSetConnectionPriority_listOrderedCorrectly()
718 Assert.assertEquals(1, mProfileDeviceManager.getDeviceConnectionPriority(device)); in testSetConnectionPriorityNewDevice_listOrderedCorrectly()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarBluetoothService.java416 public int getDeviceConnectionPriority(int profile, BluetoothDevice device) { in getDeviceConnectionPriority() method in CarBluetoothService
422 return deviceManager.getDeviceConnectionPriority(device); in getDeviceConnectionPriority()
DBluetoothProfileDeviceManager.java505 public int getDeviceConnectionPriority(BluetoothDevice device) { in getDeviceConnectionPriority() method in BluetoothProfileDeviceManager
526 || getDeviceConnectionPriority(device) == priority) return; in setDeviceConnectionPriority()