Home
last modified time | relevance | path

Searched refs:gnssInterface (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/gps/msm8998/location/
DLocationAPI.cpp42 GnssInterface* gnssInterface; member
120 if (NULL == gData.gnssInterface && !gGnssLoadFailed) { in createInstance()
121 gData.gnssInterface = in createInstance()
123 if (NULL == gData.gnssInterface) { in createInstance()
127 gData.gnssInterface->initialize(); in createInstance()
130 if (NULL != gData.gnssInterface) { in createInstance()
131 gData.gnssInterface->addClient(newLocationAPI, locationCallbacks); in createInstance()
133 gData.gnssInterface->requestCapabilities(newLocationAPI); in createInstance()
218 if (isGnssClient(it->second) && NULL != gData.gnssInterface) { in ~LocationAPI()
219 gData.gnssInterface->removeClient(it->first); in ~LocationAPI()
[all …]
/hardware/qcom/gps/msm8998/android/
DGnss.cpp232 GnssInterface* gnssInterface = getGnssInterface(); in injectLocation() local
233 if (nullptr != gnssInterface) { in injectLocation()
234 gnssInterface->injectLocation(latitudeDegrees, longitudeDegrees, accuracyMeters); in injectLocation()
244 GnssInterface* gnssInterface = getGnssInterface(); in injectTime() local
245 if (nullptr != gnssInterface) { in injectTime()
246 gnssInterface->injectTime(timeMs, timeReferenceMs, uncertaintyMs); in injectTime()