Searched refs:GetEventHandler (Results 1 – 2 of 2) sorted by relevance
163 std::shared_ptr<DeviceStateHandler> DeviceStateEventSubscriber::GetEventHandler() in GetEventHandler() function in OHOS::Telephony::DeviceStateEventSubscriber202 if (sub_->GetEventHandler() == nullptr && systemAbilityId != COMMON_EVENT_SERVICE_ID) { in OnAddSystemAbility()209 sub_->GetEventHandler()->ProcessScreenDisplay(powerMgrClient.IsScreenOn()); in OnAddSystemAbility()211 sub_->GetEventHandler()->ProcessPowerSaveMode( in OnAddSystemAbility()217 sub_->GetEventHandler()->ProcessChargingState( in OnAddSystemAbility()234 …sub_->GetEventHandler()->ProcessNetSharingState(isSharing == NetManagerStandard::NETWORKSHARE_IS_S… in OnAddSystemAbility()
55 std::shared_ptr<DeviceStateHandler> GetEventHandler();