Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp158 if (comms_fd_ >= 0) { in ~AndroidContextHub()
159 (void) close(comms_fd_); in ~AndroidContextHub()
198 comms_fd_ = open(kCommsDeviceFile, O_RDONLY); in Initialize()
199 if (comms_fd_ < 0) { in Initialize()
265 } else if (read_fd == comms_fd_) { in ReadEvent()
395 if (count > 1 && comms_fd_ >= 0) { in ResetPollFds()
396 pfds[1].fd = comms_fd_; in ResetPollFds()
Dandroidcontexthub.h59 int comms_fd_ = -1; variable