/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
H A D | AwaitableCompletionListener.java | 36 public void onCompletion(MediaPlayer mp) { argument
|
H A D | AwaitableErrorListener.java | 35 public boolean onError(MediaPlayer mp, int what, int extra) { argument
|
/frameworks/wilhelm/src/ |
H A D | handler_bodies.c | 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.c | 76 CMediaPlayer *mp = InterfaceToCMediaPlayer(thiz); local 77 if (NULL != mp) { 78 result = android_Player_loop(mp, loopEnable);
|
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5VideoFullScreen.java | 137 public void onVideoSizeChanged(MediaPlayer mp, int width, int height) { 138 mVideoWidth = mp.getVideoWidth(); 139 mVideoHeight = mp.getVideoHeight(); 196 public void onPrepared(MediaPlayer mp) { argument 197 super.onPrepared(mp); 201 Metadata data = mp.getMetadata(MediaPlayer.METADATA_ALL, 232 mVideoWidth = mp.getVideoWidth(); 233 mVideoHeight = mp.getVideoHeight(); 354 public void onBufferingUpdate(MediaPlayer mp, int percent) {
|
H A D | HTML5Audio.java | 141 public void onBufferingUpdate(MediaPlayer mp, int percent) { argument 146 public void onCompletion(MediaPlayer mp) { argument 158 public boolean onError(MediaPlayer mp, int what, int extra) { argument 166 public void onPrepared(MediaPlayer mp) { argument 172 nativeOnPrepared(mp.getDuration(), 0, 0, mNativePointer); 180 public void onSeekComplete(MediaPlayer mp) { argument 181 nativeOnTimeupdate(mp.getCurrentPosition(), mNativePointer);
|
H A D | HTML5VideoView.java | 303 public void onPrepared(MediaPlayer mp) { argument 307 mProxy.onPrepared(mp);
|
H A D | HTML5VideoViewProxy.java | 306 public void onPrepared(MediaPlayer mp) { argument 310 map.put("dur", new Integer(mp.getDuration())); 311 map.put("width", new Integer(mp.getVideoWidth())); 312 map.put("height", new Integer(mp.getVideoHeight())); 319 public void onCompletion(MediaPlayer mp) { argument 329 public boolean onError(MediaPlayer mp, int what, int extra) { argument 799 public boolean onInfo(MediaPlayer mp, int what, int extra) { argument
|
/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 409 android_Player_realize(CMediaPlayer *mp, SLboolean async) argument 476 android_Player_preDestroy(CMediaPlayer *mp) argument 495 android_Player_destroy(CMediaPlayer *mp) argument 513 android_Player_usePlayEventMask(CMediaPlayer *mp) argument 583 android_Player_volumeUpdate(CMediaPlayer* mp) argument 660 android_Player_seek(CMediaPlayer *mp, SLmillisecond posMsec) argument 680 android_Player_loop(CMediaPlayer *mp, SLboolean loopEnable) argument 698 android_Player_androidBufferQueue_clear_l(CMediaPlayer *mp) argument 707 android_Player_androidBufferQueue_onRefilled_l(CMediaPlayer *mp) argument 722 android_Player_setNativeWindow(CMediaPlayer *mp, ANativeWindow *nativeWindow) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 198 MediaScanner *mp = getNativeScanner_l(env, thiz); local 199 if (mp == NULL) { 215 MediaScanResult result = mp->processDirectory(pathStr, myClient); 230 MediaScanner *mp = getNativeScanner_l(env, thiz); local 231 if (mp == NULL) { 255 MediaScanResult result = mp->processFile(pathStr, mimeTypeStr, myClient); 270 MediaScanner *mp = getNativeScanner_l(env, thiz); local 271 if (mp == NULL) { 284 mp->setLocale(localeStr); 294 MediaScanner *mp local 350 MediaScanner *mp = new StagefrightMediaScanner; local 364 MediaScanner *mp = getNativeScanner_l(env, thiz); local [all...] |
H A D | android_media_MediaPlayer.cpp | 156 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 157 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0); 183 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 184 if (mp == NULL ) { 212 mp->setDataSource( 224 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 225 if (mp == NULL ) { 236 process_media_player_call( env, thiz, mp->setDataSource(fd, offset, length), "java/io/IOException", "setDataSourceFD failed." ); 248 sp<MediaPlayer> mp local 262 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 308 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 325 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 343 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 355 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 367 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 378 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 392 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 404 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 421 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 439 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 453 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 468 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 480 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 492 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 504 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 516 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 631 sp<MediaPlayer> mp = new MediaPlayer(); local 650 sp<MediaPlayer> mp = setMediaPlayer(env, thiz, 0); local 662 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 671 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 681 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 694 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 704 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 730 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 770 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 789 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 209 public void onCompletion(MediaPlayer mp) { argument
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 345 MediaPlayer* mp = new MediaPlayer(); local 346 if (mp->setDataSource(file, NULL) == NO_ERROR) { 347 mp->setAudioStreamType(AUDIO_STREAM_ENFORCED_AUDIBLE); 348 mp->prepare(); 353 return mp;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 787 MediaPlayer mp = new MediaPlayer(); 788 mp.setDataSource(context, uri); 790 mp.setDisplay(holder); 792 mp.prepare(); 793 return mp; 827 MediaPlayer mp = new MediaPlayer(); 828 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 830 mp.prepare(); 831 return mp; 1961 public EventHandler(MediaPlayer mp, Loope argument 2081 onPrepared(MediaPlayer mp) argument 2108 onCompletion(MediaPlayer mp) argument 2142 onBufferingUpdate(MediaPlayer mp, int percent) argument 2169 onSeekComplete(MediaPlayer mp) argument 2201 onVideoSizeChanged(MediaPlayer mp, int width, int height) argument 2230 onTimedText(MediaPlayer mp, TimedText text) argument 2306 onError(MediaPlayer mp, int what, int extra) argument 2411 onInfo(MediaPlayer mp, int what, int extra) argument [all...] |
H A D | AudioService.java | 3181 public void onCompletion(MediaPlayer mp) { 3182 cleanupPlayer(mp); 3186 public boolean onError(MediaPlayer mp, int what, int extra) { 3187 cleanupPlayer(mp); 3210 private void cleanupPlayer(MediaPlayer mp) { argument 3211 if (mp != null) { 3213 mp.stop(); 3214 mp.release();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RIL.java | 87 Parcel mp; field in class:RILRequest 118 rr.mp = Parcel.obtain(); 125 rr.mp.writeInt(request); 126 rr.mp.writeInt(rr.mSerial); 191 if (mp != null) { 192 mp.recycle(); 193 mp = null; 331 data = rr.mp.marshall(); 332 rr.mp.recycle(); 333 rr.mp [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 9913 MoveParams mp = new MoveParams(srcArgs, observer, newFlags, packageName, 9915 msg.obj = mp; 9921 private void processPendingMove(final MoveParams mp, final int currentStatus) { argument 9933 PackageParser.Package pkg = mPackages.get(mp.packageName); 9935 Slog.w(TAG, " Package " + mp.packageName 9938 } else if (!mp.srcArgs.getCodePath().equals(pkg.applicationInfo.sourceDir)) { 9939 Slog.w(TAG, "Package " + mp.packageName + " code path changed from " 9940 + mp.srcArgs.getCodePath() + " to " 9949 pkgList.add(mp.packageName); 9958 PackageParser.Package pkg = mPackages.get(mp [all...] |