Home
last modified time | relevance | path

Searched refs:mp1 (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java517 mp.setOnCompletionListener(mp1 -> { in testPlayAudioLooping()
978 MediaPlayer mp1 = null; in testGapless() local
991 mp1 = new MediaPlayer(mContext); in testGapless()
992 mp1.setAudioStreamType(AudioManager.STREAM_MUSIC); in testGapless()
995 mp1.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless()
997 mp1.prepare(); in testGapless()
999 int session = mp1.getAudioSessionId(); in testGapless()
1018 int captureintervalms = mp1.getDuration() + mp2.getDuration() - 2000; in testGapless()
1043 mp1.setNextMediaPlayer(mp2); in testGapless()
1044 mp1.start(); in testGapless()
[all …]
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPlaybackConfigurationTest.java845 mp.setOnPreparedListener(mp1 -> onPreparedCalled.signal()); in createPreparedMediaPlayer()
DAudioFocusTest.java1262 mp.setOnPreparedListener(mp1 -> onPreparedCalled.signal()); in createPreparedMediaPlayer()