Home
last modified time | relevance | path

Searched refs:mr (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp160 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setCamera() local
161 process_media_recorder_call(env, mr->setCamera(c->remote(), c->getRecordingProxy()), in android_media_MediaRecorder_setCamera()
173 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setVideoSource() local
174 …process_media_recorder_call(env, mr->setVideoSource(vs), "java/lang/RuntimeException", "setVideoSo… in android_media_MediaRecorder_setVideoSource()
186 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setAudioSource() local
187 …process_media_recorder_call(env, mr->setAudioSource(as), "java/lang/RuntimeException", "setAudioSo… in android_media_MediaRecorder_setAudioSource()
198 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setOutputFormat() local
199 …process_media_recorder_call(env, mr->setOutputFormat(of), "java/lang/RuntimeException", "setOutput… in android_media_MediaRecorder_setOutputFormat()
210 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setVideoEncoder() local
211 …process_media_recorder_call(env, mr->setVideoEncoder(ve), "java/lang/RuntimeException", "setVideoE… in android_media_MediaRecorder_setVideoEncoder()
[all …]
/frameworks/base/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp412 void setUpEGLSurfaceFromMediaRecorder(sp<MediaRecorder>& mr);
469 sp<MediaRecorder> mr = new MediaRecorder(); in setUpMediaRecorder() local
470 mr->setVideoSource(videoSource); in setUpMediaRecorder()
471 mr->setOutputFormat(outputFormat); in setUpMediaRecorder()
472 mr->setVideoEncoder(videoEncoder); in setUpMediaRecorder()
473 mr->setOutputFile(fd, 0, 0); in setUpMediaRecorder()
474 mr->setVideoSize(width, height); in setUpMediaRecorder()
475 mr->setVideoFrameRate(fps); in setUpMediaRecorder()
476 mr->prepare(); in setUpMediaRecorder()
478 CHECK_EQ(OK, mr->start()); in setUpMediaRecorder()
[all …]
/frameworks/base/media/java/android/media/
DMediaRecorder.java722 void onError(MediaRecorder mr, int what, int extra); in onError() argument
839 void onInfo(MediaRecorder mr, int what, int extra); in onInfo() argument
857 public EventHandler(MediaRecorder mr, Looper looper) { in EventHandler() argument
859 mMediaRecorder = mr; in EventHandler()
915 MediaRecorder mr = (MediaRecorder)((WeakReference)mediarecorder_ref).get(); in postEventFromNative() local
916 if (mr == null) { in postEventFromNative()
920 if (mr.mEventHandler != null) { in postEventFromNative()
921 Message m = mr.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
922 mr.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/core/java/android/app/
DInstrumentation.java759 MenuRunnable mr = new MenuRunnable(targetActivity, id, flag); in invokeMenuActionSync() local
760 runOnMainSync(mr); in invokeMenuActionSync()
761 return mr.returnValue; in invokeMenuActionSync()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java137 public void onError(MediaRecorder mr, int what, int extra) { in onError() argument