/hardware/interfaces/gnss/1.0/ |
D | IAGnss.hal | 56 * Sets the hostname and port for the AGNSS server. 59 * @param hostname Hostname of the AGNSS server. 64 setServer(AGnssType type, string hostname, int32_t port)
|
/hardware/qcom/gps/msm8998/android/ |
D | AGnss.cpp | 102 const hidl_string& hostname, in setServer() argument 122 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
|
D | AGnss.h | 60 const hidl_string& hostname, int32_t port) override;
|
/hardware/qcom/gps/msm8909w_3100/android/ |
D | AGnss.cpp | 106 const hidl_string& hostname, in setServer() argument 126 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
|
D | AGnss.h | 60 const hidl_string& hostname, int32_t port) override;
|
/hardware/interfaces/gnss/1.0/default/ |
D | AGnss.cpp | 174 const hidl_string& hostname, in setServer() argument 181 return (mAGnssIface->set_server(static_cast<AGpsType>(type), hostname.c_str(), port) == 0); in setServer()
|
D | AGnss.h | 56 const hidl_string& hostname, int32_t port) override;
|
/hardware/libhardware/include/hardware/ |
D | gps_internal.h | 91 int (*set_server)( AGpsType type, const char* hostname, int port );
|
D | gps.h | 764 int (*set_server)(AGpsType type, const char* hostname, int port);
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng.cpp | 173 LocServerType type, const char *hostname, int port); 2193 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument 2201 unsigned int len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server() 2210 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server() 2212 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server() 2246 const char* hostname, int port) in loc_eng_set_server_proxy() argument 2253 ret_val = loc_eng_set_server(loc_eng_data, type, hostname, port); in loc_eng_set_server_proxy() 2256 (int) type, hostname, port); in loc_eng_set_server_proxy() 2260 strlcpy(loc_eng_data.supl_host_buf, hostname, in loc_eng_set_server_proxy() 2266 strlcpy(loc_eng_data.c2k_host_buf, hostname, in loc_eng_set_server_proxy()
|
D | loc_eng.h | 211 LocServerType type, const char *hostname, int port);
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng.cpp | 191 LocServerType type, const char *hostname, int port); 2547 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument 2557 if (hostname == NULL || in loc_eng_set_server() 2558 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) { in loc_eng_set_server() 2561 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server() 2571 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server() 2573 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server() 2607 const char* hostname, int port) in loc_eng_set_server_proxy() argument 2613 (int) type, hostname, port); in loc_eng_set_server_proxy() 2617 strlcpy(loc_eng_data.supl_host_buf, hostname, in loc_eng_set_server_proxy() [all …]
|
D | loc_eng.h | 166 LocServerType type, const char *hostname, int port);
|
D | loc.cpp | 98 static int loc_agps_set_server(AGpsType type, const char *hostname, int port); 884 static int loc_agps_set_server(AGpsType type, const char* hostname, int port) in loc_agps_set_server() argument 898 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); in loc_agps_set_server()
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng.cpp | 191 LocServerType type, const char *hostname, int port); 2550 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument 2560 if (hostname == NULL || in loc_eng_set_server() 2561 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) { in loc_eng_set_server() 2564 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server() 2574 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server() 2576 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server() 2610 const char* hostname, int port) in loc_eng_set_server_proxy() argument 2616 (int) type, hostname, port); in loc_eng_set_server_proxy() 2620 strlcpy(loc_eng_data.supl_host_buf, hostname, in loc_eng_set_server_proxy() [all …]
|
D | loc_eng.h | 166 LocServerType type, const char *hostname, int port);
|
D | loc.cpp | 97 static int loc_agps_set_server(AGpsType type, const char *hostname, int port); 820 static int loc_agps_set_server(AGpsType type, const char* hostname, int port) in loc_agps_set_server() argument 834 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); in loc_agps_set_server()
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng.cpp | 193 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 …]
|
D | loc.cpp | 93 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()
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng.cpp | 193 LocServerType type, const char *hostname, int port); 2523 LocServerType type, const char* hostname, int port) in loc_eng_set_server() argument 2533 if (hostname == NULL || in loc_eng_set_server() 2534 strncasecmp(nohost, hostname, sizeof(nohost)) == 0) { in loc_eng_set_server() 2537 len = snprintf(url, sizeof(url), "%s:%u", hostname, (unsigned) port); in loc_eng_set_server() 2547 if (!resolve_in_addr(hostname, &addr)) in loc_eng_set_server() 2549 LOC_LOGE("loc_eng_set_server, hostname %s cannot be resolved.\n", hostname); in loc_eng_set_server() 2583 const char* hostname, int port) in loc_eng_set_server_proxy() argument 2590 ret_val = loc_eng_set_server(loc_eng_data, type, hostname, port); in loc_eng_set_server_proxy() 2593 (int) type, hostname, port); in loc_eng_set_server_proxy() [all …]
|
D | loc.cpp | 97 static int loc_agps_set_server(AGpsType type, const char *hostname, int port); 813 static int loc_agps_set_server(AGpsType type, const char* hostname, int port) in loc_agps_set_server() argument 827 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); in loc_agps_set_server()
|
D | loc_eng.h | 225 LocServerType type, const char *hostname, int port);
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc.cpp | 94 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()
|
D | loc_eng.h | 226 LocServerType type, const char *hostname, int port);
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | loc_gps.h | 954 int (*set_server)(LocAGpsType type, const char* hostname, int port);
|