Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_win32_test.cpp77 int conin_fd = unix_open("CONIN$", O_RDONLY); in TEST()
78 int conout_fd = unix_open("CONOUT$", O_RDWR); in TEST()
87 int nul_fd = unix_open("nul", flags); in TEST()
98 int temp_file_ro_fd = unix_open(temp_file.path, O_RDONLY); in TEST()
Dadb_trace.cpp77 int fd = unix_open(get_log_file_name(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0640); in start_device_log()
Dsysdeps.h159 extern int unix_open(std::string_view path, int options, ...);
419 static inline int unix_open(std::string_view path, int options, ...) { in unix_open() function
Dadb_utils.cpp58 int fd = unix_open(kNullFileName, O_RDONLY); in close_stdin()
Dadb.cpp659 android::base::unique_fd fd(unix_open(GetLogFilePath(), O_RDONLY)); in ReportServerStartupFailure()
Dsysdeps_win32.cpp2294 int unix_open(std::string_view path, int options, ...) { in unix_open() function
/system/core/adb/client/
Dusb_linux.cpp161 int fd = unix_open(dev_name, O_RDONLY | O_CLOEXEC); in find_usb_device()
564 usb->fd = unix_open(usb->path, O_RDWR | O_CLOEXEC); in register_device()
567 usb->fd = unix_open(usb->path, O_RDONLY | O_CLOEXEC); in register_device()
Dmain.cpp49 int fd = unix_open(log_file_path, O_WRONLY | O_CREAT | O_APPEND, 0640); in setup_daemon_logging()
/system/core/adb/daemon/
Dservices.cpp313 return unique_fd{unix_open(name, O_RDWR | O_CLOEXEC)}; in daemon_service_to_fd()