Home
last modified time | relevance | path

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

/system/bt/service/ipc/
Dlinux_ipc_host.cpp78 : 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()
[all …]
Dlinux_ipc_host.h99 std::vector<struct pollfd> pfds_; variable