Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaRecorderStateUnitTestTemplate.java87 mMediaRecorder.reset(); in setMediaRecorderToInitialStateAfterReset()
100 mMediaRecorder.reset(); in setMediaRecorderToInitialStateAfterStop()
117 mMediaRecorder.reset(); in setMediaRecorderToInitializedState()
128 mMediaRecorder.reset(); in setMediaRecorderToPreparedState()
141 mMediaRecorder.reset(); in setMediaRecorderToRecordingState()
147 mMediaRecorder.start(); in setMediaRecorderToRecordingState()
155 mMediaRecorder.reset(); in setMediaRecorderToDataSourceConfiguredState()
181 mMediaRecorder.reset(); in setMediaRecorderToErrorState()
201 mMediaRecorder.start(); in setMediaRecorderToErrorState()
334 mMediaRecorder.release(); in cleanUp()
[all …]
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java175 private MediaRecorder mMediaRecorder; field in MediaEncoderFilter
237 mMediaRecorder.setProfile(mProfile); in updateMediaRecorderParams()
254 mMediaRecorder.setOutputFile(mFd); in updateMediaRecorderParams()
313 mMediaRecorder = new MediaRecorder(); in startRecording()
317 mMediaRecorder.prepare(); in startRecording()
330 mMediaRecorder.start(); in startRecording()
428 mMediaRecorder.stop(); in stopRecording()
432 mMediaRecorder.release(); in stopRecording()
433 mMediaRecorder = null; in stopRecording()
456 if (mMediaRecorder != null) { in tearDown()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DScreenMediaRecorder.java85 private MediaRecorder mMediaRecorder; field in ScreenMediaRecorder
128 mMediaRecorder = new MediaRecorder(); in prepare()
151 mMediaRecorder.setVideoEncodingProfileLevel( in prepare()
154 mMediaRecorder.setVideoSize(width, height); in prepare()
168 mMediaRecorder.setOutputFile(mTempVideoFile); in prepare()
169 mMediaRecorder.prepare(); in prepare()
171 mInputSurface = mMediaRecorder.getSurface(); in prepare()
276 mMediaRecorder.start(); in start()
288 closer.register(mMediaRecorder::stop); in end()
289 closer.register(mMediaRecorder::release); in end()
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2RecordingTest.java110 private MediaRecorder mMediaRecorder; field in Camera2RecordingTest
369 mMediaRecorder.start(); in startSlowMotionRecording()
817 mMediaRecorder.setProfile(profile); in prepareRecordingWithProfile()
823 mMediaRecorder.prepare(); in prepareRecordingWithProfile()
854 mMediaRecorder.prepare(); in prepareRecording()
897 mMediaRecorder.start(); in startRecording()
920 mMediaRecorder.stop(); in stopRecording()
922 mMediaRecorder.reset(); in stopRecording()
934 if (mMediaRecorder != null) { in releaseRecorder()
935 mMediaRecorder.release(); in releaseRecorder()
[all …]
H A 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()
460 mMediaRecorder.setProfile(profile); in prepareRecordingWithProfile()
461 mMediaRecorder.setOutputFile(mOutMediaFileName); in prepareRecordingWithProfile()
463 mMediaRecorder.setInputSurface(mPersistentSurface); in prepareRecordingWithProfile()
466 mMediaRecorder.prepare(); in prepareRecordingWithProfile()
[all …]
/aosp14/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java438 mMediaRecorder.start(); in playOrPause()
443 mMediaRecorder = null; in playOrPause()
448 mMediaRecorder.stop(); in playOrPause()
453 mMediaRecorder = null; in playOrPause()
463 if (mMediaRecorder == null) { in setup()
475 mMediaRecorder.prepare(); in setup()
479 mMediaRecorder.release(); in setup()
480 mMediaRecorder = null; in setup()
486 if (mMediaRecorder != null) { in stop()
488 mMediaRecorder.stop(); in stop()
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java347 MediaRecorder mMediaRecorder = new MediaRecorder(); in recordVideoWithPara() local
351 mMediaRecorder.setOutputFile(filename); in recordVideoWithPara()
352 mMediaRecorder.setVideoFrameRate(videoFps); in recordVideoWithPara()
353 mMediaRecorder.setVideoSize(videoWidth, videoHeight); in recordVideoWithPara()
356 mMediaRecorder.setAudioChannels(audioChannels); in recordVideoWithPara()
358 mMediaRecorder.setVideoEncoder(videoEncoder); in recordVideoWithPara()
359 mMediaRecorder.setAudioEncoder(audioEncoder); in recordVideoWithPara()
361 mMediaRecorder.prepare(); in recordVideoWithPara()
362 mMediaRecorder.start(); in recordVideoWithPara()
364 mMediaRecorder.stop(); in recordVideoWithPara()
[all …]
/aosp14/frameworks/base/media/java/android/media/
H A DMediaRecorder.java1582 private MediaRecorder mMediaRecorder; field in MediaRecorder.EventHandler
1586 mMediaRecorder = mr; in EventHandler()
1607 if (mMediaRecorder.mNativeContext == 0) { in handleMessage()
1615 mOnErrorListener.onError(mMediaRecorder, msg.arg1, msg.arg2); in handleMessage()
1622 mOnInfoListener.onInfo(mMediaRecorder, msg.arg1, msg.arg2); in handleMessage()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt28357 Landroid/media/MediaRecorder$EventHandler;->mMediaRecorder:Landroid/media/MediaRecorder;