Searched refs:ack_reply_fd (Results 1 – 3 of 3) sorted by relevance
/system/core/adb/client/ |
D | main.cpp | 95 int adb_server_main(int is_daemon, const std::string& socket_spec, int ack_reply_fd) { in adb_server_main() argument 165 const HANDLE ack_reply_handle = cast_int_to_handle(ack_reply_fd); in adb_server_main() 181 if (!android::base::WriteStringToFd("OK\n", ack_reply_fd)) { in adb_server_main() 182 fatal_errno("error writing ACK to fd %d", ack_reply_fd); in adb_server_main() 184 unix_close(ack_reply_fd); in adb_server_main()
|
/system/core/adb/ |
D | adb.h | 135 int adb_server_main(int is_daemon, const std::string& socket_spec, int ack_reply_fd);
|
D | commandline.cpp | 1392 static bool _is_valid_ack_reply_fd(const int ack_reply_fd) { in _is_valid_ack_reply_fd() argument 1394 const HANDLE ack_reply_handle = cast_int_to_handle(ack_reply_fd); in _is_valid_ack_reply_fd() 1399 return ack_reply_fd > 2; in _is_valid_ack_reply_fd() 1419 int ack_reply_fd = -1; in adb_commandline() local 1457 ack_reply_fd = strtol(reply_fd_str, nullptr, 10); in adb_commandline() 1458 if (!_is_valid_ack_reply_fd(ack_reply_fd)) { in adb_commandline() 1574 if (is_daemon && (ack_reply_fd == -1)) { in adb_commandline() 1578 r = adb_server_main(is_daemon, server_socket_str, ack_reply_fd); in adb_commandline()
|