Searched refs:getActiveDevice (Results 1 – 12 of 12) sorted by relevance
172 public BluetoothDevice getActiveDevice() { in getActiveDevice() method in A2dpProfile174 return mService.getActiveDevice(); in getActiveDevice()221 BluetoothDevice bluetoothDevice = (device != null) ? device : mService.getActiveDevice(); in supportsHighQualityAudio()230 BluetoothDevice bluetoothDevice = (device != null) ? device : mService.getActiveDevice(); in isHighQualityAudioEnabled()256 BluetoothDevice bluetoothDevice = (device != null) ? device : mService.getActiveDevice(); in setHighQualityAudioEnabled()275 BluetoothDevice bluetoothDevice = (device != null) ? device : mService.getActiveDevice(); in getHighQualityAudioOptionLabel()
134 public BluetoothDevice getActiveDevice() { in getActiveDevice() method in HeadsetProfile138 return mService.getActiveDevice(); in getActiveDevice()
656 mIsActiveDeviceA2dp = mDevice.equals(a2dpProfile.getActiveDevice()); in fetchActiveDevices()660 mIsActiveDeviceHeadset = mDevice.equals(headsetProfile.getActiveDevice()); in fetchActiveDevices()
439 public BluetoothDevice getActiveDevice() { in getActiveDevice() method in BluetoothA2dp444 return service.getActiveDevice(); in getActiveDevice()
1161 public BluetoothDevice getActiveDevice() { in getActiveDevice() method in BluetoothHeadset1168 return service.getActiveDevice(); in getActiveDevice()
72 when(mBluetoothA2dp.getActiveDevice()).thenReturn(mDevice); in setUp()
582 when(mA2dpProfile.getActiveDevice()).thenReturn(bluetoothDevice); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice()743 when(mA2dpProfile.getActiveDevice()).thenReturn(bluetoothDevice2); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice()771 when(mA2dpProfile.getActiveDevice()).thenReturn(null); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
157 when(mA2dpProfile.getActiveDevice()).thenReturn(mDevice); in setUp()
429 isActiveDeviceA2dp = device.getDevice().equals(a2dpProfile.getActiveDevice()); in isActiveDevice()
402 activeDevices = Collections.singletonList(mA2dpProfile.getActiveDevice()); in onServiceConnected()
553 setBtScoActiveDevice(mBluetoothHeadset.getActiveDevice()); in onHeadsetProfileConnected()
4347 HSPLandroid/bluetooth/BluetoothA2dp;->getActiveDevice()Landroid/bluetooth/BluetoothDevice;4440 HSPLandroid/bluetooth/BluetoothHeadset;->getActiveDevice()Landroid/bluetooth/BluetoothDevice;4540 HSPLandroid/bluetooth/IBluetoothA2dp$Stub$Proxy;->getActiveDevice()Landroid/bluetooth/BluetoothDevi…4551 HSPLandroid/bluetooth/IBluetoothHeadset$Stub$Proxy;->getActiveDevice()Landroid/bluetooth/BluetoothD…