/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerMethodUnderTest.java | 26 public void invokeMethodUnderTest(MediaPlayer player); argument
|
H A D | MediaRecorderMethodUnderTest.java | 26 public void invokeMethodUnderTest(MediaRecorder player); argument
|
H A D | MediaPlayerGetCurrentPositionStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.getCurrentPosition();
|
H A D | MediaPlayerGetDurationStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.getDuration();
|
H A D | MediaPlayerGetVideoHeightStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.getVideoHeight();
|
H A D | MediaPlayerGetVideoWidthStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.getVideoWidth();
|
H A D | MediaPlayerIsPlayingStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.isPlaying();
|
H A D | MediaPlayerPauseStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.pause();
|
H A D | MediaPlayerResetStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.reset();
|
H A D | MediaPlayerSeekToStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.seekTo(0);
|
H A D | MediaPlayerSetAudioStreamTypeStateUnitTest.java | 56 public void invokeMethodUnderTest(MediaPlayer player) { argument 57 player.setAudioStreamType(AudioManager.STREAM_MUSIC);
|
H A D | MediaPlayerSetLoopingStateUnitTest.java | 56 public void invokeMethodUnderTest(MediaPlayer player) { argument 58 player.setLooping(looping);
|
H A D | MediaPlayerSetVolumeStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.setVolume(0.5f, 0.5f);
|
H A D | MediaPlayerStartStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.start();
|
H A D | MediaPlayerStopStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { argument 56 player.stop();
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayUri2.cpp | 38 /* PlayItf callback for an audio player */ 69 SLObjectItf player, player2, outputMix; local 107 /* Create Output Mix object to be used each player */ 136 /* Create the first audio player */ 137 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 141 /* Create the second audio player with a different path for its data source */ 149 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); 150 result = (*player)->Realize(player2, SL_BOOLEAN_FALSE); ExitOnError(result); 153 /* Get the SLPlayItf, SLVolumeItf and SLPrefetchStatusItf interfaces for each player */ [all...] |
H A D | slesTestLoopUri.cpp | 62 /* PrefetchStatusItf callback for an audio player */ 138 SLObjectItf player; local 160 // Create Output Mix object to be used by player 184 /* Create the audio player */ 189 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 192 /* Realizing the player in synchronous mode. */ 193 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 197 res = (*player)->GetInterface(player, SL_IID_PLA [all...] |
H A D | slesTestPlayStreamType.cpp | 53 /* Objects this application uses: one player and an ouput mix */ 54 SLObjectItf player, outputMix; local 61 /* Data sinks for the audio player */ 65 /* Play, Volume and AndroidStreamType interfaces for the audio player */ 88 /* Create Output Mix object to be used by the player */ 103 /* Configuration of the player */ 127 /* Create the audio player */ 128 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 132 /* Retrieve the configuration interface before the player is realized so its resources 136 result = (*player) [all...] |
H A D | slesTestPlayUri.cpp | 71 /* PrefetchStatusItf callback for an audio player */ 141 SLObjectItf player; local 166 // Create Output Mix object to be used by player 190 /* Create the audio player */ 191 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 194 /* Realizing the player in synchronous mode. */ 195 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 199 res = (*player)->GetInterface(player, SL_IID_PLA [all...] |
H A D | slesTest_playStates.cpp | 53 /* Objects this application uses: one player and an ouput mix */ 54 SLObjectItf player, outputMix; local 61 /* Data sinks for the audio player */ 65 /* Play, Volume and PrefetchStatus interfaces for the audio player */ 86 /* Create Output Mix object to be used by the player */ 101 /* Configuration of the player */ 122 /* Create the audio player */ 123 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 127 /* Realize the player in synchronous mode. */ 128 result = (*player) [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | audioloop.cpp | 71 AudioPlayer *player = new AudioPlayer(NULL); 72 player->setSource(decoder); 74 player->start(); 78 player->stop(); 80 delete player; 81 player = NULL;
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestBassBoostPath.cpp | 55 /* Objects this application uses: one player and an ouput mix */ 56 SLObjectItf player, outputMix; local 67 /* Data sinks for the audio player */ 71 /* Interfaces for the audio player */ 92 /* Create Output Mix object to be used by the player */ 107 /* Configuration of the player */ 144 /* Create the audio player */ 145 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 149 /* Realize the player in synchronous mode. */ 150 result = (*player) [all...] |
H A D | slesTestVirtualizerPath.cpp | 56 /* Objects this application uses: one player and an ouput mix */ 57 SLObjectItf player, outputMix; local 68 /* Data sinks for the audio player */ 72 /* Play and PrefetchStatus interfaces for the audio player */ 93 /* Create Output Mix object to be used by the player */ 108 /* Configuration of the player */ 145 /* Create the audio player */ 146 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 150 /* Realize the player in synchronous mode. */ 151 result = (*player) [all...] |
/frameworks/wilhelm/tests/ |
H A D | mimeUri_test.cpp | 73 /* PrefetchStatusItf callback for an audio player */ 115 SLObjectItf player; local 140 // Create Output Mix object to be used by player 164 /* Create the audio player */ 165 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, 168 /* Realizing the player in synchronous mode. */ 169 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 172 res = (*player)->GetInterface(player, SL_IID_PLA [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AsyncPlayer.java | 60 MediaPlayer player = new MediaPlayer(); 61 player.setAudioStreamType(cmd.stream); 62 player.setDataSource(cmd.context, cmd.uri); 63 player.setLooping(cmd.looping); 64 player.prepare(); 65 player.start(); 69 mPlayer = player; 110 Log.w(mTag, "STOP command without a player");
|