/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaRecorderStateUnitTestTemplate.java | 45 private MediaRecorder mMediaRecorder = new MediaRecorder(); field in MediaRecorderStateUnitTestTemplate 73 mMethodUnderTest.invokeMethodUnderTest(mMediaRecorder); in callMediaRecorderMethodUnderTestInState() 87 mMediaRecorder.reset(); in setMediaRecorderToInitialStateAfterReset() 100 mMediaRecorder.reset(); in setMediaRecorderToInitialStateAfterStop() 117 mMediaRecorder.reset(); in setMediaRecorderToInitializedState() 119 mMediaRecorder.setAudioSource(AUDIO_SOURCE); in setMediaRecorderToInitializedState() 128 mMediaRecorder.reset(); in setMediaRecorderToPreparedState() 129 mMediaRecorder.setAudioSource(AUDIO_SOURCE); in setMediaRecorderToPreparedState() 130 mMediaRecorder.setOutputFormat(OUTPUT_FORMAT); in setMediaRecorderToPreparedState() 131 mMediaRecorder.setAudioEncoder(AUDIO_ENCODER); in setMediaRecorderToPreparedState() [all …]
|
/frameworks/av/media/libmedia/ |
D | mediarecorder.cpp | 39 if (mMediaRecorder == NULL) { in setCamera() 48 status_t ret = mMediaRecorder->setCamera(camera, proxy); in setCamera() 60 if (mMediaRecorder == NULL) { in setPreviewSurface() 73 status_t ret = mMediaRecorder->setPreviewSurface(surface); in setPreviewSurface() 85 if (mMediaRecorder == NULL) { in init() 94 status_t ret = mMediaRecorder->init(); in init() 101 ret = mMediaRecorder->setListener(this); in init() 115 if (mMediaRecorder == NULL) { in setVideoSource() 136 status_t ret = mMediaRecorder->setVideoSource(vs); in setVideoSource() 150 if (mMediaRecorder == NULL) { in setAudioSource() [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/ |
D | MediaEncoderFilter.java | 175 private MediaRecorder mMediaRecorder; field in MediaEncoderFilter 232 mMediaRecorder.setVideoSource(GRALLOC_BUFFER); in updateMediaRecorderParams() 234 mMediaRecorder.setAudioSource(mAudioSource); in updateMediaRecorderParams() 237 mMediaRecorder.setProfile(mProfile); in updateMediaRecorderParams() 242 mMediaRecorder.setVideoSize(mWidth, mHeight); in updateMediaRecorderParams() 245 mMediaRecorder.setOutputFormat(mOutputFormat); in updateMediaRecorderParams() 246 mMediaRecorder.setVideoEncoder(mVideoEncoder); in updateMediaRecorderParams() 247 mMediaRecorder.setVideoSize(mWidth, mHeight); in updateMediaRecorderParams() 248 mMediaRecorder.setVideoFrameRate(mFps); in updateMediaRecorderParams() 250 mMediaRecorder.setOrientationHint(mOrientationHint); in updateMediaRecorderParams() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 106 private MediaRecorder mMediaRecorder; field in Camera2RecordingTest 127 mMediaRecorder = new MediaRecorder(); in doBasicRecording() 201 mMediaRecorder = new MediaRecorder(); in constrainedHighSpeedRecording() 365 mMediaRecorder.start(); in startSlowMotionRecording() 472 mMediaRecorder = new MediaRecorder(); in videoSnapshotHelper() 811 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile() 812 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); in prepareRecordingWithProfile() 813 mMediaRecorder.setProfile(profile); in prepareRecordingWithProfile() 814 mMediaRecorder.setOutputFile(mOutMediaFileName); in prepareRecordingWithProfile() 816 mMediaRecorder.setInputSurface(mPersistentSurface); in prepareRecordingWithProfile() [all …]
|
D | Camera2SwitchPreviewTest.java | 135 private MediaRecorder mMediaRecorder; field in Camera2SwitchPreviewTest 311 mMediaRecorder = new MediaRecorder(); in recordingPreviewPreparer() 396 mMediaRecorder.reset(); in basicRecordingPreviewTestByCamera() 406 if (mMediaRecorder != null) { in releaseRecorder() 407 mMediaRecorder.release(); in releaseRecorder() 408 mMediaRecorder = null; in releaseRecorder() 457 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile() 458 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); in prepareRecordingWithProfile() 459 mMediaRecorder.setProfile(profile); in prepareRecordingWithProfile() 460 mMediaRecorder.setOutputFile(mOutMediaFileName); in prepareRecordingWithProfile() [all …]
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
D | ScoAudioTest.java | 423 private MediaRecorder mMediaRecorder; field in ScoAudioTest.SimpleRecordController 438 mMediaRecorder.start(); in playOrPause() 442 mMediaRecorder.release(); in playOrPause() 443 mMediaRecorder = null; in playOrPause() 448 mMediaRecorder.stop(); in playOrPause() 449 mMediaRecorder.reset(); in playOrPause() 452 mMediaRecorder.release(); in playOrPause() 453 mMediaRecorder = null; in playOrPause() 463 if (mMediaRecorder == null) { in setup() 464 mMediaRecorder = new MediaRecorder(); in setup() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 347 MediaRecorder mMediaRecorder = new MediaRecorder(); in recordVideoWithPara() local 348 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoWithPara() 349 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in recordVideoWithPara() 350 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in recordVideoWithPara() 351 mMediaRecorder.setOutputFile(filename); in recordVideoWithPara() 352 mMediaRecorder.setVideoFrameRate(videoFps); in recordVideoWithPara() 353 mMediaRecorder.setVideoSize(videoWidth, videoHeight); in recordVideoWithPara() 354 mMediaRecorder.setVideoEncodingBitRate(videoBitrate); in recordVideoWithPara() 355 mMediaRecorder.setAudioEncodingBitRate(audioBitrate); in recordVideoWithPara() 356 mMediaRecorder.setAudioChannels(audioChannels); in recordVideoWithPara() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 1239 private MediaRecorder mMediaRecorder; field in MediaRecorder.EventHandler 1243 mMediaRecorder = mr; in EventHandler() 1264 if (mMediaRecorder.mNativeContext == 0) { in handleMessage() 1272 mOnErrorListener.onError(mMediaRecorder, msg.arg1, msg.arg2); in handleMessage() 1279 mOnInfoListener.onInfo(mMediaRecorder, msg.arg1, msg.arg2); in handleMessage()
|
/frameworks/av/include/media/ |
D | mediarecorder.h | 268 sp<IMediaRecorder> mMediaRecorder; variable
|
/frameworks/av/media/libmedia/include/media/ |
D | mediarecorder.h | 268 sp<IMediaRecorder> mMediaRecorder; variable
|