/frameworks/av/media/libmediaplayerservice/ |
MediaRecorderClient.cpp | 63 if (mRecorder == NULL) { 67 return mRecorder->querySurfaceMediaSource(); 77 if (mRecorder == NULL) { 81 return mRecorder->setCamera(camera, proxy); 88 if (mRecorder == NULL) { 92 return mRecorder->setPreviewSurface(surface); 102 if (mRecorder == NULL) { 106 return mRecorder->setVideoSource((video_source)vs); 116 if (mRecorder == NULL) { 120 return mRecorder->setAudioSource((audio_source_t)as) [all...] |
MediaRecorderClient.h | 71 MediaRecorderBase *mRecorder;
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaRecorderStressTest.java | 54 private MediaRecorder mRecorder; 233 mRecorder = new MediaRecorder(); 239 mRecorder.setOnErrorListener(mRecorderErrorCallback); 240 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); 241 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); 242 mRecorder.setOutputFile(filename); 243 mRecorder.setVideoFrameRate(mFrameRate); 244 mRecorder.setVideoSize(176,144); 246 mRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263); 249 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()) [all...] |
CodecTest.java | 464 MediaRecorder mRecorder = new MediaRecorder(); 465 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); 466 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); 467 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); 468 mRecorder.setOutputFile(filePath); 469 mRecorder.prepare(); 470 mRecorder.start(); 472 mRecorder.stop(); 474 mRecorder.release();
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaRandomTest.java | 52 private MediaRecorder mRecorder; 74 mRecorder = new MediaRecorder(); 86 if (mRecorder != null) { 87 mRecorder.release(); 88 mRecorder = null; 267 mRecorder.setOnErrorListener(new MediaRecorder.OnErrorListener() { 270 if (mRecorder == recorder && 291 mRecorder.setAudioSource(mParam % 3); 296 // mRecorder.setVideoSource(mParam % 3); 297 mRecorder.setVideoSource(mParam % 2) [all...] |
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
Recorder.java | 58 MediaRecorder mRecorder = null; 72 return mRecorder.getMaxAmplitude(); 162 mRecorder = new MediaRecorder(); 163 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); 164 mRecorder.setOutputFormat(outputfileformat); 165 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); 166 mRecorder.setOutputFile(mSampleFile.getAbsolutePath()); 170 mRecorder.prepare(); 173 mRecorder.reset(); 174 mRecorder.release() [all...] |
VUMeter.java | 40 Recorder mRecorder; 61 mRecorder = null; 67 mRecorder = recorder; 79 if (mRecorder != null) 80 angle += (float)(maxAngle - minAngle)*mRecorder.getMaxAmplitude()/32768; 103 if (mRecorder != null && mRecorder.state() == Recorder.RECORDING_STATE)
|
SoundRecorder.java | 212 Recorder mRecorder; 271 mRecorder = new Recorder(); 272 mRecorder.setOnStateChangedListener(this); 287 mRecorder.restoreState(recorderState); 309 if (mRecorder.sampleLength() == 0) 314 mRecorder.saveState(recorderState); 349 mVUMeter.setRecorder(mRecorder); 388 mRecorder.startRecording(MediaRecorder.OutputFormat.AMR_NB, ".amr", this); 391 mRecorder.startRecording(MediaRecorder.OutputFormat.THREE_GPP, ".3gpp", 399 mRecorder.sampleFile(), mMaxFileSize) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
MediaRecorderTest.java | 53 private MediaRecorder mRecorder; 69 mRecorder = new MediaRecorder(); 79 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); 81 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); 82 mRecorder.setOutputFormat(outFormat); 84 mRecorder.setOutputFile(outFile); 85 mRecorder.setVideoFrameRate(frameRate); 86 mRecorder.setVideoSize(width, height); 88 mRecorder.setVideoEncoder(videoFormat); 90 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaRecorderStressTest.java | 49 private MediaRecorder mRecorder; 216 mRecorder = new MediaRecorder(); 229 mRecorder.setOnErrorListener(mRecorderErrorCallback); 230 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); 231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); 232 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); 233 mRecorder.setOutputFile(fileName); 234 mRecorder.setVideoFrameRate(frameRate); 235 mRecorder.setVideoSize(videoWidth, videoHeight); 236 mRecorder.setVideoEncoder(videoEncoder) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
MediaPlayerPerformance.java | 227 MediaRecorder mRecorder = new MediaRecorder(); 231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); 233 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); 234 mRecorder.setOutputFormat(outFormat); 236 mRecorder.setOutputFile(outFile); 237 mRecorder.setVideoFrameRate(frameRate); 238 mRecorder.setVideoSize(width, height); 240 mRecorder.setVideoEncoder(videoFormat); 242 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); 245 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringBuilderSpanTest.java | 152 mSpanSet.mRecorder.assertRemoved(span, originalStart, originalEnd); 225 mSpanSet.mRecorder.assertChanged(span, originalStart, originalEnd, start, end); 227 mSpanSet.mRecorder.assertUnmodified(span); 255 mReplacementSpanSet.mRecorder.assertUnmodified(span); 271 mSpanSet.mRecorder.assertAdded(span, start, end); 276 mSpanSet.mRecorder.assertUnmodified(span); 327 private SpanWatcherRecorder mRecorder; 338 mRecorder = new SpanWatcherRecorder(); 378 spannable.setSpan(mRecorder, 0, spannable.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); 379 mRecorder.reset(spannable) [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | 137 private MediaRecorder mRecorder; [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
CameraStreamer.java | 816 private MediaRecorder mRecorder = null; [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 489 MediaRecorder mRecorder = new MediaRecorder(); 490 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); 491 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); 492 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); 493 mRecorder.setOutputFile(filePath); 494 mRecorder.prepare(); 495 mRecorder.start(); 497 mRecorder.stop(); 499 mRecorder.release();
|