Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioOutputRoutingNotificationsActivity.java96 AudioDeviceInfo routedDevice = audioTrack.getRoutedDevice(); in onRoutingChanged() local
97 CharSequence deviceName = routedDevice != null ? routedDevice.getProductName() : "none"; in onRoutingChanged()
98 int deviceType = routedDevice != null ? routedDevice.getType() : -1; in onRoutingChanged()
DAudioInputRoutingNotificationsActivity.java99 AudioDeviceInfo routedDevice = audioRecord.getRoutedDevice(); in onRoutingChanged() local
100 CharSequence deviceName = routedDevice != null ? routedDevice.getProductName() : "none"; in onRoutingChanged()
101 int deviceType = routedDevice != null ? routedDevice.getType() : -1; in onRoutingChanged()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DJavaPlayer.java99 AudioDeviceInfo routedDevice = mAudioTrack.getRoutedDevice(); in getRoutedDeviceId() local
100 return routedDevice != null ? routedDevice.getId() : ROUTED_DEVICE_ID_INVALID; in getRoutedDeviceId()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DJavaRecorder.java56 AudioDeviceInfo routedDevice = mAudioRecord.getRoutedDevice(); in getRoutedDeviceId() local
57 return routedDevice != null ? routedDevice.getId() : ROUTED_DEVICE_ID_INVALID; in getRoutedDeviceId()
/cts/tests/tests/media/src/android/media/cts/
DRoutingTest.java495 AudioDeviceInfo routedDevice = null; in assertHasNonNullRoutedDevice() local
503 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() local
741 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() local
879 assertNotNull(routedDevice); // we probably can't say anything more than this in test_mediaRecorder_getRoutedDeviceId()