Searched refs:waitTime (Results 1 – 7 of 7) sorted by relevance
121 long waitTime = task.getReadyInMilliSeconds(); in getNextTask() local122 if (waitTime < readyToleranceMillis) { in getNextTask()125 if (minimalWaitTime == null || waitTime < minimalWaitTime) { in getNextTask()126 minimalWaitTime = waitTime; in getNextTask()
158 long waitTime = NETWORK_ACQUIRE_TIMEOUT_MILLIS; in acquireNetwork() local159 while (waitTime > 0) { in acquireNetwork()161 this.wait(waitTime); in acquireNetwork()170 waitTime = shouldEnd - SystemClock.elapsedRealtime(); in acquireNetwork()
191 long waitTime = minTime - System.currentTimeMillis(); in unmount() local192 while (waitTime > 0) { in unmount()194 Thread.sleep(waitTime); in unmount()198 waitTime = minTime - System.currentTimeMillis(); in unmount()
231 long waitTime = smsSendTimeoutInMillis; in sendMessage() local235 while (pendingResult.hasPending() && waitTime > 0) { in sendMessage()237 pendingResult.wait(waitTime); in sendMessage()241 waitTime = smsSendTimeoutInMillis - (SystemClock.elapsedRealtime() - beginTime); in sendMessage()
259 long waitTime = first.mScheduledTimeMillis - SystemClock.elapsedRealtime(); in onHandleIntent() local260 if (waitTime > 0) { in onHandleIntent()262 sWorkQueue.wait(waitTime); in onHandleIntent()
196 nsecs_t waitTime = finishTime - currentTime; in waitForStreamFocus() local197 mFocusWait.waitRelative(mLock, waitTime); in waitForStreamFocus()
652 void sendRetryMessage(int waitTime) { in sendRetryMessage() argument654 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_RETRY), waitTime); in sendRetryMessage() local