Lines Matching refs:on

11  * distributed under the License is distributed on an "AS IS" BASIS,
82 * functions on the device.
196 // go negative before turning the screen on.
222 // is actually on or actually off or whatever was requested.
232 // The suspend blocker used to keep the CPU alive when the display is on, the
234 // must be on).
243 // True if boot completed occurred. We keep the screen on until this happens.
286 // True if dreams are supported on this device.
292 // Default value for dreams activate-on-sleep
295 // Default value for dreams activate-on-dock
317 // True if dreams should be activated on sleep.
320 // True if dreams should be activated on dock.
336 // dim timeout to also be quite short so that most of the time is spent on.
337 // Otherwise the user won't get much screen on time before dimming occurs.
350 // The stay on while plugged in setting.
351 // A bitfield of battery conditions under which to make the screen stay on.
354 // True if the device should stay on.
499 // The notifier runs on the system server's main looper so as not to interfere
1192 * Updates the global power state based on dirty bits recorded in mDirty.
1234 // Phase 3: Update dream state (depends on display ready signal).
1326 // Don't wake when docked on wireless charger unless we are certain of it.
1404 // Cancel wake locks that make no sense based on the current state.
1417 // Infer implied wake locks where necessary based on the current state.
1520 private void handleUserActivityTimeout() { // runs on handler thread
1562 * based on the current wake locks and user activity state. It may modify mDirty
1609 * or the stay on while powered setting. We also keep the phone awake when
1659 private void handleSandman() { // runs on handler thread
1675 // We only control the dream on the handler thread, so we don't need to worry about
2040 // Although we could set interactive strictly based on the wakefulness
2072 * Return true if we must keep a suspend blocker active on behalf of the display.
2073 * We do so if the screen is on or is in transition between states.
2080 // If we asked for the screen to be on but it is off due to the proximity
2191 // ShutdownThread must run on a looper capable of displaying the UI.
2242 private void setAttentionLightInternal(boolean on, int color) {
2252 light.setFlashing(color, Light.LIGHT_FLASH_HARDWARE, (on ? 3 : 0), 0);
2279 private void handleScreenBrightnessBoostTimeout() { // runs on handler thread
3094 * Set the setting that determines whether the device stays on when plugged in.
3096 * when the device is connected to that source, causes the device to stay on.
3105 * should cause the device to stay on.
3174 public void setAttentionLight(boolean on, int color) {
3180 setAttentionLightInternal(on, color);