Lines Matching defs:priority
317 * Set priority of the profile
324 * @param priority
325 * @return true if priority is set, false on error
327 public boolean setPriority(BluetoothDevice device, int priority) {
328 if (DBG) log("setPriority(" + device + ", " + priority + ")");
331 if (priority != BluetoothProfile.PRIORITY_OFF &&
332 priority != BluetoothProfile.PRIORITY_ON) {
336 return mService.setPriority(device, priority);
347 * Get the priority of the profile.
349 * <p> The priority can be any of:
354 * @return priority of the device