Searched refs:setOutputFile (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaRecorderSetOutputFileStateUnitTest.java26 * MediaRecorder.setOutputFile() method can be called.
31 * 1. It is valid to call setOutputFile() in the following states:
33 * 2. It is invalid to call setOutputFile() in the following states:
51 recorder.setOutputFile(MediaRecorderStateUnitTestTemplate.RECORD_OUTPUT_PATH);
61 return "setOutputFile()";
H A DMediaRecorderStateUnitTestTemplate.java105 mMediaRecorder.setOutputFile(RECORD_OUTPUT_PATH);
132 mMediaRecorder.setOutputFile(RECORD_OUTPUT_PATH);
145 mMediaRecorder.setOutputFile(RECORD_OUTPUT_PATH);
159 /* Skip setAudioEncoder() and setOutputFile() calls if
167 if (mMethodUnderTest.toString() != "setOutputFile()") {
168 mMediaRecorder.setOutputFile(RECORD_OUTPUT_PATH);
192 /* Skip setOutputFormat if the method under test is setOutputFile()
193 * Because, otherwise, it is valid to call setOutputFile() after
197 if (mMethodUnderTest.toString() != "setOutputFile()") {
/frameworks/av/include/media/
H A DIMediaRecorder.h44 virtual status_t setOutputFile(const char* path) = 0;
45 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0;
H A DMediaRecorderBase.h46 virtual status_t setOutputFile(const char *path) = 0;
47 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0;
H A Dmediarecorder.h216 status_t setOutputFile(const char* path);
217 status_t setOutputFile(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.h41 virtual status_t setOutputFile(const char* path);
42 virtual status_t setOutputFile(int fd, int64_t offset,
H A DMediaRecorderClient.cpp156 status_t MediaRecorderClient::setOutputFile(const char* path) function in class:android::MediaRecorderClient
158 ALOGV("setOutputFile(%s)", path);
164 return mRecorder->setOutputFile(path);
167 status_t MediaRecorderClient::setOutputFile(int fd, int64_t offset, int64_t length) function in class:android::MediaRecorderClient
169 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
175 return mRecorder->setOutputFile(fd, offset, length);
H A DStagefrightRecorder.h55 virtual status_t setOutputFile(const char *path);
56 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length);
H A DStagefrightRecorder.cpp234 status_t StagefrightRecorder::setOutputFile(const char *path) { function in class:android::StagefrightRecorder
235 ALOGE("setOutputFile(const char*) must not be called");
242 status_t StagefrightRecorder::setOutputFile(int fd, int64_t offset, int64_t length) { function in class:android::StagefrightRecorder
243 ALOGV("setOutputFile: %d, %lld, %lld", fd, offset, length);
/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp158 status_t setOutputFile(const char* path) function in class:android::BpMediaRecorder
160 ALOGV("setOutputFile(%s)", path);
168 status_t setOutputFile(int fd, int64_t offset, int64_t length) { function in class:android::BpMediaRecorder
169 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
384 reply->writeInt32(setOutputFile(path));
393 reply->writeInt32(setOutputFile(fd, offset, length));
H A Dmediarecorder.cpp261 status_t MediaRecorder::setOutputFile(const char* path) function in class:android::MediaRecorder
263 ALOGV("setOutputFile(%s)", path);
273 ALOGE("setOutputFile called in an invalid state(%d)", mCurrentState);
277 status_t ret = mMediaRecorder->setOutputFile(path);
279 ALOGV("setOutputFile failed: %d", ret);
287 status_t MediaRecorder::setOutputFile(int fd, int64_t offset, int64_t length) function in class:android::MediaRecorder
289 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
299 ALOGE("setOutputFile called in an invalid state(%d)", mCurrentState);
314 status_t ret = mMediaRecorder->setOutputFile(fd, offset, length);
316 ALOGV("setOutputFile faile
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java44 * recorder.setOutputFile(PATH_NAME);
322 * be called after the video AND audio sources are set, and before setOutputFile().
627 public void setOutputFile(FileDescriptor fd) throws IllegalStateException method in class:MediaRecorder
641 public void setOutputFile(String path) throws IllegalStateException method in class:MediaRecorder
681 * setOutputFile(). Call this after prepare().
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java84 mRecorder.setOutputFile(outFile);
151 mMediaRecorder.setOutputFile(filename);
184 mRecorder.setOutputFile(outFile);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java213 mRecorder.setOutputFile(filename);
277 mRecorder.setOutputFile(filename);
367 mRecorder.setOutputFile(filename);
446 mRecorder.setOutputFile(filename);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java263 mMediaRecorder.setOutputFile(mFd);
265 mMediaRecorder.setOutputFile(mOutputFile);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java232 mRecorder.setOutputFile(outFile);
265 mRecorder.setOutputFile(filePath);
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp252 ALOGV("setOutputFile");
259 status_t opStatus = mr->setOutputFile(fd, offset, length);
260 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed.");
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java464 mMediaRecorder.setOutputFile(mFileName);
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp474 mr->setOutputFile(fd, 0, 0);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCodecTest.java493 mRecorder.setOutputFile(filePath);

Completed in 169 milliseconds