Home
last modified time | relevance | path

Searched refs:listeners_ (Results 1 – 8 of 8) sorted by relevance

/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/
Djs_drag_manager.cpp34 listeners_.clear(); in ResetEnv()
55 for (const auto &item : listeners_) { in RegisterListener()
67 listeners_.push_back(std::move(monitor)); in RegisterListener()
78 if (listeners_.empty()) { in UnregisterListener()
82 for (auto iter = listeners_.begin(); iter != listeners_.end();) { in UnregisterListener()
85 iter = listeners_.erase(iter); in UnregisterListener()
90 iter = listeners_.erase(iter); in UnregisterListener()
96 if (hasRegistered_ && listeners_.empty()) { in UnregisterListener()
106 if (listeners_.empty()) { in OnDragMessage()
110 for (auto &item : listeners_) { in OnDragMessage()
[all …]
/base/hiviewdfx/hiview/base/
Devent_source.cpp33 for (auto& pipeline : listeners_) { in PublishPipelineEvent()
50 listeners_.push_back(pipeline); in AddPipeline()
/base/hiviewdfx/hiview/base/include/
Devent_source.h33 std::list<std::shared_ptr<Pipeline>> listeners_;
/base/notification/eventhandler/frameworks/eventhandler/src/
Devent_queue.cpp156 RemoveFileDescriptorListenerLocked(listeners_, ioWaiter_, listenerFilter); in RemoveOrphan()
389 auto it = listeners_.find(fileDescriptor); in AddFileDescriptorListener()
390 if (it != listeners_.end()) { in AddFileDescriptorListener()
404 listeners_.emplace(fileDescriptor, listener); in AddFileDescriptorListener()
426 RemoveFileDescriptorListenerLocked(listeners_, ioWaiter_, listenerFilter); in RemoveFileDescriptorListener()
440 if (listeners_.erase(fileDescriptor) > 0) { in RemoveFileDescriptorListener()
471 listeners_.clear(); in WaitUntilLocked()
484 auto it = listeners_.find(fileDescriptor); in HandleFileDescriptorEvent()
485 if (it == listeners_.end()) { in HandleFileDescriptorEvent()
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp603 auto itListenerInfo = listeners_.find(name); in RegisterUnorderedEventListener()
604 if (itListenerInfo == listeners_.end()) { in RegisterUnorderedEventListener()
607 listeners_[name] = tmp; in RegisterUnorderedEventListener()
609 auto tmp = listeners_[name]; in RegisterUnorderedEventListener()
1020 auto itListenerInfo = listeners_.find(name); in AddListenerInfo()
1022 if (itListenerInfo == listeners_.end()) { in AddListenerInfo()
1024 listeners_[name] = tmp; in AddListenerInfo()
1025 data = listeners_[name]; in AddListenerInfo()
1049 auto itListenerInfo = listeners_.find(name); in AddListenerInfo()
1051 if (itListenerInfo == listeners_.end()) { in AddListenerInfo()
[all …]
/base/msdp/device_status/frameworks/js/napi/interaction/drag/include/
Djs_drag_manager.h67 inline static std::vector<std::unique_ptr<CallbackInfo>> listeners_ {};
/base/notification/eventhandler/interfaces/inner_api/
Devent_queue.h278 std::map<int32_t, std::shared_ptr<FileDescriptorListener>> listeners_; variable
/base/hiviewdfx/hiview/core/include/
Dhiview_platform.h213 std::unordered_map<std::string, std::shared_ptr<ListenerInfo>> listeners_; variable