Searched refs:mockDevicePriority (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothProfileDeviceManagerTest.java | 288 mockDevicePriority(device, priority); in captureDevicePriority() 295 private void mockDevicePriority(BluetoothDevice device, int priority) throws Exception { in mockDevicePriority() method in BluetoothProfileDeviceManagerTest 888 mockDevicePriority(device, BluetoothProfile.PRIORITY_AUTO_CONNECT); in testReceiveDeviceConnectPriorityAutoConnect_deviceAdded() 911 mockDevicePriority(device, BluetoothProfile.PRIORITY_ON); in testReceiveDeviceConnectPriorityOn_deviceAdded() 934 mockDevicePriority(device, BluetoothProfile.PRIORITY_OFF); in testReceiveDeviceConnectPriorityOff_deviceNotAdded() 957 mockDevicePriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in testReceiveDeviceConnectPriorityUndefined_deviceNotAdded() 980 mockDevicePriority(device, BluetoothProfile.PRIORITY_AUTO_CONNECT); in testReceiveDeviceDisconnectPriorityAutoConnect_listUnchanged() 1000 mockDevicePriority(device, BluetoothProfile.PRIORITY_ON); in testReceiveDeviceDisconnectPriorityOn_listUnchanged() 1020 mockDevicePriority(device, BluetoothProfile.PRIORITY_OFF); in testReceiveDeviceDisconnectPriorityOff_deviceRemoved() 1040 mockDevicePriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in testReceiveDeviceDisconnectPriorityUndefined_listUnchanged() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/ |
D | MapClientTest.java | 107 private void mockDevicePriority(BluetoothDevice device, int priority) { in mockDevicePriority() method in MapClientTest 127 mockDevicePriority(device, BluetoothProfile.PRIORITY_ON); in testConnect() 146 mockDevicePriority(device, BluetoothProfile.PRIORITY_OFF); in testConnectPriorityOffDevice() 174 mockDevicePriority(d, BluetoothProfile.PRIORITY_ON); in testConnectMaxDevices()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkServiceTest.java | 94 private void mockDevicePriority(BluetoothDevice device, int priority) { in mockDevicePriority() method in A2dpSinkServiceTest 110 mockDevicePriority(device, BluetoothProfile.PRIORITY_ON); in testConnect() 120 mockDevicePriority(device, BluetoothProfile.PRIORITY_OFF); in testConnectPriorityOffDevice()
|