Searched refs:socket_fd (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/minadbd/ |
D | minadbd.cpp | 45 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()
|
D | minadbd_services.h | 21 void SetMinadbdSocketFd(int socket_fd);
|
D | minadbd_services.cpp | 56 void SetMinadbdSocketFd(int socket_fd) { in SetMinadbdSocketFd() argument 57 minadbd_socket = socket_fd; in SetMinadbdSocketFd()
|
/bootable/recovery/install/ |
D | adb_install.cpp | 156 static bool HandleMessageFromMinadbd(int socket_fd, in HandleMessageFromMinadbd() argument 159 if (!android::base::ReadFully(socket_fd, buffer, kMinadbdMessageSize)) { in HandleMessageFromMinadbd() 181 socket_fd)) { in HandleMessageFromMinadbd() 189 RecoveryUI* ui, pid_t minadbd_pid, android::base::unique_fd&& socket_fd, in ListenAndExecuteMinadbdCommands() argument 201 ev.data.fd = socket_fd.get(); in ListenAndExecuteMinadbdCommands() 203 if (epoll_ctl(epoll_fd.get(), EPOLL_CTL_ADD, socket_fd.get(), &ev) == -1) { in ListenAndExecuteMinadbdCommands() 237 if (!HandleMessageFromMinadbd(socket_fd.get(), command_map)) { in ListenAndExecuteMinadbdCommands()
|
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 674 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()
|