Lines Matching refs:pfds_
78 : adapter_(adapter), pfds_(1, {sockfd, POLLIN, 0}) {} in LinuxIPCHost()
81 close(pfds_[0].fd); in ~LinuxIPCHost()
87 TEMP_FAILURE_RETRY(ppoll(pfds_.data(), pfds_.size(), nullptr, nullptr)); in EventLoop()
93 if (pfds_[kFdIpc].revents && !OnMessage()) { in EventLoop()
97 if (pfds_.size() == kPossibleFds && in EventLoop()
98 pfds_[kFdGatt].revents && in EventLoop()
122 pfds_.resize(kPossibleFds); in OnCreateService()
123 pfds_[kFdGatt] = {gattfd, POLLIN, 0}; in OnCreateService()
129 close(pfds_[1].fd); in OnDestroyService()
130 pfds_.resize(1); in OnDestroyService()
254 OSI_NO_INTR(size = recv(pfds_[kFdIpc].fd, &ipc_msg[0], 0, in OnMessage()
265 OSI_NO_INTR(size = read(pfds_[kFdIpc].fd, &ipc_msg[0], ipc_msg.size())); in OnMessage()
315 OSI_NO_INTR(r = read(pfds_[kFdGatt].fd, id.data(), id.size())); in OnGattWrite()
334 OSI_NO_INTR(r = write(pfds_[kFdIpc].fd, transmit.data(), transmit.size())); in OnGattWrite()