Searched refs:remainingMillis (Results 1 – 3 of 3) sorted by relevance
87 long remainingMillis = end - SystemClock.uptimeMillis(); in pollFor() local88 if (remainingMillis < 0) { in pollFor()95 SystemClock.sleep(Math.min(intervalMillis, remainingMillis)); in pollFor()
93 long remainingMillis = end - SystemClock.uptimeMillis(); in waitForRunningActivity() local94 if (remainingMillis < 0) { in waitForRunningActivity()98 SystemClock.sleep(Math.min(250, remainingMillis)); in waitForRunningActivity()
108 long remainingMillis = end - SystemClock.uptimeMillis(); in getRootNode() local109 if (remainingMillis < 0) { in getRootNode()114 SystemClock.sleep(Math.min(250, remainingMillis)); in getRootNode()