/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() 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 D | standby_state_subscriber.cpp | 101 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 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/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/ |
H A D | scan_interface.cpp | 124 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 D | scan_interface.h | 85 * @param sleeping is sleeping[in] 88 ErrCode OnStandbyStateChanged(bool sleeping) override;
|
H A D | iscan_service.h | 80 * @param sleeping is sleeping[in] 83 virtual ErrCode OnStandbyStateChanged(bool sleeping) = 0;
|
/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | work_standby_state_change_callback.h | 33 * @param sleeping current state is sleep or not. 35 void OnDeviceIdleMode(bool napped, bool sleeping) override;
|
/foundation/resourceschedule/device_standby/frameworks/include/ |
H A D | standby_service_subscriber_proxy.h | 36 * @param sleeping The device is in the sleeping mode. 38 void OnDeviceIdleMode(bool napped, bool sleeping) override;
|
H A D | istandby_service_subscriber.h | 36 * @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 D | standby_service_subscriber_stub.h | 42 void OnDeviceIdleMode(bool napped, bool sleeping) override;
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_scan/Mock/ |
H A D | mock_scan_interface.cpp | 69 ErrCode ScanInterface::OnStandbyStateChanged(bool sleeping) in OnStandbyStateChanged() argument
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/ |
H A D | wifi_event_subscriber_manager.cpp | 58 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()
|