Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
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()
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()
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()
DMapClientProfile.java129 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled()
133 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in MapClientProfile
137 return mService.getConnectionPolicy(device); in getConnectionPolicy()
147 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()
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.java316 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
331 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothPbapClient
338 return service.getConnectionPolicy(device); in getConnectionPolicy()
DBluetoothSap.java364 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
379 public @ConnectionPolicy int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothSap
384 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()
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()
DBluetoothMapClient.java349 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
364 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothMapClient
369 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.java624 return BluetoothAdapter.connectionPolicyToPriority(getConnectionPolicy(device)); in getPriority()
639 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() method in BluetoothHeadsetClient
645 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()

12