Home
last modified time | relevance | path

Searched refs:wakeupPipe_ (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/bluetooth/hci/hdi_service/implement/
H A Dhci_watcher.cpp74 if (pipe(wakeupPipe_) != 0) { in Start()
105 close(wakeupPipe_[0]); in Stop()
106 close(wakeupPipe_[1]); in Stop()
121 if (wakeupPipe_[0] > FD_SETSIZE) { in WatcherThread()
122 HDF_LOGW("fd[%d]", wakeupPipe_[0]); in WatcherThread()
125 FD_SET(wakeupPipe_[0], &readFds); in WatcherThread()
126 nfds = wakeupPipe_[0]; in WatcherThread()
157 if (FD_ISSET(wakeupPipe_[0], &readFds)) { in WatcherThread()
159 TEMP_FAILURE_RETRY(read(wakeupPipe_[0], &buff, sizeof(buff))); in WatcherThread()
174 TEMP_FAILURE_RETRY(write(wakeupPipe_[ in ThreadWakeup()
[all...]
H A Dhci_watcher.h53 int wakeupPipe_[2] = {0}; member in OHOS::HDI::Bluetooth::Hci::HciWatcher

Completed in 1 milliseconds