Lines Matching defs:channel
677 /* Returns next random channel, or -1 if we're out */
694 * @param channel RFCOMM channel to listen on
697 * insufficient permissions, or channel in use.
700 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException {
702 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
719 * <p>The system will assign an unused RFCOMM channel to listen on.
722 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices
723 * can use the same UUID to query our SDP server and discover which channel
733 * insufficient permissions, or channel in use.
740 int channel;
743 channel = picker.nextChannel();
745 if (channel == -1) {
750 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
753 if (DBG) Log.d(TAG, "listening on RFCOMM channel " + channel);
756 if (DBG) Log.d(TAG, "RFCOMM channel " + channel + " in use");
760 continue; // try another channel
771 handle = mService.addRfcommServiceRecord(name, new ParcelUuid(uuid), channel,