Searched refs:ack_reply_fd (Results 1 – 3 of 3) sorted by relevance
81 int adb_server_main(int is_daemon, const std::string& socket_spec, int ack_reply_fd) { in adb_server_main() argument176 std::thread notify_thread([ack_reply_fd]() { in adb_server_main()179 if (ack_reply_fd >= 0) { in adb_server_main()184 const HANDLE ack_reply_handle = cast_int_to_handle(ack_reply_fd); in adb_server_main()200 if (!android::base::WriteStringToFd("OK\n", ack_reply_fd)) { in adb_server_main()201 PLOG(FATAL) << "error writing ACK to fd " << ack_reply_fd; in adb_server_main()203 unix_close(ack_reply_fd); in adb_server_main()
1484 static bool _is_valid_ack_reply_fd(const int ack_reply_fd) { in _is_valid_ack_reply_fd() argument1486 const HANDLE ack_reply_handle = cast_int_to_handle(ack_reply_fd); in _is_valid_ack_reply_fd()1491 return ack_reply_fd > 2; in _is_valid_ack_reply_fd()1521 int ack_reply_fd = -1; in adb_commandline() local1549 ack_reply_fd = strtol(reply_fd_str, nullptr, 10); in adb_commandline()1550 if (!_is_valid_ack_reply_fd(ack_reply_fd)) { in adb_commandline()1662 if (is_daemon && (ack_reply_fd == -1)) { in adb_commandline()1666 r = adb_server_main(is_daemon, server_socket_str, ack_reply_fd); in adb_commandline()
136 int adb_server_main(int is_daemon, const std::string& socket_spec, int ack_reply_fd);