Searched refs:player (Results 1 - 25 of 79) sorted by relevance

1234

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerMethodUnderTest.java26 public void invokeMethodUnderTest(MediaPlayer player); argument
H A DMediaRecorderMethodUnderTest.java26 public void invokeMethodUnderTest(MediaRecorder player); argument
H A DMediaPlayerGetCurrentPositionStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.getCurrentPosition();
H A DMediaPlayerGetDurationStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.getDuration();
H A DMediaPlayerGetVideoHeightStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.getVideoHeight();
H A DMediaPlayerGetVideoWidthStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.getVideoWidth();
H A DMediaPlayerIsPlayingStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.isPlaying();
H A DMediaPlayerPauseStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.pause();
H A DMediaPlayerResetStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.reset();
H A DMediaPlayerSeekToStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.seekTo(0);
H A DMediaPlayerSetAudioStreamTypeStateUnitTest.java56 public void invokeMethodUnderTest(MediaPlayer player) { argument
57 player.setAudioStreamType(AudioManager.STREAM_MUSIC);
H A DMediaPlayerSetLoopingStateUnitTest.java56 public void invokeMethodUnderTest(MediaPlayer player) { argument
58 player.setLooping(looping);
H A DMediaPlayerSetVolumeStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.setVolume(0.5f, 0.5f);
H A DMediaPlayerStartStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.start();
H A DMediaPlayerStopStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.stop();
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DLocalRenderer.java213 // 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 DslesTestPlayUri2.cpp38 /* 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 DslesTestLoopUri.cpp62 /* 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 DslesTestPlayStreamType.cpp53 /* 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 DslesTestPlayUri.cpp71 /* 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 DslesTest_playStates.cpp52 /* 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 DPlayer.java83 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 DPlayer.java83 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 DslesTestBassBoostPath.cpp55 /* 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 DslesTestVirtualizerPath.cpp56 /* 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...]

Completed in 498 milliseconds

1234