Home
last modified time | relevance | path

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

/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalManager.java79 private MediaPlayer mediaPlayer; field in TerminalManager
215 mediaPlayer = new MediaPlayer(); in enableMediaPlayer()
221 mediaPlayer.setAudioStreamType(AudioManager.STREAM_NOTIFICATION); in enableMediaPlayer()
222 mediaPlayer.setOnCompletionListener(new BeepListener()); in enableMediaPlayer()
226 mediaPlayer.setDataSource(file.getFileDescriptor(), file.getStartOffset(), file.getLength()); in enableMediaPlayer()
228 mediaPlayer.setVolume(volume, volume); in enableMediaPlayer()
229 mediaPlayer.prepare(); in enableMediaPlayer()
236 if (mediaPlayer != null) { in disableMediaPlayer()
237 mediaPlayer.release(); in disableMediaPlayer()
238 mediaPlayer = null; in disableMediaPlayer()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DMediaPlayerTest.java16 private MediaPlayer mediaPlayer; field in MediaPlayerTest
21 mediaPlayer = Robolectric.newInstanceOf(MediaPlayer.class); in setUp()
22 shadowMediaPlayer = Robolectric.shadowOf(mediaPlayer); in setUp()
31 assertThat(mediaPlayer.getCurrentPosition(), equalTo(position)); in testCurrentPosition()
/external/autotest/client/site_tests/power_LoadTest/
Dcontrol.email_1hour83 ' \'http://www.npr.org/templates/player/mediaPlayer.html?action=3&t=live1\',' + \