Searched defs:player (Results 1 - 25 of 55) sorted by last modified time

123

/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp28 // default delay in Us used when reposting an event when the player is not ready to accept
140 // only send video size updates if the player was flagged as having video, to avoid
260 sp<IMediaPlayer> player; local
261 getPreparedPlayer(player);
262 if (player != NULL) {
263 player->stop();
266 //player->setDataSource(NULL);
267 player->setVideoSurfaceTexture(NULL);
268 player->disconnect();
290 sp<IMediaPlayer> player; local
315 sp<IMediaPlayer> player; local
[all...]
H A Dandroid_StreamPlayer.cpp39 StreamPlayer * /* const sp<StreamPlayer> & */ player) :
43 mPlayer(player)
186 const sp<StreamPlayer> player(mPlayer.promote());
187 if (player != NULL) {
189 player->seek(ANDROID_UNKNOWN_TIME);
265 const sp<StreamPlayer> player(mPlayer.promote());
266 if (player != NULL) {
267 player->queueRefilled();
367 * Asynchronously notify the player that the queue is ready to be pulled from.
370 // async notification that the ABQ was refilled: the player shoul
32 StreamSourceAppProxy( IAndroidBufferQueue *androidBufferQueue, const sp<CallbackProtector> &callbackProtector, StreamPlayer * player) argument
[all...]
/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 DslesTestDecodeAac.cpp461 /* Objects this application uses: one audio player */
462 SLObjectItf player; local
464 /* Interfaces for the audio player */
492 /* Configuration of the player */
532 /* Create the audio player */
533 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &decSource, &decDest,
543 /* Realize the player in synchronous mode. */
544 res = (*player)->Realize(player, SL_BOOLEAN_FALSE);
549 res = (*player)
[all...]
H A DslesTestDecodeToBuffQueue.cpp279 /* Objects this application uses: one audio player */
280 SLObjectItf player; local
282 /* Interfaces for the audio player */
319 /* Configuration of the player */
358 /* Create the audio player */
359 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &decSource, &decDest,
364 /* Realize the player in synchronous mode. */
365 result = (*player)->Realize(player, SL_BOOLEAN_FALSE);
370 result = (*player)
[all...]
H A DslesTestEqFdPath.cpp60 /* Objects this application uses: one player and an ouput mix */
61 SLObjectItf player, outputMix; local
72 /* Data sinks for the audio player */
76 /* Play and PrefetchStatus interfaces for the audio player */
97 /* Create Output Mix object to be used by the player */
112 /* Configuration of the player */
149 /* Create the audio player */
150 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2,
154 /* Realize the player in synchronous mode. */
155 result = (*player)
[all...]
H A DslesTestEqOutputPath.cpp60 /* Objects this application uses: one player and an ouput mix */
61 SLObjectItf player, outputMix; local
72 /* Data sinks for the audio player */
76 /* Play and PrefetchStatus interfaces for the audio player */
103 /* Create Output Mix object to be used by the player */
121 /* Configuration of the player */
156 /* Create the audio player */
157 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1,
161 /* Realize the player in synchronous mode. */
162 result = (*player)
[all...]
H A DslesTestPlayFdPath.cpp55 /* Objects this application uses: one player and an ouput mix */
56 SLObjectItf player, outputMix; local
63 /* Data sinks for the audio player */
67 /* Play and PrefetchStatus interfaces for the audio player */
87 /* Create Output Mix object to be used by the player */
102 /* Configuration of the player */
129 /* Create the audio player */
130 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1,
134 /* Realize the player in synchronous mode. */
135 result = (*player)
[all...]
H A DslesTestSawtoothBufferQueue.cpp121 SLObjectItf player; local
151 // Create Output Mix object to be used by player
202 /* Create the music player */
203 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player,
207 /* Realizing the player in synchronous mode. */
208 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
212 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
216 res = (*player)
[all...]
H A DslesTestSendToPresetReverb.cpp79 /* Objects this application uses: one player and an ouput mix */
80 SLObjectItf player, outputMix; local
90 /* Data sinks for the audio player */
94 /* Interfaces for the audio player */
123 /* Create Output Mix object to be used by the player */
160 /* Configuration of the player */
200 /* Create the audio player */
201 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 3,
205 /* Realize the player in synchronous mode. */
206 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...]
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp101 /* PlayItf callback for an audio player, will be called for every SL_PLAYEVENT_HEADATNEWPOS event */
168 /* Objects this application uses: one player and an output mix */
169 SLObjectItf player, outputMix; local
176 /* Data sinks for the audio player */
180 /* Play, Volume and PrefetchStatus interfaces for the audio player */
201 /* Create Output Mix object to be used by the player */
216 /* Configuration of the player */
237 /* Create the audio player */
238 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2,
242 /* Realize the player i
[all...]
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp65 /* PrefetchStatusItf callback for an audio player */
143 SLObjectItf player; local
173 // Create Output Mix object to be used by player
197 /* Create the audio player */
198 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
201 /* Realizing the player in synchronous mode. */
202 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
206 res = (*player)->GetInterface(player, SL_IID_PLA
[all...]
H A DslesTestLoopUri.cpp62 /* 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 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 */
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 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 DslesTestSlowDownUri.cpp64 /* PlayItf callback for an audio player */
107 /* PrefetchStatusItf callback for an audio player */
194 SLObjectItf player; local
216 // Create Output Mix object to be used by player
240 /* Create the audio player */
247 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
250 /* Realizing the player in synchronous mode. */
251 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
255 res = (*player)
[all...]
H A DslesTest_playStates.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 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/wilhelm/tests/
H A DmimeUri_test.cpp73 /* 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/wilhelm/tests/sandbox/
H A Dmonkey.c17 // single-threaded, single-player monkey test
46 typedef State_t (*Action_pt)(Player_pt player);
116 // create audio player
129 // realize the player
248 Player_t player; local
249 player.mObject = NULL;
250 player.mPlay = NULL;
251 player.mSeek = NULL;
285 State_t nextState = (*transitionTable[i].mAction)(&player);
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp72 /* AndroidBufferQueueItf callback for an audio player */
196 SLObjectItf player; local
225 // Create Output Mix object to be used by player
249 /* Create the audio player */
250 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
253 /* Realizing the player in synchronous mode. */
254 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
258 res = (*player)->GetInterface(player, SL_IID_PLA
[all...]
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DMediaPlayerProxyTestCase.java51 * {@link #createTestMediaPlayer()} method to construct the player you would like to test. Every
52 * test will construct the player in {@link #setUp()} and release it in {@link #tearDown()}.
440 // The real media player should play a stuttering audio, hopefully my player does too.
501 * If we have a variable speed media player proxy, set the variable speed rate.
503 * If we don't have a variable speed media player proxy, this method will be a no-op.
568 private void setDataSourceFromContentProvider(MediaPlayerProxy player, String assetFilename, argument
570 player.setDataSource(getInstrumentation().getTargetContext(),
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp42 // This file contains a test player that is loaded via the
43 // TestPlayerStub class. The player contains various implementation
121 ALOGD("New invoke test player");
125 extern "C" android::status_t deletePlayer(android::MediaPlayerBase *player) argument
127 ALOGD("Delete invoke test player");
128 delete player;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerGetCurrentPositionStateUnitTest.java55 public void invokeMethodUnderTest(MediaPlayer player) { argument
56 player.getCurrentPosition();

Completed in 275 milliseconds

123