Lines Matching refs:api
170 GnssAPIClient* api = getApi(); in setCallback() local
171 if (api != nullptr) { in setCallback()
172 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setCallback()
173 api->gnssEnable(LOCATION_TECHNOLOGY_TYPE_GNSS); in setCallback()
174 api->requestCapabilities(); in setCallback()
182 GnssAPIClient* api = getApi(); in setGnssNiCb() local
183 if (api != nullptr) { in setGnssNiCb()
184 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setGnssNiCb()
191 GnssAPIClient* api = getApi(); in updateConfiguration() local
192 if (api) { in updateConfiguration()
193 api->gnssConfigurationUpdate(gnssConfig); in updateConfiguration()
256 GnssAPIClient* api = getApi(); in start() local
257 if (api) { in start()
258 retVal = api->gnssStart(); in start()
266 GnssAPIClient* api = getApi(); in stop() local
267 if (api) { in stop()
268 retVal = api->gnssStop(); in stop()
303 GnssAPIClient* api = getApi(); in deleteAidingData() local
304 if (api) { in deleteAidingData()
305 api->gnssDeleteAidingData(aidingDataFlags); in deleteAidingData()
317 GnssAPIClient* api = getApi(); in setPositionMode() local
318 if (api) { in setPositionMode()
319 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode()
395 GnssAPIClient* api = getApi(); in setPositionMode_1_1() local
396 if (api) { in setPositionMode_1_1()
399 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode_1_1()