Searched defs:sleep (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCase.java97 * Calls {@link SystemClock#sleep(long)} to sleep
101 public void sleep(long ms) { method in class:UiAutomatorTestCase
102 SystemClock.sleep(ms);
/frameworks/base/core/java/android/os/
H A DSystemClock.java48 * sleep (CPU off, display dark, device waiting for external input),
51 * such as {@link Thread#sleep(long) Thread.sleep(millls)},
55 * interval does not span device sleep. Most methods that accept a
59 * return the time since the system was booted, and include deep sleep.
69 * <li> <p> Standard functions like {@link Thread#sleep(long)
70 * Thread.sleep(millis)} and {@link Object#wait(long) Object.wait(millis)}
72 * clock; if the device enters sleep, the remainder of the time will be
77 * <li> <p> {@link #sleep SystemClock.sleep(milli
115 public static void sleep(long ms) method in class:SystemClock
[all...]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCase.java119 * Calls {@link SystemClock#sleep(long)} to sleep
123 public void sleep(long ms) { method in class:UiAutomatorTestCase
124 SystemClock.sleep(ms);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java46 * Stress Wi-Fi connection, scanning and reconnection after sleep.
55 * Wi-Fi idle time for default sleep policy
104 sleep(SHORT_TIMEOUT, "Interruped while waiting for wifi on");
131 private void sleep(long sometime, String errorMsg) { method in class:WifiStressTest
133 Thread.sleep(sometime);
194 // Stress Wifi reconnection to secure net after sleep
200 // set wifi sleep policy to never on while in sleep
223 // 1. Put device into sleep mode
224 // 2. Wait for the device to sleep fo
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothStressTest.java35 /** The amount of time to sleep between issuing start/stop SCO in ms. */
354 sleep(SCO_SLEEP_TIME);
356 sleep(SCO_SLEEP_TIME);
363 private void sleep(long time) { method in class:BluetoothStressTest
365 Thread.sleep(time);
H A DBluetoothTestUtils.java636 sleep(POLL_TIME);
674 sleep(POLL_TIME);
809 sleep(POLL_TIME);
962 sleep(POLL_TIME);
1043 sleep(POLL_TIME);
1148 sleep(POLL_TIME);
1252 sleep(POLL_TIME);
1345 sleep(POLL_TIME);
1464 sleep(POLL_TIME);
1469 sleep(POLL_TIM
1487 private void sleep(long time) { method in class:BluetoothTestUtils
[all...]
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java206 sleep(3000);
215 sleep(SLEEP_TIME);
254 private void sleep(int time) { method in class:MemoryUsageTest
256 Thread.sleep(time);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java131 sleep(SHORT_TIMEOUT);
663 sleep(SHORT_TIMEOUT);
667 sleep(SHORT_TIMEOUT);
672 * Make the current thread sleep.
673 * @param sleeptime the time to sleep in milliseconds
675 private void sleep(long sleeptime) { method in class:ConnectionUtil
677 Thread.sleep(sleeptime);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java728 SystemClock.sleep(500);
751 public void sleep() throws RemoteException { method in class:UiDevice
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java235 sleep(INITIAL_LAUNCH_IDLE_TIMEOUT);
244 sleep(BETWEEN_LAUNCH_SLEEP_TIMEOUT);
275 sleep(POST_LAUNCH_IDLE_TIMEOUT);
278 sleep(BETWEEN_LAUNCH_SLEEP_TIMEOUT);
292 sleep(POST_LAUNCH_IDLE_TIMEOUT);
298 sleep(BETWEEN_LAUNCH_SLEEP_TIMEOUT);
527 sleep(POST_LAUNCH_IDLE_TIMEOUT);
541 private void sleep(int time) { method in class:AppLaunch
543 Thread.sleep(time);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DStateMachineTest.java58 private void sleep(int millis) { method in class:StateMachineTest
60 Thread.sleep(millis);
122 sleep(500);
225 sleep(500);
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java309 // There's no indication in the UI about the screenshot finish, so just sleep like a baby...
310 sleep(SAFE_SCREENSHOT_DELAY * DateUtils.SECOND_IN_MILLIS);
660 sleep(1000);
922 sleep(1000);
955 sleep(DateUtils.SECOND_IN_MILLIS);
1042 Thread.sleep(DateUtils.SECOND_IN_MILLIS);
1067 private static void sleep(long ms) { method in class:BugreportReceiverTest
1069 SystemClock.sleep(ms);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java91 // waken up from sleep and there are many packets to be processed in the SIP
566 sleep(timeout);
583 private synchronized void sleep(int timeout) { method in class:SipSessionGroup.SipSessionImpl.SessionTimer

Completed in 551 milliseconds