Searched refs:timeoutNanoSeconds (Results 1 – 1 of 1) sorted by relevance
138 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper() argument166 if (timeoutNanoSeconds) { in waitHelper()168 addNanosecondsToCurrentTime(timeoutNanoSeconds, &waitTimeAbsolute); in waitHelper()200 int64_t timeoutNanoSeconds, in wait() argument203 return waitHelper(bitmask, efState, timeoutNanoSeconds); in wait()206 bool shouldTimeOut = timeoutNanoSeconds != 0; in wait()216 timeoutNanoSeconds -= currentTimeNs - prevTimeNs; in wait()218 if (timeoutNanoSeconds <= 0) { in wait()225 status = waitHelper(bitmask, efState, timeoutNanoSeconds); in wait()