Searched refs:timeoutNanoSeconds (Results 1 – 1 of 1) sorted by relevance
135 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper() argument163 if (timeoutNanoSeconds) { in waitHelper()165 addNanosecondsToCurrentTime(timeoutNanoSeconds, &waitTimeAbsolute); in waitHelper()197 int64_t timeoutNanoSeconds, in wait() argument200 return waitHelper(bitmask, efState, timeoutNanoSeconds); in wait()203 bool shouldTimeOut = timeoutNanoSeconds != 0; in wait()213 timeoutNanoSeconds -= currentTimeNs - prevTimeNs; in wait()215 if (timeoutNanoSeconds <= 0) { in wait()222 status = waitHelper(bitmask, efState, timeoutNanoSeconds); in wait()