Searched refs:mediaPlayer (Results 1 – 9 of 9) sorted by relevance
81 private MediaPlayer mediaPlayer; field in TerminalManager217 mediaPlayer = new MediaPlayer(); in enableMediaPlayer()223 mediaPlayer.setAudioStreamType(AudioManager.STREAM_NOTIFICATION); in enableMediaPlayer()224 mediaPlayer.setOnCompletionListener(new BeepListener()); in enableMediaPlayer()228 mediaPlayer.setDataSource(file.getFileDescriptor(), file.getStartOffset(), file.getLength()); in enableMediaPlayer()230 mediaPlayer.setVolume(volume, volume); in enableMediaPlayer()231 mediaPlayer.prepare(); in enableMediaPlayer()238 if (mediaPlayer != null) { in disableMediaPlayer()239 mediaPlayer.release(); in disableMediaPlayer()240 mediaPlayer = null; in disableMediaPlayer()[all …]
16 private MediaPlayer mediaPlayer; field in MediaPlayerTest21 mediaPlayer = Robolectric.newInstanceOf(MediaPlayer.class); in setUp()22 shadowMediaPlayer = Robolectric.shadowOf(mediaPlayer); in setUp()31 assertThat(mediaPlayer.getCurrentPosition(), equalTo(position)); in testCurrentPosition()
83 ' \'http://www.npr.org/templates/player/mediaPlayer.html?action=3&t=live1\',' + \
META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...