Home
last modified time | relevance | path

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

/system/core/adb/client/
Dmain.cpp79 int adb_server_main(int is_daemon, const std::string& socket_spec, int ack_reply_fd) { in adb_server_main() argument
166 std::thread notify_thread([ack_reply_fd]() { in adb_server_main()
173 const HANDLE ack_reply_handle = cast_int_to_handle(ack_reply_fd); in adb_server_main()
189 if (!android::base::WriteStringToFd("OK\n", ack_reply_fd)) { in adb_server_main()
190 PLOG(FATAL) << "error writing ACK to fd " << ack_reply_fd; in adb_server_main()
192 unix_close(ack_reply_fd); in adb_server_main()
Dcommandline.cpp1402 static bool _is_valid_ack_reply_fd(const int ack_reply_fd) { in _is_valid_ack_reply_fd() argument
1404 const HANDLE ack_reply_handle = cast_int_to_handle(ack_reply_fd); in _is_valid_ack_reply_fd()
1409 return ack_reply_fd > 2; in _is_valid_ack_reply_fd()
1419 int ack_reply_fd = -1; in adb_commandline() local
1447 ack_reply_fd = strtol(reply_fd_str, nullptr, 10); in adb_commandline()
1448 if (!_is_valid_ack_reply_fd(ack_reply_fd)) { in adb_commandline()
1560 if (is_daemon && (ack_reply_fd == -1)) { in adb_commandline()
1564 r = adb_server_main(is_daemon, server_socket_str, ack_reply_fd); in adb_commandline()
/system/core/adb/
Dadb.h133 int adb_server_main(int is_daemon, const std::string& socket_spec, int ack_reply_fd);