Home
last modified time | relevance | path

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

/frameworks/native/libs/adbd_auth/
Dadbd_auth.cpp147 if (framework_fd_ != -1) { in UpdateFrameworkWritable()
155 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_MOD, framework_fd_.get(), &event)); in UpdateFrameworkWritable()
161 << " (current = " << framework_fd_.get() << ")"; in ReplaceFrameworkFd()
164 if (framework_fd_ != -1) { in ReplaceFrameworkFd()
167 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_DEL, framework_fd_.get(), nullptr)); in ReplaceFrameworkFd()
168 framework_fd_.reset(); in ReplaceFrameworkFd()
180 framework_fd_ = std::move(new_fd); in ReplaceFrameworkFd()
247 CHECK_NE(-1, framework_fd_.get()); in SendPacket()
287 ssize_t rc = writev(framework_fd_.get(), iovs, iovcnt); in SendPacket()
366 … int rc = TEMP_FAILURE_RETRY(read(framework_fd_.get(), buf, sizeof(buf))); in Run()
[all …]