Searched refs:setActiveDevice (Results 1 – 12 of 12) sorted by relevance
72 assertThat(mProfile.setActiveDevice(null)).isTrue(); in setActiveDevice_returnTrue()73 assertThat(mProfile.setActiveDevice(mBluetoothDevice)).isTrue(); in setActiveDevice_returnTrue()
74 assertThat(mProfile.setActiveDevice(null)).isTrue(); in setActiveDevice_returnTrue()75 assertThat(mProfile.setActiveDevice(mBluetoothDevice)).isTrue(); in setActiveDevice_returnTrue()
231 assertThat(mProfile.setActiveDevice(null)).isTrue(); in setActiveDevice_returnTrue()232 assertThat(mProfile.setActiveDevice(mDevice)).isTrue(); in setActiveDevice_returnTrue()
1617 when(mA2dpProfile.setActiveDevice(any(BluetoothDevice.class))).thenReturn(true); in setActive()1618 when(mHfpProfile.setActiveDevice(any(BluetoothDevice.class))).thenReturn(true); in setActive()
124 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in HeadsetProfile131 : mBluetoothAdapter.setActiveDevice(device, ACTIVE_DEVICE_PHONE_CALL); in setActiveDevice()
197 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in HearingAidProfile206 : mBluetoothAdapter.setActiveDevice(device, profiles); in setActiveDevice()
192 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in LeAudioProfile198 : mBluetoothAdapter.setActiveDevice(device, ACTIVE_DEVICE_ALL); in setActiveDevice()
167 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() method in A2dpProfile173 : mBluetoothAdapter.setActiveDevice(device, ACTIVE_DEVICE_AUDIO); in setActiveDevice()
666 if (a2dpProfile.setActiveDevice(getDevice())) { in setActive()673 if (headsetProfile.setActiveDevice(getDevice())) { in setActive()680 if (hearingAidProfile.setActiveDevice(getDevice())) { in setActive()687 if (leAudioProfile.setActiveDevice(getDevice())) { in setActive()
83 protected boolean setActiveDevice(BluetoothDevice device, int profiles) { in setActiveDevice() method in ShadowBluetoothAdapter
165 mBluetoothAdapter.setActiveDevice(btRouteInfo.mBtDevice, ACTIVE_DEVICE_AUDIO); in activateBluetoothDeviceWithAddress()
158 mBluetoothAdapter.setActiveDevice(btRouteInfo.mBtDevice, ACTIVE_DEVICE_AUDIO); in transferTo()