Home
last modified time | relevance | path

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

/system/core/adb/
Dlog_service.c39 int logfd = unix_open(log_filepath, O_RDONLY); in log_service()
Dremount_service.c43 fd = unix_open("/proc/mounts", O_RDONLY); in find_mount()
Dusb_linux_client.c164 fd = unix_open("/dev/android_adb", O_RDWR); in usb_adb_open_thread()
167 fd = unix_open("/dev/android", O_RDWR); in usb_adb_open_thread()
249 fd = unix_open("/dev/android_adb_enable", O_RDWR); in usb_adb_init()
Dservices.c270 ptm = unix_open("/dev/ptmx", O_RDWR); // | O_NOCTTY); in create_subprocess()
296 pts = unix_open(devname, O_RDWR); in create_subprocess()
444 ret = unix_open(name + 4, O_RDWR); in service_to_fd()
Dsysdeps.h147 static __inline__ int unix_open(const char* path, int options,...) in unix_open() function
309 static __inline__ int unix_open(const char* path, int options,...) in unix_open() function
Dusb_linux.c173 if((fd = unix_open(devname, O_RDONLY)) < 0) { in find_usb_device()
600 usb->desc = unix_open(usb->fname, O_RDWR); in register_device()
603 usb->desc = unix_open(usb->fname, O_RDONLY); in register_device()
Dadb.c854 fd = unix_open("/dev/null", O_RDONLY); in start_logging()
858 fd = unix_open("/tmp/adb.log", O_WRONLY | O_CREAT | O_APPEND, 0640); in start_logging()
860 fd = unix_open("/dev/null", O_WRONLY); in start_logging()
891 fd = unix_open(path, O_WRONLY | O_CREAT | O_TRUNC, 0640); in start_device_log()
901 fd = unix_open("/dev/null", O_RDONLY); in start_device_log()
Dcommandline.c462 fd = unix_open("/dev/null", O_WRONLY); in status_window()