Home
last modified time | relevance | path

Searched refs:ack_reply_fd (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/client/
Dmain.cpp91 int adb_server_main(int is_daemon, int server_port, int ack_reply_fd) { in adb_server_main() argument
140 const HANDLE ack_reply_handle = cast_int_to_handle(ack_reply_fd); in adb_server_main()
156 if (!android::base::WriteStringToFd("OK\n", ack_reply_fd)) { in adb_server_main()
157 fatal_errno("error writing ACK to fd %d", ack_reply_fd); in adb_server_main()
159 unix_close(ack_reply_fd); in adb_server_main()
/system/core/adb/
Dcommandline.cpp1422 static bool _is_valid_ack_reply_fd(const int ack_reply_fd) { in _is_valid_ack_reply_fd() argument
1424 const HANDLE ack_reply_handle = cast_int_to_handle(ack_reply_fd); in _is_valid_ack_reply_fd()
1429 return ack_reply_fd > 2; in _is_valid_ack_reply_fd()
1449 int ack_reply_fd = -1; in adb_commandline() local
1496 ack_reply_fd = strtol(reply_fd_str, nullptr, 10); in adb_commandline()
1497 if (!_is_valid_ack_reply_fd(ack_reply_fd)) { in adb_commandline()
1583 if (is_daemon && (ack_reply_fd == -1)) { in adb_commandline()
1587 r = adb_server_main(is_daemon, server_port, ack_reply_fd); in adb_commandline()
Dadb.h154 int adb_server_main(int is_daemon, int server_port, int ack_reply_fd);