/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 649 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 D | audioloop.cpp | 119 int fd = open(fileOut, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
|
H A D | muxer.cpp | 78 int fd = open(outputFileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); 81 ALOGE("couldn't open file");
|
H A D | recordvideo.cpp | 311 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 D | stagefright.cpp | 518 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 D | stream.cpp | 364 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 D | FwdLockEngine.cpp | 544 int fd = open(filePath, O_RDONLY);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.c | 79 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 D | MediaPlayerInterface.h | 63 // 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 D | ByteArrayOutput.h | 46 virtual status_t open(); 71 * open, write, or close is called after this method.
|
H A D | EndianUtils.h | 66 * Call open on the wrapped output. 68 virtual status_t open();
|
H A D | FileInput.h | 48 virtual status_t open();
|
H A D | FileOutput.h | 34 virtual status_t open();
|
H A D | Input.h | 39 virtual status_t open(); 60 * Close the Input. It is not valid to call open on a previously closed Input.
|
H A D | Output.h | 39 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 D | ByteArrayOutput.cpp | 28 status_t ByteArrayOutput::open() { function in class:android::img_utils::ByteArrayOutput
|
H A D | DngUtils.cpp | 28 if(mEndianOut.open() != OK) {
|
H A D | EndianUtils.cpp | 27 status_t EndianOutput::open() { function in class:android::img_utils::EndianOutput 29 return mOutput->open();
|
H A D | FileInput.cpp | 34 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 D | FileOutput.cpp | 28 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 D | Input.cpp | 24 status_t Input::open() { return OK; } function in class:android::img_utils::Input
|
H A D | Output.cpp | 24 status_t Output::open() { return OK; } function in class:android::img_utils::Output
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
H A D | input_monitor.cpp | 74 result = recorder.open(requestedInputChannelCount, 48000, requestedDataFormat, 77 fprintf(stderr, "ERROR - recorder.open() returned %d\n", result);
|
H A D | input_monitor_callback.cpp | 46 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 D | AAudioSimplePlayer.h | 43 * 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
|