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

/frameworks/base/include/media/
H A DIMediaRecorder.h41 virtual status_t setOutputFile(const char* path) = 0;
42 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0;
H A DMediaRecorderBase.h41 virtual status_t setOutputFile(const char *path) = 0;
42 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0;
H A DPVMediaRecorder.h45 virtual status_t setOutputFile(const char *path);
46 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length);
H A Dmediarecorder.h165 status_t setOutputFile(const char* path);
166 status_t setOutputFile(int fd, int64_t offset, int64_t length);
/frameworks/base/media/libmediaplayerservice/
H A DMediaRecorderClient.h38 virtual status_t setOutputFile(const char* path);
39 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length);
H A DStagefrightRecorder.h43 virtual status_t setOutputFile(const char *path);
44 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length);
H A DMediaRecorderClient.cpp145 status_t MediaRecorderClient::setOutputFile(const char* path) function in class:android::MediaRecorderClient
147 LOGV("setOutputFile(%s)", path);
153 return mRecorder->setOutputFile(path);
156 status_t MediaRecorderClient::setOutputFile(int fd, int64_t offset, int64_t length) function in class:android::MediaRecorderClient
158 LOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
164 return mRecorder->setOutputFile(fd, offset, length);
H A DStagefrightRecorder.cpp110 status_t StagefrightRecorder::setOutputFile(const char *path) { function in class:android::StagefrightRecorder
117 status_t StagefrightRecorder::setOutputFile(int fd, int64_t offset, int64_t length) { function in class:android::StagefrightRecorder
/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/base/media/libmedia/
H A DIMediaRecorder.cpp140 status_t setOutputFile(const char* path) function in class:android::BpMediaRecorder
142 LOGV("setOutputFile(%s)", path);
150 status_t setOutputFile(int fd, int64_t offset, int64_t length) { function in class:android::BpMediaRecorder
151 LOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
366 reply->writeInt32(setOutputFile(path));
375 reply->writeInt32(setOutputFile(fd, offset, length));
H A Dmediarecorder.cpp259 status_t MediaRecorder::setOutputFile(const char* path) function in class:android::MediaRecorder
261 LOGV("setOutputFile(%s)", path);
271 LOGE("setOutputFile called in an invalid state(%d)", mCurrentState);
275 status_t ret = mMediaRecorder->setOutputFile(path);
277 LOGV("setOutputFile failed: %d", ret);
285 status_t MediaRecorder::setOutputFile(int fd, int64_t offset, int64_t length) function in class:android::MediaRecorder
287 LOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
297 LOGE("setOutputFile called in an invalid state(%d)", mCurrentState);
301 status_t ret = mMediaRecorder->setOutputFile(fd, offset, length);
303 LOGV("setOutputFile faile
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java45 * recorder.setOutputFile(PATH_NAME);
264 * be called after the video AND audio sources are set, and before setOutputFile().
455 public void setOutputFile(FileDescriptor fd) throws IllegalStateException method in class:MediaRecorder
469 public void setOutputFile(String path) throws IllegalStateException method in class:MediaRecorder
508 * setOutputFile(). Call this after prepare().
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java223 mRecorder.setOutputFile(filename);
291 mRecorder.setOutputFile(filename);
382 mRecorder.setOutputFile(filename);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaRecorderTest.java81 mRecorder.setOutputFile(outFile);
141 mMediaRecorder.setOutputFile(filename);
174 mRecorder.setOutputFile(outFile);
H A DCodecTest.java487 mRecorder.setOutputFile(filePath);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java289 mRecorder.setOutputFile(outFile);
319 mRecorder.setOutputFile(filePath);
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp251 LOGV("setOutputFile");
258 status_t opStatus = mr->setOutputFile(fd, offset, length);
259 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed.");

Completed in 148 milliseconds