/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/base/tests/OneMedia/src/com/android/onemedia/playback/ |
H A D | LocalRenderer.java | 213 // The current error state of this player. This is cleared when the state 262 public void onPrepared(MediaPlayer player) { argument 263 if (!isCurrentPlayer(player)) { 275 player.start(); 281 public void onBufferingUpdate(MediaPlayer player, int percent) { argument 282 if (!isCurrentPlayer(player)) { 289 public void onCompletion(MediaPlayer player) { argument 290 if (!isCurrentPlayer(player)) { 311 public boolean onError(MediaPlayer player, int what, int extra) { argument 312 if (!isCurrentPlayer(player)) { 615 preparePlayer(final MediaPlayer player, boolean current) argument 653 isHolderReady(final SurfaceHolder holder, final MediaPlayer player) argument 718 isCurrentPlayer(MediaPlayer player) argument [all...] |
/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 */ 135 SLObjectItf player; local 157 // Create Output Mix object to be used by player 181 /* Create the audio player */ 186 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 189 /* Realizing the player in synchronous mode. */ 190 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 194 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 */ 138 SLObjectItf player; local 163 // Create Output Mix object to be used by player 187 /* Create the audio player */ 188 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 191 /* Realizing the player in synchronous mode. */ 192 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 196 res = (*player)->GetInterface(player, SL_IID_PLA [all...] |
H A D | slesTest_playStates.cpp | 52 /* Objects this application uses: one player and an ouput mix */ 53 SLObjectItf player, outputMix; local 60 /* Data sinks for the audio player */ 64 /* Play, Volume and PrefetchStatus interfaces for the audio player */ 85 /* Create Output Mix object to be used by the player */ 100 /* Configuration of the player */ 121 /* Create the audio player */ 122 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 126 /* Realize the player in synchronous mode. */ 127 result = (*player) [all...] |
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | Player.java | 83 Player player; 86 player = new RemotePlayer(context); 88 player = new LocalPlayer.SurfaceViewPlayer(context); 90 player = new LocalPlayer.OverlayPlayer(context); 92 player.setMediaSession(session); 93 player.initMediaSession(); 94 player.connect(route); 95 return player;
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | Player.java | 83 Player player; 86 player = new RemotePlayer(context); 88 player = new LocalPlayer.SurfaceViewPlayer(context); 90 player = new LocalPlayer.OverlayPlayer(context); 92 player.setMediaSession(session); 93 player.initMediaSession(); 94 player.connect(route); 95 return player;
|
/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...] |