OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mMediaRecorder
(Results
1 - 16
of
16
) sorted by null
/cts/tests/tests/media/src/android/media/cts/
MediaRecorderTest.java
70
private MediaRecorder
mMediaRecorder
;
105
mMediaRecorder
= new MediaRecorder();
112
mMediaRecorder
.setOutputFile(OUTPUT_PATH);
113
mMediaRecorder
.setOnInfoListener(new OnInfoListener() {
127
mMediaRecorder
.setOnErrorListener(new OnErrorListener() {
139
mMediaRecorder
.release();
140
mMediaRecorder
= null;
163
mMediaRecorder
.setVideoSource(MediaRecorder.VideoSource.CAMERA);
164
mMediaRecorder
.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);
165
mMediaRecorder
.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT)
[
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/av/media/libmedia/
mediarecorder.cpp
34
if (
mMediaRecorder
== NULL) {
43
status_t ret =
mMediaRecorder
->setCamera(camera, proxy);
55
if (
mMediaRecorder
== NULL) {
68
status_t ret =
mMediaRecorder
->setPreviewSurface(surface);
80
if (
mMediaRecorder
== NULL) {
89
status_t ret =
mMediaRecorder
->init();
96
ret =
mMediaRecorder
->setListener(this);
110
if (
mMediaRecorder
== NULL) {
131
status_t ret =
mMediaRecorder
->setVideoSource(vs);
145
if (
mMediaRecorder
== NULL)
[
all
...]
/developers/build/prebuilts/gradle/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/mediarecorder/
MainActivity.java
47
private MediaRecorder
mMediaRecorder
;
74
mMediaRecorder
.stop(); // stop the recording
109
if (
mMediaRecorder
!= null) {
111
mMediaRecorder
.reset();
113
mMediaRecorder
.release();
114
mMediaRecorder
= null;
163
mMediaRecorder
= new MediaRecorder();
167
mMediaRecorder
.setCamera(mCamera);
170
mMediaRecorder
.setAudioSource(MediaRecorder.AudioSource.DEFAULT );
171
mMediaRecorder
.setVideoSource(MediaRecorder.VideoSource.CAMERA)
[
all
...]
/developers/samples/android/media/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/mediarecorder/
MainActivity.java
47
private MediaRecorder
mMediaRecorder
;
74
mMediaRecorder
.stop(); // stop the recording
109
if (
mMediaRecorder
!= null) {
111
mMediaRecorder
.reset();
113
mMediaRecorder
.release();
114
mMediaRecorder
= null;
163
mMediaRecorder
= new MediaRecorder();
167
mMediaRecorder
.setCamera(mCamera);
170
mMediaRecorder
.setAudioSource(MediaRecorder.AudioSource.DEFAULT );
171
mMediaRecorder
.setVideoSource(MediaRecorder.VideoSource.CAMERA)
[
all
...]
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/
MainActivity.java
47
private MediaRecorder
mMediaRecorder
;
74
mMediaRecorder
.stop(); // stop the recording
109
if (
mMediaRecorder
!= null) {
111
mMediaRecorder
.reset();
113
mMediaRecorder
.release();
114
mMediaRecorder
= null;
163
mMediaRecorder
= new MediaRecorder();
167
mMediaRecorder
.setCamera(mCamera);
170
mMediaRecorder
.setAudioSource(MediaRecorder.AudioSource.DEFAULT );
171
mMediaRecorder
.setVideoSource(MediaRecorder.VideoSource.CAMERA)
[
all
...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
MediaEncoderFilter.java
184
private MediaRecorder
mMediaRecorder
;
241
mMediaRecorder
.setVideoSource(GRALLOC_BUFFER);
243
mMediaRecorder
.setAudioSource(mAudioSource);
246
mMediaRecorder
.setProfile(mProfile);
251
mMediaRecorder
.setVideoSize(mWidth, mHeight);
254
mMediaRecorder
.setOutputFormat(mOutputFormat);
255
mMediaRecorder
.setVideoEncoder(mVideoEncoder);
256
mMediaRecorder
.setVideoSize(mWidth, mHeight);
257
mMediaRecorder
.setVideoFrameRate(mFps);
259
mMediaRecorder
.setOrientationHint(mOrientationHint)
[
all
...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
MediaRecorderTest.java
147
MediaRecorder
mMediaRecorder
= new MediaRecorder();
148
mMediaRecorder
.setAudioSource(MediaRecorder.AudioSource.MIC);
149
mMediaRecorder
.setVideoSource(MediaRecorder.VideoSource.CAMERA);
150
mMediaRecorder
.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
151
mMediaRecorder
.setOutputFile(filename);
152
mMediaRecorder
.setVideoFrameRate(videoFps);
153
mMediaRecorder
.setVideoSize(videoWidth, videoHeight);
154
mMediaRecorder
.setVideoEncodingBitRate(videoBitrate);
155
mMediaRecorder
.setAudioEncodingBitRate(audioBitrate);
156
mMediaRecorder
.setAudioChannels(audioChannels)
[
all
...]
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
ScoAudioTest.java
414
private MediaRecorder
mMediaRecorder
;
429
mMediaRecorder
.start();
433
mMediaRecorder
.release();
434
mMediaRecorder
= null;
439
mMediaRecorder
.stop();
440
mMediaRecorder
.reset();
443
mMediaRecorder
.release();
444
mMediaRecorder
= null;
454
if (
mMediaRecorder
== null) {
455
mMediaRecorder
= new MediaRecorder()
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
CameraVideoActivity.java
81
private MediaRecorder
mMediaRecorder
;
144
mMediaRecorder
= new MediaRecorder();
148
mMediaRecorder
.setCamera(mCamera);
151
mMediaRecorder
.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
152
mMediaRecorder
.setVideoSource(MediaRecorder.VideoSource.CAMERA);
155
mMediaRecorder
.setProfile(CamcorderProfile.get(mCurrentCameraId, mCurrentVideoSizeId));
159
mMediaRecorder
.setOutputFile(outputVideoFile.toString());
166
mMediaRecorder
.prepare();
173
mMediaRecorder
.setOnErrorListener(
273
if (
mMediaRecorder
!= null)
[
all
...]
/packages/apps/Camera2/src/com/android/camera/
VideoModule.java
123
private MediaRecorder
mMediaRecorder
;
[
all
...]
/frameworks/base/media/java/android/media/
MediaRecorder.java
[
all
...]
/packages/apps/Camera/src/com/android/camera/
VideoModule.java
161
private MediaRecorder
mMediaRecorder
;
[
all
...]
/packages/apps/LegacyCamera/src/com/android/camera/
VideoCamera.java
186
private MediaRecorder
mMediaRecorder
;
[
all
...]
/frameworks/av/include/media/
mediarecorder.h
238
sp<IMediaRecorder>
mMediaRecorder
;
Completed in 938 milliseconds