Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/
H A Ddevice_manager_agent_sup_test.cpp106 testPtr->mountDfsCount_["test"] = 1;
109 testPtr->mountDfsCount_["test"] = -3;
112 testPtr->mountDfsCount_.erase("test");
134 EXPECT_EQ(testPtr->mountDfsCount_["test"], 0);
144 auto itCount = testPtr->mountDfsCount_.find("test");
145 if (itCount == testPtr->mountDfsCount_.end()) {
150 testPtr->mountDfsCount_.erase("test");
293 testPtr->mountDfsCount_["deviceId"] = testCount;
297 testPtr->mountDfsCount_["deviceId"] = 0;
300 EXPECT_EQ(testPtr->mountDfsCount_["deviceId"], 0);
[all …]
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/device/
H A Ddevice_manager_agent.cpp358 auto itCount = mountDfsCount_.find(deviceId); in MountDfsCountOnly()
359 if (itCount == mountDfsCount_.end()) { in MountDfsCountOnly()
378 auto itCount = mountDfsCount_.find(deviceId); in UMountDfsCountOnly()
379 if (itCount == mountDfsCount_.end()) { in UMountDfsCountOnly()
385 mountDfsCount_.erase(itCount); in UMountDfsCountOnly()
392 mountDfsCount_[deviceId]--; in UMountDfsCountOnly()
567 mountDfsCount_[deviceId]++; in IncreaseMountDfsCount()
573 mountDfsCount_.erase(deviceId); in RemoveMountDfsCount()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/device/
H A Ddevice_manager_agent.h138 std::unordered_map<std::string, int32_t> mountDfsCount_; variable