Home
last modified time | relevance | path

Searched refs:discoveryCallbackMap_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_connector.cpp48 …::string, std::shared_ptr<ISoftbusDiscoveryCallback>> SoftbusConnector::discoveryCallbackMap_ = {}; member in OHOS::DistributedHardware::SoftbusConnector
100 discoveryCallbackMap_.emplace(pkgName, callback); in RegisterSoftbusDiscoveryCallback()
107 discoveryCallbackMap_.erase(pkgName); in UnRegisterSoftbusDiscoveryCallback()
456 for (auto &iter : discoveryCallbackMap_) { in OnSoftbusDeviceFound()
506 for (auto &iter : discoveryCallbackMap_) { in OnSoftbusDeviceDiscovery()
518 for (auto &iter : discoveryCallbackMap_) { in OnSoftbusDiscoveryResult()
524 for (auto iter = discoveryCallbackMap_.begin(); iter != discoveryCallbackMap_.end();) { in OnSoftbusDiscoveryResult()
526 iter = discoveryCallbackMap_.erase(iter); in OnSoftbusDiscoveryResult()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/dependency/softbus/
H A Dsoftbus_connector.h175 static std::map<std::string, std::shared_ptr<ISoftbusDiscoveryCallback>> discoveryCallbackMap_; variable
/ohos5.0/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_softbus_connector.cpp148 int ret = SoftbusConnector::discoveryCallbackMap_.count(pkgName);
165 int ret1 = SoftbusConnector::discoveryCallbackMap_.count(pkgName);