Lines Matching refs:api
180 GnssAPIClient* api = getApi(); in setCallback() local
181 if (api != nullptr) { in setCallback()
182 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setCallback()
183 api->gnssEnable(LOCATION_TECHNOLOGY_TYPE_GNSS); in setCallback()
184 api->requestCapabilities(); in setCallback()
192 GnssAPIClient* api = getApi(); in setGnssNiCb() local
193 if (api != nullptr) { in setGnssNiCb()
194 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setGnssNiCb()
201 GnssAPIClient* api = getApi(); in updateConfiguration() local
202 if (api) { in updateConfiguration()
203 api->gnssConfigurationUpdate(gnssConfig); in updateConfiguration()
266 GnssAPIClient* api = getApi(); in start() local
267 if (api) { in start()
268 retVal = api->gnssStart(); in start()
276 GnssAPIClient* api = getApi(); in stop() local
277 if (api) { in stop()
278 retVal = api->gnssStop(); in stop()
313 GnssAPIClient* api = getApi(); in deleteAidingData() local
314 if (api) { in deleteAidingData()
315 api->gnssDeleteAidingData(aidingDataFlags); in deleteAidingData()
327 GnssAPIClient* api = getApi(); in setPositionMode() local
328 if (api) { in setPositionMode()
329 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode()
405 GnssAPIClient* api = getApi(); in setPositionMode_1_1() local
406 if (api) { in setPositionMode_1_1()
409 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode_1_1()