Searched refs:getMediaDeviceById (Results 1 – 4 of 4) sorted by relevance
180 MediaDevice device = getMediaDeviceById(connectDevice.getId()); in connectDevice()301 public MediaDevice getMediaDeviceById(String id) { in getMediaDeviceById() method in LocalMediaManager656 MediaDevice connectDevice = getMediaDeviceById(id); in onConnectedDeviceChanged()
222 MediaDevice device = mLocalMediaManager.getMediaDeviceById(TEST_DEVICE_ID_2); in getMediaDeviceById_idExist_shouldReturnMediaDevice()237 MediaDevice device = mLocalMediaManager.getMediaDeviceById(TEST_CURRENT_DEVICE_ID); in getMediaDeviceById_idNotExist_shouldReturnNull()252 MediaDevice device = mLocalMediaManager.getMediaDeviceById(TEST_CURRENT_DEVICE_ID); in getMediaDeviceById_idIsNull_shouldReturnNull()
262 fullMediaDevice = localMediaManager.getMediaDeviceById(deviceAddress), in <lambda>()
333 whenever(lmm.getMediaDeviceById(eq(address))).thenReturn(fullMediaDevice) in onAboutToConnectDeviceAdded_findsDeviceInfoFromAddress()363 whenever(lmm.getMediaDeviceById(eq(address))).thenReturn(null) in onAboutToConnectDeviceAdded_cantFindDeviceInfoFromAddress()