Searched refs:setOutputFile (Results 1 - 21 of 21) 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.cpp236 status_t StagefrightRecorder::setOutputFile(const char *path) { function in class:android::StagefrightRecorder
237 ALOGE("setOutputFile(const char*) must not be called");
244 status_t StagefrightRecorder::setOutputFile(int fd, int64_t offset, int64_t length) { function in class:android::StagefrightRecorder
245 ALOGV("setOutputFile: %d, %lld, %lld", fd, offset, length);
/frameworks/av/media/libmedia/
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...]
H A DIMediaRecorder.cpp159 status_t setOutputFile(const char* path) function in class:android::BpMediaRecorder
161 ALOGV("setOutputFile(%s)", path);
169 status_t setOutputFile(int fd, int64_t offset, int64_t length) { function in class:android::BpMediaRecorder
170 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
395 reply->writeInt32(setOutputFile(path));
404 reply->writeInt32(setOutputFile(fd, offset, length));
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java45 * recorder.setOutputFile(PATH_NAME);
349 * be called after the video AND audio sources are set, and before setOutputFile().
654 public void setOutputFile(FileDescriptor fd) throws IllegalStateException method in class:MediaRecorder
668 public void setOutputFile(String path) throws IllegalStateException method in class:MediaRecorder
708 * 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/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.java236 mRecorder.setOutputFile(outFile);
271 mRecorder.setOutputFile(filePath);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java233 mRecorder.setOutputFile(fileName);
339 mRecorder.setOutputFile(fileName);
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp250 ALOGV("setOutputFile");
257 status_t opStatus = mr->setOutputFile(fd, offset, length);
258 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.cpp476 mr->setOutputFile(fd, 0, 0);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCodecTest.java493 mRecorder.setOutputFile(filePath);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java1459 mRecorder.setOutputFile(outputPath);

Completed in 145 milliseconds