Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp186 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setCamera() local
187 if (mr == NULL) { in android_media_MediaRecorder_setCamera()
191 process_media_recorder_call(env, mr->setCamera(c->remote(), c->getRecordingProxy()), in android_media_MediaRecorder_setCamera()
203 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setVideoSource() local
204 if (mr == NULL) { in android_media_MediaRecorder_setVideoSource()
208 …process_media_recorder_call(env, mr->setVideoSource(vs), "java/lang/RuntimeException", "setVideoSo… in android_media_MediaRecorder_setVideoSource()
221 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setAudioSource() local
222 if (mr == NULL) { in android_media_MediaRecorder_setAudioSource()
226 …process_media_recorder_call(env, mr->setAudioSource(as), "java/lang/RuntimeException", "setAudioSo… in android_media_MediaRecorder_setAudioSource()
237 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setOutputFormat() local
[all …]
/frameworks/base/media/java/android/media/
DMediaRecorder.java1177 void onError(MediaRecorder mr, int what, int extra); in onError() argument
1311 void onInfo(MediaRecorder mr, int what, int extra); in onInfo() argument
1329 public EventHandler(MediaRecorder mr, Looper looper) { in EventHandler() argument
1331 mMediaRecorder = mr; in EventHandler()
1642 MediaRecorder mr = (MediaRecorder)((WeakReference)mediarecorder_ref).get(); in postEventFromNative() local
1643 if (mr == null) { in postEventFromNative()
1647 if (mr.mEventHandler != null) { in postEventFromNative()
1648 Message m = mr.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
1649 mr.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/media/mca/filterfw/jni/
Djni_gl_environment.cpp279 sp<MediaRecorder> mr = getMediaRecorder(env, jmediarecorder); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder() local
280 if (mr == NULL) { in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder()
288 sp<IGraphicBufferProducer> surfaceMS = mr->querySurfaceMediaSourceFromMediaServer(); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder()
/frameworks/base/core/java/android/app/
DInstrumentation.java942 MenuRunnable mr = new MenuRunnable(targetActivity, id, flag); in invokeMenuActionSync() local
943 runOnMainSync(mr); in invokeMenuActionSync()
944 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