Home
last modified time | relevance | path

Searched refs:sleeping (Results 1 - 13 of 13) 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()
36 std::make_shared<DetectorValue>(0, 0, sleeping, std::string())); in OnDeviceIdleMode()
37 isSleep_ = sleeping; in OnDeviceIdleMode()
/foundation/resourceschedule/device_standby/services/notification/src/
H A Dstandby_state_subscriber.cpp101 bool sleeping = curState == StandbyState::SLEEP; 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
124 want.SetParam("sleeping", sleeping); in NotifyIdleModeByCommonEvent()
[all...]
/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/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/
H A Dscan_interface.cpp124 ErrCode ScanInterface::OnStandbyStateChanged(bool sleeping) in OnStandbyStateChanged() argument
126 WIFI_LOGI("Enter ScanInterface::OnStandbyStateChanged, sleeping=%{public}d.", sleeping); in OnStandbyStateChanged()
127 if (sleeping) { in OnStandbyStateChanged()
H A Dscan_interface.h85 * @param sleeping is sleeping[in]
88 ErrCode OnStandbyStateChanged(bool sleeping) override;
H A Discan_service.h80 * @param sleeping is sleeping[in]
83 virtual ErrCode OnStandbyStateChanged(bool sleeping) = 0;
/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwork_standby_state_change_callback.h33 * @param sleeping current state is sleep or not.
35 void OnDeviceIdleMode(bool napped, bool sleeping) override;
/foundation/resourceschedule/device_standby/frameworks/include/
H A Dstandby_service_subscriber_proxy.h36 * @param sleeping The device is in the sleeping mode.
38 void OnDeviceIdleMode(bool napped, bool sleeping) override;
H A Distandby_service_subscriber.h36 * @param sleeping The device is in the sleep 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/test/wifi_standard/wifi_framework/wifi_manage/wifi_scan/Mock/
H A Dmock_scan_interface.cpp69 ErrCode ScanInterface::OnStandbyStateChanged(bool sleeping) in OnStandbyStateChanged() argument
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/
H A Dwifi_event_subscriber_manager.cpp58 const std::string WIFI_STANDBY_SLEEPING = "sleeping";
854 const bool sleeping = eventData.GetWant().GetBoolParam(WIFI_STANDBY_SLEEPING, 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()
858 if (lastSleepState != sleeping && state != MODE_STATE_CLOSE) { in OnReceiveStandbyEvent()
865 pScanService->OnStandbyStateChanged(sleeping); in OnReceiveStandbyEvent()
867 lastSleepState = sleeping; in OnReceiveStandbyEvent()
869 if (napped || sleeping) { in OnReceiveStandbyEvent()

Completed in 6 milliseconds