Home
last modified time | relevance | path

Searched refs:networks (Results 1 - 5 of 5) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dconfig_factory_test.cpp86 * @tc.desc: load the config.json networks info.
93 auto *networks = ConfigFactory::GetInstance().GetNetworkConfig(); in HWTEST_F() local
94 ASSERT_NE(networks, nullptr); in HWTEST_F()
97 ASSERT_EQ(networks->chains, chains); in HWTEST_F()
99 ASSERT_EQ(networks->routers, routers); in HWTEST_F()
101 ASSERT_EQ(networks->transports, transports); in HWTEST_F()
102 ASSERT_EQ(networks->protocols[0].name, "OHOS softbus"); in HWTEST_F()
103 ASSERT_EQ(networks->protocols[0].address, "ohos.distributeddata"); in HWTEST_F()
104 ASSERT_EQ(networks->protocols[0].transport, "softbus"); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/
H A Dglobal_config.cpp27 SetValue(node[GET_NAME(networks)], networks); in Marshal()
43 GetValue(node, GET_NAME(networks), networks); in Unmarshal()
55 delete networks; in ~GlobalConfig()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/include/model/
H A Dglobal_config.h36 NetworkConfig *networks = nullptr; member in OHOS::DistributedData::final
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/
H A Dconfig_factory.cpp58 return config_.networks; in GetNetworkConfig()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_conn_service_test.cpp1215 std::map<int32_t, std::shared_ptr<Network>> networks; in HWTEST_F() local
1216 networks[1] = network; in HWTEST_F()
1217 NetConnService::GetInstance()->networks_ = networks; in HWTEST_F()
1230 std::map<int32_t, std::shared_ptr<Network>> networks; in HWTEST_F() local
1231 networks[1] = network; in HWTEST_F()
1232 NetConnService::GetInstance()->networks_ = networks; in HWTEST_F()
1573 std::map<int32_t, std::shared_ptr<Network>> networks; in HWTEST_F() local
1574 networks[1] = network; in HWTEST_F()
1575 NetConnService::GetInstance()->networks_ = networks; in HWTEST_F()

Completed in 5 milliseconds