Home
last modified time | relevance | path

Searched refs:setActiveDevice (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DPhoneMediaDeviceTest.java72 when(mA2dpProfile.setActiveDevice(null)).thenReturn(true); in connect_phoneDeviceSetActiveSuccess_isConnectedReturnTrue()
73 when(mHapProfile.setActiveDevice(null)).thenReturn(true); in connect_phoneDeviceSetActiveSuccess_isConnectedReturnTrue()
80 when(mA2dpProfile.setActiveDevice(null)).thenReturn(false); in connect_a2dpProfileSetActiveFail_isConnectedReturnFalse()
81 when(mHapProfile.setActiveDevice(null)).thenReturn(true); in connect_a2dpProfileSetActiveFail_isConnectedReturnFalse()
88 when(mA2dpProfile.setActiveDevice(null)).thenReturn(true); in connect_hearingAidProfileSetActiveFail_isConnectedReturnFalse()
89 when(mHapProfile.setActiveDevice(null)).thenReturn(false); in connect_hearingAidProfileSetActiveFail_isConnectedReturnFalse()
96 when(mA2dpProfile.setActiveDevice(null)).thenReturn(false); in connect_hearingAidAndA2dpProfileSetActiveFail_isConnectedReturnFalse()
97 when(mHapProfile.setActiveDevice(null)).thenReturn(false); in connect_hearingAidAndA2dpProfileSetActiveFail_isConnectedReturnFalse()
106 when(mA2dpProfile.setActiveDevice(null)).thenReturn(true); in connect_hearingAidProfileIsNullAndA2dpProfileNotNull_isConnectedReturnTrue()
114 when(mHapProfile.setActiveDevice(null)).thenReturn(true); in connect_hearingAidProfileNotNullAndA2dpProfileIsNull_isConnectedReturnTrue()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DPhoneMediaDevice.java79 isConnected = hapProfile.setActiveDevice(null) && a2dpProfile.setActiveDevice(null); in connect()
81 isConnected = a2dpProfile.setActiveDevice(null); in connect()
83 isConnected = hapProfile.setActiveDevice(null); in connect()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHeadsetProfile.java136 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in HeadsetProfile
140 return mService.setActiveDevice(device); in setActiveDevice()
DHearingAidProfile.java169 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in HearingAidProfile
171 return mService.setActiveDevice(device); in setActiveDevice()
DA2dpProfile.java171 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in A2dpProfile
173 return mService.setActiveDevice(device); in setActiveDevice()
DCachedBluetoothDevice.java396 if (a2dpProfile.setActiveDevice(getDevice())) { in setActive()
403 if (headsetProfile.setActiveDevice(getDevice())) { in setActive()
410 if (hearingAidProfile.setActiveDevice(getDevice())) { in setActive()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHearingAid.java309 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() method in BluetoothHearingAid
315 service.setActiveDevice(device); in setActiveDevice()
DBluetoothA2dp.java394 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() method in BluetoothA2dp
400 return service.setActiveDevice(device); in setActiveDevice()
DBluetoothHeadset.java1072 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() method in BluetoothHeadset
1079 return service.setActiveDevice(device); in setActiveDevice()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java749 when(mA2dpProfile.setActiveDevice(any(BluetoothDevice.class))).thenReturn(true); in setActive()
750 when(mHfpProfile.setActiveDevice(any(BluetoothDevice.class))).thenReturn(true); in setActive()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt11830 Landroid/bluetooth/IBluetoothA2dp$Stub$Proxy;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z
11865 Landroid/bluetooth/IBluetoothA2dp;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z
12247 Landroid/bluetooth/IBluetoothHeadset$Stub$Proxy;->setActiveDevice(Landroid/bluetooth/BluetoothDevic…
12296 Landroid/bluetooth/IBluetoothHeadset;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z
12499 Landroid/bluetooth/IBluetoothHearingAid$Stub$Proxy;->setActiveDevice(Landroid/bluetooth/BluetoothDe…
12537 Landroid/bluetooth/IBluetoothHearingAid;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z