Home
last modified time | relevance | path

Searched refs:getActiveDevice (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DA2dpProfile.java172 public BluetoothDevice getActiveDevice() { in getActiveDevice() method in A2dpProfile
174 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()
DHeadsetProfile.java134 public BluetoothDevice getActiveDevice() { in getActiveDevice() method in HeadsetProfile
138 return mService.getActiveDevice(); in getActiveDevice()
DCachedBluetoothDevice.java656 mIsActiveDeviceA2dp = mDevice.equals(a2dpProfile.getActiveDevice()); in fetchActiveDevices()
660 mIsActiveDeviceHeadset = mDevice.equals(headsetProfile.getActiveDevice()); in fetchActiveDevices()
/frameworks/base/core/java/android/bluetooth/
DBluetoothA2dp.java439 public BluetoothDevice getActiveDevice() { in getActiveDevice() method in BluetoothA2dp
444 return service.getActiveDevice(); in getActiveDevice()
DBluetoothHeadset.java1161 public BluetoothDevice getActiveDevice() { in getActiveDevice() method in BluetoothHeadset
1168 return service.getActiveDevice(); in getActiveDevice()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DA2dpProfileTest.java72 when(mBluetoothA2dp.getActiveDevice()).thenReturn(mDevice); in setUp()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java582 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()
DMediaDeviceTest.java157 when(mA2dpProfile.getActiveDevice()).thenReturn(mDevice); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java429 isActiveDeviceA2dp = device.getDevice().equals(a2dpProfile.getActiveDevice()); in isActiveDevice()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothRouteProvider.java402 activeDevices = Collections.singletonList(mA2dpProfile.getActiveDevice()); in onServiceConnected()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java553 setBtScoActiveDevice(mBluetoothHeadset.getActiveDevice()); in onHeadsetProfileConnected()
/frameworks/base/config/
Dboot-image-profile.txt4347 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…