Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DSapProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
126 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
132 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
148 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DPbapClientProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
141 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
147 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
163 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHidProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
116 return mService.getConnectionPolicy(device) != CONNECTION_POLICY_FORBIDDEN; in isEnabled()
122 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
138 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DA2dpSinkProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
130 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
136 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
152 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DMapProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
128 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
134 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
150 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DMapClientProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
129 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
135 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
151 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHfpClientProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
140 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
146 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
162 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHeadsetProfile.java21 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
160 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
166 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
182 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHearingAidProfile.java21 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
180 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
186 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
202 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DPanProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
117 mService.setConnectionPolicy(sink, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
122 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DA2dpProfile.java21 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
182 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
188 return CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
204 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DPbapServerProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
117 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DHidDeviceProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
129 isEnabled = mService.setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
DOppProfile.java54 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; // Settings app doesn't handle OPP in getConnectionPolicy()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfile.java257 CONNECTION_POLICY_FORBIDDEN, CONNECTION_POLICY_UNKNOWN})
277 int CONNECTION_POLICY_FORBIDDEN = 0; field
DBluetoothPbapClient.java286 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
341 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
347 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
DBluetoothSap.java336 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
387 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
391 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
DBluetoothA2dpSink.java305 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
357 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
361 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
DBluetoothMap.java355 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
407 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
411 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
DBluetoothHearingAid.java387 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
440 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
443 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
DBluetoothMapClient.java321 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
372 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
376 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
DBluetoothHidHost.java433 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
488 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
492 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
DBluetoothA2dp.java492 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
556 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
559 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
DBluetoothHeadsetClient.java596 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
648 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
652 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
DBluetoothHeadset.java612 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy()
676 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()
680 return BluetoothProfile.CONNECTION_POLICY_FORBIDDEN; in getConnectionPolicy()

12