Lines Matching refs:api

200     GnssAPIClient* api = getApi();  in setCallback()  local
201 if (api != nullptr) { in setCallback()
202 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setCallback()
203 api->gnssEnable(LOCATION_TECHNOLOGY_TYPE_GNSS); in setCallback()
204 api->requestCapabilities(); in setCallback()
212 GnssAPIClient* api = getApi(); in setGnssNiCb() local
213 if (api != nullptr) { in setGnssNiCb()
214 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setGnssNiCb()
221 GnssAPIClient* api = getApi(); in updateConfiguration() local
222 if (api) { in updateConfiguration()
223 api->gnssConfigurationUpdate(gnssConfig); in updateConfiguration()
290 GnssAPIClient* api = getApi(); in start() local
291 if (api) { in start()
292 retVal = api->gnssStart(); in start()
300 GnssAPIClient* api = getApi(); in stop() local
301 if (api) { in stop()
302 retVal = api->gnssStop(); in stop()
338 GnssAPIClient* api = getApi(); in deleteAidingData() local
339 if (api) { in deleteAidingData()
340 api->gnssDeleteAidingData(aidingDataFlags); in deleteAidingData()
352 GnssAPIClient* api = getApi(); in setPositionMode() local
353 if (api) { in setPositionMode()
354 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode()
460 GnssAPIClient* api = getApi(); in setCallback_1_1() local
461 if (api != nullptr) { in setCallback_1_1()
462 api->gnssUpdateCallbacks(mGnssCbIface_1_1, mGnssNiCbIface); in setCallback_1_1()
463 api->gnssEnable(LOCATION_TECHNOLOGY_TYPE_GNSS); in setCallback_1_1()
464 api->requestCapabilities(); in setCallback_1_1()
478 GnssAPIClient* api = getApi(); in setPositionMode_1_1() local
479 if (api) { in setPositionMode_1_1()
482 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode_1_1()
590 GnssAPIClient* api = getApi(); in setCallback_2_0() local
591 if (api != nullptr) { in setCallback_2_0()
592 api->gnssUpdateCallbacks_2_0(mGnssCbIface_2_0); in setCallback_2_0()
593 api->gnssEnable(LOCATION_TECHNOLOGY_TYPE_GNSS); in setCallback_2_0()
594 api->requestCapabilities(); in setCallback_2_0()