Home
last modified time | relevance | path

Searched refs:discoveryContextMap_ (Results 1 - 6 of 6) sorted by relevance

/foundation/distributedhardware/device_manager/services/implementation/src/discovery/
H A Ddm_discovery_manager.cpp71 subscribeId = discoveryContextMap_[frontPkgName].subscribeId; in CheckDiscoveryQueue()
92 discoveryContextMap_.emplace(pkgName, context); in StartDeviceDiscovery()
112 discoveryContextMap_.emplace(pkgName, context); in StartDeviceDiscovery()
131 if (!discoveryContextMap_.empty()) { in StopDeviceDiscovery()
132 discoveryContextMap_.erase(pkgName); in StopDeviceDiscovery()
146 auto iter = discoveryContextMap_.find(pkgName); in OnDeviceFound()
147 if (iter == discoveryContextMap_.end()) { in OnDeviceFound()
209 auto iter = discoveryContextMap_.find(pkgName); in OnDeviceFound()
210 if (iter == discoveryContextMap_.end()) { in OnDeviceFound()
245 if (!discoveryContextMap_ in OnDiscoveryFailed()
[all...]
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_discovery_manager.cpp234 discoveryMgr_->discoveryContextMap_[pkgName] = context; in HWTEST_F()
241 EXPECT_EQ(discoveryMgr_->discoveryContextMap_.empty(), false); in HWTEST_F()
246 * @tc.desc: set pkgName not null and discoveryContextMap_ null and return
269 discoveryMgr_->discoveryContextMap_[pkgName] = context; in HWTEST_F()
273 int ret = discoveryMgr_->discoveryContextMap_.count(pkgName); in HWTEST_F()
288 discoveryMgr_->discoveryContextMap_.clear(); in HWTEST_F()
290 EXPECT_EQ(discoveryMgr_->discoveryContextMap_.empty(), true); in HWTEST_F()
305 discoveryMgr_->discoveryContextMap_.emplace(pkgName, context); in HWTEST_F()
307 EXPECT_EQ(discoveryMgr_->discoveryContextMap_.empty(), false); in HWTEST_F()
322 discoveryMgr_->discoveryContextMap_ in HWTEST_F()
[all...]
H A DUTTest_discovery_manager.cpp246 manager->discoveryContextMap_.emplace(pkgName, context); in HWTEST_F()
257 EXPECT_EQ(manager->discoveryContextMap_.empty(), true); in HWTEST_F()
266 EXPECT_EQ(manager->discoveryContextMap_.empty(), true); in HWTEST_F()
275 EXPECT_EQ(manager->discoveryContextMap_.empty(), true); in HWTEST_F()
285 EXPECT_EQ(manager->discoveryContextMap_.empty(), true); in HWTEST_F()
295 EXPECT_NE(manager->discoveryContextMap_.empty(), true); in HWTEST_F()
305 manager->discoveryContextMap_.emplace(pkgName, context); in HWTEST_F()
308 EXPECT_EQ(manager->discoveryContextMap_.empty(), true); in HWTEST_F()
316 EXPECT_EQ(manager->discoveryContextMap_.empty(), true); in HWTEST_F()
342 manager->discoveryContextMap_ in HWTEST_F()
[all...]
/foundation/distributedhardware/device_manager/services/service/src/discovery/
H A Ddiscovery_manager.cpp316 if (discoveryContextMap_.find(pkgName) != discoveryContextMap_.end()) { in StopDiscovering()
317 discoveryContextMap_.erase(pkgName); in StopDiscovering()
365 auto iter = discoveryContextMap_.find(pkgName); in OnDeviceFound()
366 isIndiscoveryContextMap = (iter != discoveryContextMap_.end()); in OnDeviceFound()
422 discoveryContextMap_[pkgName].subscribeId = (uint32_t)subscribeId; in OnDiscoveringResult()
431 if (discoveryContextMap_.find(pkgName) != discoveryContextMap_.end()) { in OnDiscoveringResult()
432 discoveryContextMap_.erase(pkgName); in OnDiscoveringResult()
473 discoveryContextMap_ in HandleDiscoveryQueue()
[all...]
/foundation/distributedhardware/device_manager/services/implementation/include/discovery/
H A Ddm_discovery_manager.h112 std::map<std::string, DmDiscoveryContext> discoveryContextMap_; member in OHOS::DistributedHardware::final
/foundation/distributedhardware/device_manager/services/service/include/discovery/
H A Ddiscovery_manager.h102 std::map<std::string, DiscoveryContext> discoveryContextMap_; member in OHOS::DistributedHardware::DiscoveryManager

Completed in 5 milliseconds