Searched refs:getDeviceConnectionPriority (Results 1 – 3 of 3) sorted by relevance
606 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 …]
416 public int getDeviceConnectionPriority(int profile, BluetoothDevice device) { in getDeviceConnectionPriority() method in CarBluetoothService422 return deviceManager.getDeviceConnectionPriority(device); in getDeviceConnectionPriority()
505 public int getDeviceConnectionPriority(BluetoothDevice device) { in getDeviceConnectionPriority() method in BluetoothProfileDeviceManager526 || getDeviceConnectionPriority(device) == priority) return; in setDeviceConnectionPriority()