Home
last modified time | relevance | path

Searched refs:getProfilePriority (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java220 when(mDatabaseManager.getProfilePriority(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
227 when(mDatabaseManager.getProfilePriority(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
234 when(mDatabaseManager.getProfilePriority(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
241 when(mDatabaseManager.getProfilePriority(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
304 when(mDatabaseManager.getProfilePriority(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
306 when(mDatabaseManager.getProfilePriority(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
308 when(mDatabaseManager.getProfilePriority(mSingleDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
331 when(mDatabaseManager.getProfilePriority(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectPriorityOff()
345 when(mDatabaseManager.getProfilePriority(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
347 when(mDatabaseManager.getProfilePriority(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java271 when(mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
278 when(mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
285 when(mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
292 when(mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
356 when(mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectMissingAudioSinkUuid()
379 when(mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectPriorityOff()
393 when(mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectTimeout()
424 when(mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectDisconnectSuccess()
495 when(mDatabaseManager.getProfilePriority(testDevice, BluetoothProfile.A2DP)) in testMaxConnectDevices()
523 when(mDatabaseManager.getProfilePriority(extraTestDevice, BluetoothProfile.A2DP)) in testMaxConnectDevices()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java244 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testConnectDevice_connectDeviceBelowLimit()
356 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testConnectDevice_connectDeviceAboveLimit()
408 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testConnectAudio_withOneDevice()
460 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testConnectAudio_withMultipleDevices()
536 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testConnectAudio_connectTwoAudioChannelsShouldFail()
608 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testConnectAudio_firstConnectedAudioDevice()
675 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testConnectAudio_deviceDisconnected()
732 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testPhoneStateChange_oneDeviceSaveState()
791 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testPhoneStateChange_multipleDevicesSaveState()
849 when(mDatabaseManager.getProfilePriority(any(BluetoothDevice.class), in testSetSilenceMode()
[all …]
DHeadsetServiceAndStateMachineTest.java283 when(mDatabaseManager.getProfilePriority(device, BluetoothProfile.HEADSET)) in testConnectFromApi()
327 when(mDatabaseManager.getProfilePriority(device, BluetoothProfile.HEADSET)) in testUnbondDevice_disconnectBeforeUnbond()
371 when(mDatabaseManager.getProfilePriority(device, BluetoothProfile.HEADSET)) in testUnbondDevice_disconnectAfterUnbond()
1157 when(mDatabaseManager.getProfilePriority(device, BluetoothProfile.HEADSET)) in connectTestDevice()
/packages/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java186 if (getProfilePriority(device) >= BluetoothProfile.PRIORITY_ON) { in handleDeviceConnectionStateChange()
558 private int getProfilePriority(BluetoothDevice device) { in getProfilePriority() method in BluetoothProfileDeviceManager
560 return mBluetoothUserProxies.getProfilePriority(mProfileId, device); in getProfilePriority()
721 && getProfilePriority(device) >= BluetoothProfile.PRIORITY_ON) { in addBondedDeviceIfSupported()
737 int devicePriority = getProfilePriority(device); in provisionDeviceIfSupported()
DCarBluetoothUserService.java363 public int getProfilePriority(int profile, BluetoothDevice device) { in getProfilePriority() method in CarBluetoothUserService
DBluetoothProfileInhibitManager.java371 mBluetoothUserProxies.getProfilePriority( in addInhibitRecord()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java102 mDatabaseManager.getProfilePriority(mTestDevice, id)); in testMetadataDefault()
403 mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.HEADSET)); in testSetGetProfilePriorityCase()
424 mDatabaseManager.getProfilePriority(mTestDevice, BluetoothProfile.HEADSET)); in testSetGetProfilePriorityCase()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java316 int oldPriority = data.getProfilePriority(profile); in setProfilePriority()
348 public int getProfilePriority(BluetoothDevice device, int profile) { in getProfilePriority() method in DatabaseManager
363 int priority = data.getProfilePriority(profile); in getProfilePriority()
DMetadata.java105 int getProfilePriority(int profile) { in getProfilePriority() method in Metadata
/packages/services/Car/car-lib/src/android/car/
DICarBluetoothUserService.aidl28 int getProfilePriority(in int profile, in BluetoothDevice device); in getProfilePriority() method
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkServiceTest.java95 when(mDatabaseManager.getProfilePriority(device, BluetoothProfile.A2DP_SINK)) in mockDevicePriority()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidHostServiceTest.java156 when(mDatabaseManager.getProfilePriority(device, BluetoothProfile.HID_HOST)) in testOkToConnectCase()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientTest.java108 when(mDatabaseManager.getProfilePriority(device, BluetoothProfile.MAP_CLIENT)) in mockDevicePriority()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothProfileDeviceManagerTest.java296 when(mMockProxies.getProfilePriority(mProfileId, device)).thenReturn(priority); in mockDevicePriority()
1214 verify(mMockProxies, times(0)).getProfilePriority(eq(mProfileId), in testReceiveUuidsDeviceUnsupported_doNothing()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java391 .getProfilePriority(device, BluetoothProfile.PBAP_CLIENT); in getPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java340 .getProfilePriority(device, BluetoothProfile.A2DP_SINK); in getPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java231 .getProfilePriority(device, BluetoothProfile.MAP_CLIENT); in getPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java415 .getProfilePriority(device, BluetoothProfile.PAN); in getPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java465 .getProfilePriority(device, BluetoothProfile.HEARING_AID); in getPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java609 .getProfilePriority(device, BluetoothProfile.SAP); in getPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java552 .getProfilePriority(device, BluetoothProfile.HEADSET_CLIENT); in getPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java540 .getProfilePriority(device, BluetoothProfile.HID_HOST); in getPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java636 .getProfilePriority(device, BluetoothProfile.A2DP); in getPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java587 .getProfilePriority(device, BluetoothProfile.MAP); in getPriority()

12