Searched refs:timeoutNs (Results 1 – 4 of 4) sorted by relevance
164 private SensorOperation getFutureResult(Future<SensorOperation> future, Long timeoutNs) in getFutureResult() argument166 if (timeoutNs == null) { in getFutureResult()170 long waitTimeNs = Math.max(timeoutNs - SystemClock.elapsedRealtimeNanos(), 1); in getFutureResult()
271 long timeoutNs = Math.min(waitUntilNanos, surfacePostTime) - nowNanos; in waitForEvents() local272 long timeoutMs = timeoutNs / 1_000_000L; in waitForEvents()273 int remainderNs = (int) (timeoutNs % 1_000_000L); in waitForEvents()
255 long timeoutNs = Math.min(waitUntilNanos, surfacePostTime) - nowNanos; in waitForEvents() local256 long timeoutMs = timeoutNs / 1_000_000L; in waitForEvents()257 int remainderNs = (int) (timeoutNs % 1_000_000L); in waitForEvents()
545 long timeoutNs = Math.min(waitUntilNanos, surfacePostTime) - nowNanos; in waitForEvents() local546 long timeoutMs = timeoutNs / 1_000_000L; in waitForEvents()547 int remainderNs = (int) (timeoutNs % 1_000_000L); in waitForEvents()