Searched defs:sleep (Results 1 - 15 of 15) 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/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DConnectivityManagerMobileTest.java107 private void sleep(long sleeptime) { method in class:ConnectivityManagerMobileTest
109 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);
348 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT);
460 Thread.sleep(ConnectivityManagerTestActivit
[all...]
H A DWifiConnectionTest.java87 sleep(2 * ConnectivityManagerTestActivity.SHORT_TIMEOUT,
133 private void sleep(long sometime, String errorMsg) { method in class:WifiConnectionTest
135 Thread.sleep(sometime);
152 sleep(ConnectivityManagerTestActivity.WIFI_STOP_START_INTERVAL,
/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/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/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java46 * Stress Wi-Fi connection, scanning and reconnection after sleep.
57 * Wi-Fi idle time for default sleep policy
108 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT,
140 private void sleep(long sometime, String errorMsg) { method in class:WifiStressTest
142 Thread.sleep(sometime);
220 // Stress Wifi reconnection to secure net after sleep
225 log("wifi sleep policy is: " + value);
229 log("set wifi sleep policy to default value");
258 // 1. Put device into sleep mode
259 // 2. Wait for the device to sleep fo
[all...]
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java73 sleep(750);
75 sleep(2000);
171 private void sleep(int time) { method in class:AppLaunch
173 Thread.sleep(time);
/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/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/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiDevice.java669 SystemClock.sleep(500);
692 public void sleep() throws RemoteException { method in class:UiDevice
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java608 sleep(SHORT_TIMEOUT);
640 sleep(SHORT_TIMEOUT);
644 sleep(SHORT_TIMEOUT);
648 private void sleep(long sleeptime) { method in class:ConnectivityManagerTestActivity
650 Thread.sleep(sleeptime);
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DStateMachineTest.java54 private void sleep(int millis) { method in class:StateMachineTest
56 Thread.sleep(millis);
108 sleep(500);
218 sleep(500);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp1021 nsecs_t sleep = next_vsync - now; local
1022 if (sleep < 0) {
1024 sleep = (period - ((now - next_vsync) % period));
1025 next_vsync = now + sleep;
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionGroup.java95 // waken up from sleep and there are many packets to be processed in the SIP
555 sleep(timeout);
572 private synchronized void sleep(int timeout) { method in class:SipSessionGroup.SipSessionImpl.SessionTimer

Completed in 435 milliseconds