Home
last modified time | relevance | path

Searched refs:out_fd (Results 1 – 6 of 6) sorted by relevance

/system/core/debuggerd/
Dutil.cpp49 ssize_t recv_fd(int sockfd, void* _Nonnull data, size_t len, unique_fd* _Nullable out_fd) { in recv_fd() argument
84 if (out_fd) { in recv_fd()
85 *out_fd = std::move(fd); in recv_fd()
Dutil.h46 android::base::unique_fd* _Nullable out_fd);
/system/core/debuggerd/tombstoned/
Dintercept_manager.h56 bool GetIntercept(pid_t pid, DebuggerdDumpType dump_type, android::base::unique_fd* out_fd);
Dintercept_manager.cpp193 android::base::unique_fd* out_fd) { in GetIntercept() argument
216 *out_fd = std::move(intercept->output_fd); in GetIntercept()
/system/update_engine/
Dimage_properties_android.cc81 bool OpenMisc(bool write, int* out_fd) { in OpenMisc() argument
98 *out_fd = fd; in OpenMisc()
/system/core/adb/
Dcommandline.cpp780 int out_fd = adb_connect(android::base::StringPrintf("sideload:%d", size), &error); in adb_sideload_legacy() local
781 if (out_fd < 0) { in adb_sideload_legacy()
787 opt = adb_setsockopt(out_fd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)); in adb_sideload_legacy()
795 adb_close(out_fd); in adb_sideload_legacy()
798 if (!WriteFdExactly(out_fd, buf, xfer)) { in adb_sideload_legacy()
800 adb_status(out_fd, &error); in adb_sideload_legacy()
802 adb_close(out_fd); in adb_sideload_legacy()
811 if (!adb_status(out_fd, &error)) { in adb_sideload_legacy()
813 adb_close(out_fd); in adb_sideload_legacy()
817 adb_close(out_fd); in adb_sideload_legacy()