Home
last modified time | relevance | path

Searched refs:mMediaRecorder (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaRecorderStateUnitTestTemplate.java45 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/
Dmediarecorder.cpp40 if (mMediaRecorder == NULL) { in setCamera()
49 status_t ret = mMediaRecorder->setCamera(camera, proxy); in setCamera()
61 if (mMediaRecorder == NULL) { in setPreviewSurface()
74 status_t ret = mMediaRecorder->setPreviewSurface(surface); in setPreviewSurface()
86 if (mMediaRecorder == NULL) { in init()
95 status_t ret = mMediaRecorder->init(); in init()
102 ret = mMediaRecorder->setListener(this); in init()
116 if (mMediaRecorder == NULL) { in setVideoSource()
137 status_t ret = mMediaRecorder->setVideoSource(vs); in setVideoSource()
151 if (mMediaRecorder == NULL) { in setAudioSource()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java175 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/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java88 private MediaRecorder mMediaRecorder; field in RecordingService
162 mMediaRecorder.pause(); in onStartCommand()
167 mMediaRecorder.resume(); in onStartCommand()
233 mMediaRecorder = new MediaRecorder(); in startRecording()
235 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in startRecording()
237 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); in startRecording()
238 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); in startRecording()
244 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264); in startRecording()
245 mMediaRecorder.setVideoSize(screenWidth, screenHeight); in startRecording()
246 mMediaRecorder.setVideoFrameRate(VIDEO_FRAME_RATE); in startRecording()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java110 private MediaRecorder mMediaRecorder; field in Camera2RecordingTest
131 mMediaRecorder = new MediaRecorder(); in doBasicRecording()
205 mMediaRecorder = new MediaRecorder(); in constrainedHighSpeedRecording()
369 mMediaRecorder.start(); in startSlowMotionRecording()
476 mMediaRecorder = new MediaRecorder(); in videoSnapshotHelper()
815 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile()
816 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); in prepareRecordingWithProfile()
817 mMediaRecorder.setProfile(profile); in prepareRecordingWithProfile()
818 mMediaRecorder.setOutputFile(mOutMediaFileName); in prepareRecordingWithProfile()
820 mMediaRecorder.setInputSurface(mPersistentSurface); in prepareRecordingWithProfile()
[all …]
DCamera2SwitchPreviewTest.java134 private MediaRecorder mMediaRecorder; field in Camera2SwitchPreviewTest
312 mMediaRecorder = new MediaRecorder(); in recordingPreviewPreparer()
397 mMediaRecorder.reset(); in basicRecordingPreviewTestByCamera()
407 if (mMediaRecorder != null) { in releaseRecorder()
408 mMediaRecorder.release(); in releaseRecorder()
409 mMediaRecorder = null; in releaseRecorder()
458 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile()
459 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); in prepareRecordingWithProfile()
460 mMediaRecorder.setProfile(profile); in prepareRecordingWithProfile()
461 mMediaRecorder.setOutputFile(mOutMediaFileName); in prepareRecordingWithProfile()
[all …]
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java423 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/
DMediaRecorderTest.java347 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/
DMediaRecorder.java1327 private MediaRecorder mMediaRecorder; field in MediaRecorder.EventHandler
1331 mMediaRecorder = mr; in EventHandler()
1352 if (mMediaRecorder.mNativeContext == 0) { in handleMessage()
1360 mOnErrorListener.onError(mMediaRecorder, msg.arg1, msg.arg2); in handleMessage()
1367 mOnInfoListener.onInfo(mMediaRecorder, msg.arg1, msg.arg2); in handleMessage()
/frameworks/av/media/libmedia/include/media/
Dmediarecorder.h276 sp<IMediaRecorder> mMediaRecorder; variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt38486 Landroid/media/MediaRecorder$EventHandler;->mMediaRecorder:Landroid/media/MediaRecorder;