Home
last modified time | relevance | path

Searched refs:SLEEP (Results 1 - 25 of 30) sorted by relevance

12

/foundation/resourceschedule/device_standby/plugins/extend_constraints/src/
H A Dconstraint_manager_adapter.cpp38 ConstraintEvalParam motionDetectParams{StandbyState::NAP, NapStatePhase::END, StandbyState::SLEEP, in Init() member in OHOS::DevStandbyMgr::StandbyState
44 ConstraintEvalParam repeatedMotionParams{StandbyState::SLEEP, SleepStatePhase::END, StandbyState::SLEEP, in Init() member in OHOS::DevStandbyMgr::StandbyState
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_state.h27 SLEEP, member
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_power_state_callback_service.cpp37 } else if (state == PowerState::SLEEP) { in OnPowerStateChanged()
/foundation/resourceschedule/device_standby/plugins/standby_state/src/
H A Dnap_state.cpp58 nextState_ = StandbyState::SLEEP; in BeginState()
117 stateManagerPtr->TransitToStateInner(StandbyState::SLEEP); in HandleEvalResToSleepState()
H A Dstate_manager_adapter.cpp46 sleepStatePtr_ = std::make_shared<SleepState>(StandbyState::SLEEP, 0, stateManager, handler_); in Init()
158 } else if (message.action_ == LID_CLOSE && (curStatePtr_->GetCurState() != StandbyState::SLEEP && in HandleOpenCloseLid()
161 TransitToStateInner(StandbyState::SLEEP); in HandleOpenCloseLid()
312 if (scrOffHalfHourCtrl && !(curState == StandbyState::SLEEP || (preState == StandbyState::SLEEP && in OnScreenOffHalfHourInner()
H A Ddark_state.cpp38 nextState_ = StandbyState::SLEEP; in DarkState()
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/include/
H A Dtag_nci_adapter_rw.h36 SLEEP, enumerator
41 enum TagState { IDLE = 0, SLEEP, ACTIVE }; enumerator
H A Dtag_nci_adapter.h38 SLEEP, enumerator
43 enum TagState { IDLE = 0, SLEEP, ACTIVE }; enumerator
/foundation/ability/ability_runtime/test/unittest/wants_info_test/
H A 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/
H A Dsender_info_test.cpp32 #define SLEEP(milli) std::this_thread::sleep_for(std::chrono::seconds(milli)) macro
/foundation/resourceschedule/device_standby/plugins/test/unittest/
H A Dstandby_plugin_unit_test.cpp245 ConstraintEvalParam repeatedMotionParams{StandbyState::SLEEP, SleepStatePhase::END, StandbyState::SLEEP, in HWTEST_F() member in OHOS::DevStandbyMgr::StandbyState
250 ConstraintEvalParam motionDetectParams{StandbyState::NAP, NapStatePhase::END, StandbyState::SLEEP, in HWTEST_F() member in OHOS::DevStandbyMgr::StandbyState
289 for (uint32_t nextState = StandbyState::WORKING; nextState <= StandbyState::SLEEP; ++nextState) { in HWTEST_F()
398 standbyStateManager_->TransitToStateInner(StandbyState::SLEEP); in HWTEST_F()
401 standbyStateManager_->TransitToStateInner(StandbyState::SLEEP); in HWTEST_F()
/foundation/resourceschedule/device_standby/plugins/strategy/src/
H A Drunning_lock_strategy.cpp139 if ((curState != StandbyState::SLEEP) || (curPhase != SleepStatePhase::APP_RES_DEEP)) { in StartProxy()
374 if ((curState == StandbyState::MAINTENANCE) && (preState == StandbyState::SLEEP)) { in StopProxy()
378 } else if ((curState == StandbyState::SLEEP) && (preState == StandbyState::MAINTENANCE)) { in StopProxy()
382 } else if (preState == StandbyState::SLEEP || preState == StandbyState::MAINTENANCE) { in StopProxy()
H A Dnetwork_strategy.cpp89 if ((current_state != StandbyState::SLEEP) || (current_phase != SleepStatePhase::APP_RES_DEEP)) { in StartNetLimit()
90 STANDBYSERVICE_LOGD("current state is not SLEEP or current phase is not APP_RES_DEEP!"); in StartNetLimit()
H A Dbase_network_strategy.cpp351 if ((curState == StandbyState::MAINTENANCE) && (preState == StandbyState::SLEEP)) { in DisableNetworkFirewall()
356 } else if ((curState == StandbyState::SLEEP) && (preState == StandbyState::MAINTENANCE)) { in DisableNetworkFirewall()
361 } else if (preState == StandbyState::SLEEP || preState == StandbyState::MAINTENANCE) { in DisableNetworkFirewall()
/foundation/ability/ability_runtime/test/unittest/want_sender_info_test/
H A Dwant_sender_info_test.cpp34 #define SLEEP(milli) std::this_thread::sleep_for(std::chrono::seconds(milli)) macro
/foundation/window/window_manager/test/systemtest/dms/
H A Ddisplay_power_test.cpp304 ASSERT_EQ(DisplayPowerEvent::SLEEP, listener_->event_); in HWTEST_F()
319 ASSERT_EQ(DisplayPowerEvent::SLEEP, listener_->event_); in HWTEST_F()
/foundation/resourceschedule/device_standby/services/notification/src/
H A Dstandby_state_subscriber.cpp101 bool sleeping = curState == StandbyState::SLEEP; in ReportStandbyState()
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Dbundle_active_total_test.cpp308 test2.OnPowerStateChanged(PowerState::SLEEP); in HWTEST_F()
/foundation/window/window_manager/previewer/include/
H A Ddm_common.h182 SLEEP, member in OHOS::Rosen::DisplayPowerEvent
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/src/
H A Dtag_nci_adapter_rw.cpp128 ErrorLog("TagNciAdapterRw::Reselect: deactivate to SLEEP failed, status = %{public}d", status); in DeactiveForReselect()
135 ErrorLog("TagNciAdapterRw::Reselect: deactivate to SLEEP timeout"); in DeactiveForReselect()
302 if ((!isCashbee_) && (tagState_ != SLEEP)) { in Reselect()
304 if (tagState_ != SLEEP) { in Reselect()
1019 tagState_ = (isSleep ? SLEEP : IDLE); in Reselect()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddm_common.h207 SLEEP, member in OHOS::Rosen::DisplayPowerEvent
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_service.cpp422 return DisplayManagerAgentController::GetInstance().NotifyDisplayPowerEvent(DisplayPowerEvent::SLEEP, in SuspendBegin()
433 return DisplayManagerAgentController::GetInstance().NotifyDisplayPowerEvent(DisplayPowerEvent::SLEEP, in SuspendEnd()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/utils/
H A Ddh_context.cpp68 if (state == PowerMgr::PowerState::SLEEP || state == PowerMgr::PowerState::HIBERNATE || in OnPowerStateChanged()
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp488 StandbyServiceImpl::GetInstance()->standbyStateManager_->TransitToStateInner(StandbyState::SLEEP); in HWTEST_F()
904 StandbyStateSubscriber::GetInstance()->ReportStandbyState(StandbyState::SLEEP); in HWMTEST_F()
908 StandbyStateSubscriber::GetInstance()->ReportStandbyState(StandbyState::SLEEP); in HWMTEST_F()
/foundation/ability/ability_runtime/test/unittest/pending_want_record_test/
H A Dpending_want_record_test.cpp50 #define SLEEP(milli) std::this_thread::sleep_for(std::chrono::seconds(milli)) macro

Completed in 19 milliseconds

12