Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
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()
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()
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()
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()
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()
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()
DHeadsetProfile.java160 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
164 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HeadsetProfile
168 return mService.getConnectionPolicy(device); in getConnectionPolicy()
178 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DHearingAidProfile.java180 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
184 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HearingAidProfile
188 return mService.getConnectionPolicy(device); in getConnectionPolicy()
198 if (mService.getConnectionPolicy(device) < CONNECTION_POLICY_ALLOWED) { in setEnabled()
DA2dpProfile.java182 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
186 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in A2dpProfile
190 return mService.getConnectionPolicy(device); in getConnectionPolicy()
200 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
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbapClient.java318 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
334 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothPbapClient
341 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothSap.java366 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
382 public @ConnectionPolicy int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothSap
387 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothA2dpSink.java333 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
349 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothA2dpSink
354 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothMap.java383 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
399 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothMap
404 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothMapClient.java314 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
330 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothMapClient
335 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothHearingAid.java414 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
430 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothHearingAid
437 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothHidHost.java461 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
477 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothHidHost
485 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothHeadsetClient.java626 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
642 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothHeadsetClient
648 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothA2dp.java547 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothA2dp
553 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothHeadset.java668 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothHeadset
673 return service.getConnectionPolicy(device); in getConnectionPolicy()
/frameworks/base/non-updatable-api/
Dsystem-current.txt1410 …ssion(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull an…
1422 …ssion(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull an…
1490 …ssion(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull an…
1496 …ssion(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull an…
1507 …ssion(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull an…
1517 …ssion(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getConnectionPolicy(@NonNull an…

12