/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 | 40 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/ |
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/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 90 private MediaRecorder mMediaRecorder; field in RecordingService 183 mMediaRecorder.pause(); in onStartCommand() 188 mMediaRecorder.resume(); in onStartCommand() 257 mMediaRecorder = new MediaRecorder(); in startRecording() 259 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in startRecording() 261 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); in startRecording() 262 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); in startRecording() 268 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264); in startRecording() 269 mMediaRecorder.setVideoSize(screenWidth, screenHeight); in startRecording() 270 mMediaRecorder.setVideoFrameRate(VIDEO_FRAME_RATE); in startRecording() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 110 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 …]
|
D | Camera2SwitchPreviewTest.java | 134 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/ |
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 | 1327 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/include/media/ |
D | mediarecorder.h | 276 sp<IMediaRecorder> mMediaRecorder; variable
|
/frameworks/av/media/libmedia/include/media/ |
D | mediarecorder.h | 276 sp<IMediaRecorder> mMediaRecorder; variable
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 41261 Landroid/media/MediaRecorder$EventHandler;->mMediaRecorder:Landroid/media/MediaRecorder;
|