/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbapClient.java | 280 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 282 log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 286 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 287 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 291 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothPbap.java | 298 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 299 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 304 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 305 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 308 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothPan.java | 271 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 272 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 277 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 278 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 281 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothSap.java | 332 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 333 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 336 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 337 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 341 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothA2dpSink.java | 301 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 302 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 305 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 306 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 310 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothMap.java | 351 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 352 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 355 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 356 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 360 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothHearingAid.java | 380 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 381 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 387 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 388 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 391 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothMapClient.java | 317 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 318 if (DBG) Log.d(TAG, "setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 321 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 322 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 326 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothHidDevice.java | 711 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 712 log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 717 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 718 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 721 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothHidHost.java | 426 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 427 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 433 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 434 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 438 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothA2dp.java | 486 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 487 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 492 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 493 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 496 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothHeadsetClient.java | 591 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 592 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 596 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 597 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 601 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothHeadset.java | 608 @ConnectionPolicy int connectionPolicy) { in setConnectionPolicy() argument 609 if (DBG) log("setConnectionPolicy(" + device + ", " + connectionPolicy + ")"); in setConnectionPolicy() 612 if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_FORBIDDEN in setConnectionPolicy() 613 && connectionPolicy != BluetoothProfile.CONNECTION_POLICY_ALLOWED) { in setConnectionPolicy() 617 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy()
|
D | BluetoothAdapter.java | 3542 public static int connectionPolicyToPriority(@ConnectionPolicy int connectionPolicy) { in connectionPolicyToPriority() argument 3543 switch(connectionPolicy) { in connectionPolicyToPriority()
|