Home
last modified time | relevance | path

Searched refs:cb_ (Results 1 – 10 of 10) sorted by relevance

/base/web/webview/ohos_adapter/net_connect_adapter/src/
Dnet_connect_callback_impl.cpp24 NetConnectCallbackImpl::NetConnectCallbackImpl(std::shared_ptr<NetConnCallback> cb) : cb_(cb) {} in NetConnectCallbackImpl()
34 if (cb_ != nullptr) { in NetAvailable()
35 return cb_->NetAvailable(); in NetAvailable()
70 if (cb_ != nullptr) { in NetCapabilitiesChange()
71 return cb_->NetCapabilitiesChange(type, subtype); in NetCapabilitiesChange()
87 if (cb_ != nullptr) { in NetConnectionPropertiesChange()
88 return cb_->NetConnectionPropertiesChange(); in NetConnectionPropertiesChange()
97 if (cb_ != nullptr) { in NetLost()
98 return cb_->NetUnavailable(); in NetLost()
106 if (cb_ != nullptr) { in NetUnavailable()
[all …]
/base/update/updater/services/ui/view/component/
Dimg_view_adapter.cpp98 cb_ = std::make_unique<ImgAnimatorCallback>(this); in ImgViewAdapter()
99 cb_->Init(); in ImgViewAdapter()
145 if (cb_ == nullptr) { in Start()
149 cb_->Start(); in Start()
150 cb_->GetAnimator()->Start(); in Start()
160 if (cb_ == nullptr) { in Stop()
164 cb_->GetAnimator()->Stop(); in Stop()
165 cb_->Stop(); in Stop()
188 return cb_.get(); in GetAnimatorCallback()
193 if (!cb_) { in GetAnimator()
[all …]
Dimg_view_adapter.h59 std::unique_ptr<ImgAnimatorCallback> cb_ {};
/base/update/updater/services/ui/control/
Devent_listener.h35 CallBackDecorator(OHOS::UIView &view, Callback cb) : cb_(cb), view_(view) {} in CallBackDecorator()
39 Callback cb_;
46 : cb_(cb), isConsumed_(isConsumed) {} in LabelOnTouchListener()
51 Callback cb_;
58 : cb_(cb), isConsumed_(isConsumed) {} in BtnOnEventListener()
65 Callback cb_;
73 : cb_(cb), isConsumed_(isConsumed) { in BtnOnDragListener()
81 Callback cb_;
Devent_listener.cpp52 cb_(); in operator ()()
58 CallBackDecorator(view, cb_)(); in OnRelease()
64 CallBackDecorator(view, cb_)(); in OnClick()
88 CallBackDecorator(view, cb_)(); in OnDragStart()
94 CallBackDecorator(view, cb_)(); in OnDrag()
104 CallBackDecorator(view, cb_)(); in OnDragEnd()
/base/update/updateservice/services/ab_update/src/
Dupdate_service_ab_update.cpp22 sptr<OHOS::SysInstaller::ISysInstallerCallback> UpdateServiceAbUpdate::cb_ = nullptr; member in OHOS::UpdateEngine::UpdateServiceAbUpdate
54 if (cb_ == nullptr) { in DoAbUpdate()
55 cb_ = new UpdateServiceAbCallback(info); in DoAbUpdate()
57 ret = OHOS::SysInstaller::SysInstallerKitsImpl::GetInstance().SetUpdateCallback(cb_); in DoAbUpdate()
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_system_manager_adapter_impl.cpp45 std::shared_ptr<AudioManagerCallbackAdapter> cb) : cb_(cb) {}; in AudioManagerCallbackAdapterImpl()
49 if (!cb_) { in OnInterrupt()
55 cb_->OnSuspend(); in OnInterrupt()
58 cb_->OnResume(); in OnInterrupt()
/base/update/updateservice/services/ab_update/include/
Dupdate_service_ab_update.h36 static sptr<OHOS::SysInstaller::ISysInstallerCallback> cb_;
/base/web/webview/ohos_adapter/net_connect_adapter/include/
Dnet_connect_callback_impl.h41 std::shared_ptr<NetConnCallback> cb_ = nullptr;
/base/web/webview/ohos_adapter/audio_adapter/include/
Daudio_system_manager_adapter_impl.h35 std::shared_ptr<AudioManagerCallbackAdapter> cb_ = nullptr;