Home
last modified time | relevance | path

Searched refs:napped (Results 1 - 10 of 10) sorted by relevance

/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_standby_state_change_callback.cpp28 void WorkStandbyStateChangeCallback::OnDeviceIdleMode(bool napped, bool sleeping) in OnDeviceIdleMode() argument
30 WS_HILOGI("napped is %{public}d, sleeping is %{public}d", napped, sleeping); in OnDeviceIdleMode()
31 if (napped && !isSleep_) { in OnDeviceIdleMode()
/foundation/resourceschedule/device_standby/services/notification/src/
H A Dstandby_state_subscriber.cpp100 bool napped = curState == StandbyState::NAP; in ReportStandbyState() local
102 STANDBYSERVICE_LOGD("start ReportStandbyState, napping is %{public}d, sleeping is %{public}d", napped, sleeping); in ReportStandbyState()
103 NotifyIdleModeByCallback(napped, sleeping); in ReportStandbyState()
104 NotifyIdleModeByCommonEvent(napped, sleeping); in ReportStandbyState()
107 void StandbyStateSubscriber::NotifyIdleModeByCallback(bool napped, bool sleeping) in NotifyIdleModeByCallback() argument
114 (*iter)->OnDeviceIdleMode(napped, sleeping); in NotifyIdleModeByCallback()
119 void StandbyStateSubscriber::NotifyIdleModeByCommonEvent(bool napped, bool sleeping) in NotifyIdleModeByCommonEvent() argument
123 want.SetParam("napped", napped); in NotifyIdleModeByCommonEvent()
/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dstandby_service_subscriber_stub.cpp60 void StandbyServiceSubscriberStub::OnDeviceIdleMode(bool napped, bool sleeped) in OnDeviceIdleMode() argument
72 bool napped {false}; in HandleOnDeviceIdleMode()
74 if (!data.ReadBool(napped) || !data.ReadBool(sleeped)) { in HandleOnDeviceIdleMode()
78 OnDeviceIdleMode(napped, sleeped); in HandleOnDeviceIdleMode()
/foundation/resourceschedule/device_standby/services/notification/include/
H A Dstandby_state_subscriber.h52 void NotifyIdleModeByCallback(bool napped, bool sleeping);
53 void NotifyIdleModeByCommonEvent(bool napped, bool sleeping);
/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_subscriber_proxy.cpp30 void StandbyServiceSubscriberProxy::OnDeviceIdleMode(bool napped, bool sleeping) in OnDeviceIdleMode() argument
43 if (!data.WriteBool(napped) || !data.WriteBool(sleeping)) { in OnDeviceIdleMode()
/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwork_standby_state_change_callback.h32 * @param napped current state is nap or not.
35 void OnDeviceIdleMode(bool napped, bool sleeping) override;
/foundation/resourceschedule/device_standby/frameworks/include/
H A Dstandby_service_subscriber_proxy.h35 * @param napped The device is in the nap mode.
38 void OnDeviceIdleMode(bool napped, bool sleeping) override;
H A Distandby_service_subscriber.h35 * @param napped The device is in the nap mode.
38 virtual void OnDeviceIdleMode(bool napped, bool sleeping) = 0;
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_subscriber_stub.h42 void OnDeviceIdleMode(bool napped, bool sleeping) override;
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/
H A Dwifi_event_subscriber_manager.cpp57 const std::string WIFI_STANDBY_NAP = "napped";
853 const bool napped = eventData.GetWant().GetBoolParam(WIFI_STANDBY_NAP, 0); in OnReceiveStandbyEvent() local
855 WIFI_LOGI("StandByListerner OnReceiveEvent action[%{public}s], napped[%{public}d], sleeping[%{public}d]", in OnReceiveStandbyEvent()
856 action.c_str(), napped, sleeping); in OnReceiveStandbyEvent()
869 if (napped || sleeping) { in OnReceiveStandbyEvent()

Completed in 6 milliseconds