Searched refs:getStreamType (Results 1 – 6 of 6) sorted by relevance
59 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()
174 assertEquals(RingtoneManager.TYPE_ALARM, r.getStreamType()); in testSetType()
435 + mTrack.getNativeOutputSampleRate(mTrack.getStreamType())); in playAndMeasureRate()
403 final int observedStreamType = track.getStreamType(); in testBuilderAttributesStream()1490 assertEquals(TEST_NAME, TEST_STREAM_TYPE, track.getStreamType()); in testAudioTrackProperties()
346 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()
92 public int getStreamType () { in getStreamType() method in SoundPlayerObject