Home
last modified time | relevance | path

Searched refs:socket_fd (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/minadbd/
Dminadbd.cpp45 int socket_fd; in main() local
46 if (!android::base::ParseInt(argv[2], &socket_fd)) { in main()
50 if (fcntl(socket_fd, F_GETFD, 0) == -1) { in main()
54 SetMinadbdSocketFd(socket_fd); in main()
Dminadbd_services.h21 void SetMinadbdSocketFd(int socket_fd);
Dminadbd_services.cpp55 void SetMinadbdSocketFd(int socket_fd) { in SetMinadbdSocketFd() argument
56 minadbd_socket = socket_fd; in SetMinadbdSocketFd()
/bootable/recovery/install/
Dadb_install.cpp152 static bool HandleMessageFromMinadbd(int socket_fd, in HandleMessageFromMinadbd() argument
155 if (!android::base::ReadFully(socket_fd, buffer, kMinadbdMessageSize)) { in HandleMessageFromMinadbd()
177 socket_fd)) { in HandleMessageFromMinadbd()
185 RecoveryUI* ui, pid_t minadbd_pid, android::base::unique_fd&& socket_fd, in ListenAndExecuteMinadbdCommands() argument
197 ev.data.fd = socket_fd.get(); in ListenAndExecuteMinadbdCommands()
199 if (epoll_ctl(epoll_fd.get(), EPOLL_CTL_ADD, socket_fd.get(), &ev) == -1) { in ListenAndExecuteMinadbdCommands()
233 if (!HandleMessageFromMinadbd(socket_fd.get(), command_map)) { in ListenAndExecuteMinadbdCommands()
/bootable/recovery/uncrypt/
Duncrypt.cpp674 android::base::unique_fd socket_fd(accept4(service_socket, nullptr, nullptr, SOCK_CLOEXEC)); in main() local
675 if (socket_fd == -1) { in main()
684 success = uncrypt_wrapper(input_path, map_file, socket_fd); in main()
687 success = setup_bcb(socket_fd); in main()
690 success = clear_bcb(socket_fd); in main()
701 if (android::base::ReadFully(socket_fd, &code, 4)) { in main()