Searched refs:currentDevice (Results 1 – 3 of 3) sorted by relevance
135 final MediaDevice currentDevice = mock(MediaDevice.class); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice() local137 mLocalMediaManager.mMediaDevices.add(currentDevice); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()139 mLocalMediaManager.mCurrentConnectedDevice = currentDevice; in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()142 when(currentDevice.getId()).thenReturn(TEST_CURRENT_DEVICE_ID); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()147 verify(currentDevice).disconnect(); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()494 final MediaDevice currentDevice = mock(MediaDevice.class); in onDeviceAttributesChanged_failingTransferring_shouldResetState() local498 mLocalMediaManager.mMediaDevices.add(currentDevice); in onDeviceAttributesChanged_failingTransferring_shouldResetState()602 final MediaDevice currentDevice = mock(MediaDevice.class); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice() local606 mLocalMediaManager.mMediaDevices.add(currentDevice); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()619 mLocalMediaManager.mCurrentConnectedDevice = currentDevice; in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()[all …]
389 BluetoothDevice currentDevice; in getDevicesMatchingConnectionStates() local392 currentDevice = getDevice(); in getDevicesMatchingConnectionStates()397 if (currentDevice != null) { in getDevicesMatchingConnectionStates()398 deviceList.add(currentDevice); in getDevicesMatchingConnectionStates()
197 config.setValue(Config.KEY_DEVICE, currentDevice()); in setConfiguration()210 public DeviceInfoDB.Device currentDevice() { in currentDevice() method in FrameBufferBuffer.ConfigSelector400 DeviceInfo deviceInfo = DeviceInfoDB.getDeviceInfo(getConfigSelector().currentDevice()); in renderNativeBuffer()