Searched refs:timeoutNs (Results 1 – 3 of 3) 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()
222 long timeoutNs = Math.min(waitUntilNanos, surfacePostTime) - nowNanos; in waitForEvents() local223 long timeoutMs = timeoutNs / 1_000_000L; in waitForEvents()224 int remainderNs = (int) (timeoutNs % 1_000_000L); in waitForEvents()
521 long timeoutNs = Math.min(waitUntilNanos, surfacePostTime) - nowNanos; in waitForEvents() local522 long timeoutMs = timeoutNs / 1_000_000L; in waitForEvents()523 int remainderNs = (int) (timeoutNs % 1_000_000L); in waitForEvents()