Searched refs:waitTimeMs (Results 1 – 6 of 6) sorted by relevance
305 int waitTimeMs = 100; in waitCmdCompletion() local313 Thread.sleep(waitTimeMs); in waitCmdCompletion()317 waitTimeMs = waitTimeMs * 2; in waitCmdCompletion()318 waitTimeMs = Math.min(1000, waitTimeMs); in waitCmdCompletion()
492 long waitTimeMs = mAlarmManager in testTimerMultiDayRun() local495 assertEquals(expectedWaitHours * 3600_000, waitTimeMs); in testTimerMultiDayRun()500 waitTimeMs = mAlarmManager in testTimerMultiDayRun()503 assertEquals(24 * 3600_000, waitTimeMs); in testTimerMultiDayRun()509 waitTimeMs = mAlarmManager in testTimerMultiDayRun()512 assertEquals(24 * 3600_000, waitTimeMs); in testTimerMultiDayRun()532 long waitTimeMs = mAlarmManager in testTimerWith() local535 assertEquals(expectedWaitHours * 3600_000, waitTimeMs); in testTimerWith()
279 long waitTimeMs = EXPONENTIAL_BACKOFF_BASE_SECONDS * 1000; in doLogsContainSuccessStatement() local293 waitTimeMs *= EXPONENTIAL_BACKOFF_BASE_SECONDS; in doLogsContainSuccessStatement()294 Thread.sleep(waitTimeMs); in doLogsContainSuccessStatement()
309 long waitTimeMs = targetTimeMs - currTimeMs; in setFirstHealthDetectionAlarm() local310 if (waitTimeMs < MIN_WAIT_TIME_BEFORE_FIRST_DETECTION_MS) { in setFirstHealthDetectionAlarm()311 waitTimeMs += DAILY_DETECTION_INTERVAL_MS; in setFirstHealthDetectionAlarm()313 scheduleDailyDetectionAlarm(waitTimeMs); in setFirstHealthDetectionAlarm()316 private void scheduleDailyDetectionAlarm(long waitTimeMs) { in scheduleDailyDetectionAlarm() argument318 mClock.getElapsedSinceBootMillis() + waitTimeMs, in scheduleDailyDetectionAlarm()
1579 long waitTimeMs = timeoutMs - (SystemClock.elapsedRealtime() - startTimeMs); in waitForCompletionAsync() local1581 if (intervalMs > 0 && waitTimeMs > intervalMs) { in waitForCompletionAsync()1583 waitTimeMs = intervalMs; in waitForCompletionAsync()1585 boolean isNotified = mListenerCompletionSem.tryAcquire(waitTimeMs, in waitForCompletionAsync()1591 waitTimeMs); in waitForCompletionAsync()
4868 private String insertJsWait(long waitTimeMs) { in insertJsWait() argument4876 + String.format(" wait(\"%d\");\n", waitTimeMs); in insertJsWait()