/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowChoreographer.java | 57 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);
|
D | ShadowLooper.java | 315 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/ |
D | After.java | 25 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/ |
D | Scheduler.java | 150 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/ |
D | AsyncTesting.java | 31 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/ |
D | ThreadUtils.java | 190 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/ |
D | DisconnectTest.java | 123 private void disconnectLater(final HttpURLConnection connection, final int delayMillis) { in disconnectLater() argument 127 sleep(delayMillis); in disconnectLater()
|
D | ThreadInterruptTest.java | 125 private void interruptLater(final int delayMillis) { in interruptLater() argument 130 sleep(delayMillis); in interruptLater()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | AnimationPlayerActivity.java | 65 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/ |
D | JSR166TestCase.java | 294 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/ |
D | Spdy3ConnectionTest.java | 1376 private void interruptAfterDelay(final long delayMillis) { 1381 Thread.sleep(delayMillis);
|