Lines Matching refs:api
129 GnssAPIClient* api = getApi(); in setCallback() local
130 if (api != nullptr) { in setCallback()
131 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setCallback()
132 api->gnssEnable(LOCATION_TECHNOLOGY_TYPE_GNSS); in setCallback()
133 api->requestCapabilities(); in setCallback()
141 GnssAPIClient* api = getApi(); in setGnssNiCb() local
142 if (api != nullptr) { in setGnssNiCb()
143 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setGnssNiCb()
150 GnssAPIClient* api = getApi(); in updateConfiguration() local
151 if (api) { in updateConfiguration()
152 api->gnssConfigurationUpdate(gnssConfig); in updateConfiguration()
215 GnssAPIClient* api = getApi(); in start() local
216 if (api) { in start()
217 retVal = api->gnssStart(); in start()
225 GnssAPIClient* api = getApi(); in stop() local
226 if (api) { in stop()
227 retVal = api->gnssStop(); in stop()
262 GnssAPIClient* api = getApi(); in deleteAidingData() local
263 if (api) { in deleteAidingData()
264 api->gnssDeleteAidingData(aidingDataFlags); in deleteAidingData()
276 GnssAPIClient* api = getApi(); in setPositionMode() local
277 if (api) { in setPositionMode()
278 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode()