/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_standby_state_change_callback.cpp | 32 void WorkStandbyStateChangeCallback::OnDeviceIdleMode(bool napped, bool sleeping) in OnDeviceIdleMode() argument 34 WS_HILOGI("napped is %{public}d, sleeping is %{public}d", napped, sleeping); in OnDeviceIdleMode() 35 if (napped && !sleeping) { in OnDeviceIdleMode() 39 if (!napped && sleeping) { in OnDeviceIdleMode() 45 DelayedSingleton<DataManager>::GetInstance()->SetDeviceSleep(sleeping); in OnDeviceIdleMode() 47 std::make_shared<DetectorValue>(0, 0, sleeping, std::string())); in OnDeviceIdleMode()
|
/ohos5.0/foundation/resourceschedule/device_standby/services/notification/src/ |
H A D | standby_state_subscriber.cpp | 102 bool sleeping = curState == StandbyState::SLEEP; in ReportStandbyState() local 103 …_LOGD("start ReportStandbyState, napping is %{public}d, sleeping is %{public}d", napped, sleeping); in ReportStandbyState() 104 NotifyIdleModeByCallback(napped, sleeping); in ReportStandbyState() 105 NotifyIdleModeByCommonEvent(napped, sleeping); in ReportStandbyState() 108 void StandbyStateSubscriber::NotifyIdleModeByCallback(bool napped, bool sleeping) in NotifyIdleModeByCallback() argument 115 (*iter)->OnDeviceIdleMode(napped, sleeping); in NotifyIdleModeByCallback() 120 void StandbyStateSubscriber::NotifyIdleModeByCommonEvent(bool napped, bool sleeping) in NotifyIdleModeByCommonEvent() argument 125 want.SetParam("sleeping", sleeping); in NotifyIdleModeByCommonEvent()
|
/ohos5.0/base/location/services/location_locator/locator/source/ |
H A D | locator_event_subscriber.cpp | 42 const bool sleeping = event.GetWant().GetBoolParam(LOCATOR_STANDBY_SLEEPING, 0); in OnReceiveEvent() local 43 … LBSLOGD(LOCATOR_EVENT, "device idle napped: %{public}d, sleeping: %{public}d", napped, sleeping); in OnReceiveEvent() 44 locatorAbility->SyncIdleState(sleeping); in OnReceiveEvent()
|
/ohos5.0/foundation/resourceschedule/device_standby/services/notification/include/ |
H A D | standby_state_subscriber.h | 51 void NotifyIdleModeByCallback(bool napped, bool sleeping); 52 void NotifyIdleModeByCommonEvent(bool napped, bool sleeping);
|
/ohos5.0/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()
|
/ohos5.0/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 | iscan_service.h | 83 virtual ErrCode OnStandbyStateChanged(bool sleeping) = 0;
|
H A D | scan_interface.h | 88 ErrCode OnStandbyStateChanged(bool sleeping) override;
|
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | work_standby_state_change_callback.h | 35 void OnDeviceIdleMode(bool napped, bool sleeping) override;
|
/ohos5.0/foundation/resourceschedule/device_standby/frameworks/include/ |
H A D | standby_service_subscriber_proxy.h | 38 void OnDeviceIdleMode(bool napped, bool sleeping) override;
|
H A D | istandby_service_subscriber.h | 38 virtual void OnDeviceIdleMode(bool napped, bool sleeping) = 0;
|
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/innerkits/include/ |
H A D | standby_service_subscriber_stub.h | 42 void OnDeviceIdleMode(bool napped, bool sleeping) override;
|
/ohos5.0/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
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/ |
H A D | wifi_event_subscriber_manager.cpp | 766 const bool sleeping = eventData.GetWant().GetBoolParam(WIFI_STANDBY_SLEEPING, 0); in OnReceiveStandbyEvent() local 768 action.c_str(), napped, sleeping); in OnReceiveStandbyEvent() 770 if (lastSleepState != sleeping && state != MODE_STATE_CLOSE) { in OnReceiveStandbyEvent() 777 pScanService->OnStandbyStateChanged(sleeping); in OnReceiveStandbyEvent() 779 lastSleepState = sleeping; in OnReceiveStandbyEvent() 781 if (napped || sleeping) { in OnReceiveStandbyEvent()
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-apx-library.md | 276 - A sleeping process (for example, a process enters the sleeping status by calling the sleep functi…
|
/ohos5.0/drivers/interface/wlan/v1_0/ |
H A D | IWlanInterface.idl | 385 …* @param mode Indicates the power mode obtained. The power mode can be <b>sleeping</b> (running in… 401 …* @param mode Indicates the power mode to set. The power mode can be <b>sleeping</b> (running in s…
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/wlan_v1_0/foo/wlan/v1_0/ |
H A D | IWlanInterface.idl | 385 …* @param mode Indicates the power mode obtained. The power mode can be <b>sleeping</b> (running in… 401 …* @param mode Indicates the power mode to set. The power mode can be <b>sleeping</b> (running in s…
|
/ohos5.0/drivers/interface/wlan/v1_1/ |
H A D | IWlanInterface.idl | 385 …* @param mode Indicates the power mode obtained. The power mode can be <b>sleeping</b> (running in… 401 …* @param mode Indicates the power mode to set. The power mode can be <b>sleeping</b> (running in s…
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/wlan_v1_1/foo/wlan/v1_1/ |
H A D | IWlanInterface.idl | 385 …* @param mode Indicates the power mode obtained. The power mode can be <b>sleeping</b> (running in… 401 …* @param mode Indicates the power mode to set. The power mode can be <b>sleeping</b> (running in s…
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/wlan_v1_2/foo/wlan/v1_1/ |
H A D | IWlanInterface.idl | 385 …* @param mode Indicates the power mode obtained. The power mode can be <b>sleeping</b> (running in… 401 …* @param mode Indicates the power mode to set. The power mode can be <b>sleeping</b> (running in s…
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | oh_commonevent_support_8h.md | 29 ….SCREEN_OFF"| Indicates the common event that the device screen is off and the device is sleeping.|
|
H A D | capi-common-event.md | 79 ….SCREEN_OFF"| Indicates the common event that the device screen is off and the device is sleeping.| 307 Indicates the common event that the device screen is off and the device is sleeping.
|
/ohos5.0/docs/en/design/ |
H A D | hdi-design-specifications.md | 361 …nding driver module should release the wake lock so the system will not be prevented from sleeping.
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/common_event/ |
H A D | commonEvent-definitions.md | 697 …rted currently) Indicates that the in-vehicle infotainment (IVI) system of the vehicle is sleeping.
|
H A D | commonEventManager-definitions.md | 1792 … Indicates the common event that the in-vehicle infotainment (IVI) system of a vehicle is sleeping.
|