Searched refs:assistanceServer (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/gps/msm8998/android/ |
D | AGnss.cpp | 113 config.assistanceServer.size = sizeof(GnssConfigSetAssistanceServer); in setServer() 115 config.assistanceServer.type = GNSS_ASSISTANCE_TYPE_SUPL; in setServer() 117 config.assistanceServer.type = GNSS_ASSISTANCE_TYPE_C2K; in setServer() 122 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer() 123 config.assistanceServer.port = port; in setServer()
|
D | Gnss.cpp | 72 if (mPendingConfig.assistanceServer.hostName != nullptr) { in getApi() 73 free((void*)mPendingConfig.assistanceServer.hostName); in getApi() 158 mPendingConfig.assistanceServer.size = sizeof(GnssConfigSetAssistanceServer); in updateConfiguration() 159 mPendingConfig.assistanceServer.type = gnssConfig.assistanceServer.type; in updateConfiguration() 160 if (mPendingConfig.assistanceServer.hostName != nullptr) { in updateConfiguration() 161 free((void*)mPendingConfig.assistanceServer.hostName); in updateConfiguration() 162 mPendingConfig.assistanceServer.hostName = in updateConfiguration() 163 strdup(gnssConfig.assistanceServer.hostName); in updateConfiguration() 165 mPendingConfig.assistanceServer.port = gnssConfig.assistanceServer.port; in updateConfiguration()
|
/hardware/qcom/gps/msm8909w_3100/android/ |
D | Gnss.cpp | 72 if (mPendingConfig.assistanceServer.hostName != nullptr) { in getApi() 73 free((void*)mPendingConfig.assistanceServer.hostName); in getApi() 158 mPendingConfig.assistanceServer.size = sizeof(GnssConfigSetAssistanceServer); in updateConfiguration() 159 mPendingConfig.assistanceServer.type = gnssConfig.assistanceServer.type; in updateConfiguration() 160 if (mPendingConfig.assistanceServer.hostName != nullptr) { in updateConfiguration() 161 free((void*)mPendingConfig.assistanceServer.hostName); in updateConfiguration() 162 mPendingConfig.assistanceServer.hostName = in updateConfiguration() 163 strdup(gnssConfig.assistanceServer.hostName); in updateConfiguration() 165 mPendingConfig.assistanceServer.port = gnssConfig.assistanceServer.port; in updateConfiguration()
|
D | AGnss.cpp | 117 config.assistanceServer.size = sizeof(GnssConfigSetAssistanceServer); in setServer() 119 config.assistanceServer.type = GNSS_ASSISTANCE_TYPE_SUPL; in setServer() 121 config.assistanceServer.type = GNSS_ASSISTANCE_TYPE_C2K; in setServer() 126 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer() 127 config.assistanceServer.port = port; in setServer()
|
/hardware/qcom/gps/msm8998/gnss/ |
D | GnssAdapter.cpp | 642 if (GNSS_ASSISTANCE_TYPE_SUPL == mConfig.assistanceServer.type) { in gnssUpdateConfigCommand() 646 if (NULL == mConfig.assistanceServer.hostName || in gnssUpdateConfigCommand() 648 mConfig.assistanceServer.hostName, in gnssUpdateConfigCommand() 652 mConfig.assistanceServer.hostName, in gnssUpdateConfigCommand() 653 mConfig.assistanceServer.port); in gnssUpdateConfigCommand() 661 } else if (GNSS_ASSISTANCE_TYPE_C2K == mConfig.assistanceServer.type) { in gnssUpdateConfigCommand() 663 if (!mAdapter.resolveInAddress(mConfig.assistanceServer.hostName, &addr)) { in gnssUpdateConfigCommand() 665 __func__, mConfig.assistanceServer.hostName); in gnssUpdateConfigCommand() 669 err = mApi.setServer(ip, mConfig.assistanceServer.port, in gnssUpdateConfigCommand() 674 __func__, mConfig.assistanceServer.type); in gnssUpdateConfigCommand()
|
/hardware/qcom/gps/msm8909w_3100/gnss/ |
D | GnssAdapter.cpp | 677 if (GNSS_ASSISTANCE_TYPE_SUPL == mConfig.assistanceServer.type) { in gnssUpdateConfigCommand() 682 if (NULL == mConfig.assistanceServer.hostName || in gnssUpdateConfigCommand() 684 mConfig.assistanceServer.hostName, in gnssUpdateConfigCommand() 688 mConfig.assistanceServer.hostName, in gnssUpdateConfigCommand() 689 mConfig.assistanceServer.port); in gnssUpdateConfigCommand() 700 } else if (GNSS_ASSISTANCE_TYPE_C2K == mConfig.assistanceServer.type) { in gnssUpdateConfigCommand() 703 if (!mAdapter.resolveInAddress(mConfig.assistanceServer.hostName, &addr)) { in gnssUpdateConfigCommand() 705 __func__, mConfig.assistanceServer.hostName); in gnssUpdateConfigCommand() 709 err = mApi.setServer(ip, mConfig.assistanceServer.port, in gnssUpdateConfigCommand() 717 __func__, mConfig.assistanceServer.type); in gnssUpdateConfigCommand()
|
/hardware/qcom/gps/msm8998/location/ |
D | LocationAPI.h | 579 GnssConfigSetAssistanceServer assistanceServer; member
|
/hardware/qcom/gps/msm8909w_3100/location/ |
D | LocationAPI.h | 609 GnssConfigSetAssistanceServer assistanceServer; member
|