Home
last modified time | relevance | path

Searched refs:delayMillis (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowChoreographer.java57 public static void setPostCallbackDelay(int delayMillis) {
58 postCallbackDelayMillis = delayMillis;
68 public static void setPostFrameCallbackDelay(int delayMillis) {
69 postFrameCallbackDelayMillis = delayMillis;
97 int callbackType, Runnable action, Object token, long delayMillis) {
98 handler.postDelayed(action, delayMillis);
125 protected void postFrameCallbackDelayed(final FrameCallback callback, long delayMillis) {
130 }, callback, SystemClock.uptimeMillis() + delayMillis);
DShadowLooper.java315 public boolean post(Runnable runnable, long delayMillis) { in post() argument
317 getScheduler().postDelayed(runnable, delayMillis, TimeUnit.MILLISECONDS); in post()
/external/mockito/src/main/java/org/mockito/verification/
DAfter.java25 public After(long delayMillis, VerificationMode verificationMode) { in After() argument
26 this(10, delayMillis, verificationMode); in After()
29 After(long pollingPeriod, long delayMillis, VerificationMode verificationMode) { in After() argument
30 this(new VerificationOverTimeImpl(pollingPeriod, delayMillis, verificationMode, false)); in After()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DScheduler.java150 public synchronized void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() argument
151 postDelayed(runnable, delayMillis, TimeUnit.MILLISECONDS); in postDelayed()
158 long delayMillis = unit.toMillis(delay); in postDelayed() local
159 …if ((idleState != CONSTANT_IDLE && (isPaused() || delayMillis > 0)) || Thread.currentThread() != a… in postDelayed()
160 runnables.add(new ScheduledRunnable(runnable, currentTime + delayMillis)); in postDelayed()
162 runOrQueueRunnable(runnable, currentTime + delayMillis); in postDelayed()
/external/mockito/src/test/java/org/mockitoutil/async/
DAsyncTesting.java31 public void runAfter(final int delayMillis, final Runnable runnable) { in runAfter() argument
38 Thread.sleep(delayMillis); in runAfter()
48 …AsyncTesting] Starting thread that will execute the runnable after " + delayMillis + " millis. Thr… in runAfter()
/external/libchrome/base/android/java/src/org/chromium/base/
DThreadUtils.java190 public static void postOnUiThreadDelayed(Runnable task, long delayMillis) { in postOnUiThreadDelayed() argument
191 getUiThreadHandler().postDelayed(task, delayMillis); in postOnUiThreadDelayed()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DDisconnectTest.java123 private void disconnectLater(final HttpURLConnection connection, final int delayMillis) { in disconnectLater() argument
127 sleep(delayMillis); in disconnectLater()
DThreadInterruptTest.java125 private void interruptLater(final int delayMillis) { in interruptLater() argument
130 sleep(delayMillis); in interruptLater()
/external/replicaisland/src/com/replica/replicaisland/
DAnimationPlayerActivity.java65 public void sleep(long delayMillis) { in sleep() argument
67 sendMessageDelayed(obtainMessage(0), delayMillis); in sleep()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java294 Date delayedDate(long delayMillis) { in delayedDate() argument
295 return new Date(System.currentTimeMillis() + delayMillis); in delayedDate()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java1376 private void interruptAfterDelay(final long delayMillis) {
1381 Thread.sleep(delayMillis);