Home
last modified time | relevance | path

Searched refs:DistributedCfg (Results 1 – 5 of 5) sorted by relevance

/test/testfwk/developer_test/aw/cxx/distributed/
Ddistributed_cfg.cpp27 DistributedCfg::DistributedCfg() in DistributedCfg() function in OHOS::DistributeSystemTest::DistributedCfg
31 DistributedCfg::~DistributedCfg() in ~DistributedCfg()
35 bool DistributedCfg::OpenCfg(std::string fileName) in OpenCfg()
65 bool DistributedCfg::GetCfgVal(std::string key, std::string &value) in GetCfgVal()
77 std::string DistributedCfg::GetValueInString(std::string str, size_t devNo) in GetValueInString()
98 std::string DistributedCfg::GetDeviceIp(std::string fileName, size_t devNo) in GetDeviceIp()
102 HiLog::Error(DistributedCfg::LABEL, in GetDeviceIp()
109 HiLog::Error(DistributedCfg::LABEL, in GetDeviceIp()
116 HiLog::Error(DistributedCfg::LABEL, in GetDeviceIp()
121 HiLog::Info(DistributedCfg::LABEL, "get %zu device's ip : %s", devNo + 1, ip.c_str()); in GetDeviceIp()
[all …]
Ddistributed_cfg.h40 class DistributedCfg {
42 DistributedCfg();
43 ~DistributedCfg();
49 static std::unique_ptr<DistributedCfg>& GetInstance();
50 static std::unique_ptr<DistributedCfg> getCfg_;
Ddistributed_agent.h63 DistributedCfg agentCfg_;
Ddistributed_major.h61 DistributedCfg clientCfg_;
Ddistributed_agent.cpp39 agentCfg_ = DistributedCfg(); in DistributedAgent()