Lines Matching refs:api
178 GnssAPIClient* api = getApi(); in setCallback() local
179 if (api != nullptr) { in setCallback()
180 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setCallback()
181 api->gnssEnable(LOCATION_TECHNOLOGY_TYPE_GNSS); in setCallback()
182 api->requestCapabilities(); in setCallback()
190 GnssAPIClient* api = getApi(); in setGnssNiCb() local
191 if (api != nullptr) { in setGnssNiCb()
192 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setGnssNiCb()
199 GnssAPIClient* api = getApi(); in updateConfiguration() local
200 if (api) { in updateConfiguration()
201 api->gnssConfigurationUpdate(gnssConfig); in updateConfiguration()
264 GnssAPIClient* api = getApi(); in start() local
265 if (api) { in start()
266 retVal = api->gnssStart(); in start()
274 GnssAPIClient* api = getApi(); in stop() local
275 if (api) { in stop()
276 retVal = api->gnssStop(); in stop()
318 GnssAPIClient* api = getApi(); in deleteAidingData() local
319 if (api) { in deleteAidingData()
320 api->gnssDeleteAidingData(aidingDataFlags); in deleteAidingData()
332 GnssAPIClient* api = getApi(); in setPositionMode() local
333 if (api) { in setPositionMode()
334 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode()
410 GnssAPIClient* api = getApi(); in setPositionMode_1_1() local
411 if (api) { in setPositionMode_1_1()
414 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode_1_1()