OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mMediaRecorder
(Results
1 - 7
of
7
) sorted by null
/cts/tests/tests/media/src/android/media/cts/
MediaRecorderTest.java
58
private MediaRecorder
mMediaRecorder
= new MediaRecorder();
69
mMediaRecorder
.reset();
70
mMediaRecorder
.setOutputFile(OUTPUT_PATH);
71
mMediaRecorder
.setOnInfoListener(new OnInfoListener() {
76
mMediaRecorder
.setOnErrorListener(new OnErrorListener() {
86
mMediaRecorder
.release();
144
mMediaRecorder
.setVideoSource(MediaRecorder.VideoSource.CAMERA);
145
mMediaRecorder
.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);
146
mMediaRecorder
.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT);
147
mMediaRecorder
.setVideoFrameRate(FRAME_RATE)
[
all
...]
/cts/tests/tests/permission/src/android/permission/cts/
AudioPermissionTest.java
38
MediaRecorder
mMediaRecorder
= null;
44
mMediaRecorder
= new MediaRecorder();
49
mMediaRecorder
.setAudioSource(MediaRecorder.AudioSource.MIC);
50
mMediaRecorder
.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
51
mMediaRecorder
.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
52
mMediaRecorder
.setOutputFile(AUDIO_CAPTURE_PATH);
55
mMediaRecorder
.prepare();
65
mMediaRecorder
.start();
78
mMediaRecorder
.stop();
79
mMediaRecorder
.release()
[
all
...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
MediaRecorderStateUnitTestTemplate.java
45
private MediaRecorder
mMediaRecorder
= new MediaRecorder();
73
mMethodUnderTest.invokeMethodUnderTest(
mMediaRecorder
);
87
mMediaRecorder
.reset();
100
mMediaRecorder
.reset();
102
mMediaRecorder
.setAudioSource(AUDIO_SOURCE);
103
mMediaRecorder
.setOutputFormat(OUTPUT_FORMAT);
104
mMediaRecorder
.setAudioEncoder(AUDIO_ENCODER);
105
mMediaRecorder
.setOutputFile(RECORD_OUTPUT_PATH);
106
mMediaRecorder
.prepare();
107
mMediaRecorder
.start()
[
all
...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
MediaRecorderTest.java
137
MediaRecorder
mMediaRecorder
= new MediaRecorder();
138
mMediaRecorder
.setAudioSource(MediaRecorder.AudioSource.MIC);
139
mMediaRecorder
.setVideoSource(MediaRecorder.VideoSource.CAMERA);
140
mMediaRecorder
.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
141
mMediaRecorder
.setOutputFile(filename);
142
mMediaRecorder
.setVideoFrameRate(videoFps);
143
mMediaRecorder
.setVideoSize(videoWidth, videoHeight);
144
mMediaRecorder
.setVideoEncodingBitRate(videoBitrate);
145
mMediaRecorder
.setAudioEncodingBitRate(audioBitrate);
146
mMediaRecorder
.setAudioChannels(audioChannels)
[
all
...]
/packages/apps/Camera/src/com/android/camera/
VideoCamera.java
144
private MediaRecorder
mMediaRecorder
;
461
} else if (
mMediaRecorder
!= null) {
870
if (
mMediaRecorder
!= null) return;
895
mMediaRecorder
= new MediaRecorder();
897
mMediaRecorder
.setCamera(mCameraDevice);
898
mMediaRecorder
.setAudioSource(MediaRecorder.AudioSource.MIC);
899
mMediaRecorder
.setVideoSource(MediaRecorder.VideoSource.CAMERA);
900
mMediaRecorder
.setProfile(mProfile);
901
mMediaRecorder
.setMaxDuration(mMaxVideoDurationInMs);
905
mMediaRecorder
.setOutputFile("/dev/null")
[
all
...]
/frameworks/base/include/media/
mediarecorder.h
185
sp<IMediaRecorder>
mMediaRecorder
;
/frameworks/base/media/java/android/media/
MediaRecorder.java
636
private MediaRecorder
mMediaRecorder
;
640
mMediaRecorder
= mr;
651
if (
mMediaRecorder
.mNativeContext == 0) {
658
mOnErrorListener.onError(
mMediaRecorder
, msg.arg1, msg.arg2);
664
mOnInfoListener.onInfo(
mMediaRecorder
, msg.arg1, msg.arg2);
Completed in 116 milliseconds