Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_quality_diag.cpp31 const char *URL_CFG_FILE = "/system/etc/netdetectionurl.conf"; variable
272 if (!std::filesystem::exists(URL_CFG_FILE)) { in load_query_addr()
273 NETNATIVE_LOGE("File not exist (%{public}s)", URL_CFG_FILE); in load_query_addr()
278 std::ifstream file(URL_CFG_FILE); in load_query_addr()
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_monitor.cpp56 constexpr const char* URL_CFG_FILE = "/system/etc/netdetectionurl.conf"; variable
271 if (!std::filesystem::exists(URL_CFG_FILE)) { in GetHttpProbeUrlFromConfig()
272 NETMGR_LOG_E("File not exist (%{public}s)", URL_CFG_FILE); in GetHttpProbeUrlFromConfig()
276 std::ifstream file(URL_CFG_FILE); in GetHttpProbeUrlFromConfig()
H A Dnet_conn_service.cpp61 constexpr const char *URL_CFG_FILE = "/system/etc/netdetectionurl.conf"; variable
1914 if (!std::filesystem::exists(URL_CFG_FILE)) { in GetHttpUrlFromConfig()
1915 NETMGR_LOG_E("File not exist (%{public}s)", URL_CFG_FILE); in GetHttpUrlFromConfig()
1919 std::ifstream file(URL_CFG_FILE); in GetHttpUrlFromConfig()