Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp59 if (mRecorder == NULL) { in setInputSurface()
63 return mRecorder->setInputSurface(surface); in setInputSurface()
70 if (mRecorder == NULL) { in querySurfaceMediaSource()
74 return mRecorder->querySurfaceMediaSource(); in querySurfaceMediaSource()
84 if (mRecorder == NULL) { in setCamera()
88 return mRecorder->setCamera(camera, proxy); in setCamera()
95 if (mRecorder == NULL) { in setPreviewSurface()
99 return mRecorder->setPreviewSurface(surface); in setPreviewSurface()
110 if (mRecorder == NULL) { in setVideoSource()
114 return mRecorder->setVideoSource((video_source)vs); in setVideoSource()
[all …]
DMediaRecorderClient.h93 MediaRecorderBase *mRecorder; variable
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java49 private MediaRecorder mRecorder; field in MediaRecorderStressTest
216 mRecorder = new MediaRecorder(); in recordVideoAndPlayback()
229 mRecorder.setOnErrorListener(mRecorderErrorCallback); in recordVideoAndPlayback()
230 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in recordVideoAndPlayback()
231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoAndPlayback()
232 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in recordVideoAndPlayback()
233 mRecorder.setOutputFile(fileName); in recordVideoAndPlayback()
234 mRecorder.setVideoFrameRate(frameRate); in recordVideoAndPlayback()
235 mRecorder.setVideoSize(videoWidth, videoHeight); in recordVideoAndPlayback()
236 mRecorder.setVideoEncoder(videoEncoder); in recordVideoAndPlayback()
[all …]
/frameworks/base/core/jni/android/graphics/
DPicture.cpp31 } else if (NULL != src->mRecorder.get()) { in Picture()
43 mRecorder.reset(new SkPictureRecorder); in beginRecording()
46 SkCanvas* canvas = mRecorder->beginRecording(width, height, NULL, 0); in beginRecording()
51 if (NULL != mRecorder.get()) { in endRecording()
52 mPicture.reset(mRecorder->endRecording()); in endRecording()
54 mRecorder.reset(NULL); in endRecording()
84 if (NULL != mRecorder.get()) { in serialize()
99 if (NULL != mRecorder.get()) { in draw()
110 SkASSERT(NULL != mRecorder.get()); in makePartialCopy()
115 mRecorder->partialReplay(canvas); in makePartialCopy()
DPicture.h59 std::unique_ptr<SkPictureRecorder> mRecorder; variable
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java227 MediaRecorder mRecorder = new MediaRecorder(); in stressVideoRecord() local
231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in stressVideoRecord()
233 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in stressVideoRecord()
234 mRecorder.setOutputFormat(outFormat); in stressVideoRecord()
236 mRecorder.setOutputFile(outFile); in stressVideoRecord()
237 mRecorder.setVideoFrameRate(frameRate); in stressVideoRecord()
238 mRecorder.setVideoSize(width, height); in stressVideoRecord()
240 mRecorder.setVideoEncoder(videoFormat); in stressVideoRecord()
242 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in stressVideoRecord()
245 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in stressVideoRecord()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java60 private MediaRecorder mRecorder; field in MediaRecorderTest
77 mRecorder = new MediaRecorder(); in setUp()
87 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideo()
89 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in recordVideo()
90 mRecorder.setOutputFormat(outFormat); in recordVideo()
92 mRecorder.setOutputFile(outFile); in recordVideo()
93 mRecorder.setVideoFrameRate(frameRate); in recordVideo()
94 mRecorder.setVideoSize(width, height); in recordVideo()
96 mRecorder.setVideoEncoder(videoFormat); in recordVideo()
98 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in recordVideo()
[all …]
/frameworks/base/docs/html/guide/topics/media/
Daudio-capture.jd110 private MediaRecorder mRecorder = null;
148 mRecorder = new MediaRecorder();
149 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
150 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
151 mRecorder.setOutputFile(mFileName);
152 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
155 mRecorder.prepare();
160 mRecorder.start();
164 mRecorder.stop();
165 mRecorder.release();
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java816 private MediaRecorder mRecorder = null; field in CameraStreamer.CameraRunnable
1451 if (mRecorder != null) { in createRecorder()
1452 mRecorder.release(); in createRecorder()
1454 mRecorder = new MediaRecorder(); in createRecorder()
1455 mRecorder.setCamera(mCamera); in createRecorder()
1456 mRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in createRecorder()
1457 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in createRecorder()
1458 mRecorder.setProfile(profile); in createRecorder()
1459 mRecorder.setOutputFile(outputPath); in createRecorder()
1461 mRecorder.prepare(); in createRecorder()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java238 protected NetworkStatsRecorder mRecorder; field in NetworkStatsObservers.RequestInfo
282 if (mRecorder == null) { in updateStats()
315 mRecorder = new NetworkStatsRecorder(); in resetRecorder()
316 mCollection = mRecorder.getSinceBoot(); in resetRecorder()
360 mRecorder.recordSnapshotLocked(statsContext.mXtSnapshot, statsContext.mActiveIfaces, in recordSample()
402 mRecorder.recordSnapshotLocked(statsContext.mUidSnapshot, statsContext.mActiveUidIfaces, in recordSample()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java490 MediaRecorder mRecorder = new MediaRecorder(); in mediaRecorderRecord() local
491 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in mediaRecorderRecord()
492 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in mediaRecorderRecord()
493 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in mediaRecorderRecord()
494 mRecorder.setOutputFile(filePath); in mediaRecorderRecord()
495 mRecorder.prepare(); in mediaRecorderRecord()
496 mRecorder.start(); in mediaRecorderRecord()
498 mRecorder.stop(); in mediaRecorderRecord()
500 mRecorder.release(); in mediaRecorderRecord()