Home
last modified time | relevance | path

Searched refs:getConnectionPolicy (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DVolumeControlProfile.java145 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
149 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in VolumeControlProfile
153 return mService.getConnectionPolicy(device); in getConnectionPolicy()
166 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DSapProfile.java126 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
130 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in SapProfile
134 return mService.getConnectionPolicy(device); in getConnectionPolicy()
144 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DPbapClientProfile.java141 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
145 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in PbapClientProfile
149 return mService.getConnectionPolicy(device); in getConnectionPolicy()
159 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DMapClientProfile.java127 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
131 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in MapClientProfile
135 return mService.getConnectionPolicy(device); in getConnectionPolicy()
145 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DHidProfile.java116 return mService.getConnectionPolicy(device) != CONNECTION_POLICY_FORBIDDEN; in isEnabled()
120 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HidProfile
124 return mService.getConnectionPolicy(device); in getConnectionPolicy()
134 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DHfpClientProfile.java140 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
144 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HfpClientProfile
148 return mService.getConnectionPolicy(device); in getConnectionPolicy()
158 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DA2dpSinkProfile.java130 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
134 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in A2dpSinkProfile
138 return mService.getConnectionPolicy(device); in getConnectionPolicy()
148 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DMapProfile.java128 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
132 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in MapProfile
136 return mService.getConnectionPolicy(device); in getConnectionPolicy()
146 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DCsipSetCoordinatorProfile.java168 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
172 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in CsipSetCoordinatorProfile
176 return mService.getConnectionPolicy(device); in getConnectionPolicy()
186 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DHeadsetProfile.java155 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
159 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HeadsetProfile
163 return mService.getConnectionPolicy(device); in getConnectionPolicy()
173 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DLeAudioProfile.java223 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
227 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in LeAudioProfile
231 return mService.getConnectionPolicy(device); in getConnectionPolicy()
241 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DLocalBluetoothLeBroadcastAssistant.java301 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
304 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in LocalBluetoothLeBroadcastAssistant
308 return mService.getConnectionPolicy(device); in getConnectionPolicy()
317 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DHearingAidProfile.java222 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
226 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HearingAidProfile
230 return mService.getConnectionPolicy(device); in getConnectionPolicy()
240 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DA2dpProfile.java189 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
193 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in A2dpProfile
197 return mService.getConnectionPolicy(device); in getConnectionPolicy()
207 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DLocalBluetoothProfile.java50 int getConnectionPolicy(BluetoothDevice device); in getConnectionPolicy() method
DOppProfile.java53 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in OppProfile
DPbapServerProfile.java105 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in PbapServerProfile
DHidDeviceProfile.java120 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HidDeviceProfile
DPanProfile.java102 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in PanProfile
DLocalBluetoothLeBroadcast.java535 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in LocalBluetoothLeBroadcast