Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPollingCheck.java27 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()
DWithin.java35 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/
DMockA11yImeEventStreamUtils.java33 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/
DCollectionAppWidgetProvider.java36 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/
DWallpaperWindowInputTests.kt136 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/
DImeEventStreamTestUtils.java46 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/
DMediaActivityTest.java73 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/
DWindowInsetsControllerTests.java125 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/
DTestUtils.java71 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/
DInputConnectionEndToEndTest.java140 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/
DWebViewTest.java1488 private static final long TIME_SLICE = 50; in waitForFlingDone() field in WebViewTest.ScrollDiffPollingCheck
1502 Thread.sleep(TIME_SLICE); in waitForFlingDone()