Lines Matching defs:power
17 package com.android.server.power;
71 * The power manager service is responsible for coordinating power management
81 // Message: Sent when a user activity timeout occurs to update the power state.
96 // Dirty bit: actual display power state was updated asynchronously
186 // A bitfield that indicates what parts of the power state have
191 // This is distinct from the screen power state, which is managed separately.
228 // The desired display power state. The actual state may lag behind the
229 // requested because it is updated asynchronously by the display power controller.
235 // True if the display power state has been fully applied, which means the display
267 // True if the device is plugged into a power source.
393 * Initialize the power manager.
394 * Must be called before any other functions within the power manager are called.
410 // Forcibly turn the screen on at boot so that it is in a known power state.
438 // with the animations and other critical functions of the power manager.
443 // The display power controller runs on the power manager service's
1088 * Updates the global power state based on dirty bits recorded in mDirty.
1090 * This is the main function that performs power state transitions.
1091 * We centralize them here so that we can recompute the power state completely
1121 // Phase 2: Update dreams and display power state.
1368 * state can be recomputed when the power state is updated.
1371 * bit and calling update power state. Wakefulness transitions are handled elsewhere.
1407 * Returns true if the wakefulness changed and we need to restart power state calculation.
1490 * We do this asynchronously because we must call out of the power manager to start
1556 // If so, then the power manager will have posted another message to the handler
1602 * Updates the display power state asynchronously.
1604 * controller posts a message to tell us when the actual display power state
1607 * This function recalculates the display power state each time.
1929 * The argument is a bit string, with each bit specifying a power source that,
1931 * See {@link android.os.BatteryManager} for the list of power sources that
1935 * Used by "adb shell svc power stayon ..."
1937 * @param val an {@code int} containing the bits that specify which power sources
2204 pw.println("POWER MANAGER (dumpsys power)\n");
2209 pw.println("Power Manager State:");
2396 * Handler for asynchronous operations performed by the power manager.