Searched refs:wakeupTime (Results 1 – 2 of 2) sorted by relevance
98 long wakeupTime = currentTime + timeout; in doSleep() local99 while (wakeupTime - currentTime > 0) { in doSleep()100 Log.i(LOG_TAG, "Time left to sleep: " + (wakeupTime - currentTime) + " ms"); in doSleep()102 Thread.sleep(wakeupTime - currentTime); in doSleep()
734 long wakeupTime = currentTime + timeout; in doSleep() local735 while (wakeupTime - currentTime > 0) { in doSleep()736 Log.d(TAG, String.format("Time left to sleep: %d ms", wakeupTime - currentTime)); in doSleep()738 Thread.sleep(wakeupTime - currentTime); in doSleep()