Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DMapClientProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
145 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
146 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DHidProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
134 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
135 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DSapProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
144 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
145 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DPbapClientProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
159 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
160 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DHfpClientProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
158 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
159 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DMapProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
146 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
147 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DA2dpSinkProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
148 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
149 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DHeadsetProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
178 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
179 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DHearingAidProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
198 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
199 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DPanProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
120 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
DA2dpProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
200 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
201 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED); in setEnabled()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfile.java263 @IntDef(prefix = "CONNECTION_POLICY_", value = {CONNECTION_POLICY_ALLOWED,
275 int CONNECTION_POLICY_ALLOWED = 100; field
DBluetoothPbapClient.java318 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothPbap.java339 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothSap.java376 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothPan.java332 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothA2dpSink.java343 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothLeAudio.java404 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothMap.java396 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothHearingAid.java426 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothHidDevice.java791 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothMapClient.java411 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothHidHost.java475 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()
DBluetoothAdapter.java4326 return BluetoothProfile.CONNECTION_POLICY_ALLOWED; in priorityToConnectionPolicy()
4328 return BluetoothProfile.CONNECTION_POLICY_ALLOWED; in priorityToConnectionPolicy()
4349 case BluetoothProfile.CONNECTION_POLICY_ALLOWED: in connectionPolicyToPriority()
DBluetoothA2dp.java565 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy()

12