Lines Matching defs:priority
420 * Set priority of the profile
430 * @param priority
431 * @return true if priority is set, false on error
434 public boolean setPriority(BluetoothDevice device, int priority) {
435 if (DBG) log("setPriority(" + device + ", " + priority + ")");
437 if (priority != BluetoothProfile.PRIORITY_OFF &&
438 priority != BluetoothProfile.PRIORITY_ON) {
442 return mService.setPriority(device, priority);
453 * Get the priority of the profile.
455 * <p> The priority can be any of:
462 * @return priority of the device