Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java89 private MediaRecorder mMediaRecorder; field in MediaRecorderTest
124 mMediaRecorder = new MediaRecorder(); in setUp()
131 mMediaRecorder.setOutputFile(OUTPUT_PATH); in setUp()
132 mMediaRecorder.setOnInfoListener(new OnInfoListener() { in setUp()
146 mMediaRecorder.setOnErrorListener(new OnErrorListener() { in setUp()
158 if (mMediaRecorder != null) { in tearDown()
159 mMediaRecorder.release(); in tearDown()
160 mMediaRecorder = null; in tearDown()
198 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in testRecorderCamera()
199 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in testRecorderCamera()
[all …]
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DMediaRecorderCameraActivity.java51 private MediaRecorder mMediaRecorder; field in MediaRecorderCameraActivity
63 mMediaRecorder = new MediaRecorder(); in onCreate()
108 if (mMediaRecorder != null) { in onDestroy()
109 mMediaRecorder.stop(); in onDestroy()
110 mMediaRecorder.release(); in onDestroy()
122 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in surfaceChanged()
123 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in surfaceChanged()
124 mMediaRecorder.setPreviewDisplay(mSurfaceView.getHolder().getSurface()); in surfaceChanged()
125 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); in surfaceChanged()
126 mMediaRecorder.setVideoSize(VIDEO_WIDTH, VIDEO_HEIGHT); in surfaceChanged()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java91 private MediaRecorder mMediaRecorder; field in RecordingTest
112 mMediaRecorder = new MediaRecorder(); in doBasicRecording()
209 mMediaRecorder = new MediaRecorder(); in testSupportedVideoSizes()
310 mMediaRecorder = new MediaRecorder(); in testRecordingFramerateLowToHigh()
366 mMediaRecorder = new MediaRecorder(); in slowMotionRecording()
439 mMediaRecorder = new MediaRecorder(); in constrainedHighSpeedRecording()
612 mMediaRecorder.start(); in startSlowMotionRecording()
768 mMediaRecorder = new MediaRecorder(); in videoSnapshotHelper()
1115 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile()
1116 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); in prepareRecordingWithProfile()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java83 private MediaRecorder mMediaRecorder; field in CameraVideoActivity
146 mMediaRecorder = new MediaRecorder(); in prepareVideoRecorder()
150 mMediaRecorder.setCamera(mCamera); in prepareVideoRecorder()
153 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareVideoRecorder()
154 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in prepareVideoRecorder()
157 mMediaRecorder.setProfile(CamcorderProfile.get(mCurrentCameraId, mCurrentVideoSizeId)); in prepareVideoRecorder()
161 mMediaRecorder.setOutputFile(outputVideoFile.toString()); in prepareVideoRecorder()
167 mMediaRecorder.setOrientationHint(mVideoRotation); in prepareVideoRecorder()
171 mMediaRecorder.prepare(); in prepareVideoRecorder()
178 mMediaRecorder.setOnErrorListener( in prepareVideoRecorder()
[all …]