/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_standby_state_change_callback.cpp | 28 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 D | standby_state_subscriber.cpp | 100 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 D | standby_service_subscriber_stub.cpp | 60 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 D | standby_state_subscriber.h | 52 void NotifyIdleModeByCallback(bool napped, bool sleeping); 53 void NotifyIdleModeByCommonEvent(bool napped, bool sleeping);
|
/foundation/resourceschedule/device_standby/frameworks/src/ |
H A D | standby_service_subscriber_proxy.cpp | 30 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 D | work_standby_state_change_callback.h | 32 * @param napped current state is nap or not. 35 void OnDeviceIdleMode(bool napped, bool sleeping) override;
|
/foundation/resourceschedule/device_standby/frameworks/include/ |
H A D | standby_service_subscriber_proxy.h | 35 * @param napped The device is in the nap mode. 38 void OnDeviceIdleMode(bool napped, bool sleeping) override;
|
H A D | istandby_service_subscriber.h | 35 * @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 D | standby_service_subscriber_stub.h | 42 void OnDeviceIdleMode(bool napped, bool sleeping) override;
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/ |
H A D | wifi_event_subscriber_manager.cpp | 57 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()
|