Searched refs:unix_open (Results 1 – 8 of 8) sorted by relevance
/system/core/adb/ |
D | log_service.c | 39 int logfd = unix_open(log_filepath, O_RDONLY); in log_service()
|
D | remount_service.c | 43 fd = unix_open("/proc/mounts", O_RDONLY); in find_mount()
|
D | usb_linux_client.c | 164 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()
|
D | services.c | 270 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()
|
D | sysdeps.h | 147 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
|
D | usb_linux.c | 173 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()
|
D | adb.c | 854 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()
|
D | commandline.c | 462 fd = unix_open("/dev/null", O_WRONLY); in status_window()
|