Home
last modified time | relevance | path

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

/frameworks/native/libs/adbd_auth/
Dadbd_auth.cpp96 sock_fd_.reset(android_get_control_socket("adbd")); in AdbdAuthContext()
97 if (sock_fd_ == -1) { in AdbdAuthContext()
100 if (fcntl(sock_fd_.get(), F_SETFD, FD_CLOEXEC) != 0) { in AdbdAuthContext()
104 if (fcntl(sock_fd_.get(), F_SETFL, O_NONBLOCK) != 0) { in AdbdAuthContext()
108 if (listen(sock_fd_.get(), 4) != 0) { in AdbdAuthContext()
299 if (sock_fd_ == -1) { in Run()
305 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, sock_fd_.get(), &event)); in Run()
333 unique_fd new_framework_fd(accept4(sock_fd_.get(), nullptr, nullptr, in Run()
500 unique_fd sock_fd_; member