/system/core/toolbox/ |
mount.c | 153 int file_fd, device_fd; local 158 file_fd = open(dev, flags); 159 if (file_fd < 0) { 166 close(file_fd); 169 if (ioctl(device_fd, LOOP_SET_FD, file_fd) < 0) { 171 close(file_fd); 176 close(file_fd);
|
/system/vold/ |
Loop.cpp | 177 int file_fd; local 179 if ((file_fd = open(loopFile, O_RDWR)) < 0) { 185 if (ioctl(fd, LOOP_SET_FD, file_fd) < 0) { 187 close(file_fd); 200 close(file_fd); 206 close(file_fd);
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_helper.c | 169 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); local 171 if (file_fd < 0) { 175 write(file_fd, addr, size); 176 close(file_fd);
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_helper.c | 169 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); local 171 if (file_fd < 0) { 175 write(file_fd, addr, size); 176 close(file_fd);
|
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_preview.c | 127 int file_fd; local 134 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 135 if (file_fd < 0) { 139 write(file_fd, (const void *)(newFrame->buffer+newFrame->y_off), w * h); 140 write(file_fd, (const void *) 142 close(file_fd); 150 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 151 if (file_fd < 0) { 160 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); 161 write(file_fd, (const void *)(cbcr_off), [all...] |
mm_qcamera_snapshot.c | 96 int file_fd; local 101 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 102 write(file_fd, data, size); 103 close(file_fd); [all...] |
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI.cpp | 1983 int file_fd; local 2018 int file_fd; local [all...] |
QCameraHWI_Preview.cpp | 788 int file_fd; local [all...] |
/system/core/libsparse/ |
output_file.c | 757 int file_fd = open(file, O_RDONLY | O_BINARY); local 758 if (file_fd < 0) { 762 ret = write_fd_chunk(out, len, file_fd, offset); 764 close(file_fd);
|
/device/lge/mako/camera/ |
QCameraHWI.cpp | [all...] |
QCameraHWI_Preview_7x27A.cpp | 489 int file_fd; local 504 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 506 rc = write(file_fd, (const void *)addr, len); 509 close(file_fd); [all...] |
QCameraHWI_Preview.cpp | [all...] |
QualcommCameraHardware.cpp | 2979 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local 6734 int file_fd = open("\/data\/LiveSnapshot.jpg", O_RDWR | O_CREAT, 0777); local [all...] |