Home
last modified time | relevance | path

Searched refs:mapListeners_ (Results 1 - 3 of 3) sorted by relevance

/foundation/distributedhardware/distributed_screen/services/softbusadapter/src/
H A Dsoftbus_adapter.cpp87 if (mapListeners_.find(strListenerKey) != mapListeners_.end()) { in RegisterSoftbusListener()
91 mapListeners_.insert(std::make_pair(strListenerKey, listener)); in RegisterSoftbusListener()
103 mapListeners_.erase(strListenerKey); in UnRegisterSoftbusListener()
281 if (mapListeners_.find(strListenerKey) == mapListeners_.end()) { in GetSoftbusListenerByName()
285 return mapListeners_[strListenerKey]; in GetSoftbusListenerByName()
/foundation/distributedhardware/distributed_screen/services/softbusadapter/include/
H A Dsoftbus_adapter.h75 /* while can not find the listener in mapListeners_, return nullListener_ point to null ptr. */
79 std::map<std::string, std::shared_ptr<ISoftbusListener>> mapListeners_; member in OHOS::DistributedHardware::SoftbusAdapter
/foundation/distributedhardware/distributed_screen/services/softbusadapter/test/unittest/src/
H A Dsoftbus_adapter_test.cpp349 softbusAdapter.mapListeners_["hello_world"] = listener; in HWTEST_F()

Completed in 3 milliseconds