Searched refs:mBluetoothMediaDevice (Results 1 – 2 of 2) sorted by relevance
48 private BluetoothMediaDevice mBluetoothMediaDevice; field in BluetoothMediaDeviceTest59 mBluetoothMediaDevice = new BluetoothMediaDevice(mContext, mDevice, null, null); in setUp()67 assertThat(mBluetoothMediaDevice.isConnected()).isTrue(); in isCachedBluetoothDeviceConnected_deviceConnected_returnTrue()75 assertThat(mBluetoothMediaDevice.isConnected()).isFalse(); in isCachedBluetoothDeviceConnected_deviceNotConnected_returnFalse()88 assertThat(mBluetoothMediaDevice.isFastPairDevice()).isTrue(); in isFastPairDevice_isUntetheredHeadset_returnTrue()101 assertThat(mBluetoothMediaDevice.isFastPairDevice()).isFalse(); in isFastPairDevice_isNotUntetheredHeadset_returnFalse()114 assertThat(mBluetoothMediaDevice.getIcon() instanceof BitmapDrawable).isFalse(); in getIcon_isNotFastPairDevice_drawableTypeIsNotBitmapDrawable()120 assertThat(mBluetoothMediaDevice.getId()).isEqualTo(TEST_ADDRESS); in getId_returnsCachedBluetoothDeviceAddress()
100 private final MediaDevice mBluetoothMediaDevice = mock(BluetoothMediaDevice.class); field in MediaOutputBroadcastDialogTest194 when(mLocalMediaManager.getCurrentConnectedDevice()).thenReturn(mBluetoothMediaDevice); in startBroadcastWithConnectedDevices_hasBroadcastSource_failToAddSource()195 when(((BluetoothMediaDevice) mBluetoothMediaDevice).getCachedDevice()) in startBroadcastWithConnectedDevices_hasBroadcastSource_failToAddSource()216 when(mLocalMediaManager.getCurrentConnectedDevice()).thenReturn(mBluetoothMediaDevice); in startBroadcastWithConnectedDevices_noBroadcastSource_failToAddSource()217 when(mBluetoothMediaDevice.isBLEDevice()).thenReturn(true); in startBroadcastWithConnectedDevices_noBroadcastSource_failToAddSource()218 when(((BluetoothMediaDevice) mBluetoothMediaDevice).getCachedDevice()).thenReturn( in startBroadcastWithConnectedDevices_noBroadcastSource_failToAddSource()390 when(mLocalMediaManager.getCurrentConnectedDevice()).thenReturn(mBluetoothMediaDevice); in addSourceToAllConnectedDevices()391 when(mBluetoothMediaDevice.isBLEDevice()).thenReturn(true); in addSourceToAllConnectedDevices()392 when(((BluetoothMediaDevice) mBluetoothMediaDevice).getCachedDevice()) in addSourceToAllConnectedDevices()