Searched refs:routedDevice (Results 1 – 4 of 4) sorted by relevance
99 AudioDeviceInfo routedDevice = audioRecord.getRoutedDevice(); in onRoutingChanged() local100 CharSequence deviceName = routedDevice != null ? routedDevice.getProductName() : "none"; in onRoutingChanged()101 int deviceType = routedDevice != null ? routedDevice.getType() : -1; in onRoutingChanged()
96 AudioDeviceInfo routedDevice = audioTrack.getRoutedDevice(); in onRoutingChanged() local97 CharSequence deviceName = routedDevice != null ? routedDevice.getProductName() : "none"; in onRoutingChanged()98 int deviceType = routedDevice != null ? routedDevice.getType() : -1; in onRoutingChanged()
56 AudioDeviceInfo routedDevice = mAudioRecord.getRoutedDevice(); in getRoutedDeviceId() local57 return routedDevice != null ? routedDevice.getId() : ROUTED_DEVICE_ID_INVALID; in getRoutedDeviceId()
495 AudioDeviceInfo routedDevice = null; in assertHasNonNullRoutedDevice() local503 routedDevice = router.getRoutedDevice(); in assertHasNonNullRoutedDevice()504 if (routedDevice == null && (attempt > 2 || totalWait >= 1000)) { in assertHasNonNullRoutedDevice()507 } while (routedDevice == null && attempt < timeouts.length); in assertHasNonNullRoutedDevice()508 assertNotNull(routedDevice); // we probably can't say anything more than this in assertHasNonNullRoutedDevice()740 AudioDeviceInfo routedDevice = mediaPlayer.getRoutedDevice(); in test_MediaPlayer_RoutingChangedCallback() local741 assertTrue("Routed device should not be null", routedDevice != null); in test_MediaPlayer_RoutingChangedCallback()752 if (routedDevice.getId() != device.getId() && in test_MediaPlayer_RoutingChangedCallback()878 AudioDeviceInfo routedDevice = mediaRecorder.getRoutedDevice(); in test_mediaRecorder_getRoutedDeviceId() local879 assertNotNull(routedDevice); // we probably can't say anything more than this in test_mediaRecorder_getRoutedDeviceId()