/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 680 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 D | audioloop.cpp | 147 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 | 523 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 D | stream.cpp | 367 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 D | FwdLockEngine.cpp | 548 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/drm/libmediadrm/ |
H A D | DrmHal.cpp | 1011 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 D | IDrm.cpp | 413 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 D | MediaPlayerInterface.h | 63 // 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 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 | 29 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 | 68 result = recorder.open(argParser); 70 fprintf(stderr, "ERROR - recorder.open() returned %d\n", result);
|