Home
last modified time | relevance | path

Searched refs:sleepTime (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/multiuser/src/android/host/multiuser/
DDpcCommander.java113 int sleepTime = 10_000; in waitUntilReady() local
121 RunUtil.getDefault().sleep(sleepTime); in waitUntilReady()
128 + (maxTries * sleepTime) + "ms"); in waitUntilReady()
/cts/tests/tests/os/src/android/os/cts/
DHandlerThreadTest.java72 private void sleep(long sleepTime) { in sleep() argument
74 Thread.sleep(sleepTime); in sleep()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsUtils.java181 int sleepTime = timeoutMs / numTimes; in retryUntilTrue() local
191 Thread.sleep(sleepTime); in retryUntilTrue()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdCtsForegroundActivity.java128 private void doSleepWhileTop(int sleepTime) { in doSleepWhileTop() argument
132 sleep(sleepTime); in doSleepWhileTop()
/cts/hostsidetests/os/src/android/os/cts/
DInattentiveSleepTests.java229 long sleepTime = warningShown + mWarningDurationConfig - eps; in testInattentiveSleep_warningTiming() local
230 while (System.currentTimeMillis() < sleepTime) { in testInattentiveSleep_warningTiming()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java413 final int sleepTime = dragDurationMs / moveEventCount; in injectMoveEventsForDrag() local
426 final long remainingSleep = sleepTime - (SystemClock.uptimeMillis() - prevEventTime); in injectMoveEventsForDrag()
/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java1072 long sleepTime = Math.max( in testRateLimitingToastsWhenInBackground() local
1074 SystemClock.sleep(sleepTime); in testRateLimitingToastsWhenInBackground()
1075 totalTimeSpentMs += sleepTime; in testRateLimitingToastsWhenInBackground()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java1873 final long sleepTime = 500; in testForegroundServiceHelper() local
1874 SystemClock.sleep(sleepTime); in testForegroundServiceHelper()
1928 assertLessThan(sleepTime, totalTimeUsed); in testForegroundServiceHelper()
2187 final long sleepTime = System.currentTimeMillis(); in testPipActivity_StopToPause() local
2193 final ArrayList<Event> stoppedEvent = waitForEventCount(STOPPED_EVENT, sleepTime, 1, in testPipActivity_StopToPause()