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

/frameworks/base/core/java/android/os/
H A DSystemClock.java43 * sleep (CPU off, display dark, device waiting for external input),
46 * such as {@link Thread#sleep(long) Thread.sleep(millls)},
50 * interval does not span device sleep. Most methods that accept a
54 * return the time since the system was booted, and include deep sleep.
64 * <li> <p> Standard functions like {@link Thread#sleep(long)
65 * Thread.sleep(millis)} and {@link Object#wait(long) Object.wait(millis)}
67 * clock; if the device enters sleep, the remainder of the time will be
72 * <li> <p> {@link #sleep SystemClock.sleep(milli
108 public static void sleep(long ms) method in class:SystemClock
[all...]
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCase.java94 * Calls {@link SystemClock#sleep(long)} to sleep
98 public void sleep(long ms) { method in class:UiAutomatorTestCase
99 SystemClock.sleep(ms);
/frameworks/uiautomator/testrunner/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCase.java94 * Calls {@link SystemClock#sleep(long)} to sleep
98 public void sleep(long ms) { method in class:UiAutomatorTestCase
99 SystemClock.sleep(ms);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DWifiConnectionTest.java58 sleep(2 * SHORT_TIMEOUT, "interrupted while waiting for WPA_SUPPLICANT to start");
102 private void sleep(long sometime, String errorMsg) { method in class:WifiConnectionTest
104 Thread.sleep(sometime);
121 sleep(WIFI_STOP_START_INTERVAL, "interruped while connected to wifi");
H A DConnectivityManagerMobileTest.java93 private void sleep(long sleeptime) { method in class:ConnectivityManagerMobileTest
95 Thread.sleep(sleeptime);
109 sleep(2 * SHORT_TIMEOUT);
119 sleep(10 * 1000);
131 sleep(2 * SHORT_TIMEOUT);
206 sleep(SHORT_TIMEOUT);
236 sleep(WIFI_STOP_START_INTERVAL);
271 sleep(SHORT_TIMEOUT);
331 sleep(SHORT_TIMEOUT);
443 Thread.sleep(SHORT_TIMEOU
[all...]
H A DWifiAssociationTest.java72 sleep(2 * SHORT_TIMEOUT, "interrupted while waiting for WPA_SUPPLICANT to start");
111 private void sleep(long sometime, String errorMsg) { method in class:WifiAssociationTest
113 Thread.sleep(sometime);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java45 * Stress Wi-Fi connection, scanning and reconnection after sleep.
56 * Wi-Fi idle time for default sleep policy
101 sleep(SHORT_TIMEOUT, "Interruped while waiting for wifi on");
132 private void sleep(long sometime, String errorMsg) { method in class:WifiStressTest
134 Thread.sleep(sometime);
211 // Stress Wifi reconnection to secure net after sleep
216 log("wifi sleep policy is: " + value);
220 log("set wifi sleep policy to default value");
249 // 1. Put device into sleep mode
250 // 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. */
385 sleep(SCO_SLEEP_TIME);
387 sleep(SCO_SLEEP_TIME);
395 private void sleep(long time) { method in class:BluetoothStressTest
397 Thread.sleep(time);
H A DBluetoothTestUtils.java468 sleep(POLL_TIME);
528 sleep(POLL_TIME);
570 sleep(POLL_TIME);
613 sleep(POLL_TIME);
652 sleep(POLL_TIME);
690 sleep(POLL_TIME);
825 sleep(POLL_TIME);
967 sleep(POLL_TIME);
1048 sleep(POLL_TIME);
1153 sleep(POLL_TIM
1492 private void sleep(long time) { method in class:BluetoothTestUtils
[all...]
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCase.java116 * Calls {@link SystemClock#sleep(long)} to sleep
120 public void sleep(long ms) { method in class:UiAutomatorTestCase
121 SystemClock.sleep(ms);
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java165 sleep(3000);
174 sleep(SLEEP_TIME);
213 private void sleep(int time) { method in class:MemoryUsageTest
215 Thread.sleep(time);
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java94 sleep(INITIAL_LAUNCH_IDLE_TIMEOUT);
96 sleep(BETWEEN_LAUNCH_SLEEP_TIMEOUT);
115 sleep(POST_LAUNCH_IDLE_TIMEOUT);
117 sleep(BETWEEN_LAUNCH_SLEEP_TIMEOUT);
260 sleep(POST_LAUNCH_IDLE_TIMEOUT);
274 private void sleep(int time) { method in class:AppLaunch
276 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/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java600 sleep(SHORT_TIMEOUT);
637 sleep(SHORT_TIMEOUT);
641 sleep(SHORT_TIMEOUT);
645 private void sleep(long sleeptime) { method in class:ConnectivityManagerTestBase
647 Thread.sleep(sleeptime);
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java725 SystemClock.sleep(500);
748 public void sleep() throws RemoteException { method in class:UiDevice
/frameworks/uiautomator/core/com/android/uiautomator/core/
H A DUiDevice.java725 SystemClock.sleep(500);
748 public void sleep() throws RemoteException { method in class:UiDevice
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DStateMachineTest.java57 private void sleep(int millis) { method in class:StateMachineTest
59 Thread.sleep(millis);
121 sleep(500);
224 sleep(500);
/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
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java3693 * from deep sleep. Calls from applications should be done synchronously
4177 sleep(1);
4195 sleep(1);
4211 sleep(1);
4286 sleep(3);
4373 sleep(1);
4430 private static void sleep(int seconds) { method in class:ConnectivityService.CheckMp
4432 Thread.sleep(seconds * 1000);

Completed in 313 milliseconds