Home
last modified time | relevance | path

Searched refs:mDevice (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DCachedBluetoothDevice.java59 private final BluetoothDevice mDevice; field in CachedBluetoothDevice
100 sb.append("Address:").append(cachedDevice.mDevice); in describe()
135 mDevice = device; in CachedBluetoothDevice()
165 int status = profileManager.getConnectionStatus(cachedDevice.mDevice); in disconnectInt()
166 if (profileManager.disconnect(cachedDevice.mDevice)) { in disconnectInt()
238 if (profileManager.isPreferred(mDevice)) { in connectWithoutResettingTimer()
262 profileManager.setPreferred(mDevice, false); in connectAllProfiles()
297 int status = profileManager.getConnectionStatus(cachedDevice.mDevice); in connectInt()
298 if (profileManager.connect(cachedDevice.mDevice)) { in connectInt()
313 mLocalManager.showError(mDevice, R.string.bluetooth_error_title, in showConnectingError()
[all …]
DBluetoothPermissionRequest.java39 private BluetoothDevice mDevice; field in BluetoothPermissionRequest
52 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
57 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
59 String deviceAddress = mDevice != null ? mDevice.getAddress() : null; in onReceive()
74 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
80 String deviceName = mDevice != null ? mDevice.getName() : null; in onReceive()
DBluetoothPairingDialog.java52 private BluetoothDevice mDevice; field in BluetoothPairingDialog
70 if (device == null || device.equals(mDevice)) {
91 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate()
149 String name = mLocalManager.getCachedDeviceManager().getName(mDevice); in createView()
220 mDevice.setPairingConfirmation(true); in createDisplayPasskeyDialog()
245 mDevice.setPin(pinBytes); in onPair()
248 mDevice.setPasskey(passkey); in onPair()
250 mDevice.setPairingConfirmation(true); in onPair()
252 mDevice.setPairingConfirmation(true); in onPair()
256 mDevice.setRemoteOutOfBandData(); in onPair()
[all …]
DBluetoothPermissionActivity.java55 private BluetoothDevice mDevice; field in BluetoothPermissionActivity
63 if (mDevice.equals(device)) dismissDialog();
80 mDevice = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate()
105 String mRemoteName = mDevice != null ? mDevice.getName() : null; in createDisplayText()
139 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendIntentToReceiver()
DDockService.java112 private BluetoothDevice mDevice; field in DockService
253 mDevice = device; in processMessage()
254 createDialog(mContext, mDevice, state, startId); in processMessage()
262 + mServiceHandler.hasMessages(MSG_TYPE_UNDOCKED_PERMANENT, mDevice)); in processMessage()
271 if (!device.equals(mDevice)) { in processMessage()
272 if (mDevice != null) { in processMessage()
274 handleUndocked(mContext, mBtManager, mDevice); in processMessage()
277 mDevice = device; in processMessage()
469 if (mDevice != null) { in onCheckedChanged()
470 mBtManager.saveDockAutoConnectSetting(mDevice.getAddress(), isChecked); in onCheckedChanged()
[all …]