Lines Matching refs:api
139 GnssAPIClient* api = getApi(); in setCallback() local
140 if (api != nullptr) { in setCallback()
141 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setCallback()
142 api->gnssEnable(LOCATION_TECHNOLOGY_TYPE_GNSS); in setCallback()
143 api->requestCapabilities(); in setCallback()
151 GnssAPIClient* api = getApi(); in setGnssNiCb() local
152 if (api != nullptr) { in setGnssNiCb()
153 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setGnssNiCb()
160 GnssAPIClient* api = getApi(); in updateConfiguration() local
161 if (api) { in updateConfiguration()
162 api->gnssConfigurationUpdate(gnssConfig); in updateConfiguration()
225 GnssAPIClient* api = getApi(); in start() local
226 if (api) { in start()
227 retVal = api->gnssStart(); in start()
235 GnssAPIClient* api = getApi(); in stop() local
236 if (api) { in stop()
237 retVal = api->gnssStop(); in stop()
272 GnssAPIClient* api = getApi(); in deleteAidingData() local
273 if (api) { in deleteAidingData()
274 api->gnssDeleteAidingData(aidingDataFlags); in deleteAidingData()
286 GnssAPIClient* api = getApi(); in setPositionMode() local
287 if (api) { in setPositionMode()
288 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode()