Searched refs:routedDevice (Results 1 – 5 of 5) sorted by relevance
112 AudioDeviceInfo routedDevice = mAudioTrack.getRoutedDevice(); in getRoutedDeviceId() local113 return routedDevice != null in getRoutedDeviceId()114 ? routedDevice.getId() : BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()
483 AudioDeviceInfo routedDevice = null; in assertHasNonNullRoutedDevice() local491 routedDevice = router.getRoutedDevice(); in assertHasNonNullRoutedDevice()492 if (routedDevice == null && (attempt > 2 || totalWait >= 1000)) { in assertHasNonNullRoutedDevice()495 } while (routedDevice == null && attempt < timeouts.length); in assertHasNonNullRoutedDevice()496 assertNotNull(routedDevice); // we probably can't say anything more than this in assertHasNonNullRoutedDevice()741 AudioDeviceInfo routedDevice = mediaPlayer.getRoutedDevice(); in test_MediaPlayer_RoutingChangedCallback() local742 assertTrue("Routed device should not be null", routedDevice != null); in test_MediaPlayer_RoutingChangedCallback()753 if (routedDevice.getId() != device.getId() && in test_MediaPlayer_RoutingChangedCallback()884 AudioDeviceInfo routedDevice = mediaRecorder.getRoutedDevice(); in test_mediaRecorder_getRoutedDeviceId() local885 assertNotNull(routedDevice); // we probably can't say anything more than this in test_mediaRecorder_getRoutedDeviceId()
53 AudioDeviceInfo routedDevice = mAudioRecord.getRoutedDevice(); in getRoutedDeviceId() local54 return routedDevice != null in getRoutedDeviceId()55 ? routedDevice.getId() : BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()
145 AudioDeviceInfo routedDevice = audioTrack.getRoutedDevice(); in onRoutingChanged() local146 mConnectedPeripheralName = AudioDeviceUtils.formatDeviceName(routedDevice); in onRoutingChanged()
145 AudioDeviceInfo routedDevice = audioRecord.getRoutedDevice(); in onRoutingChanged() local146 mConnectedPeripheralName = AudioDeviceUtils.formatDeviceName(routedDevice); in onRoutingChanged()