Lines Matching refs:mDevice
49 private final BluetoothDevice mDevice;
109 sb.append("Address:").append(mDevice);
133 ((PanProfile) profile).isLocalRoleNap(mDevice)) {
139 ((PanProfile) profile).isLocalRoleNap(mDevice) &&
155 mDevice = device;
168 if (PbapProfile.getConnectionStatus(mDevice) == BluetoothProfile.STATE_CONNECTED)
170 PbapProfile.disconnect(mDevice);
175 if (profile.disconnect(mDevice)) {
217 if (profile.isPreferred(mDevice)) {
239 profile.setPreferred(mDevice, true);
263 if (profile.connect(mDevice)) {
287 if (!mDevice.createBond()) {
307 mDevice.cancelBondProcess();
311 final BluetoothDevice dev = mDevice;
330 int state = profile.getConnectionStatus(mDevice);
339 Log.d(TAG," Clearing all connection state for dev:" + mDevice.getName());
358 return mDevice;
369 mName = mDevice.getAddress();
372 mDevice.setAlias(name);
384 mName = mDevice.getAliasName();
387 mName = mDevice.getAddress();
408 return mDevice.getBondState();
455 mBtClass = mDevice.getBluetoothClass();
459 ParcelUuid[] uuids = mDevice.getUuids();
468 Log.e(TAG, "updating profiles for " + mDevice.getAliasName());
469 BluetoothClass bluetoothClass = mDevice.getBluetoothClass();
522 if (mDevice.isBluetoothDock()) {
583 return mDevice.toString();
591 return mDevice.equals(((CachedBluetoothDevice) o).mDevice);
596 return mDevice.getAddress().hashCode();
636 editor.remove(mDevice.getAddress());
638 editor.putInt(mDevice.getAddress(), permissionChoice);
647 mPhonebookPermissionChoice = preference.getInt(mDevice.getAddress(),