Home
last modified time | relevance | path

Searched refs:getStreamType (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DRingtoneTest.java59 mOriginalStreamType = mRingtone.getStreamType(); in setUp()
148 assertEquals(AudioManager.STREAM_MUSIC, mRingtone.getStreamType()); in testRingtone()
150 assertEquals(AudioManager.STREAM_ALARM, mRingtone.getStreamType()); in testRingtone()
153 assertEquals(AudioManager.STREAM_RING, mRingtone.getStreamType()); in testRingtone()
158 assertTrue(mRingtone.getStreamType() == AudioManager.STREAM_RING); in testRingtone()
166 assertTrue(mRingtone.getStreamType() == AudioManager.STREAM_RING); in testRingtone()
DRingtoneManagerTest.java174 assertEquals(RingtoneManager.TYPE_ALARM, r.getStreamType()); in testSetType()
DAudioTrackSurroundTest.java435 + mTrack.getNativeOutputSampleRate(mTrack.getStreamType())); in playAndMeasureRate()
DAudioTrackTest.java403 final int observedStreamType = track.getStreamType(); in testBuilderAttributesStream()
1490 assertEquals(TEST_NAME, TEST_STREAM_TYPE, track.getStreamType()); in testAudioTrackProperties()
/cts/hostsidetests/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java346 assertThat(result.getStreamType().toString()).isEqualTo("STREAM_TYPE_UNKNOWN"); in testPlaybackMetrics_default()
383 assertThat(result.getStreamType().toString()).isEqualTo("STREAM_TYPE_OTHER"); in testPlaybackMetrics()
464 assertThat(result.getStreamType().toString()).isEqualTo("STREAM_TYPE_OTHER"); in testAttributionBlocklist()
518 assertThat(result.getStreamType().toString()).isEqualTo("STREAM_TYPE_OTHER"); in testAttributionAllowlist()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java92 public int getStreamType () { in getStreamType() method in SoundPlayerObject