Searched refs:timeOut (Results 1 – 4 of 4) sorted by relevance
56 static boolean waitForAlarm(int alarmId, long timeOut) throws InterruptedException { in waitForAlarm() argument57 final long deadline = SystemClock.elapsedRealtime() + timeOut; in waitForAlarm()60 sWaitLock.wait(timeOut); in waitForAlarm()
75 final long timeOut = SystemClock.uptimeMillis() + REMOVE_ADMIN_TIMEOUT; in isActiveAdminAfterTimeout() local77 && SystemClock.uptimeMillis() < timeOut ) { in isActiveAdminAfterTimeout()
108 long timeOut = System.currentTimeMillis() + PLAY_TIME_MS; in playUntilEnd() local109 while (timeOut > System.currentTimeMillis() && !mMediaCodecPlayer.isEnded()) { in playUntilEnd()
128 private void searchAndClick(UiDevice mDevice, String name, int timeOut) throws ClickableNotFound { in searchAndClick() argument145 SystemClock.sleep(timeOut); //wait for click result to appear onscreen in searchAndClick()