Searched refs:loc_afw_data (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc.cpp | 178 static loc_eng_data_s_type loc_afw_data; variable 315 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event, NULL); in loc_init() 316 …loc_afw_data.adapter->mSupportsAgpsRequests = !loc_afw_data.adapter->hasAgpsExtendedCapabilities(); in loc_init() 317 …loc_afw_data.adapter->mSupportsPositionInjection = !loc_afw_data.adapter->hasCPIExtendedCapabiliti… in loc_init() 318 loc_afw_data.adapter->setGpsLockMsg(0); in loc_init() 319 loc_afw_data.adapter->requestUlp(gps_conf.CAPABILITIES); in loc_init() 326 loc_afw_data.adapter->setPowerVoteRight(loc_get_target() == TARGET_QCA1530); in loc_init() 327 loc_afw_data.adapter->setPowerVote(true); in loc_init() 424 loc_afw_data.adapter->setPowerVote(false); in loc_cleanup() 425 loc_afw_data.adapter->setGpsLockMsg(gps_conf.GPS_LOCK); in loc_cleanup() [all …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc.cpp | 142 static loc_eng_data_s_type loc_afw_data; variable 268 retVal = loc_eng_init(loc_afw_data, &clientCallbacks, event); in loc_init() 269 loc_afw_data.adapter->requestUlp(gps_conf.CAPABILITIES); in loc_init() 270 loc_afw_data.adapter->mAgpsEnabled = !loc_afw_data.adapter->hasAgpsExt(); in loc_init() 296 loc_eng_cleanup(loc_afw_data); in loc_cleanup() 330 int ret_val = loc_eng_start(loc_afw_data); in loc_start() 356 ret_val = loc_eng_stop(loc_afw_data); in loc_stop() 401 ret_val = loc_eng_set_position_mode(loc_afw_data, params); in loc_set_position_mode() 428 ret_val = loc_eng_inject_time(loc_afw_data, time, in loc_inject_time() 478 ret_val = loc_eng_inject_location(loc_afw_data, latitude, longitude, accuracy); in loc_inject_location() [all …]
|