Searched refs:currentDevice (Results 1 – 5 of 5) sorted by relevance
82 val currentDevice = audioManager.mutingExpectedDevice in startListening() constant83 if (currentDevice != null) { in startListening()84 currentMutedDevice = currentDevice in startListening()86 currentDevice.address, currentDevice.name, currentDevice.getIcon() in startListening()
56 String currentDevice = null; in IrqDeviceMap() local61 currentDevice = parser.getAttributeValue(null, ATTR_NAME); in IrqDeviceMap()63 if (currentDevice != null && type == XmlPullParser.END_TAG in IrqDeviceMap()67 mSubsystemsForDevice.put(currentDevice, in IrqDeviceMap()71 currentDevice = null; in IrqDeviceMap()73 if (currentDevice != null && type == XmlPullParser.START_TAG in IrqDeviceMap()
172 val currentDevice by collectLastValue(underTest.currentConnectedDevice) in activeLocalAndRemoteSession_defaultSession_local() constant180 assertThat(currentDevice!!.name).isEqualTo("local_media_device") in activeLocalAndRemoteSession_defaultSession_local()196 val currentDevice by collectLastValue(underTest.currentConnectedDevice) in activeRemoteSession_defaultSession_remote() constant204 assertThat(currentDevice!!.name).isEqualTo("remote_media_device") in activeRemoteSession_defaultSession_remote()220 val currentDevice by collectLastValue(underTest.currentConnectedDevice) in inactiveLocalAndRemoteSession_defaultSession_local() constant228 assertThat(currentDevice!!.name).isEqualTo("local_media_device") in inactiveLocalAndRemoteSession_defaultSession_local()
159 final MediaDevice currentDevice = mock(MediaDevice.class); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice() local161 mLocalMediaManager.mMediaDevices.add(currentDevice); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()163 mLocalMediaManager.mCurrentConnectedDevice = currentDevice; in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()166 when(currentDevice.getId()).thenReturn(TEST_CURRENT_DEVICE_ID); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()393 final MediaDevice currentDevice = mock(MediaDevice.class); in onDeviceAttributesChanged_failingTransferring_shouldResetState() local397 mLocalMediaManager.mMediaDevices.add(currentDevice); in onDeviceAttributesChanged_failingTransferring_shouldResetState()399 when(currentDevice.getId()).thenReturn(TEST_CURRENT_DEVICE_ID); in onDeviceAttributesChanged_failingTransferring_shouldResetState()492 final MediaDevice currentDevice = mock(MediaDevice.class); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice() local496 mLocalMediaManager.mMediaDevices.add(currentDevice); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()499 when(currentDevice.getId()).thenReturn(TEST_CURRENT_DEVICE_ID); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()[all …]
370 final AudioDeviceAttributes currentDevice = sRoutingDevices.get(0); in onRoutingUpdated() local373 if (isBluetoothDevice(currentDevice.getInternalType())) { in onRoutingUpdated()374 addWirelessDeviceIfNew(currentDevice); in onRoutingUpdated()378 final Pair<Boolean, Boolean> enabledAvailable = evaluateState(currentDevice); in onRoutingUpdated()385 + " on device:" + currentDevice); in onRoutingUpdated()388 loglogi("onRoutingUpdated: device:" + currentDevice in onRoutingUpdated()396 + currentDevice); in onRoutingUpdated()399 + currentDevice); in onRoutingUpdated()1231 final AudioDeviceAttributes currentDevice = sRoutingDevices.get(0); in setHeadTrackerEnabled() local1232 if (currentDevice.getType() == ada.getType() in setHeadTrackerEnabled()[all …]