Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 20 of 20) sorted by relevance

/hardware/libhardware/include/hardware/
Dgps_internal.h91 int (*set_server)( AGpsType type, const char* hostname, int port );
Dgps.h947 int (*set_server)(AGpsType type, const char* hostname, int port);
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
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) in loc_agps_set_server() argument
752 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); in loc_agps_set_server()
Dloc_eng.cpp173 LocServerType type, const char *hostname, int port);
2194 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument
2202 unsigned int len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server()
2211 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server()
2213 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server()
2247 const char* hostname, int port) in loc_eng_set_server_proxy() argument
2254 ret_val = loc_eng_set_server(loc_eng_data, type, hostname, port); in loc_eng_set_server_proxy()
2257 (int) type, hostname, port); in loc_eng_set_server_proxy()
2261 strlcpy(loc_eng_data.supl_host_buf, hostname, in loc_eng_set_server_proxy()
2267 strlcpy(loc_eng_data.c2k_host_buf, hostname, in loc_eng_set_server_proxy()
Dloc_eng.h211 LocServerType type, const char *hostname, int port);
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng.cpp193 LocServerType type, const char *hostname, int port);
2524 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument
2534 if (hostname == NULL || in loc_eng_set_server()
2535 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) { in loc_eng_set_server()
2538 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server()
2548 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server()
2550 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server()
2584 const char* hostname, int port) in loc_eng_set_server_proxy() argument
2591 ret_val = loc_eng_set_server(loc_eng_data, type, hostname, port); in loc_eng_set_server_proxy()
2594 (int) type, hostname, port); in loc_eng_set_server_proxy()
[all …]
Dloc.cpp93 static int loc_agps_set_server(AGpsType type, const char *hostname, int port);
814 static int loc_agps_set_server(AGpsType type, const char* hostname, int port) in loc_agps_set_server() argument
828 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); in loc_agps_set_server()
Dloc_eng.h225 LocServerType type, const char *hostname, int port);
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng.cpp193 LocServerType type, const char *hostname, int port);
2524 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument
2534 if (hostname == NULL || in loc_eng_set_server()
2535 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) { in loc_eng_set_server()
2538 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server()
2548 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server()
2550 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server()
2584 const char* hostname, int port) in loc_eng_set_server_proxy() argument
2591 ret_val = loc_eng_set_server(loc_eng_data, type, hostname, port); in loc_eng_set_server_proxy()
2594 (int) type, hostname, port); in loc_eng_set_server_proxy()
[all …]
Dloc.cpp93 static int loc_agps_set_server(AGpsType type, const char *hostname, int port);
814 static int loc_agps_set_server(AGpsType type, const char* hostname, int port) in loc_agps_set_server() argument
828 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); in loc_agps_set_server()
Dloc_eng.h225 LocServerType type, const char *hostname, int port);
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng.cpp193 LocServerType type, const char *hostname, int port);
2525 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument
2535 if (hostname == NULL || in loc_eng_set_server()
2536 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) { in loc_eng_set_server()
2539 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server()
2549 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server()
2551 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server()
2585 const char* hostname, int port) in loc_eng_set_server_proxy() argument
2591 (int) type, hostname, port); in loc_eng_set_server_proxy()
2595 strlcpy(loc_eng_data.supl_host_buf, hostname, in loc_eng_set_server_proxy()
[all …]
Dloc.cpp93 static int loc_agps_set_server(AGpsType type, const char *hostname, int port);
815 static int loc_agps_set_server(AGpsType type, const char* hostname, int port) in loc_agps_set_server() argument
829 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); in loc_agps_set_server()
Dloc_eng.h225 LocServerType type, const char *hostname, int port);
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng.cpp189 LocServerType type, const char *hostname, int port);
2526 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument
2536 if (hostname == NULL || in loc_eng_set_server()
2537 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) { in loc_eng_set_server()
2540 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server()
2550 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server()
2552 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server()
2586 const char* hostname, int port) in loc_eng_set_server_proxy() argument
2592 (int) type, hostname, port); in loc_eng_set_server_proxy()
2596 strlcpy(loc_eng_data.supl_host_buf, hostname, in loc_eng_set_server_proxy()
[all …]
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) in loc_agps_set_server() argument
931 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); in loc_agps_set_server()
Dloc_eng.h226 LocServerType type, const char *hostname, int port);
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng.cpp193 LocServerType type, const char *hostname, int port);
2525 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument
2535 if (hostname == NULL || in loc_eng_set_server()
2536 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) { in loc_eng_set_server()
2539 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server()
2549 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server()
2551 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server()
2585 const char* hostname, int port) in loc_eng_set_server_proxy() argument
2591 (int) type, hostname, port); in loc_eng_set_server_proxy()
2595 strlcpy(loc_eng_data.supl_host_buf, hostname, in loc_eng_set_server_proxy()
[all …]
Dloc.cpp93 static int loc_agps_set_server(AGpsType type, const char *hostname, int port);
815 static int loc_agps_set_server(AGpsType type, const char* hostname, int port) in loc_agps_set_server() argument
829 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); in loc_agps_set_server()
Dloc_eng.h225 LocServerType type, const char *hostname, int port);