Home
last modified time | relevance | path

Searched refs:unix_open (Results 1 – 7 of 7) sorted by relevance

/system/core/adb/
Dadb_main.cpp189 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()
Dremount_service.cpp54 int fd = unix_open(dev.c_str(), O_RDONLY | O_CLOEXEC); in make_block_device_writable()
Dusb_linux_client.cpp177 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()
Dusb_linux.cpp167 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()
Dservices.cpp251 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()
Dsysdeps.h166 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
Dadb.cpp93 int fd = unix_open(path.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0640); in start_device_log()