Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp164 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setCamera() local
165 process_media_recorder_call(env, mr->setCamera(c->remote(), c->getRecordingProxy()), in android_media_MediaRecorder_setCamera()
177 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setVideoSource() local
178 …process_media_recorder_call(env, mr->setVideoSource(vs), "java/lang/RuntimeException", "setVideoSo… in android_media_MediaRecorder_setVideoSource()
190 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setAudioSource() local
191 …process_media_recorder_call(env, mr->setAudioSource(as), "java/lang/RuntimeException", "setAudioSo… in android_media_MediaRecorder_setAudioSource()
202 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setOutputFormat() local
203 …process_media_recorder_call(env, mr->setOutputFormat(of), "java/lang/RuntimeException", "setOutput… in android_media_MediaRecorder_setOutputFormat()
214 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setVideoEncoder() local
215 …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.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((status_t)OK, mr->start()); in setUpMediaRecorder()
[all …]
/frameworks/base/media/java/android/media/
DMediaRecorder.java829 void onError(MediaRecorder mr, int what, int extra); in onError() argument
946 void onInfo(MediaRecorder mr, int what, int extra); in onInfo() argument
964 public EventHandler(MediaRecorder mr, Looper looper) { in EventHandler() argument
966 mMediaRecorder = mr; in EventHandler()
1022 MediaRecorder mr = (MediaRecorder)((WeakReference)mediarecorder_ref).get(); in postEventFromNative() local
1023 if (mr == null) { in postEventFromNative()
1027 if (mr.mEventHandler != null) { in postEventFromNative()
1028 Message m = mr.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
1029 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.java772 MenuRunnable mr = new MenuRunnable(targetActivity, id, flag); in invokeMenuActionSync() local
773 runOnMainSync(mr); in invokeMenuActionSync()
774 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