Searched refs:cb_ (Results 1 – 10 of 10) sorted by relevance
/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
D | net_connect_callback_impl.cpp | 24 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/ |
D | img_view_adapter.cpp | 98 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 …]
|
D | img_view_adapter.h | 59 std::unique_ptr<ImgAnimatorCallback> cb_ {};
|
/base/update/updater/services/ui/control/ |
D | event_listener.h | 35 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_;
|
D | event_listener.cpp | 52 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/ |
D | update_service_ab_update.cpp | 22 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/ |
D | audio_system_manager_adapter_impl.cpp | 45 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/ |
D | update_service_ab_update.h | 36 static sptr<OHOS::SysInstaller::ISysInstallerCallback> cb_;
|
/base/web/webview/ohos_adapter/net_connect_adapter/include/ |
D | net_connect_callback_impl.h | 41 std::shared_ptr<NetConnCallback> cb_ = nullptr;
|
/base/web/webview/ohos_adapter/audio_adapter/include/ |
D | audio_system_manager_adapter_impl.h | 35 std::shared_ptr<AudioManagerCallbackAdapter> cb_ = nullptr;
|