Home
last modified time | relevance | path

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

/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
H A DHearingAidServiceTest.java290 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
316 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectPriorityOff()
330 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
333 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
367 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testConnectAPair_connectBothDevices()
370 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testConnectAPair_connectBothDevices()
401 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testConnectAnotherPair_disconnectCurrentPair()
404 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testConnectAnotherPair_disconnectCurrentPair()
467 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testAudioManagerConnectDisconnect()
586 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testCreateStateMachineStackEvents()
[all …]
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/
H A DLeAudioServiceTest.java292 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.LE_AUDIO)) in testOutgoingConnectMissingLeAudioUuid()
295 .getProfileConnectionPolicy(mSingleDevice, BluetoothProfile.LE_AUDIO)) in testOutgoingConnectMissingLeAudioUuid()
318 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testOutgoingConnectPriorityOff()
332 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testOutgoingConnectTimeout()
335 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.LE_AUDIO)) in testOutgoingConnectTimeout()
367 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testAudioManagerConnectDisconnect()
370 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.LE_AUDIO)) in testAudioManagerConnectDisconnect()
476 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testCreateStateMachineStackEvents()
479 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.LE_AUDIO)) in testCreateStateMachineStackEvents()
543 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testDeleteStateMachineUnbondEvents()
[all …]
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
H A DA2dpServiceTest.java264 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
270 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
276 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
331 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectMissingAudioSinkUuid()
353 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectPriorityOff()
366 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectTimeout()
396 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectDisconnectSuccess()
508 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testCreateStateMachineStackEvents()
587 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testProcessAudioStateChangedCodecConfigChangedEvents()
882 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.A2DP)) in connectDeviceWithCodecStatus()
[all …]
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
H A 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()
725 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testPhoneStateChange_oneDeviceSaveState()
805 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testPhoneStateChange_multipleDevicesSaveState()
867 when(mDatabaseManager.getProfileConnectionPolicy(any(BluetoothDevice.class), in testSetSilenceMode()
[all …]
H A 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()
1169 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in connectTestDevice()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkServiceTest.java104 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.A2DP_SINK)) in mockDevicePriority()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
H A DHidHostServiceTest.java147 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HID_HOST)) in testOkToConnectCase()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
H A DDatabaseManager.java327 int oldConnectionPolicy = data.getProfileConnectionPolicy(profile); in setProfileConnectionPolicy()
359 public int getProfileConnectionPolicy(BluetoothDevice device, int profile) { in getProfileConnectionPolicy() method in DatabaseManager
374 int connectionPolicy = data.getProfileConnectionPolicy(profile); in getProfileConnectionPolicy()
H A DMetadata.java121 int getProfileConnectionPolicy(int profile) { in getProfileConnectionPolicy() method in Metadata
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
H A DMapClientTest.java101 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.MAP_CLIENT)) in mockDevicePriority()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
H A DDatabaseManagerTest.java130 mDatabaseManager.getProfileConnectionPolicy(mTestDevice, id)); in testMetadataDefault()
1096 mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.HEADSET)); in testSetGetProfileConnectionPolicyCase()
1116 mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.HEADSET)); in testSetGetProfileConnectionPolicyCase()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkService.java468 .getProfileConnectionPolicy(device, BluetoothProfile.A2DP_SINK); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientService.java499 .getProfileConnectionPolicy(device, BluetoothProfile.PBAP_CLIENT); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMapClientService.java283 .getProfileConnectionPolicy(device, BluetoothProfile.MAP_CLIENT); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/
H A DLeAudioService.java694 .getProfileConnectionPolicy(device, BluetoothProfile.LE_AUDIO); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapService.java528 .getProfileConnectionPolicy(device, BluetoothProfile.PBAP); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java465 .getProfileConnectionPolicy(device, BluetoothProfile.PAN); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
H A DHearingAidService.java527 .getProfileConnectionPolicy(device, BluetoothProfile.HEARING_AID); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidDeviceService.java716 .getProfileConnectionPolicy(device, BluetoothProfile.HID_DEVICE); in getConnectionPolicy()
H A DHidHostService.java638 .getProfileConnectionPolicy(device, BluetoothProfile.HID_HOST); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapService.java650 .getProfileConnectionPolicy(device, BluetoothProfile.SAP); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java682 .getProfileConnectionPolicy(device, BluetoothProfile.HEADSET_CLIENT); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java663 .getProfileConnectionPolicy(device, BluetoothProfile.A2DP); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java651 .getProfileConnectionPolicy(device, BluetoothProfile.MAP); in getConnectionPolicy()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java942 .getProfileConnectionPolicy(device, BluetoothProfile.HEADSET); in getConnectionPolicy()