/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PollingCheck.java | 27 private static final long TIME_SLICE = 50; field in PollingCheck 69 Thread.sleep(TIME_SLICE); in run() 78 timeout -= TIME_SLICE; in run() 92 Thread.sleep(TIME_SLICE); in runWaitAndReturnResult() 102 timeout -= TIME_SLICE; in runWaitAndReturnResult() 115 Thread.sleep(TIME_SLICE); in check() 116 timeout -= TIME_SLICE; in check()
|
D | Within.java | 35 private static final long TIME_SLICE = 50; field in Within 49 SystemClock.sleep(TIME_SLICE); in verify() 66 timeout -= TIME_SLICE; in verify()
|
/cts/tests/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/ |
D | MockA11yImeEventStreamUtils.java | 33 private static final long TIME_SLICE = 50; // msec field in MockA11yImeEventStreamUtils 130 SystemClock.sleep(TIME_SLICE); in expectA11yImeEvent() 131 timeout -= TIME_SLICE; in expectA11yImeEvent() 239 SystemClock.sleep(TIME_SLICE); 240 timeout -= TIME_SLICE;
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | CollectionAppWidgetProvider.java | 36 private static final long TIME_SLICE = 100; field in CollectionAppWidgetProvider 140 handler.postDelayed(this, TIME_SLICE); in onUpdate() 144 handler.postDelayed(setScrollRunnable, TIME_SLICE); in onUpdate() 163 handler.postDelayed(this, TIME_SLICE); in onUpdate() 167 handler.postDelayed(setRelativeScrollRunnable, TIME_SLICE); in onUpdate()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WallpaperWindowInputTests.kt | 136 Thread.sleep(TIME_SLICE.inWholeMilliseconds) in waitForMotionEventFromTestJournal() 140 remainingTime -= TIME_SLICE in waitForMotionEventFromTestJournal() 166 private val TIME_SLICE = 50.milliseconds constant
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEventStreamTestUtils.java | 46 private static final long TIME_SLICE = 50; // msec field in ImeEventStreamTestUtils 145 Thread.sleep(TIME_SLICE); in expectEvent() 146 timeout -= TIME_SLICE; in expectEvent() 328 Thread.sleep(TIME_SLICE); 329 timeout -= TIME_SLICE; 461 Thread.sleep(TIME_SLICE);
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaActivityTest.java | 73 private static final int TIME_SLICE = 50; field in MediaActivityTest 320 long pollingCount = WAIT_TIME_MS / TIME_SLICE; in pollingCheck() 323 Thread.sleep(TIME_SLICE); in pollingCheck()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsControllerTests.java | 125 private static final long TIME_SLICE = 50; // milliseconds field in WindowInsetsControllerTests 199 for (long time = TIMEOUT; time >= 0; time -= TIME_SLICE) { in testTopAppHidesStatusBarInternal() 201 SystemClock.sleep(TIME_SLICE); in testTopAppHidesStatusBarInternal() 403 for (long time = TIMEOUT; time >= 0; time -= TIME_SLICE) { in testSetSystemBarsBehavior_showTransientBarsBySwipe() 405 SystemClock.sleep(TIME_SLICE); in testSetSystemBarsBehavior_showTransientBarsBySwipe() 696 for (long time = TIMEOUT; time >= 0; time -= TIME_SLICE) { in testShowImeOnCreate_doesntCauseImeToReappearWhenDialogIsShown() 699 SystemClock.sleep(TIME_SLICE); in testShowImeOnCreate_doesntCauseImeToReappearWhenDialogIsShown()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 71 private static final long TIME_SLICE = 100; // msec field in TestUtils 152 Thread.sleep(TIME_SLICE); in waitOnMainUntil() 156 timeout -= TIME_SLICE; in waitOnMainUntil()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionEndToEndTest.java | 140 private static final long TIME_SLICE = TimeUnit.MILLISECONDS.toMillis(125); field in InputConnectionEndToEndTest 244 SystemClock.sleep(TIME_SLICE); in expectCalledOnce() 245 remainingTime -= TIME_SLICE; in expectCalledOnce() 283 SystemClock.sleep(TIME_SLICE); in expectNotCalled() 284 remainingTime -= TIME_SLICE; in expectNotCalled()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 1488 private static final long TIME_SLICE = 50; in waitForFlingDone() field in WebViewTest.ScrollDiffPollingCheck 1502 Thread.sleep(TIME_SLICE); in waitForFlingDone()
|