Searched defs:channel (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppPreference.java44 * This class cache Bluetooth device name and channel locally. Its a temp
118 Integer channel = null;
120 channel = mChannels.get(key);
122 " as " + channel);
124 return (channel != null) ? channel : -1;
137 public void setChannel(BluetoothDevice remoteDevice, int uuid, int channel) { argument
139 + channel);
140 if (channel != getChannel(remoteDevice, uuid)) {
143 ed.putInt(key, channel);
[all...]
H A DBluetoothOppTransfer.java349 * 3.1) Try a few times to do SDP query for target device OPUSH channel
505 private final int channel; field in class:BluetoothOppTransfer.SocketConnectThread
519 this.channel = port;
525 public SocketConnectThread(BluetoothDevice device, int channel, boolean argument
530 this.channel = channel;
541 this.channel = -1;
571 s.connect(new InetSocketAddress(host, channel), CONNECT_WAIT_TIMEOUT);
H A DTestActivity.java350 * This class listens on OPUSH channel for incoming connection
378 public TestTcpListener(int channel) { argument
379 mBtOppRfcommChannel = channel;
392 Log.v(TAG, "Create server RfcommSocket on channel"
396 Log.e(TAG, "Error listing on channel" + mBtOppRfcommChannel);
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_btservice_AdapterService.cpp826 jbyteArray uuidObj, jint channel, jint flag) {
846 (const uint8_t*) uuid, channel, &socket_fd, flag)) != BT_STATUS_SUCCESS) {
868 jstring name_str, jbyteArray uuidObj, jint channel, jint flag) {
885 (const uint8_t*) uuid, channel, &socket_fd, flag)) != BT_STATUS_SUCCESS) {
825 connectSocketNative(JNIEnv *env, jobject object, jbyteArray address, jint type, jbyteArray uuidObj, jint channel, jint flag) argument
867 createSocketChannelNative(JNIEnv *env, jobject object, jint type, jstring name_str, jbyteArray uuidObj, jint channel, jint flag) argument

Completed in 92 milliseconds