Home | History | Annotate | Download | only in bluetooth

Lines Matching defs:device

74      * @param device - the BluetoothDevice object to connect to.
77 public Boolean pbapClientConnect(BluetoothDevice device) {
79 return sPbapClientProfile.connect(device);
84 * @param device - the Bluetooth Device object to disconnect from.
87 public Boolean pbapClientDisconnect(BluetoothDevice device) {
89 return sPbapClientProfile.disconnect(device);
103 * @param deviceStr - name or MAC address of a Bluetooth device.
107 public void bluetoothPbapClientSetPriority(@RpcParameter(name = "device",
108 description = "Mac address of a BT device.") String deviceStr,
113 BluetoothDevice device =
116 Log.d("Changing priority of device " + device.getAliasName()
118 sPbapClientProfile.setPriority(device, priority);
123 * @return Priority of the device.
127 @RpcParameter(name = "device",
128 description = "Mac address of a BT device.") String deviceStr)
133 BluetoothDevice device =
136 return sPbapClientProfile.getPriority(device);
140 * Connect to an PBAP Client device.
141 * @param deviceStr - Name or MAC address of a bluetooth device.
144 @Rpc(description = "Connect to an PBAP Client device.")
146 @RpcParameter(name = "device",
147 description = "Name or MAC address of a bluetooth device.")
151 BluetoothDevice device =
154 Log.d("Connecting to device " + device.getAliasName());
155 return pbapClientConnect(device);
164 * Disconnect an PBAP Client device.
165 * @param deviceStr - Name or MAC address of a bluetooth device.
168 @Rpc(description = "Disconnect an PBAP Client device.")
170 @RpcParameter(name = "device",
171 description = "Name or MAC address of a device.")
176 BluetoothDevice device =
179 return pbapClientDisconnect(device);
199 * Get the connection status of a device.
200 * @return connection status of the device.
202 @Rpc(description = "Get the connection status of a device.")
205 description = "Name or MAC address of a bluetooth device.")
212 BluetoothDevice device;
214 device = BluetoothFacade.getDevice(deviceList, deviceID);
219 return sPbapClientProfile.getConnectionState(device);