Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPanProfile.java117 mService.setConnectionPolicy(sink, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
120 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
122 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DPbapClientProfile.java160 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
163 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHidProfile.java135 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
138 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DSapProfile.java145 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
148 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHfpClientProfile.java159 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
162 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DMapProfile.java147 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
150 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DA2dpSinkProfile.java149 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
152 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHeadsetProfile.java179 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
182 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHearingAidProfile.java199 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
202 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DPbapServerProfile.java117 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DA2dpProfile.java201 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
204 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHidDeviceProfile.java129 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbapClient.java264 return setConnectionPolicy(device, BluetoothAdapter.priorityToConnectionPolicy(priority)); in setPriority()
281 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothPbapClient
293 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothSap.java316 return setConnectionPolicy(device, BluetoothAdapter.priorityToConnectionPolicy(priority)); in setPriority()
333 public boolean setConnectionPolicy(BluetoothDevice device, in setConnectionPolicy() method in BluetoothSap
343 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothA2dpSink.java283 return setConnectionPolicy(device, BluetoothAdapter.priorityToConnectionPolicy(priority)); in setPriority()
300 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothA2dpSink
310 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothMap.java333 return setConnectionPolicy(device, BluetoothAdapter.priorityToConnectionPolicy(priority)); in setPriority()
350 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothMap
360 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothMapClient.java264 return setConnectionPolicy(device, BluetoothAdapter.priorityToConnectionPolicy(priority)); in setPriority()
281 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothMapClient
291 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothHearingAid.java362 return setConnectionPolicy(device, BluetoothAdapter.priorityToConnectionPolicy(priority)); in setPriority()
379 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothHearingAid
391 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothPbap.java297 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothPbap
308 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothHidHost.java408 return setConnectionPolicy(device, BluetoothAdapter.priorityToConnectionPolicy(priority)); in setPriority()
425 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothHidHost
438 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothPan.java270 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothPan
281 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothA2dp.java468 return setConnectionPolicy(device, BluetoothAdapter.priorityToConnectionPolicy(priority)); in setPriority()
485 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothA2dp
496 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothHidDevice.java710 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothHidDevice
721 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothHeadsetClient.java575 return setConnectionPolicy(device, BluetoothAdapter.priorityToConnectionPolicy(priority)); in setPriority()
592 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothHeadsetClient
603 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
DBluetoothHeadset.java607 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() method in BluetoothHeadset
617 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()

12