Searched refs:setActiveDevice (Results 1 – 11 of 11) sorted by relevance
72 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()
79 isConnected = hapProfile.setActiveDevice(null) && a2dpProfile.setActiveDevice(null); in connect()81 isConnected = a2dpProfile.setActiveDevice(null); in connect()83 isConnected = hapProfile.setActiveDevice(null); in connect()
136 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in HeadsetProfile140 return mService.setActiveDevice(device); in setActiveDevice()
169 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in HearingAidProfile171 return mService.setActiveDevice(device); in setActiveDevice()
171 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in A2dpProfile173 return mService.setActiveDevice(device); in setActiveDevice()
396 if (a2dpProfile.setActiveDevice(getDevice())) { in setActive()403 if (headsetProfile.setActiveDevice(getDevice())) { in setActive()410 if (hearingAidProfile.setActiveDevice(getDevice())) { in setActive()
309 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() method in BluetoothHearingAid315 service.setActiveDevice(device); in setActiveDevice()
394 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() method in BluetoothA2dp400 return service.setActiveDevice(device); in setActiveDevice()
1072 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() method in BluetoothHeadset1079 return service.setActiveDevice(device); in setActiveDevice()
749 when(mA2dpProfile.setActiveDevice(any(BluetoothDevice.class))).thenReturn(true); in setActive()750 when(mHfpProfile.setActiveDevice(any(BluetoothDevice.class))).thenReturn(true); in setActive()
11830 Landroid/bluetooth/IBluetoothA2dp$Stub$Proxy;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z11865 Landroid/bluetooth/IBluetoothA2dp;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z12247 Landroid/bluetooth/IBluetoothHeadset$Stub$Proxy;->setActiveDevice(Landroid/bluetooth/BluetoothDevic…12296 Landroid/bluetooth/IBluetoothHeadset;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z12499 Landroid/bluetooth/IBluetoothHearingAid$Stub$Proxy;->setActiveDevice(Landroid/bluetooth/BluetoothDe…12537 Landroid/bluetooth/IBluetoothHearingAid;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z