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

/hardware/libhardware/include/hardware/
H A Dgps_internal.h91 int (*set_server)( AGpsType type, const char* hostname, int port );
H A Dgps.h945 * Sets the hostname and port for the AGPS server.
947 int (*set_server)(AGpsType type, const char* hostname, int port);
/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.h211 LocServerType type, const char *hostname, int 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.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) argument
828 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port);
H A Dloc_eng.cpp193 LocServerType type, const char *hostname, int port);
2468 Translates a hostname to in_addr struct
2524 LocServerType type, const char* hostname, int port)
2534 if (hostname == NULL ||
2535 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) {
2538 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port);
2548 if (!resolve_in_addr(hostname, &addr))
2550 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname);
2584 const char* hostname, in
2523 loc_eng_set_server(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
2582 loc_eng_set_server_proxy(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
[all...]
H A Dloc_eng.h225 LocServerType type, const char *hostname, int port);
/hardware/qcom/gps/msm8084/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.cpp189 LocServerType type, const char *hostname, int port);
2470 Translates a hostname to in_addr struct
2526 LocServerType type, const char* hostname, int port)
2536 if (hostname == NULL ||
2537 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) {
2540 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port);
2550 if (!resolve_in_addr(hostname, &addr))
2552 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname);
2586 const char* hostname, in
2525 loc_eng_set_server(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
2584 loc_eng_set_server_proxy(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
[all...]
H A Dloc_eng.h226 LocServerType type, const char *hostname, int port);
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
H A 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) argument
829 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port);
H A Dloc_eng.cpp193 LocServerType type, const char *hostname, int port);
2469 Translates a hostname to in_addr struct
2525 LocServerType type, const char* hostname, int port)
2535 if (hostname == NULL ||
2536 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) {
2539 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port);
2549 if (!resolve_in_addr(hostname, &addr))
2551 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname);
2585 const char* hostname, in
2524 loc_eng_set_server(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
2583 loc_eng_set_server_proxy(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
[all...]
H A Dloc_eng.h225 LocServerType type, const char *hostname, int port);
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
H A 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) argument
828 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port);
H A Dloc_eng.cpp193 LocServerType type, const char *hostname, int port);
2468 Translates a hostname to in_addr struct
2524 LocServerType type, const char* hostname, int port)
2534 if (hostname == NULL ||
2535 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) {
2538 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port);
2548 if (!resolve_in_addr(hostname, &addr))
2550 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname);
2584 const char* hostname, in
2523 loc_eng_set_server(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
2582 loc_eng_set_server_proxy(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
[all...]
H A Dloc_eng.h225 LocServerType type, const char *hostname, int port);
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
H A 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) argument
829 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port);
H A Dloc_eng.cpp193 LocServerType type, const char *hostname, int port);
2469 Translates a hostname to in_addr struct
2525 LocServerType type, const char* hostname, int port)
2535 if (hostname == NULL ||
2536 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) {
2539 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port);
2549 if (!resolve_in_addr(hostname, &addr))
2551 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname);
2585 const char* hostname, in
2524 loc_eng_set_server(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
2583 loc_eng_set_server_proxy(loc_eng_data_s_type &loc_eng_data, LocServerType type, const char* hostname, int port) argument
[all...]
H A Dloc_eng.h225 LocServerType type, const char *hostname, int port);

Completed in 218 milliseconds