Searched refs:btDevice (Results 1 – 2 of 2) sorted by relevance
3725 private boolean handleBtScoActiveDeviceChange(BluetoothDevice btDevice, boolean isActive) { in handleBtScoActiveDeviceChange() argument3726 if (btDevice == null) { in handleBtScoActiveDeviceChange()3729 String address = btDevice.getAddress(); in handleBtScoActiveDeviceChange()3730 BluetoothClass btClass = btDevice.getBluetoothClass(); in handleBtScoActiveDeviceChange()3751 String btDeviceName = btDevice.getName(); in handleBtScoActiveDeviceChange()3765 private void setBtScoActiveDevice(BluetoothDevice btDevice) { in setBtScoActiveDevice() argument3767 Log.i(TAG, "setBtScoActiveDevice: " + mBluetoothHeadsetDevice + " -> " + btDevice); in setBtScoActiveDevice()3769 if (!Objects.equals(btDevice, previousActiveDevice)) { in setBtScoActiveDevice()3774 if (!handleBtScoActiveDeviceChange(btDevice, true)) { in setBtScoActiveDevice()3775 Log.e(TAG, "setBtScoActiveDevice() failed to add new device " + btDevice); in setBtScoActiveDevice()[all …]
410 BluetoothDevice btDevice; in restoreBluetoothA2dp() local413 btDevice = mActiveBluetoothDevice; in restoreBluetoothA2dp()416 if (btDevice != null) { in restoreBluetoothA2dp()659 BluetoothDevice btDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local661 mActiveBluetoothDevice = btDevice; in onReceive()662 mGlobalBluetoothA2dpOn = btDevice != null; in onReceive()