Searched defs:hostname (Results 1 - 4 of 4) sorted by relevance

/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dloc.cpp92 static int loc_agps_set_server(AGpsType type, const char *hostname, int port);
738 static int loc_agps_set_server(AGpsType type, const char* hostname, int port) argument
752 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port);
H A Dloc_eng.cpp173 LocServerType type, const char *hostname, int port);
2138 Translates a hostname to in_addr struct
2194 LocServerType type, const char* hostname, int port)
2202 unsigned int len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port);
2211 if (!resolve_in_addr(hostname, &addr))
2213 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname);
2247 const char* hostname, int port)
2254 ret_val = loc_eng_set_server(loc_eng_data, type, hostname, port);
2256 LOC_LOGW("set_server called before init. save the address, type: %d, hostname
2193 loc_eng_set_server(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
2245 loc_eng_set_server_proxy(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
[all...]
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc.cpp94 static int loc_agps_set_server(AGpsType type, const char *hostname, int port);
917 static int loc_agps_set_server(AGpsType type, const char* hostname, int port) argument
931 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port);
H A Dloc_eng.cpp184 LocServerType type, const char *hostname, int port);
2444 Translates a hostname to in_addr struct
2500 LocServerType type, const char* hostname, int port)
2510 if (hostname == NULL ||
2511 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) {
2514 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port);
2524 if (!resolve_in_addr(hostname, &addr))
2526 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname);
2560 const char* hostname, in
2499 loc_eng_set_server(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
2558 loc_eng_set_server_proxy(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
[all...]

Completed in 255 milliseconds