Home | History | Annotate | Download | only in power

Lines Matching refs:wakefulness

1573     void setWakefulnessLocked(int wakefulness, int reason) {
1574 if (mWakefulness != wakefulness) {
1575 mWakefulness = wakefulness;
1579 mNotifier.onWakefulnessChangeStarted(wakefulness, reason);
1654 // Phase 1: Update wakefulness.
1656 // by changes in wakefulness.
2024 * bit and calling update power state. Wakefulness transitions are handled elsewhere.
2065 * Updates the wakefulness of the device.
2069 * if the wakefulness changes.
2071 * Returns true if the wakefulness changed and we need to restart power state calculation.
2168 final int wakefulness;
2171 wakefulness = mWakefulness;
2188 mDreamManager.startDream(wakefulness == WAKEFULNESS_DOZING);
2200 if (wakefulness == WAKEFULNESS_DOZING) {
2209 if (mSandmanSummoned || mWakefulness != wakefulness) {
2214 if (wakefulness == WAKEFULNESS_DREAMING) {
2243 } else if (wakefulness == WAKEFULNESS_DOZING) {
2455 // It is important that POLICY_VR check happens after the wakefulness checks above so
2582 // Although we could set interactive strictly based on the wakefulness
3398 proto.write(PowerServiceDumpProto.WAKEFULNESS, mWakefulness);