Home
last modified time | relevance | path

Searched refs:routedDevice (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DJavaPlayer.java112 AudioDeviceInfo routedDevice = mAudioTrack.getRoutedDevice(); in getRoutedDeviceId() local
113 return routedDevice != null in getRoutedDeviceId()
114 ? routedDevice.getId() : BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DRoutingTest.java483 AudioDeviceInfo routedDevice = null; in assertHasNonNullRoutedDevice() local
491 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() local
742 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() local
885 assertNotNull(routedDevice); // we probably can't say anything more than this in test_mediaRecorder_getRoutedDeviceId()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DJavaRecorder.java53 AudioDeviceInfo routedDevice = mAudioRecord.getRoutedDevice(); in getRoutedDeviceId() local
54 return routedDevice != null in getRoutedDeviceId()
55 ? routedDevice.getId() : BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioOutputRoutingNotificationsActivity.java145 AudioDeviceInfo routedDevice = audioTrack.getRoutedDevice(); in onRoutingChanged() local
146 mConnectedPeripheralName = AudioDeviceUtils.formatDeviceName(routedDevice); in onRoutingChanged()
DAudioInputRoutingNotificationsActivity.java145 AudioDeviceInfo routedDevice = audioRecord.getRoutedDevice(); in onRoutingChanged() local
146 mConnectedPeripheralName = AudioDeviceUtils.formatDeviceName(routedDevice); in onRoutingChanged()