Searched refs:nowNanos (Results 1 – 3 of 3) sorted by relevance
178 long nowNanos = System.nanoTime(); in waitForPreconditions() local179 long endTimeNanos = nowNanos + PRECONDITION_WAIT_TIMEOUT_NANOSECONDS; in waitForPreconditions()181 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditions()188 nowNanos = System.nanoTime(); in waitForPreconditions()195 long nowNanos = System.nanoTime(); in waitForPreconditionViolation() local196 long endTimeNanos = nowNanos + PRECONDITION_VIOLATION_WAIT_TIMEOUT_NANOSECONDS; in waitForPreconditionViolation()198 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditionViolation()204 nowNanos = System.nanoTime(); in waitForPreconditionViolation()219 long nowNanos = System.nanoTime(); in waitForEvents() local220 while (nowNanos < waitUntilNanos) { in waitForEvents()[all …]
467 long nowNanos = System.nanoTime(); in waitForPreconditions() local468 long endTimeNanos = nowNanos + PRECONDITION_WAIT_TIMEOUT_SECONDS * 1_000_000_000L; in waitForPreconditions()470 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditions()478 nowNanos = System.nanoTime(); in waitForPreconditions()488 long nowNanos = System.nanoTime(); in waitForPreconditionViolation() local489 long endTimeNanos = nowNanos + PRECONDITION_VIOLATION_WAIT_TIMEOUT_SECONDS * 1_000_000_000L; in waitForPreconditionViolation()491 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditionViolation()498 nowNanos = System.nanoTime(); in waitForPreconditionViolation()513 long nowNanos = System.nanoTime(); in waitForEvents() local514 while (nowNanos < waitUntilNanos) { in waitForEvents()[all …]
2053 long nowNanos = System.nanoTime(); in isOutOfTime() local2054 if (nowNanos < mStartTimeNanos) { in isOutOfTime()2057 return nowNanos - mStartTimeNanos > mMaxDuration.toNanos(); in isOutOfTime()