Home
last modified time | relevance | path

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

/frameworks/base/libs/common_time/
Dcommon_time_server.cpp208 struct pollfd pfds[2]; in runStateMachine_l() local
216 pfds[eventCnt].fd = mWakeupThreadFD; in runStateMachine_l()
217 pfds[eventCnt].events = POLLIN; in runStateMachine_l()
218 pfds[eventCnt].revents = 0; in runStateMachine_l()
224 pfds[eventCnt].fd = mSocket; in runStateMachine_l()
225 pfds[eventCnt].events = POLLIN; in runStateMachine_l()
226 pfds[eventCnt].revents = 0; in runStateMachine_l()
237 rc = poll(pfds, eventCnt, timeout); in runStateMachine_l()
258 if (pfds[0].revents) in runStateMachine_l()
363 if ((mSocket >= 0) && (eventCnt > 1) && (pfds[1].revents)) { in runStateMachine_l()