Home
last modified time | relevance | path

Searched refs:setConnectionPolicy (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java348 verify(mA2dpService, never()).setConnectionPolicy(eq(connectionOrder.get(0)), anyInt()); in testReconnectOnPartialConnect_PreviousPartialFail()
545 verify(mHeadsetService, times(0)).setConnectionPolicy(eq(testDevices[0]), anyInt()); in testSetConnectionPolicyMultipleDevices()
546 verify(mA2dpService, times(0)).setConnectionPolicy(eq(testDevices[0]), anyInt()); in testSetConnectionPolicyMultipleDevices()
547 verify(mHeadsetService, times(0)).setConnectionPolicy(eq(testDevices[1]), in testSetConnectionPolicyMultipleDevices()
549 verify(mA2dpService, times(0)).setConnectionPolicy(eq(testDevices[1]), anyInt()); in testSetConnectionPolicyMultipleDevices()
550 verify(mHeadsetService, times(0)).setConnectionPolicy(eq(testDevices[2]), anyInt()); in testSetConnectionPolicyMultipleDevices()
551 verify(mA2dpService, times(0)).setConnectionPolicy(eq(testDevices[2]), anyInt()); in testSetConnectionPolicyMultipleDevices()
552 verify(mHeadsetService, times(0)).setConnectionPolicy(eq(testDevices[3]), anyInt()); in testSetConnectionPolicyMultipleDevices()
553 verify(mA2dpService, times(0)).setConnectionPolicy(eq(testDevices[3]), anyInt()); in testSetConnectionPolicyMultipleDevices()
579 verify(mHeadsetService, times(0)).setConnectionPolicy(eq(testDevices[0]), anyInt()); in testSetConnectionPolicyMultipleDevices()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java541 hidService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()
544 a2dpService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()
547 headsetService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()
550 headsetClientService.setConnectionPolicy(device, in clearProfilePriority()
554 a2dpSinkService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()
557 pbapClientService.setConnectionPolicy(device, in clearProfilePriority()
DAdapterService.java2414 mA2dpService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in connectAllEnabledProfiles()
2420 mA2dpSinkService.setConnectionPolicy(device, in connectAllEnabledProfiles()
2427 mHeadsetService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in connectAllEnabledProfiles()
2433 mHeadsetClientService.setConnectionPolicy(device, in connectAllEnabledProfiles()
2440 mMapClientService.setConnectionPolicy(device, in connectAllEnabledProfiles()
2447 mHidHostService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in connectAllEnabledProfiles()
2453 mPanService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in connectAllEnabledProfiles()
2459 mPbapClientService.setConnectionPolicy(device, in connectAllEnabledProfiles()
2466 mHearingAidService.setConnectionPolicy(device, in connectAllEnabledProfiles()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java612 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in SapService
837 boolean result = setConnectionPolicy(mRemoteDevice, in onReceive()
859 boolean result = setConnectionPolicy(mRemoteDevice, in onReceive()
1021 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in SapService.SapBinder
1026 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java219 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in A2dpSinkService.A2dpSinkServiceBinder
224 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
392 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in A2dpSinkService
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java489 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in BluetoothPbapService
719 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in BluetoothPbapService.PbapBinder
728 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
779 setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in checkOrGetPhonebookPermission()
DPbapStateMachine.java299 mService.setConnectionPolicy( in enter()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java300 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in PbapClientService.BluetoothPbapClientBinder
305 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
448 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in PbapClientService
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java243 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in MapClientService
550 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in MapClientService.Binder
555 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java270 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in PanService.BluetoothPanBinder
275 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
439 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in PanService
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java484 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HearingAidService
934 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HearingAidService.BluetoothHearingAidBinder
939 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java412 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HidDeviceService.BluetoothHidDeviceBinder
423 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
664 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HidDeviceService
DHidHostService.java396 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HidHostService.BluetoothHidHostBinder
402 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
585 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HidHostService
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java266 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HeadsetClientService.BluetoothHeadsetClientBinder
271 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
585 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HeadsetClientService
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java494 return service.setConnectionPolicy(device, connectionPolicy); in setPriority()
498 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HeadsetService.BluetoothHeadsetBinder
504 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
865 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in HeadsetService
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java642 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in A2dpService
1284 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in A2dpService.BluetoothA2dpBinder
1289 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java608 boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in BluetoothMapService
1309 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() method in BluetoothMapService.BluetoothMapBinder
1314 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()