Home
last modified time | relevance | path

Searched refs:SLEEP (Results 1 – 23 of 23) sorted by relevance

/foundation/resourceschedule/device_standby/plugins/extend_constraints/src/
Dconstraint_manager_adapter.cpp35 … ConstraintEvalParam motionDetectParams{StandbyState::NAP, NapStatePhase::END, StandbyState::SLEEP, in Init()
41 …straintEvalParam repeatedMotionParams{StandbyState::SLEEP, SleepStatePhase::END, StandbyState::SLE… in Init()
/foundation/resourceschedule/device_standby/plugins/standby_state/src/
Dstate_manager_adapter.cpp44 sleepStatePtr_ = std::make_shared<SleepState>(StandbyState::SLEEP, 0, stateManager, handler_); in Init()
153 … } else if (message.action_ == LID_CLOSE && (curStatePtr_->GetCurState() != StandbyState::SLEEP && in HandleOpenCloseLid()
156 TransitToStateInner(StandbyState::SLEEP); in HandleOpenCloseLid()
296 … if (scrOffHalfHourCtrl && !(curState == StandbyState::SLEEP || (preState == StandbyState::SLEEP && in OnScreenOffHalfHourInner()
373 TransitToStateInner(StandbyState::SLEEP); in DumpActivateMotion()
Dnap_state.cpp60 nextState_ = StandbyState::SLEEP; in BeginState()
119 stateManagerPtr->TransitToStateInner(StandbyState::SLEEP); in HandleEvalResToSleepState()
Ddark_state.cpp38 nextState_ = StandbyState::SLEEP; in DarkState()
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
Dstandby_state.h27 SLEEP, enumerator
/foundation/resourceschedule/device_usage_statistics/services/common/src/
Dbundle_active_power_state_callback_service.cpp36 } else if (state == PowerState::SLEEP) { in OnPowerStateChanged()
/foundation/ability/ability_runtime/test/unittest/wants_info_test/
Dwants_info_test.cpp33 #define SLEEP(milli) std::this_thread::sleep_for(std::chrono::seconds(milli)) macro
/foundation/ability/ability_runtime/test/unittest/sender_info_test/
Dsender_info_test.cpp32 #define SLEEP(milli) std::this_thread::sleep_for(std::chrono::seconds(milli)) macro
/foundation/resourceschedule/device_standby/plugins/strategy/src/
Dnetwork_strategy.cpp101 … if ((current_state != StandbyState::SLEEP) || (current_phase != SleepStatePhase::APP_RES_DEEP)) { in StartNetLimit()
Drunning_lock_strategy.cpp132 if ((curState != StandbyState::SLEEP) || (curPhase != SleepStatePhase::APP_RES_DEEP)) { in StartProxy()
364 if ((curState == StandbyState::MAINTENANCE) && (preState == StandbyState::SLEEP)) { in StopProxy()
368 } else if ((curState == StandbyState::SLEEP) && (preState == StandbyState::MAINTENANCE)) { in StopProxy()
372 } else if (preState == StandbyState::SLEEP || preState == StandbyState::MAINTENANCE) { in StopProxy()
Dbase_network_strategy.cpp335 if ((curState == StandbyState::MAINTENANCE) && (preState == StandbyState::SLEEP)) { in DisableNetworkFirewall()
339 } else if ((curState == StandbyState::SLEEP) && (preState == StandbyState::MAINTENANCE)) { in DisableNetworkFirewall()
343 } else if (preState == StandbyState::SLEEP || preState == StandbyState::MAINTENANCE) { in DisableNetworkFirewall()
/foundation/resourceschedule/device_standby/plugins/test/unittest/
Dstandby_plugin_unit_test.cpp253 …straintEvalParam repeatedMotionParams{StandbyState::SLEEP, SleepStatePhase::END, StandbyState::SLE…
258 … ConstraintEvalParam motionDetectParams{StandbyState::NAP, NapStatePhase::END, StandbyState::SLEEP,
295 … for (uint32_t nextState = StandbyState::WORKING; nextState <= StandbyState::SLEEP; ++nextState) {
404 standbyStateManager_->TransitToStateInner(StandbyState::SLEEP);
407 standbyStateManager_->TransitToStateInner(StandbyState::SLEEP);
/foundation/window/window_manager/previewer/include/
Ddm_common.h148 SLEEP, enumerator
/foundation/window/window_manager/interfaces/innerkits/dm/
Ddm_common.h142 SLEEP, enumerator
/foundation/window/window_manager/test/systemtest/dms/
Ddisplay_power_test.cpp304 ASSERT_EQ(DisplayPowerEvent::SLEEP, listener_->event_);
319 ASSERT_EQ(DisplayPowerEvent::SLEEP, listener_->event_);
/foundation/ability/ability_runtime/test/unittest/want_sender_info_test/
Dwant_sender_info_test.cpp34 #define SLEEP(milli) std::this_thread::sleep_for(std::chrono::seconds(milli)) macro
/foundation/resourceschedule/device_standby/services/notification/src/
Dstandby_state_subscriber.cpp98 bool sleeping = curState == StandbyState::SLEEP; in ReportStandbyState()
/foundation/window/window_manager/dmserver/src/
Ddisplay_manager_service.cpp422 …turn DisplayManagerAgentController::GetInstance().NotifyDisplayPowerEvent(DisplayPowerEvent::SLEEP, in SuspendBegin()
433 …turn DisplayManagerAgentController::GetInstance().NotifyDisplayPowerEvent(DisplayPowerEvent::SLEEP, in SuspendEnd()
/foundation/resourceschedule/device_standby/services/test/unittest/
Dstandby_service_unit_test.cpp492 … StandbyServiceImpl::GetInstance()->standbyStateManager_->TransitToStateInner(StandbyState::SLEEP);
919 StandbyStateSubscriber::GetInstance()->ReportStandbyState(StandbyState::SLEEP);
923 StandbyStateSubscriber::GetInstance()->ReportStandbyState(StandbyState::SLEEP);
/foundation/resourceschedule/device_standby/services/core/src/
Dstandby_service_impl.cpp188 if (curState == StandbyState::SLEEP) { in DayNightSwitchCallback()
830 isStandby = (curState == StandbyState::SLEEP); in IsDeviceInStandby()
/foundation/ability/ability_runtime/test/unittest/pending_want_record_test/
Dpending_want_record_test.cpp50 #define SLEEP(milli) std::this_thread::sleep_for(std::chrono::seconds(milli)) macro
/foundation/window/window_manager/window_scene/session_manager/src/
Dscreen_session_manager.cpp528 return NotifyDisplayPowerEvent(DisplayPowerEvent::SLEEP, EventStatus::BEGIN); in SuspendBegin()
534 return NotifyDisplayPowerEvent(DisplayPowerEvent::SLEEP, EventStatus::END); in SuspendEnd()
/foundation/ability/ability_runtime/test/unittest/pending_want_manager_test/
Dpending_want_manager_test.cpp47 #define SLEEP(milli) std::this_thread::sleep_for(std::chrono::seconds(milli)) macro