Home
last modified time | relevance | path

Searched defs:listener (Results 1 – 25 of 154) sorted by relevance

1234567

/base/theme/screenlock_mgr/test/unittest/
Dscreenlock_client_test.cpp98 sptr<ScreenLockCallbackInterface> listener = nullptr; variable
125 sptr<ScreenLockSystemAbilityInterface> listener = new (std::nothrow) variable
157 sptr<ScreenLockSystemAbilityInterface> listener = nullptr; variable
192 sptr<ScreenLockSystemAbilityInterface> listener = nullptr; variable
/base/useriam/user_auth_framework/services/core/src/
Dresource_node_pool_impl.cpp64 for (const auto &listener : listenerSet_) { in Insert() local
70 for (const auto &listener : listenerSet_) { in Insert() local
89 for (const auto &listener : listenerSet_) { in Delete() local
103 for (const auto &listener : listenerSet_) { in DeleteAll() local
140 …eNodePoolImpl::RegisterResourceNodePoolListener(const std::shared_ptr<ResourceNodePoolListener> &l… in RegisterResourceNodePoolListener()
151 …odePoolImpl::DeregisterResourceNodePoolListener(const std::shared_ptr<ResourceNodePoolListener> &l… in DeregisterResourceNodePoolListener()
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
Dhisysevent_listener_proxy.h29 explicit CallbackDeathRecipient(const std::shared_ptr<HiSysEventBaseListener> listener) in CallbackDeathRecipient()
43 explicit HiSysEventListenerProxy(const std::shared_ptr<HiSysEventBaseListener> listener) in HiSysEventListenerProxy()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_manager.cpp31 int32_t HiSysEventManager::AddListener(std::shared_ptr<HiSysEventListener> listener, in AddListener()
46 int32_t HiSysEventManager::RemoveListener(std::shared_ptr<HiSysEventListener> listener) in RemoveListener()
72 int32_t HiSysEventManager::SetDebugMode(std::shared_ptr<HiSysEventListener> listener, bool mode) in SetDebugMode()
Dhisysevent_base_manager.cpp28 int32_t HiSysEventBaseManager::AddListener(std::shared_ptr<HiSysEventBaseListener> listener, in AddListener()
41 int32_t HiSysEventBaseManager::RemoveListener(std::shared_ptr<HiSysEventBaseListener> listener) in RemoveListener()
63 int32_t HiSysEventBaseManager::SetDebugMode(std::shared_ptr<HiSysEventBaseListener> listener, bool … in SetDebugMode()
/base/account/os_account/services/accountmgr/src/domain_account/
Dstatus_listener_manager.cpp58 ErrCode StatusListenerManager::InsertListenerToRecords(const sptr<IRemoteObject> &listener) in InsertListenerToRecords()
78 const std::string &domain, const std::string &accountName, const sptr<IRemoteObject> &listener) in InsertListenerToRecords()
114 ErrCode StatusListenerManager::RemoveListenerByListener(const sptr<IRemoteObject> &listener) in RemoveListenerByListener()
135 const std::string &domain, const std::string &accountName, const sptr<IRemoteObject> &listener) in RemoveListenerByInfoAndListener()
201 for (auto listener : domainSet->second) { in NotifyEventAsync() local
Ddomain_account_manager_service.cpp98 …nAccountManagerService::RegisterAccountStatusListener(const sptr<IDomainAccountCallback> &listener) in RegisterAccountStatusListener()
104 const DomainAccountInfo &info, const sptr<IDomainAccountCallback> &listener) in RegisterAccountStatusListener()
110 const DomainAccountInfo &info, const sptr<IDomainAccountCallback> &listener) in UnregisterAccountStatusListener()
115 …ccountManagerService::UnregisterAccountStatusListener(const sptr<IDomainAccountCallback> &listener) in UnregisterAccountStatusListener()
/base/update/updater/services/ui/control/
Devent_manager.cpp41 void EventManager::Add(const ComInfo &viewId, std::unique_ptr<LabelOnTouchListener> listener) in Add()
53 void EventManager::Add(const ComInfo &viewId, std::unique_ptr<BtnOnEventListener> listener) in Add()
69 void EventManager::Add(const ComInfo &viewId, std::unique_ptr<BtnOnDragListener> listener) in Add()
/base/notification/eventhandler/frameworks/test/moduletest/
Devent_handler_fd_listener_module_test.cpp144 auto listener = std::make_shared<MyFileDescriptorListener>(); variable
171 auto listener = std::make_shared<MyFileDescriptorListener>(); variable
196 auto listener = std::make_shared<MyFileDescriptorListener>(); variable
244 auto listener = std::make_shared<MyFileDescriptorListener>(); variable
267 auto listener = std::make_shared<MyFileDescriptorListener>(); variable
299 auto listener = std::make_shared<MyFileDescriptorListener>(); variable
331 auto listener = std::make_shared<MyFileDescriptorListener>(); variable
367 auto listener = std::make_shared<MyFileDescriptorListener>(fds[0]); variable
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
Dinput_method_controller.cpp76 void InputMethodController::SetSettingListener(std::shared_ptr<InputMethodSettingListener> listener) in SetSettingListener()
196 auto listener = GetTextListener(); in WorkThread() local
207 auto listener = GetTextListener(); in WorkThread() local
219 auto listener = GetTextListener(); in WorkThread() local
230 auto listener = GetTextListener(); in WorkThread() local
247 auto listener = GetTextListener(); in WorkThread() local
261 auto listener = GetTextListener(); in WorkThread() local
275 auto listener = GetTextListener(); in WorkThread() local
401 int32_t InputMethodController::Attach(sptr<OnTextChangedListener> &listener) in Attach()
406 int32_t InputMethodController::Attach(sptr<OnTextChangedListener> &listener, bool isShowKeyboard) in Attach()
[all …]
/base/web/webview/test/unittest/mmi_adapter/
Dmmi_adapter_impl_test.cpp73 auto listener = std::make_shared<MMIListenerTest>(); variable
121 auto listener = std::make_shared<MMIListenerTest>(); variable
137 auto listener = std::make_shared<MMIListenerTest>(); variable
152 auto listener = std::make_shared<MMIListenerTest>(); variable
176 InputEventCallback listener = [](int32_t, int32_t) {}; in __anon847e05db0602() variable
/base/web/webview/ohos_adapter/event_handler_adapter/src/
Devent_handler_adapter_impl.cpp25 const std::shared_ptr<EventHandlerFDListenerAdapter>& listener) in EventHandlerFDListenerAdapterImpl()
42 …int32_t fileDescriptor, uint32_t events, const std::shared_ptr<EventHandlerFDListenerAdapter>& lis… in AddFileDescriptorListener()
/base/theme/screenlock_mgr/frameworks/native/src/
Dscreenlock_manager_proxy.cpp91 MessageParcel &reply, int32_t command, const sptr<ScreenLockCallbackInterface> &listener) in UnlockInner()
113 int32_t ScreenLockManagerProxy::Unlock(const sptr<ScreenLockCallbackInterface> &listener) in Unlock()
124 int32_t ScreenLockManagerProxy::UnlockScreen(const sptr<ScreenLockCallbackInterface> &listener) in UnlockScreen()
135 int32_t ScreenLockManagerProxy::Lock(const sptr<ScreenLockCallbackInterface> &listener) in Lock()
164 int32_t ScreenLockManagerProxy::OnSystemEvent(const sptr<ScreenLockSystemAbilityInterface> &listene… in OnSystemEvent()
/base/useriam/user_auth_framework/services/context/src/
Dcontext_pool_impl.cpp60 for (const auto &listener : listenerSet_) { in Insert() local
78 for (const auto &listener : listenerSet_) { in Delete() local
127 bool ContextPoolImpl::RegisterContextPoolListener(const std::shared_ptr<ContextPoolListener> &liste… in RegisterContextPoolListener()
138 …ol ContextPoolImpl::DeregisterContextPoolListener(const std::shared_ptr<ContextPoolListener> &list… in DeregisterContextPoolListener()
/base/web/webview/ohos_adapter/display_manager_adapter/src/
Ddisplay_manager_adapter_impl.cpp26 std::shared_ptr<DisplayListenerAdapter> listener) : listener_(listener) {} in DisplayListenerAdapterImpl()
150 std::shared_ptr<DisplayListenerAdapter> listener) in RegisterDisplayListener()
162 std::shared_ptr<DisplayListenerAdapter> listener) in UnregisterDisplayListener()
/base/theme/screenlock_mgr/services/src/
Dscreenlock_manager_stub.cpp107 sptr<ScreenLockCallbackInterface> listener = iface_cast<ScreenLockCallbackInterface>(remote); in OnUnlock() local
124 sptr<ScreenLockCallbackInterface> listener = iface_cast<ScreenLockCallbackInterface>(remote); in OnUnlockScreen() local
141 sptr<ScreenLockCallbackInterface> listener = iface_cast<ScreenLockCallbackInterface>(remote); in OnLock() local
158 …sptr<ScreenLockSystemAbilityInterface> listener = iface_cast<ScreenLockSystemAbilityInterface>(rem… in OnScreenLockOn() local
/base/msdp/device_status/frameworks/native/interaction/src/
Dinteraction_manager.cpp33 …2_t InteractionManager::RegisterCoordinationListener(std::shared_ptr<ICoordinationListener> listen… in RegisterCoordinationListener()
38 …t InteractionManager::UnregisterCoordinationListener(std::shared_ptr<ICoordinationListener> listen… in UnregisterCoordinationListener()
96 int32_t InteractionManager::AddDraglistener(DragListenerPtr listener) in AddDraglistener()
101 int32_t InteractionManager::RemoveDraglistener(DragListenerPtr listener) in RemoveDraglistener()
Dinteraction_manager_impl.cpp78 …InteractionManagerImpl::RegisterCoordinationListener(std::shared_ptr<ICoordinationListener> listen… in RegisterCoordinationListener()
95 …teractionManagerImpl::UnregisterCoordinationListener(std::shared_ptr<ICoordinationListener> listen… in UnregisterCoordinationListener()
234 int32_t InteractionManagerImpl::AddDraglistener(DragListenerPtr listener) in AddDraglistener()
245 int32_t InteractionManagerImpl::RemoveDraglistener(DragListenerPtr listener) in RemoveDraglistener()
Ddrag_manager_impl.cpp115 for (const auto &listener : dragListener_) { in OnStateChangedMessage() local
121 int32_t DragManagerImpl::AddDraglistener(DragListenerPtr listener) in AddDraglistener()
146 int32_t DragManagerImpl::RemoveDraglistener(DragListenerPtr listener) in RemoveDraglistener()
/base/customization/enterprise_device_management/services/edm/include/
Dapplication_state_observer.h27 ApplicationStateObserver(EnterpriseDeviceMgrAbility &listener) : listener_(listener) {} in ApplicationStateObserver()
/base/location/test/mock/src/
Dmock_service_registry.cpp102 const sptr<ISystemAbilityStatusChange>& listener) in SubscribeSystemAbility()
109 const sptr<ISystemAbilityStatusChange>& listener) in UnSubscribeSystemAbility()
147 …t SystemAbilityManagerProxy::SubscribeSystemProcess(const sptr<ISystemProcessStatusChange>& listen… in SubscribeSystemProcess()
153 …SystemAbilityManagerProxy::UnSubscribeSystemProcess(const sptr<ISystemProcessStatusChange>& listen… in UnSubscribeSystemProcess()
/base/update/updateservice/frameworks/js/napi/base/src/
Dsession_manager.cpp115 UpdateListener *listener = static_cast<UpdateListener *>(iter->second.get()); in ProcessUnsubscribe() local
148 auto listener = static_cast<UpdateListener *>(iter->second.get()); in Unsubscribe() local
177 UpdateListener *listener = static_cast<UpdateListener *>(iter->second.get()); in FindSessionByHandle() local
201 auto listener = static_cast<UpdateListener *>(iter.second.get()); in FindSessionByHandle() local
229 UpdateListener *listener = static_cast<UpdateListener *>(iter.second.get()); in PublishToJS() local
/base/web/webview/ohos_adapter/multimodalinput_adapter/src/
Dmmi_adapter_impl.cpp26 MMIListenerAdapterImpl::MMIListenerAdapterImpl(std::shared_ptr<MMIListenerAdapter> listener) : list… in MMIListenerAdapterImpl()
47 MMIInputListenerAdapterImpl::MMIInputListenerAdapterImpl(const InputEventCallback& listener) : list… in MMIInputListenerAdapterImpl()
97 …MMIAdapterImpl::RegisterDevListener(std::string type, std::shared_ptr<MMIListenerAdapter> listener) in RegisterDevListener()
/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_event.cpp70 auto listener = std::make_shared<DeviceStatusEventListener>(); in On() local
86 auto listener = std::make_shared<DeviceStatusEventListener>(); in On() local
106 for (auto listener : eventMap_[eventType]) { in Off() local
142 for (auto listener : eventOnceMap_[eventType]) { in OffOnce() local
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_dump_test.cpp330 OHOS::sptr<IEventReceive> listener = new CommonEventListener(subscriber); in SubscribeCommonEvent() local
359 OHOS::sptr<IEventReceive> listener = new CommonEventListener(subscriber); in PublishCommonEvent() local
541 …iority, const std::string &permission, const std::string &deviceId, CommonEventListener *&listener) in SubscribeDoubleEvent()
674 CommonEventListener *listener = nullptr; variable
706 CommonEventListener *listener = nullptr; variable
770 CommonEventListener *listener = new CommonEventListener(subscriber); variable
804 CommonEventListener *listener = new CommonEventListener(subscriber); variable
837 CommonEventListener *listener = new CommonEventListener(subscriber); variable
869 CommonEventListener *listener = new CommonEventListener(subscriber); variable
900 CommonEventListener *listener = new CommonEventListener(subscriber); variable
[all …]

1234567