Home
last modified time | relevance | path

Searched refs:sleeping (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_standby_state_change_callback.cpp32 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 Dstandby_state_subscriber.cpp102 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 Dlocator_event_subscriber.cpp42 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 Dstandby_state_subscriber.h51 void NotifyIdleModeByCallback(bool napped, bool sleeping);
52 void NotifyIdleModeByCommonEvent(bool napped, bool sleeping);
/ohos5.0/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()
/ohos5.0/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 Discan_service.h83 virtual ErrCode OnStandbyStateChanged(bool sleeping) = 0;
H A Dscan_interface.h88 ErrCode OnStandbyStateChanged(bool sleeping) override;
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwork_standby_state_change_callback.h35 void OnDeviceIdleMode(bool napped, bool sleeping) override;
/ohos5.0/foundation/resourceschedule/device_standby/frameworks/include/
H A Dstandby_service_subscriber_proxy.h38 void OnDeviceIdleMode(bool napped, bool sleeping) override;
H A Distandby_service_subscriber.h38 virtual void OnDeviceIdleMode(bool napped, bool sleeping) = 0;
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_subscriber_stub.h42 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 Dmock_scan_interface.cpp69 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 Dwifi_event_subscriber_manager.cpp766 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 Dkernel-small-apx-library.md276 - 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 DIWlanInterface.idl385 …* @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 DIWlanInterface.idl385 …* @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 DIWlanInterface.idl385 …* @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 DIWlanInterface.idl385 …* @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 DIWlanInterface.idl385 …* @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 Doh_commonevent_support_8h.md29 ….SCREEN_OFF"| Indicates the common event that the device screen is off and the device is sleeping.|
H A Dcapi-common-event.md79 ….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 Dhdi-design-specifications.md361 …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 DcommonEvent-definitions.md697 …rted currently) Indicates that the in-vehicle infotainment (IVI) system of the vehicle is sleeping.
H A DcommonEventManager-definitions.md1792 … Indicates the common event that the in-vehicle infotainment (IVI) system of a vehicle is sleeping.

12