Home
last modified time | relevance | path

Searched refs:isScreenOn (Results 1 – 8 of 8) sorted by relevance

/base/telephony/core_service/services/network_search/src/
Ddevice_state_handler.cpp51 void DeviceStateHandler::ProcessScreenDisplay(bool isScreenOn) in ProcessScreenDisplay() argument
53 isScreenOn_ = isScreenOn; in ProcessScreenDisplay()
54 if (isScreenOn) { in ProcessScreenDisplay()
/base/telephony/core_service/services/network_search/include/
Ddevice_state_handler.h32 void ProcessScreenDisplay(bool isScreenOn);
/base/powermgr/display_manager/service/native/src/
Dscreen_controller.cpp283 bool isScreenOn = IsScreenOn(); in CanSetBrightness() local
287 isScreenOn, isOverridden, isBoosted); in CanSetBrightness()
288 return isScreenOn && !isOverridden && !isBoosted; in CanSetBrightness()
/base/powermgr/power_manager/services/native/src/suspend/
Dsuspend_controller.cpp204 bool isScreenOn = stateMachine_->IsScreenOn(); in RecordPowerKeyDown() local
205 … POWER_HILOGI(FEATURE_SUSPEND, "Suspend record key down action isScreenOn=%{public}d", isScreenOn); in RecordPowerKeyDown()
206 if (!isScreenOn) { in RecordPowerKeyDown()
/base/powermgr/power_manager/services/native/include/
Dpower_state_machine.h88 void ReceiveScreenEvent(bool isScreenOn);
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp528 auto isScreenOn = powerStateMachine_->IsScreenOn(); in IsScreenOn() local
529 POWER_HILOGI(COMP_SVC, "isScreenOn: %{public}d", isScreenOn); in IsScreenOn()
530 return isScreenOn; in IsScreenOn()
Dpower_state_machine.cpp350 void PowerStateMachine::ReceiveScreenEvent(bool isScreenOn) in ReceiveScreenEvent() argument
355 if (isScreenOn) { in ReceiveScreenEvent()
361 NotifyPowerStateChanged(isScreenOn ? PowerState::AWAKE : PowerState::INACTIVE); in ReceiveScreenEvent()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp419 void PublishCommonEventScreenStatus(bool isScreenOn) in PublishCommonEventScreenStatus() argument
423 if (isScreenOn) { in PublishCommonEventScreenStatus()
432 void SetDistributedScreenStatus(bool isScreenOn) in SetDistributedScreenStatus() argument
440 DistributedKv::Value value(isScreenOn ? "on" : "off"); in SetDistributedScreenStatus()