Searched refs:unix_open (Results 1 – 7 of 7) sorted by relevance
/system/core/adb/ |
D | adb_main.cpp | 189 fd = unix_open("/dev/null", O_RDONLY); in start_logging() 193 fd = unix_open("/tmp/adb.log", O_WRONLY | O_CREAT | O_APPEND, 0640); in start_logging() 195 fd = unix_open("/dev/null", O_WRONLY); in start_logging() 352 int fd = unix_open("/dev/null", O_RDONLY); in close_stdin()
|
D | remount_service.cpp | 54 int fd = unix_open(dev.c_str(), O_RDONLY | O_CLOEXEC); in make_block_device_writable()
|
D | usb_linux_client.cpp | 177 fd = unix_open("/dev/android_adb", O_RDWR); in usb_adb_open_thread() 180 fd = unix_open("/dev/android", O_RDWR); in usb_adb_open_thread() 259 int fd = unix_open("/dev/android_adb_enable", O_RDWR); in usb_adb_init()
|
D | usb_linux.cpp | 167 if((fd = unix_open(devname, O_RDONLY | O_CLOEXEC)) < 0) { in find_usb_device() 606 usb->desc = unix_open(usb->fname, O_RDWR | O_CLOEXEC); in register_device() 609 usb->desc = unix_open(usb->fname, O_RDONLY | O_CLOEXEC); in register_device()
|
D | services.cpp | 251 ptm = unix_open("/dev/ptmx", O_RDWR | O_CLOEXEC); // | O_NOCTTY); in create_subproc_pty() 274 int pts = unix_open(devname, O_RDWR | O_CLOEXEC); in create_subproc_pty() 459 ret = unix_open(name + 4, O_RDWR | O_CLOEXEC); in service_to_fd()
|
D | sysdeps.h | 166 static __inline__ int unix_open(const char* path, int options,...) in unix_open() function 323 static __inline__ int unix_open(const char* path, int options,...) in unix_open() function
|
D | adb.cpp | 93 int fd = unix_open(path.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0640); in start_device_log()
|