Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp174 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setCamera() local
175 process_media_recorder_call(env, mr->setCamera(c->remote(), c->getRecordingProxy()), in android_media_MediaRecorder_setCamera()
187 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setVideoSource() local
188 …process_media_recorder_call(env, mr->setVideoSource(vs), "java/lang/RuntimeException", "setVideoSo… in android_media_MediaRecorder_setVideoSource()
201 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setAudioSource() local
202 …process_media_recorder_call(env, mr->setAudioSource(as), "java/lang/RuntimeException", "setAudioSo… in android_media_MediaRecorder_setAudioSource()
213 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setOutputFormat() local
214 …process_media_recorder_call(env, mr->setOutputFormat(of), "java/lang/RuntimeException", "setOutput… in android_media_MediaRecorder_setOutputFormat()
225 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setVideoEncoder() local
226 …process_media_recorder_call(env, mr->setVideoEncoder(ve), "java/lang/RuntimeException", "setVideoE… in android_media_MediaRecorder_setVideoEncoder()
[all …]
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp408 void setUpEGLSurfaceFromMediaRecorder(sp<MediaRecorder>& mr);
465 sp<MediaRecorder> mr = new MediaRecorder(String16()); in setUpMediaRecorder() local
466 mr->setVideoSource(videoSource); in setUpMediaRecorder()
467 mr->setOutputFormat(outputFormat); in setUpMediaRecorder()
468 mr->setVideoEncoder(videoEncoder); in setUpMediaRecorder()
469 mr->setOutputFile(fd, 0, 0); in setUpMediaRecorder()
470 mr->setVideoSize(width, height); in setUpMediaRecorder()
471 mr->setVideoFrameRate(fps); in setUpMediaRecorder()
472 mr->prepare(); in setUpMediaRecorder()
474 CHECK_EQ((status_t)OK, mr->start()); in setUpMediaRecorder()
[all …]
/frameworks/base/media/java/android/media/
DMediaRecorder.java938 void onError(MediaRecorder mr, int what, int extra); in onError() argument
1055 void onInfo(MediaRecorder mr, int what, int extra); in onInfo() argument
1073 public EventHandler(MediaRecorder mr, Looper looper) { in EventHandler() argument
1075 mMediaRecorder = mr; in EventHandler()
1131 MediaRecorder mr = (MediaRecorder)((WeakReference)mediarecorder_ref).get(); in postEventFromNative() local
1132 if (mr == null) { in postEventFromNative()
1136 if (mr.mEventHandler != null) { in postEventFromNative()
1137 Message m = mr.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
1138 mr.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/media/mca/filterfw/jni/
Djni_gl_environment.cpp278 sp<MediaRecorder> mr = getMediaRecorder(env, jmediarecorder); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder() local
279 if (mr == NULL) { in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder()
287 sp<IGraphicBufferProducer> surfaceMS = mr->querySurfaceMediaSourceFromMediaServer(); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder()
/frameworks/base/docs/html/guide/topics/media/
Dmediarouter.jd11 <li><a href="#mr-packages">Media router packages</a></li>
22 <li><a href="#create-mr-callback">Creating a MediaRouter callback</a></li>
23 <li><a href="#attach-mr-callback">Attaching a callback to MediaRouter</a></li>
102 <h3 id="mr-packages">Media router packages</h3>
303 <h3 id="create-mr-callback">Creating a MediaRouter callback</h3>
386 <h3 id="attach-mr-callback">Attaching a callback to MediaRouter</h3>
Dmediarouteprovider.jd13 <li><a href="#mr-packages">Media router packages</a></li>
116 <h3 id="mr-packages">Media router packages</h3>
/frameworks/base/core/java/android/app/
DInstrumentation.java785 MenuRunnable mr = new MenuRunnable(targetActivity, id, flag); in invokeMenuActionSync() local
786 runOnMainSync(mr); in invokeMenuActionSync()
787 return mr.returnValue; in invokeMenuActionSync()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java142 public void onError(MediaRecorder mr, int what, int extra) { in onError() argument