Searched refs:channel (Results 1 - 6 of 6) 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.java369 * 3.1) Try a few times to do SDP query for target device OPUSH channel
513 int channel = BluetoothOppPreference.getInstance(mContext).getChannel(
515 if (channel != -1) {
516 if (D) Log.d(TAG, "Get OPUSH channel " + channel + " from cache for " +
519 mSessionHandler.obtainMessage(SDP_RESULT, channel, -1, mBatch.mDestination)
532 int channel;
533 channel = mBatch.mDestination.getServiceChannel(BluetoothUuid.ObexObjectPush);
534 if (channel != -1) {
535 if (D) Log.d(TAG, "Get OPUSH channel "
593 private final int channel; field in class:BluetoothOppTransfer.SocketConnectThread
613 SocketConnectThread(BluetoothDevice device, int channel, boolean retry) argument
[all...]
H A DBluetoothOppRfcommListener.java47 * This class listens on OPUSH channel for incoming connection
78 public BluetoothOppRfcommListener(BluetoothAdapter adapter, int channel) { argument
79 mBtOppRfcommChannel = channel;
149 Log.i(TAG, "Accept thread started on channel " + mBtOppRfcommChannel);
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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastListItem.java53 mChannelView = (TextView) findViewById(R.id.channel);
91 // Speak the date first, then channel name, then message body
/packages/apps/Phone/src/com/android/phone/
H A DBluetoothHeadsetService.java167 ") connection from " + info.mRemoteDevice + "on channel " +
342 private int channel; field in class:BluetoothHeadsetService.RfcommConnectThread
348 public RfcommConnectThread(BluetoothDevice device, int channel, int type) { argument
351 this.channel = channel;
375 device, channel);
381 // The rfcomm channel number might have changed, do SDP
551 int channel = device.getServiceChannel(BluetoothUuid.Handsfree);
552 mConnectThread = new RfcommConnectThread(device, channel, type);
566 int channel
[all...]

Completed in 181 milliseconds