Lines Matching refs:fd
53 DropBoxManager::Entry::Entry(const String16& tag, int32_t flags, int fd)
58 mFd(fd)
86 ALOGD("writing fd %d\n", mFd.get());
131 int fd;
132 fd = in->readParcelFileDescriptor();
133 if (fd == -1) {
136 fd = dup(fd);
137 if (fd == -1) {
140 mFd.reset(fd);
198 int fd = open(filename.c_str(), O_RDONLY);
199 if (fd == -1) {
205 return addFile(tag, fd, flags);
209 DropBoxManager::addFile(const String16& tag, int fd, int flags)
211 if (fd == -1) {
212 string message("invalid fd (-1) passed to to addFile");
216 Entry entry(tag, flags, fd);