Searched refs:open (Results 1 - 25 of 432) sorted by path

1234567891011>>

/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp649 int fd = open(fileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
651 fprintf(stderr, "ERROR: couldn't open file\n");
785 int fd = open("/dev/null", O_WRONLY);
1001 int fd = open(fileName, O_CREAT | O_RDWR, 0644);
1003 fprintf(stderr, "Unable to open '%s': %s\n", fileName, strerror(errno));
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp119 int fd = open(fileOut, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
H A Dmuxer.cpp78 int fd = open(outputFileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
81 ALOGE("couldn't open file");
H A Drecordvideo.cpp311 int fd = open(fileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
313 fprintf(stderr, "couldn't open file");
H A Dstagefright.cpp518 int fd = open(gWriteMP4Filename.string(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
520 fprintf(stderr, "couldn't open file");
860 int fd = open(filename, O_RDONLY | O_LARGEFILE);
H A Dstream.cpp364 int fd = open(argv[1], O_RDONLY);
367 fprintf(stderr, "Failed to open file '%s'.", argv[1]);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp544 int fd = open(filePath, O_RDONLY);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c79 int fileDesc = open(strKeyFilename, O_RDONLY);
88 fileDesc = open(strKeyFilename, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR);
130 int fileDesc = open("/dev/urandom", O_RDONLY);
/frameworks/av/include/media/
H A DMediaPlayerInterface.h63 // when the channel mask isn't known, use the channel count to derive a mask in AudioSink::open()
94 virtual bool ready() const = 0; // audio output is open and ready
112 virtual status_t open(
/frameworks/av/media/img_utils/include/img_utils/
H A DByteArrayOutput.h46 virtual status_t open();
71 * open, write, or close is called after this method.
H A DEndianUtils.h66 * Call open on the wrapped output.
68 virtual status_t open();
H A DFileInput.h48 virtual status_t open();
H A DFileOutput.h34 virtual status_t open();
H A DInput.h39 virtual status_t open();
60 * Close the Input. It is not valid to call open on a previously closed Input.
H A DOutput.h39 virtual status_t open();
51 * Close this Output. It is not valid to call open on a previously closed Output.
/frameworks/av/media/img_utils/src/
H A DByteArrayOutput.cpp28 status_t ByteArrayOutput::open() { function in class:android::img_utils::ByteArrayOutput
H A DDngUtils.cpp28 if(mEndianOut.open() != OK) {
H A DEndianUtils.cpp27 status_t EndianOutput::open() { function in class:android::img_utils::EndianOutput
29 return mOutput->open();
H A DFileInput.cpp34 status_t FileInput::open() { function in class:android::img_utils::FileInput
36 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string());
41 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string());
50 ALOGE("%s: Could not read file %s, file not open.", __FUNCTION__, mPath.string());
H A DFileOutput.cpp28 ALOGW("%s: Destructor called with %s still open.", __FUNCTION__, mPath.string());
33 status_t FileOutput::open() { function in class:android::img_utils::FileOutput
35 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string());
40 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string());
49 ALOGE("%s: Could not write file %s, file not open.", __FUNCTION__, mPath.string());
H A DInput.cpp24 status_t Input::open() { return OK; } function in class:android::img_utils::Input
H A DOutput.cpp24 status_t Output::open() { return OK; } function in class:android::img_utils::Output
/frameworks/av/media/libaaudio/examples/input_monitor/src/
H A Dinput_monitor.cpp74 result = recorder.open(requestedInputChannelCount, 48000, requestedDataFormat,
77 fprintf(stderr, "ERROR - recorder.open() returned %d\n", result);
H A Dinput_monitor_callback.cpp46 result = recorder.open(2, 48000, AAUDIO_FORMAT_PCM_I16,
49 fprintf(stderr, "ERROR - recorder.open() returned %d\n", result);
/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioSimplePlayer.h43 * Call this before calling open().
51 * Call this before calling open().
60 * Only call this after open() has been called.
70 * Only call this after open() has been called.
82 aaudio_result_t open(int channelCount, int sampSampleRate, aaudio_format_t format, function in class:AAudioSimplePlayer

Completed in 318 milliseconds

1234567891011>>