Home
last modified time | relevance | path

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

/packages/modules/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.h161 extern int unix_open(std::string_view path, int options, ...);
451 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.cpp684 android::base::unique_fd fd(unix_open(GetLogFilePath(), O_RDONLY)); in ReportServerStartupFailure()
Dsysdeps_win32.cpp2459 int unix_open(std::string_view path, int options, ...) { in unix_open() function
/packages/modules/adb/client/
Dusb_linux.cpp160 int fd = unix_open(dev_name, O_RDONLY | O_CLOEXEC); in find_usb_device()
563 usb->fd = unix_open(usb->path, O_RDWR | O_CLOEXEC); in register_device()
566 usb->fd = unix_open(usb->path, O_RDONLY | O_CLOEXEC); in register_device()
Dmain.cpp50 int fd = unix_open(log_file_path, O_WRONLY | O_CREAT | O_APPEND, 0640); in setup_daemon_logging()
/packages/modules/adb/daemon/
Dservices.cpp313 return unique_fd{unix_open(name, O_RDWR | O_CLOEXEC)}; in daemon_service_to_fd()