Searched refs:mr (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/media/jni/ |
D | android_media_MediaRecorder.cpp | 176 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setCamera() local 177 if (mr == NULL) { in android_media_MediaRecorder_setCamera() 181 process_media_recorder_call(env, mr->setCamera(c->remote(), c->getRecordingProxy()), in android_media_MediaRecorder_setCamera() 193 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setVideoSource() local 194 if (mr == NULL) { in android_media_MediaRecorder_setVideoSource() 198 …process_media_recorder_call(env, mr->setVideoSource(vs), "java/lang/RuntimeException", "setVideoSo… in android_media_MediaRecorder_setVideoSource() 211 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setAudioSource() local 212 if (mr == NULL) { in android_media_MediaRecorder_setAudioSource() 216 …process_media_recorder_call(env, mr->setAudioSource(as), "java/lang/RuntimeException", "setAudioSo… in android_media_MediaRecorder_setAudioSource() 227 sp<MediaRecorder> mr = getMediaRecorder(env, thiz); in android_media_MediaRecorder_setOutputFormat() local [all …]
|
/frameworks/av/media/libstagefright/tests/ |
D | SurfaceMediaSource_test.cpp | 408 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); 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/ |
D | MediaRecorder.java | 1041 void onError(MediaRecorder mr, int what, int extra); in onError() argument 1175 void onInfo(MediaRecorder mr, int what, int extra); in onInfo() argument 1193 public EventHandler(MediaRecorder mr, Looper looper) { in EventHandler() argument 1195 mMediaRecorder = mr; in EventHandler() 1251 MediaRecorder mr = (MediaRecorder)((WeakReference)mediarecorder_ref).get(); in postEventFromNative() local 1252 if (mr == null) { in postEventFromNative() 1256 if (mr.mEventHandler != null) { in postEventFromNative() 1257 Message m = mr.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() 1258 mr.mEventHandler.sendMessage(m); in postEventFromNative()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_gl_environment.cpp | 279 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/ |
D | Instrumentation.java | 879 MenuRunnable mr = new MenuRunnable(targetActivity, id, flag); in invokeMenuActionSync() local 880 runOnMainSync(mr); in invokeMenuActionSync() 881 return mr.returnValue; in invokeMenuActionSync()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 142 public void onError(MediaRecorder mr, int what, int extra) { in onError() argument
|