Home
last modified time | relevance | path

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

/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_connector.cpp47 std::map<std::string, std::shared_ptr<ISoftbusDiscoveryCallback>> SoftbusConnector::discoveryCallbackMap_ = {}; member in OHOS::DistributedHardware::SoftbusConnector
99 discoveryCallbackMap_.emplace(pkgName, callback); in RegisterSoftbusDiscoveryCallback()
106 discoveryCallbackMap_.erase(pkgName); in UnRegisterSoftbusDiscoveryCallback()
473 for (auto &iter : discoveryCallbackMap_) { in OnSoftbusDeviceFound()
523 for (auto &iter : discoveryCallbackMap_) { in OnSoftbusDeviceDiscovery()
535 for (auto &iter : discoveryCallbackMap_) { in OnSoftbusDiscoveryResult()
541 for (auto iter = discoveryCallbackMap_.begin(); iter != discoveryCallbackMap_.end();) { in OnSoftbusDiscoveryResult()
543 iter = discoveryCallbackMap_.erase(iter); in OnSoftbusDiscoveryResult()
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/softbus/
H A Dsoftbus_connector.h174 static std::map<std::string, std::shared_ptr<ISoftbusDiscoveryCallback>> discoveryCallbackMap_; member in OHOS::DistributedHardware::SoftbusConnector
/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_softbus_connector.cpp148 int ret = SoftbusConnector::discoveryCallbackMap_.count(pkgName); in HWTEST_F()
165 int ret1 = SoftbusConnector::discoveryCallbackMap_.count(pkgName); in HWTEST_F()

Completed in 4 milliseconds