Lines Matching refs:wakefulness
28 * Wakefulness: The device is asleep. It can only be awoken by a call to wakeUp().
35 * Wakefulness: The device is fully awake. It can be put to sleep by a call to goToSleep().
41 * Wakefulness: The device is dreaming. It can be awoken by a call to wakeUp(),
49 * Wakefulness: The device is dozing. It is almost asleep but is allowing a special
56 public static String wakefulnessToString(int wakefulness) {
57 switch (wakefulness) {
67 return Integer.toString(wakefulness);
72 * Returns true if the wakefulness state represents an interactive state
75 public static boolean isInteractive(int wakefulness) {
76 return wakefulness == WAKEFULNESS_AWAKE || wakefulness == WAKEFULNESS_DREAMING;