Home
last modified time | relevance | path

Searched refs:getProfileConnectionPolicy (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java220 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
226 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
232 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
286 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
289 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
292 .getProfileConnectionPolicy(mSingleDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
315 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectPriorityOff()
329 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
332 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
335 .getProfileConnectionPolicy(mSingleDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java263 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
269 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
275 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
330 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectMissingAudioSinkUuid()
352 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectPriorityOff()
365 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectTimeout()
395 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectDisconnectSuccess()
465 when(mDatabaseManager.getProfileConnectionPolicy(testDevice, BluetoothProfile.A2DP)) in testMaxConnectDevices()
492 when(mDatabaseManager.getProfileConnectionPolicy(extraTestDevice, BluetoothProfile.A2DP)) in testMaxConnectDevices()
507 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testCreateStateMachineStackEvents()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java234 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testConnectDevice_connectDeviceBelowLimit()
346 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testConnectDevice_connectDeviceAboveLimit()
398 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testConnectAudio_withOneDevice()
450 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testConnectAudio_withMultipleDevices()
526 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testConnectAudio_connectTwoAudioChannelsShouldFail()
598 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testConnectAudio_firstConnectedAudioDevice()
665 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testConnectAudio_deviceDisconnected()
722 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testPhoneStateChange_oneDeviceSaveState()
781 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testPhoneStateChange_multipleDevicesSaveState()
839 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testSetSilenceMode()
[all …]
DHeadsetServiceAndStateMachineTest.java282 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in testConnectFromApi()
325 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in testUnbondDevice_disconnectBeforeUnbond()
368 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in testUnbondDevice_disconnectAfterUnbond()
1153 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in connectTestDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java344 int oldConnectionPolicy = data.getProfileConnectionPolicy(profile); in setProfileConnectionPolicy()
376 public int getProfileConnectionPolicy(BluetoothDevice device, int profile) { in getProfileConnectionPolicy() method in DatabaseManager
391 int connectionPolicy = data.getProfileConnectionPolicy(profile); in getProfileConnectionPolicy()
DMetadata.java118 int getProfileConnectionPolicy(int profile) { in getProfileConnectionPolicy() method in Metadata
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkServiceTest.java95 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.A2DP_SINK)) in mockDevicePriority()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidHostServiceTest.java145 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HID_HOST)) in testOkToConnectCase()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java130 mDatabaseManager.getProfileConnectionPolicy(mTestDevice, id)); in testMetadataDefault()
987 mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.HEADSET)); in testSetGetProfileConnectionPolicyCase()
1007 mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.HEADSET)); in testSetGetProfileConnectionPolicyCase()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientTest.java97 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.MAP_CLIENT)) in mockDevicePriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java421 .getProfileConnectionPolicy(device, BluetoothProfile.A2DP_SINK); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java489 .getProfileConnectionPolicy(device, BluetoothProfile.PBAP_CLIENT); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java278 .getProfileConnectionPolicy(device, BluetoothProfile.MAP_CLIENT); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java524 .getProfileConnectionPolicy(device, BluetoothProfile.PBAP); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java473 .getProfileConnectionPolicy(device, BluetoothProfile.PAN); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java519 .getProfileConnectionPolicy(device, BluetoothProfile.HEARING_AID); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java700 .getProfileConnectionPolicy(device, BluetoothProfile.HID_DEVICE); in getConnectionPolicy()
DHidHostService.java622 .getProfileConnectionPolicy(device, BluetoothProfile.HID_HOST); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java642 .getProfileConnectionPolicy(device, BluetoothProfile.SAP); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java618 .getProfileConnectionPolicy(device, BluetoothProfile.HEADSET_CLIENT); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java675 .getProfileConnectionPolicy(device, BluetoothProfile.A2DP); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java641 .getProfileConnectionPolicy(device, BluetoothProfile.MAP); in getConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java895 .getProfileConnectionPolicy(device, BluetoothProfile.HEADSET); in getConnectionPolicy()