Searched refs:isScreenOn (Results 1 – 8 of 8) sorted by relevance
51 void DeviceStateHandler::ProcessScreenDisplay(bool isScreenOn) in ProcessScreenDisplay() argument53 isScreenOn_ = isScreenOn; in ProcessScreenDisplay()54 if (isScreenOn) { in ProcessScreenDisplay()
32 void ProcessScreenDisplay(bool isScreenOn);
283 bool isScreenOn = IsScreenOn(); in CanSetBrightness() local287 isScreenOn, isOverridden, isBoosted); in CanSetBrightness()288 return isScreenOn && !isOverridden && !isBoosted; in CanSetBrightness()
204 bool isScreenOn = stateMachine_->IsScreenOn(); in RecordPowerKeyDown() local205 … POWER_HILOGI(FEATURE_SUSPEND, "Suspend record key down action isScreenOn=%{public}d", isScreenOn); in RecordPowerKeyDown()206 if (!isScreenOn) { in RecordPowerKeyDown()
88 void ReceiveScreenEvent(bool isScreenOn);
528 auto isScreenOn = powerStateMachine_->IsScreenOn(); in IsScreenOn() local529 POWER_HILOGI(COMP_SVC, "isScreenOn: %{public}d", isScreenOn); in IsScreenOn()530 return isScreenOn; in IsScreenOn()
350 void PowerStateMachine::ReceiveScreenEvent(bool isScreenOn) in ReceiveScreenEvent() argument355 if (isScreenOn) { in ReceiveScreenEvent()361 NotifyPowerStateChanged(isScreenOn ? PowerState::AWAKE : PowerState::INACTIVE); in ReceiveScreenEvent()
419 void PublishCommonEventScreenStatus(bool isScreenOn) in PublishCommonEventScreenStatus() argument423 if (isScreenOn) { in PublishCommonEventScreenStatus()432 void SetDistributedScreenStatus(bool isScreenOn) in SetDistributedScreenStatus() argument440 DistributedKv::Value value(isScreenOn ? "on" : "off"); in SetDistributedScreenStatus()