/base/telephony/core_service/test/unittest/tel_ril_gtest/ |
H A D | tel_ril_handler_test.cpp | 53 telRilManager->handler_->ProcessEvent(event); in HWTEST_F() 55 ASSERT_NE(telRilManager->handler_->reqRunningLockCount_, 0); in HWTEST_F() 68 telRilManager->handler_->ackRunningLock_ = nullptr; in HWTEST_F() 69 telRilManager->handler_->reqRunningLock_ = nullptr; in HWTEST_F() 72 telRilManager->handler_->ApplyRunningLock(lockType); in HWTEST_F() 73 ASSERT_NE(telRilManager->handler_->ackLockSerialNum_, 0); in HWTEST_F() 86 telRilManager->handler_->ReduceRunningLock(lockType); in HWTEST_F() 87 ASSERT_NE(telRilManager->handler_->reqRunningLockCount_, 0); in HWTEST_F() 89 telRilManager->handler_->ReduceRunningLock(lockType); in HWTEST_F() 90 ASSERT_NE(telRilManager->handler_ in HWTEST_F() [all...] |
/base/telephony/core_service/services/satellite_service_interaction/src/ |
H A D | satellite_core_callback.cpp | 24 SatelliteCoreCallback::SatelliteCoreCallback(const std::shared_ptr<TelEventHandler> &handler) : handler_(handler) {}
in SatelliteCoreCallback() 30 if (handler_ == nullptr) {
in SetRadioStateResponse() 34 handler_->SendEvent(event, 0, AppExecFwk::EventQueue::Priority::IMMEDIATE);
in SetRadioStateResponse() 40 if (handler_ == nullptr) {
in RadioStateChanged() 44 handler_->SendEvent(event, 0, AppExecFwk::EventQueue::Priority::IMMEDIATE);
in RadioStateChanged() 50 if (handler_ == nullptr) {
in SatelliteStatusChanged() 54 handler_->SendEvent(event, 0, AppExecFwk::EventQueue::Priority::IMMEDIATE);
in SatelliteStatusChanged() 60 if (handler_ == nullptr) {
in SimStateChanged() 64 handler_->SendEvent(event, 0, AppExecFwk::EventQueue::Priority::IMMEDIATE);
in SimStateChanged()
|
/base/telephony/sms_mms/services/sms/satellite_service_interaction/src/ |
H A D | satellite_sms_callback.cpp | 24 SatelliteSmsCallback::SatelliteSmsCallback(const std::shared_ptr<TelEventHandler> &handler) : handler_(handler) {}
in SatelliteSmsCallback() 30 if (handler_ == nullptr) {
in SendSmsResponse() 34 handler_->SendEvent(event, 0, AppExecFwk::EventQueue::Priority::IMMEDIATE);
in SendSmsResponse() 40 if (handler_ == nullptr) {
in SmsStatusReportNotify() 44 handler_->SendEvent(event, 0, AppExecFwk::EventQueue::Priority::IMMEDIATE);
in SmsStatusReportNotify() 50 if (handler_ == nullptr) {
in NewSmsNotify() 55 handler_->SendEvent(event, 0, AppExecFwk::EventQueue::Priority::IMMEDIATE);
in NewSmsNotify()
|
/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | handler_checker.cpp | 24 if (!isCompleted_ || handler_ == nullptr) { in ScheduleCheck() 31 if (!handler_->PostTask(fb, "IpcCheck Task", 0, AppExecFwk::EventQueue::Priority::IMMEDIATE)) { in ScheduleCheck() 45 if (!handler_->PostTask(f, "XCollie Watchdog Task", 0, AppExecFwk::EventQueue::Priority::IMMEDIATE)) { in ScheduleCheck() 68 if (handler_ != nullptr) { in GetDumpInfo() 70 handler_->Dump(handlerDumper); in GetDumpInfo() 79 return handler_; in GetHandler()
|
H A D | handler_checker.h | 36 : name_(name), handler_(handler) {}; in HandlerChecker() 47 std::shared_ptr<AppExecFwk::EventHandler> handler_; member in OHOS::HiviewDFX::HandlerChecker
|
/base/update/updater/services/hdi/client/ |
H A D | update_hdi_client.cpp | 63 handler_ = dlopen(HDI_LIB_NAME, RTLD_LAZY); in LoadLibrary() 64 if (handler_ == nullptr) { in LoadLibrary() 69 auto getInterface = reinterpret_cast<IUpdateInterface *(*)()>(dlsym(handler_, getInstance)); in LoadLibrary() 88 if (handler_ == nullptr) { in CloseLibrary() 93 dlclose(handler_); in CloseLibrary() 94 handler_ = nullptr; in CloseLibrary()
|
/base/inputmethod/imf/common/src/ |
H A D | input_death_recipient.cpp | 24 handler_ = std::move(handler); in SetDeathRecipient() 30 if (handler_ != nullptr) { in OnRemoteDied() 31 handler_(remote); in OnRemoteDied()
|
/base/telephony/call_manager/services/call/call_state_observer/src/ |
H A D | wired_headset.cpp | 55 WiredHeadset::WiredHeadset() : eventLoop_(nullptr), handler_(nullptr) {} in WiredHeadset() 73 if (handler_ != nullptr) { in NewCallCreated() 74 handler_->SendEvent(WiredHeadset::MEDIA_SET_ACTIVE_MSG); in NewCallCreated() 80 if (handler_ != nullptr) { in CallDestroyed() 81 handler_->SendEvent(WiredHeadset::MEDIA_SET_LEAVE_MSG); in CallDestroyed()
|
H A D | call_records_handler.cpp | 142 CallRecordsHandlerService::CallRecordsHandlerService() : handler_(nullptr) {} in CallRecordsHandlerService() 148 handler_ = std::make_shared<CallRecordsHandler>(); in Start() 154 if (handler_.get() == nullptr) { in StoreCallRecord() 155 TELEPHONY_LOGE("handler_ is nullptr"); in StoreCallRecord() 158 ffrt::submit([=]() { handler_->AddCallLogInfo(info); }); in StoreCallRecord() 188 if (handler_.get() == nullptr) { in QueryUnReadMissedCallLog() 189 TELEPHONY_LOGE("handler_ is nullptr"); in QueryUnReadMissedCallLog() 192 ffrt::submit([=]() { handler_->QueryAndNotifyUnReadMissedCall(); }); in QueryUnReadMissedCallLog()
|
/base/theme/screenlock_mgr/frameworks/js/napi/src/ |
H A D | screenlock_system_ability_callback.cpp | 30 std::shared_ptr<AppExecFwk::EventHandler> ScreenlockSystemAbilityCallback::handler_{ nullptr }; 42 if (handler_ == nullptr) { in OnCallBack() 68 handler_->PostTask(task, "ScreenlockSystemAbilityCallback"); in OnCallBack() 74 if (handler_ == nullptr) { in GetEventHandler() 75 handler_ = AppExecFwk::EventHandler::Current(); in GetEventHandler() 77 return handler_; in GetEventHandler()
|
/base/notification/common_event_service/frameworks/core/src/ |
H A D | common_event_listener.cpp | 56 if (handler_) { in NotifyEvent() 57 handler_->PostTask(onReceiveEventFunc, "CommonEvent" + commonEventData.GetWant().GetAction()); in NotifyEvent() 83 if (!handler_) { in Init() 84 handler_ = std::make_shared<EventHandler>(runner_); in Init() 85 if (!handler_) { in Init() 121 if (!listenerQueue_ && !handler_) { in IsReady() 169 if (handler_) { in Stop() 170 handler_.reset(); in Stop()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | native_media_player_impl.cpp | 172 : nwebId_(nwebId), handler_(handler) in NapiNativeMediaPlayerHandlerImpl() 179 if (handler_) { in HandleStatusChanged() 180 handler_->HandleStatusChanged(status); in HandleStatusChanged() 188 if (handler_) { in HandleVolumeChanged() 189 handler_->HandleVolumeChanged(volume); in HandleVolumeChanged() 197 if (handler_) { in HandleMutedChanged() 198 handler_->HandleMutedChanged(isMuted); in HandleMutedChanged() 206 if (handler_) { in HandlePlaybackRateChanged() 207 handler_->HandlePlaybackRateChanged(playbackRate); in HandlePlaybackRateChanged() 215 if (handler_) { in HandleDurationChanged() [all...] |
/base/msdp/device_status/services/interaction/drag/src/ |
H A D | drag_vsync_station.cpp | 64 if (handler_ != nullptr) { in StopVSyncRequest() 65 handler_->RemoveAllEvents(); in StopVSyncRequest() 66 handler_->RemoveAllFileDescriptorListeners(); in StopVSyncRequest() 67 handler_ = nullptr; in StopVSyncRequest() 98 if (handler_ == nullptr) { in Init() 100 handler_ = std::make_shared<AppExecFwk::EventHandler>(std::move(runner)); in Init() 101 SetThreadQosLevel(handler_); in Init() 105 CHKPR(handler_, RET_ERR); in Init() 106 receiver_ = Rosen::RSInterfaces::GetInstance().CreateVSyncReceiver("DragVSyncStation", handler_); in Init()
|
/base/hiviewdfx/hiview/base/include/ |
H A D | pipeline.h | 32 : Event(sender), handler_(handler), startDeliver_(false), pipelineName_("")
in PipelineEvent() 37 PipelineEvent(const Event& event) : Event(event), handler_(nullptr), startDeliver_(false), pipelineName_("")
in PipelineEvent() 46 handler_(obj.handler_),
in PipelineEvent() 60 handler_ = obj.handler_;
in operator =() 103 PipelineEventProducer* handler_;
member in OHOS::HiviewDFX::PipelineEvent
|
/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_freeze_test.cpp | 83 static std::shared_ptr<EventHandler> handler_; member in __anon1017::CommonEventFreezeTest 91 handler_ = std::make_shared<EventHandler>(EventRunner::Create()); in SubscriberTest() 119 handler_->PostTask(asyncProcessFunc); in ProcessSubscriberTestCase1() 134 std::shared_ptr<EventHandler> handler_; member in __anon1017::SubscriberTest 141 handler_ = std::make_shared<EventHandler>(EventRunner::Create()); in SubscriberTest2() 174 handler_->PostTask(asyncProcessFunc); in ProcessSubscriberTest2Case1() 189 std::shared_ptr<EventHandler> handler_; member in __anon1017::SubscriberTest2 196 handler_ = std::make_shared<EventHandler>(EventRunner::Create()); in SubscriberTestLast() 201 handler_ = std::make_shared<EventHandler>(EventRunner::Create()); in SubscriberTestLast() 237 handler_ in ProcessSubscriberTestLastCase1() 248 std::shared_ptr<EventHandler> handler_; global() member in __anon1017::SubscriberTestLast 251 std::shared_ptr<EventHandler> CommonEventFreezeTest::handler_ = nullptr; global() member in __anon1017::CommonEventFreezeTest [all...] |
/base/telephony/core_service/services/sim/include/ |
H A D | multi_sim_monitor.h | 95 : CommonEventSubscriber(info), handler_(handler) {} in DataShareEventSubscriber() 98 MultiSimMonitor &handler_; member in OHOS::Telephony::MultiSimMonitor::DataShareEventSubscriber 105 : CommonEventSubscriber(info), handler_(handler) {} in UserSwitchEventSubscriber() 108 MultiSimMonitor &handler_; member in OHOS::Telephony::MultiSimMonitor::UserSwitchEventSubscriber 113 explicit SystemAbilityStatusChangeListener(MultiSimMonitor &handler) : handler_(handler) {}; in SystemAbilityStatusChangeListener() 119 MultiSimMonitor &handler_; member in OHOS::Telephony::MultiSimMonitor::SystemAbilityStatusChangeListener
|
H A D | stk_controller.h | 95 : CommonEventSubscriber(info), handler_(handler) {} in BundleScanFinishedEventSubscriber() 98 StkController &handler_; member in OHOS::Telephony::StkController::BundleScanFinishedEventSubscriber 103 explicit SystemAbilityStatusChangeListener(StkController &handler) : handler_(handler) {}; in SystemAbilityStatusChangeListener() 109 StkController &handler_; member in OHOS::Telephony::StkController::SystemAbilityStatusChangeListener
|
/base/telephony/core_service/services/tel_ril/src/ |
H A D | tel_ril_base.cpp | 25 std::shared_ptr<TelRilHandler> TelRilBase::handler_; member in OHOS::Telephony::TelRilBase 31 handler_ = handler; in TelRilBase() 45 if (handler_ != nullptr) { in CreateTelRilRequest() 46 handler_->ApplyRunningLock(TelRilHandler::NORMAL_RUNNING_LOCK); in CreateTelRilRequest() 48 TELEPHONY_LOGE("handler_ is nullptr!!!"); in CreateTelRilRequest() 71 if (handler_ != nullptr) { in FindTelRilRequest() 72 handler_->ReduceRunningLock(TelRilHandler::NORMAL_RUNNING_LOCK); in FindTelRilRequest()
|
/base/telephony/sms_mms/services/sms/ |
H A D | sms_broadcast_subscriber_receiver.cpp | 36 handler_ = handler; in SmsBroadcastSubscriberReceiver() 49 if (handler_ == nullptr) { in OnReceiveEvent() 50 TELEPHONY_LOGE("handler_ is nullptr"); in OnReceiveEvent() 56 handler_->DeleteMessageFormDb(refId_, dataBaseId_); in OnReceiveEvent()
|
/base/customization/enterprise_device_management/framework/extension/src/ |
H A D | js_enterprise_admin_extension.cpp | 114 handler_->PostTask(task); in OnStart() 150 handler_->PostTask(task); in OnAdminEnabled() 159 handler_->PostTask(task); in OnAdminDisabled() 171 handler_->PostTask(task); in OnBundleAdded() 183 handler_->PostTask(task); in OnBundleRemoved() 194 handler_->PostTask(task); in OnAppStart() 205 handler_->PostTask(task); in OnAppStop() 216 handler_->PostTask(task); in OnSystemUpdate()
|
/base/hiviewdfx/hiview/base/ |
H A D | pipeline.cpp | 58 if (handler_ != nullptr) {
in OnContinue() 59 handler_->PauseDispatch(plugin);
in OnContinue() 92 if (handler_ != nullptr) {
in OnFinish() 93 handler_->Recycle(this);
in OnFinish()
|
/base/print/print_fwk/frameworks/kits/extension/src/ |
H A D | js_print_extension_connection.cpp | 43 if (handler_ == nullptr) { in OnAbilityConnectDone() 44 PRINT_HILOGD("handler_ nullptr"); in OnAbilityConnectDone() 56 handler_->PostTask(task, "OnAbilityConnectDone"); in OnAbilityConnectDone() 94 if (handler_ == nullptr) { in OnAbilityDisconnectDone() 95 PRINT_HILOGD("handler_ nullptr"); in OnAbilityDisconnectDone() 107 handler_->PostTask(task, "OnAbilityDisconnectDone"); in OnAbilityDisconnectDone()
|
/base/telephony/cellular_data/services/src/ |
H A D | cellular_data_controller.cpp | 360 : slotId_(slotId), handler_(handler) in SystemAbilityStatusChangeListener() 370 if (handler_ != nullptr) { in OnAddSystemAbility() 371 bool ret = handler_->UpdateNetworkInfo(); in OnAddSystemAbility() 384 if (handler_ != nullptr) { in OnAddSystemAbility() 385 bool subscribeResult = EventFwk::CommonEventManager::SubscribeCommonEvent(handler_); in OnAddSystemAbility() 391 if (handler_ != nullptr) { in OnAddSystemAbility() 392 handler_->RegisterDataSettingObserver(); in OnAddSystemAbility() 393 handler_->SendEvent(CellularDataEventCode::MSG_DB_SETTING_ENABLE_CHANGED, 0, 0); in OnAddSystemAbility() 414 if (handler_ != nullptr) { in OnRemoveSystemAbility() 415 bool unSubscribeResult = EventFwk::CommonEventManager::UnSubscribeCommonEvent(handler_); in OnRemoveSystemAbility() [all...] |
/base/telephony/core_service/test/fuzztest/setvoicemailinfo_fuzzer/ |
H A D | setvoicemailinfo_fuzzer.cpp | 138 if (telRilManager == nullptr || telRilManager->handler_ == nullptr) { in DoSomethingInterestingWithMyAPI() 141 telRilManager->handler_->ClearFfrt(false); in DoSomethingInterestingWithMyAPI() 142 telRilManager->handler_->queue_ = nullptr; in DoSomethingInterestingWithMyAPI()
|
/base/telephony/core_service/test/fuzztest/setshownumber_fuzzer/ |
H A D | setshownumber_fuzzer.cpp | 135 if (telRilManager == nullptr || telRilManager->handler_ == nullptr) { in DoSomethingInterestingWithMyAPI() 138 telRilManager->handler_->ClearFfrt(false); in DoSomethingInterestingWithMyAPI() 139 telRilManager->handler_->queue_ = nullptr; in DoSomethingInterestingWithMyAPI()
|