/frameworks/wilhelm/src/ |
H A D | handler_bodies.cpp | 53 CMediaPlayer *mp = (CMediaPlayer *) thiz; local 54 android_Player_volumeUpdate(mp); 108 CMediaPlayer *mp = (CMediaPlayer *) thiz; local 109 android_Player_usePlayEventMask(mp); 117 CMediaPlayer *mp = (CMediaPlayer *) thiz; local 118 android::GenericPlayer* avp = mp->mAVPlayer.get(); 120 android_Player_setPlayState(avp, mp->mPlay.mState, &mp->mAndroidObjState); 151 CMediaPlayer* mp = (CMediaPlayer *)thiz; local 152 if (SL_PLAYSTATE_PLAYING == mp 161 CMediaPlayer *mp = (CMediaPlayer *) thiz; local [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | ISeek.cpp | 76 CMediaPlayer *mp = InterfaceToCMediaPlayer(thiz); local 77 if (NULL != mp) { 78 result = android_Player_loop(mp, loopEnable);
|
/frameworks/base/media/java/android/media/ |
H A D | Ringtone.java | 473 public void onCompletion(MediaPlayer mp) { argument 477 mp.setOnCompletionListener(null); // Help the Java GC: break the refcount cycle.
|
H A D | MediaPlayer.java | 903 MediaPlayer mp = new MediaPlayer(); 906 mp.setAudioAttributes(aa); 907 mp.setAudioSessionId(audioSessionId); 908 mp.setDataSource(context, uri); 910 mp.setDisplay(holder); 912 mp.prepare(); 913 return mp; 968 MediaPlayer mp = new MediaPlayer(); 972 mp.setAudioAttributes(aa); 973 mp 3160 EventHandler(MediaPlayer mp, Looper looper) argument 3451 onPrepared(MediaPlayer mp) argument 3478 onCompletion(MediaPlayer mp) argument 3523 onBufferingUpdate(MediaPlayer mp, int percent) argument 3550 onSeekComplete(MediaPlayer mp) argument 3582 onVideoSizeChanged(MediaPlayer mp, int width, int height) argument 3611 onTimedText(MediaPlayer mp, TimedText text) argument 3635 onSubtitleData(MediaPlayer mp, SubtitleData data) argument 3670 onTimedMetaDataAvailable(MediaPlayer mp, TimedMetaData data) argument 3759 onError(MediaPlayer mp, int what, int extra) argument 3904 onInfo(MediaPlayer mp, int what, int extra) argument 3939 onDrmConfig(MediaPlayer mp) argument 3972 onDrmInfo(MediaPlayer mp, DrmInfo drmInfo) argument 4056 onDrmPrepared(MediaPlayer mp, @PrepareDrmStatusCode int status) argument 4095 OnDrmInfoHandlerDelegate(MediaPlayer mp, OnDrmInfoListener listener, Handler handler) argument 4132 OnDrmPreparedHandlerDelegate(MediaPlayer mp, OnDrmPreparedListener listener, Handler handler) argument 5143 TimeProvider(MediaPlayer mp) argument 5237 onSeekComplete(MediaPlayer mp) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 241 public void onCompletion(MediaPlayer mp) { argument 264 public boolean onError(MediaPlayer mp, int what, int extra) { argument 267 onCompletion(mp);
|
/frameworks/wilhelm/src/android/ |
H A D | MediaPlayer_to_android.cpp | 42 CMediaPlayer* mp = (CMediaPlayer*) user; local 43 if (!android::CallbackProtector::enterCbIfOk(mp->mCallbackProtector)) { 57 SL_LOGV("Received GenericPlayer::kEventPrepared for CMediaPlayer %p", mp); 64 object_lock_exclusive(&mp->mObject); 67 assert(mp->mAndroidObjState == ANDROID_PREPARING); 68 mp->mAndroidObjState = ANDROID_READY; 71 // Most of successful prepare completion for mp->mAVPlayer 79 if (IsInterfaceInitialized(&mp->mObject, MPH_XAPREFETCHSTATUS)) { 80 mp->mPrefetchStatus.mLevel = 0; 81 mp 304 android_Player_checkSourceSink(CMediaPlayer *mp) argument 364 android_Player_create(CMediaPlayer *mp) argument 410 android_Player_realize(CMediaPlayer *mp, SLboolean async) argument 474 android_Player_preDestroy(CMediaPlayer *mp) argument 493 android_Player_destroy(CMediaPlayer *mp) argument 511 android_Player_usePlayEventMask(CMediaPlayer *mp) argument 581 android_Player_volumeUpdate(CMediaPlayer* mp) argument 658 android_Player_seek(CMediaPlayer *mp, SLmillisecond posMsec) argument 678 android_Player_loop(CMediaPlayer *mp, SLboolean loopEnable) argument 696 android_Player_androidBufferQueue_clear_l(CMediaPlayer *mp) argument 705 android_Player_androidBufferQueue_onRefilled_l(CMediaPlayer *mp) argument 720 android_Player_setNativeWindow(CMediaPlayer *mp, ANativeWindow *nativeWindow) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 243 MediaScanner *mp = getNativeScanner_l(env, thiz); local 244 if (mp == NULL) { 260 MediaScanResult result = mp->processDirectory(pathStr, myClient); 275 MediaScanner *mp = getNativeScanner_l(env, thiz); local 276 if (mp == NULL) { 300 MediaScanResult result = mp->processFile(pathStr, mimeTypeStr, myClient); 315 MediaScanner *mp = getNativeScanner_l(env, thiz); local 316 if (mp == NULL) { 329 mp->setLocale(localeStr); 339 MediaScanner *mp local 393 MediaScanner *mp = new StagefrightMediaScanner; local 407 MediaScanner *mp = getNativeScanner_l(env, thiz); local [all...] |
H A D | android_media_MediaPlayer.cpp | 196 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 197 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0); 225 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 226 if (mp == NULL ) { 260 mp->setDataSource( 273 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 274 if (mp == NULL ) { 285 process_media_player_call( env, thiz, mp->setDataSource(fd, offset, length), "java/io/IOException", "setDataSourceFD failed." ); 291 sp<MediaPlayer> mp local 314 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 328 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 374 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 393 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 416 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 434 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 451 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 469 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 481 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 493 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 504 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 518 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 564 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 589 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 632 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 667 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 679 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 696 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 713 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 741 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 755 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 770 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 782 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 793 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 808 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 827 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 839 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 851 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 998 sp<MediaPlayer> mp = new MediaPlayer(); local 1017 sp<MediaPlayer> mp = setMediaPlayer(env, thiz, 0); local 1029 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 1039 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 1050 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 1063 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 1073 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 1100 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 1169 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 1196 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 1306 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 1357 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | Playback.java | 349 public void onSeekComplete(MediaPlayer mp) { argument 350 Log.d(TAG, "onSeekComplete from MediaPlayer:" + mp.getCurrentPosition()); 351 mCurrentPosition = mp.getCurrentPosition(); 397 public boolean onError(MediaPlayer mp, int what, int extra) { argument
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 214 public void onPrepared(MediaPlayer mp) { argument 247 public void onCompletion(MediaPlayer mp) { argument 262 public boolean onError(MediaPlayer mp, int what, int extra) { argument 279 public void onSeekComplete(MediaPlayer mp) { argument
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | Playback.java | 349 public void onSeekComplete(MediaPlayer mp) { argument 350 Log.d(TAG, "onSeekComplete from MediaPlayer:" + mp.getCurrentPosition()); 351 mCurrentPosition = mp.getCurrentPosition(); 397 public boolean onError(MediaPlayer mp, int what, int extra) { argument
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 214 public void onPrepared(MediaPlayer mp) { argument 247 public void onCompletion(MediaPlayer mp) { argument 262 public boolean onError(MediaPlayer mp, int what, int extra) { argument 279 public void onSeekComplete(MediaPlayer mp) { argument
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | ListenerBindingObject.java | 164 public void onCompletion(MediaPlayer mp) { } argument 166 public boolean onError(MediaPlayer mp, int what, int extra) { argument 170 public boolean onInfo(MediaPlayer mp, int what, int extra) { argument 174 public void onPrepared(MediaPlayer mp) { } argument
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 1980 MediaPlayer* mp = new MediaPlayer(); local 1981 if (mp->setDataSource(NULL /* httpService */, file, NULL) == NO_ERROR) { 1982 mp->setAudioStreamType(AUDIO_STREAM_ENFORCED_AUDIBLE); 1983 mp->prepare(); 1988 return mp;
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 4714 public void onCompletion(MediaPlayer mp) { 4715 cleanupPlayer(mp); 4719 public boolean onError(MediaPlayer mp, int what, int extra) { 4720 cleanupPlayer(mp); 4736 private void cleanupPlayer(MediaPlayer mp) { argument 4737 if (mp != null) { 4739 mp.stop(); 4740 mp.release();
|