Searched refs:notifyDataListenerMap_ (Results 1 – 7 of 7) sorted by relevance
63 notifyDataListenerMap_[type] = listener; in AddListener()77 notifyDataListenerMap_.erase(type); in RemoveListener()87 return !notifyDataListenerMap_.empty(); in HasListener()101 auto listener = notifyDataListenerMap_.find(notifyData->type); in OnNotifyDataReceive()102 if (listener != notifyDataListenerMap_.end()) { in OnNotifyDataReceive()
290 notifyDataListenerMap_[SubscribeType::REMOVE] = in Create()294 GetTidStr(), SubscribeType::REMOVE, notifyDataListenerMap_[SubscribeType::REMOVE]); in Create()338 auto listener = notifyDataListenerMap_.find(subscribeType); in On()339 if (listener == notifyDataListenerMap_.end()) { in On()340 notifyDataListenerMap_[subscribeType] = in On()344 notifyDataListenerMap_[subscribeType]->AddListener(CJLambda::Create(callback), in On()369 auto listener = notifyDataListenerMap_.find(subscribeType); in Off()370 if (listener == notifyDataListenerMap_.end()) { in Off()371 notifyDataListenerMap_[subscribeType] = in Off()375 notifyDataListenerMap_[subscribeType]->RemoveListener((CFunc)callback); in Off()
158 auto listener = jsParam.task->notifyDataListenerMap_.find(jsParam.subscribeType); in On()159 if (listener == jsParam.task->notifyDataListenerMap_.end()) { in On()160 jsParam.task->notifyDataListenerMap_[jsParam.subscribeType] = in On()164 …napi_status ret = jsParam.task->notifyDataListenerMap_[jsParam.subscribeType]->AddListener(jsParam… in On()202 auto listener = jsParam.task->notifyDataListenerMap_.find(jsParam.subscribeType); in Off()203 if (listener == jsParam.task->notifyDataListenerMap_.end()) { in Off()204 jsParam.task->notifyDataListenerMap_[jsParam.subscribeType] = in Off()208 …napi_status ret = jsParam.task->notifyDataListenerMap_[jsParam.subscribeType]->RemoveListener(jsPa… in Off()
213 context->task->notifyDataListenerMap_[SubscribeType::REMOVE] = in AddRemoveListener()217 tid, SubscribeType::REMOVE, context->task->notifyDataListenerMap_[SubscribeType::REMOVE]); in AddRemoveListener()1155 auto map = context->task->notifyDataListenerMap_; in RemoveTaskContext()
45 std::map<SubscribeType, std::shared_ptr<INotifyDataListener>> notifyDataListenerMap_; variable
47 std::map<SubscribeType, std::shared_ptr<CJNotifyDataListener>> notifyDataListenerMap_; variable
67 std::map<SubscribeType, std::shared_ptr<JSNotifyDataListener>> notifyDataListenerMap_; variable