Searched refs:isConnectedA2dpDevice (Results 1 – 4 of 4) sorted by relevance
215 final boolean isConnectedA2dpDevice = cachedDevice.isConnectedA2dpDevice(); in isCachedDeviceConnected()218 + ", is a2dp connected : " + isConnectedA2dpDevice); in isCachedDeviceConnected()220 return isConnectedHearingAidDevice || isConnectedA2dpDevice; in isCachedDeviceConnected()
256 when(device.isConnectedA2dpDevice()).thenReturn(true); in onDeviceAdded_cachedDeviceIsConnected_callOnDeviceAdded()272 when(device.isConnectedA2dpDevice()).thenReturn(false); in onDeviceAdded_cachedDeviceIsDisconnected_doNothing()290 when(device.isConnectedA2dpDevice()).thenReturn(true); in onDeviceDeleted_cachedDeviceIsConnected_doNothing()309 when(device.isConnectedA2dpDevice()).thenReturn(false); in onDeviceDeleted_cachedDeviceIsDisconnected_callOnDeviceRemoved()
771 assertThat(mCachedDevice.isConnectedA2dpDevice()).isTrue(); in isA2dpDevice_isA2dpDevice()780 assertThat(mCachedDevice.isConnectedA2dpDevice()).isFalse(); in isA2dpDevice_isNotA2dpDevice()830 assertThat(mCachedDevice.isConnectedA2dpDevice()).isFalse(); in isConnectedA2dpDevice_profileIsNull_returnFalse()
1067 public boolean isConnectedA2dpDevice() { in isConnectedA2dpDevice() method in CachedBluetoothDevice