Lines Matching refs:mRemoteDevice
78 private BluetoothDevice mRemoteDevice;
150 ") connection from " + info.mRemoteDevice + "on channel " + info.mRfcommChan);
155 priority = mBinder.getPriority(info.mRemoteDevice);
160 headset = new HeadsetBase(mPowerManager, mAdapter, info.mRemoteDevice,
168 mRemoteDevice = info.mRemoteDevice;
170 headset = new HeadsetBase(mPowerManager, mAdapter, mRemoteDevice, info.mSocketFd,
178 if (!info.mRemoteDevice.equals(mRemoteDevice)) {
180 Log.i(TAG, "Already attempting connect to " + mRemoteDevice +
181 ", disconnecting " + info.mRemoteDevice);
183 headset = new HeadsetBase(mPowerManager, mAdapter, info.mRemoteDevice,
191 Log.i(TAG, "Incoming and outgoing connections to " + info.mRemoteDevice +
199 mHeadset = new HeadsetBase(mPowerManager, mAdapter, mRemoteDevice,
209 Log.i(TAG, "Already connected to " + mRemoteDevice + ", disconnecting " +
210 info.mRemoteDevice);
212 headset = new HeadsetBase(mPowerManager, mAdapter, info.mRemoteDevice,
242 device.equals(mRemoteDevice)) {
367 mDeviceSdpQuery = mRemoteDevice;
465 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevice);
478 mRemoteDevice = null;
485 mHeadsetPriority.set(mRemoteDevice, BluetoothHeadset.PRIORITY_AUTO_CONNECT);
488 mHeadsetPriority.bump(mRemoteDevice);
494 ParcelUuid[] uuids = mRemoteDevice.getUuids();
499 int channel = mRemoteDevice.getServiceChannel(BluetoothUuid.Handsfree);
500 mConnectThread = new RfcommConnectThread(mRemoteDevice, channel, mHeadsetType);
506 int channel = mRemoteDevice.getServiceChannel(BluetoothUuid.HSP);
507 mConnectThread = new RfcommConnectThread(mRemoteDevice, channel, mHeadsetType);
524 mRemoteDevice = mAutoConnectQueue.removeFirst();
526 if (isPhoneDocked(mRemoteDevice)) return doNextAutoConnect();
528 if (DBG) log("pulled " + mRemoteDevice + " off auto-connect queue");
563 return mRemoteDevice;
572 mState + " with headset " + mRemoteDevice);
579 mRemoteDevice = device;
581 if (mRemoteDevice.getUuids() == null) {
594 return mState == BluetoothHeadset.STATE_CONNECTED && mRemoteDevice.equals(device);