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.java115 private MediaRecorder mMediaRecorder; field in MediaRecorderTest
165 mMediaRecorder = new MediaRecorder(); in setUp()
176 mMediaRecorder.setOutputFile(OUTPUT_PATH); in setUp()
177 mMediaRecorder.setOnInfoListener(new OnInfoListener() { in setUp()
191 mMediaRecorder.setOnErrorListener(new OnErrorListener() { in setUp()
203 if (mMediaRecorder != null) { in tearDown()
204 mMediaRecorder.release(); in tearDown()
205 mMediaRecorder = null; in tearDown()
247 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in testRecorderCamera()
248 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in testRecorderCamera()
[all …]
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DMediaRecorderCameraActivity.java48 private MediaRecorder mMediaRecorder; field in MediaRecorderCameraActivity
60 mMediaRecorder = new MediaRecorder(); in onCreate()
111 if (mMediaRecorder != null) { in onDestroy()
112 mMediaRecorder.stop(); in onDestroy()
113 mMediaRecorder.release(); in onDestroy()
125 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in surfaceChanged()
126 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in surfaceChanged()
127 mMediaRecorder.setPreviewDisplay(mSurfaceView.getHolder().getSurface()); in surfaceChanged()
128 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); in surfaceChanged()
129 mMediaRecorder.setVideoSize(VIDEO_WIDTH, VIDEO_HEIGHT); in surfaceChanged()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java105 private MediaRecorder mMediaRecorder; field in RecordingTest
159 mMediaRecorder = new MediaRecorder(); in doBasicRecording()
268 mMediaRecorder = new MediaRecorder(); in testSupportedVideoSizes()
376 mMediaRecorder = new MediaRecorder(); in testAbandonedHighSpeedRequest()
434 mMediaRecorder = new MediaRecorder(); in testAbandonedHighSpeedRequest()
497 mMediaRecorder = new MediaRecorder(); in testRecordingFramerateLowToHigh()
550 mMediaRecorder = new MediaRecorder(); in testVideoPreviewSurfaceSharing()
612 mMediaRecorder.reset(); in videoPreviewSurfaceSharingTestByCamera()
669 mMediaRecorder = new MediaRecorder(); in slowMotionRecording()
740 mMediaRecorder = new MediaRecorder(); in constrainedHighSpeedRecording()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java91 private MediaRecorder mMediaRecorder; field in CameraVideoActivity
192 mMediaRecorder = new MediaRecorder(); in prepareVideoRecorder()
196 mMediaRecorder.setCamera(mCamera); in prepareVideoRecorder()
199 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareVideoRecorder()
200 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in prepareVideoRecorder()
228 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in prepareVideoRecorder()
229 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); in prepareVideoRecorder()
230 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT); in prepareVideoRecorder()
231 mMediaRecorder.setVideoEncodingBitRate(getVideoBitRate(recordSize)); in prepareVideoRecorder()
232 mMediaRecorder.setVideoSize(recordSize.width, recordSize.height); in prepareVideoRecorder()
[all …]