Searched defs:sleep (Results 1 - 9 of 9) 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)},
52 * device sleep. Most methods that accept a timestamp value expect the
56 * system was booted, including deep sleep. This clock should be used
57 * when measuring time intervals that may span periods of system sleep.
63 * <li> <p> Standard functions like {@link Thread#sleep(long)
64 * Thread.sleep(millis)} and {@link Object#wait(long) Object.wait(millis)}
66 * clock; if the device enters sleep, the remainder of the time will be
71 * <li> <p> {@link #sleep SystemCloc
107 public static void sleep(long ms) method in class:SystemClock
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DConnectivityManagerMobileTest.java111 private void sleep(long sleeptime) { method in class:ConnectivityManagerMobileTest
113 Thread.sleep(sleeptime);
123 sleep(2 * ConnectivityManagerTestActivity.SHORT_TIMEOUT);
133 sleep(10 * 1000);
145 sleep(2 * ConnectivityManagerTestActivity.SHORT_TIMEOUT);
222 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT);
253 sleep(ConnectivityManagerTestActivity.WIFI_STOP_START_INTERVAL);
288 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT);
344 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT);
446 Thread.sleep(ConnectivityManagerTestActivit
[all...]
H A DWifiConnectionTest.java87 sleep(2 * ConnectivityManagerTestActivity.SHORT_TIMEOUT,
151 private void sleep(long sometime, String errorMsg) { method in class:WifiConnectionTest
153 Thread.sleep(sometime);
170 sleep(ConnectivityManagerTestActivity.WIFI_STOP_START_INTERVAL,
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java50 * Stress Wi-Fi connection, scanning and reconnection after sleep.
61 * Wi-Fi idle time for default sleep policy
109 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT,
141 private void sleep(long sometime, String errorMsg) { method in class:WifiStressTest
143 Thread.sleep(sometime);
221 // Stress Wifi reconnection to secure net after sleep
229 log("set wifi sleep policy to default value");
258 // 1. Put device into sleep mode
259 // 2. Wait for the device to sleep for sometime, verify wi-fi is off and mobile is on.
260 // 3. Maintain the sleep mod
[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/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java132 sleep(SHORT_TIMEOUT);
651 sleep(SHORT_TIMEOUT);
655 sleep(SHORT_TIMEOUT);
660 * Make the current thread sleep.
661 * @param sleeptime the time to sleep in milliseconds
663 private void sleep(long sleeptime) { method in class:ConnectionUtil
665 Thread.sleep(sleeptime);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java249 sleep(SHORT_TIMEOUT);
663 sleep(SHORT_TIMEOUT);
667 sleep(SHORT_TIMEOUT);
671 private void sleep(long sleeptime) { method in class:ConnectivityManagerTestActivity
673 Thread.sleep(sleeptime);
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionGroup.java96 // waken up from sleep and there are many packets to be processed in the SIP
546 sleep(timeout);
563 private synchronized void sleep(int timeout) { method in class:SipSessionGroup.SipSessionImpl.SessionTimer

Completed in 152 milliseconds