Home
last modified time | relevance | path

Searched refs:listeners (Results 1 – 7 of 7) sorted by relevance

/base/hiviewdfx/hiview/base/
Devent_dispatcher.cpp32 auto listeners = channelMapperIter->second; in ClearInvalidListeners() local
33 auto listenerIter = listeners.begin(); in ClearInvalidListeners()
34 while (listenerIter != listeners.end()) { in ClearInvalidListeners()
37 listenerIter = listeners.erase(listenerIter); in ClearInvalidListeners()
52 auto listeners = channelMapper_[event.messageType_]; in DispatchEvent() local
53 for (auto listener : listeners) { in DispatchEvent()
Devent_dispatch_queue.cpp79 auto listeners = context_->GetListenerInfo(event.messageType_, eventName, event.eventId_); in ProcessUnorderedEvent() local
80 for (auto& tmp : listeners) { in ProcessUnorderedEvent()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_js.cpp51 std::unordered_map<napi_ref, NAPI_LISTENER_PAIR> listeners; variable
133 listeners[callbackContext->ref] = std::make_pair(callbackContext->threadId, listener); in AddWatcher()
150 params[REMOVE_LISTENER_LISTENER_PARAM_INDEX], listeners); in RemoveWatcher()
151 if (iter == listeners.end()) { in RemoveWatcher()
156 listeners.erase(iter->first); in RemoveWatcher()
/base/msdp/device_status/services/native/src/
Ddevicestatus_manager.cpp201 std::set<const sptr<IdevicestatusCallback>, classcomp> listeners; in Subscribe() local
204 if (!listeners.insert(callback).second) { in Subscribe()
208 listenerMap_.insert(std::make_pair(type, listeners)); in Subscribe()
/base/notification/eventhandler/frameworks/eventhandler/src/
Devent_queue.cpp45 …FileDescriptorListenerLocked(std::map<int32_t, std::shared_ptr<FileDescriptorListener>> &listeners, in RemoveFileDescriptorListenerLocked() argument
51 for (auto it = listeners.begin(); it != listeners.end();) { in RemoveFileDescriptorListenerLocked()
54 it = listeners.erase(it); in RemoveFileDescriptorListenerLocked()
/base/request/request/
DREADME.md72 …nstance to perform operations on the download task, for example, adding listeners for the **progre…
73 …nstance to perform operations on the download task, for example, adding listeners for the **progre…
74 … instance to perform operations on the upload task, for example, adding listeners for the **progre…
75 … instance to perform operations on the upload task, for example, adding listeners for the **progre…
76 …nstance to perform operations on the download task, for example, adding listeners for the **progre…
77 …nstance to perform operations on the download task, for example, adding listeners for the **progre…
78 … instance to perform operations on the upload task, for example, adding listeners for the **progre…
79 … instance to perform operations on the upload task, for example, adding listeners for the **progre…
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Dsys_event_service_ohos.cpp102 …EventListenerAddingValidity(const std::vector<SysEventRule>& rules, RegisteredListeners& listeners) in CheckEventListenerAddingValidity() argument
110 if (listeners.size() >= watcherTotalCntLimit) { in CheckEventListenerAddingValidity()