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

1234567891011>>

/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp680 int fd = open(fileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
682 fprintf(stderr, "ERROR: couldn't open file\n");
818 int fd = open("/dev/null", O_WRONLY);
1042 int fd = open(fileName, O_CREAT | O_RDWR, 0644);
1044 fprintf(stderr, "Unable to open '%s': %s\n", fileName, strerror(errno));
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp147 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.cpp523 int fd = open(gWriteMP4Filename.string(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
525 fprintf(stderr, "couldn't open file");
872 int fd = open(filename, O_RDONLY | O_LARGEFILE);
H A Dstream.cpp367 int fd = open(argv[1], O_RDONLY);
370 fprintf(stderr, "Failed to open file '%s'.", argv[1]);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp548 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/drm/libmediadrm/
H A DDrmHal.cpp1011 status_t DrmHal::getNumberOfSessions(uint32_t *open, uint32_t *max) const { argument
1015 if (open == NULL || max == NULL) {
1020 *open = 0;
1030 *open = hOpen;
H A DIDrm.cpp413 virtual status_t getNumberOfSessions(uint32_t *open, uint32_t *max) const { argument
416 if (open == NULL || max == NULL) {
427 *open = reply.readInt32();
963 uint32_t open = 0, max = 0; local
964 status_t result = getNumberOfSessions(&open, &max);
965 reply->writeInt32(open);
/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()
97 virtual bool ready() const = 0; // audio output is open and ready
115 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.cpp29 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.cpp68 result = recorder.open(argParser);
70 fprintf(stderr, "ERROR - recorder.open() returned %d\n", result);

Completed in 923 milliseconds

1234567891011>>