Home | History | Annotate | Download | only in os

Lines Matching defs:sleep

43  *     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 SystemClock.sleep(millis)} is a utility function
72 * very similar to {@link Thread#sleep(long) Thread.sleep(millis)}, but it
83 * recurring events which occur even when the device is in deep sleep
100 * Similar to {@link java.lang.Thread#sleep(long)}, but does not throw
105 * @param ms to sleep before returning, in milliseconds of uptime.
107 public static void sleep(long ms)
114 Thread.sleep(duration);
125 // call to Thread.sleep() or Object.wait() will be interrupted.
139 * Returns milliseconds since boot, not counting time spent in deep sleep.
143 * @return milliseconds of non-sleep uptime since boot.
148 * Returns milliseconds since boot, including time spent in sleep.