Lines Matching refs:api
120 GnssAPIClient* api = getApi(); in setCallback() local
121 if (api != nullptr) { in setCallback()
122 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setCallback()
123 api->gnssEnable(LOCATION_TECHNOLOGY_TYPE_GNSS); in setCallback()
124 api->requestCapabilities(); in setCallback()
132 GnssAPIClient* api = getApi(); in setGnssNiCb() local
133 if (api != nullptr) { in setGnssNiCb()
134 api->gnssUpdateCallbacks(mGnssCbIface, mGnssNiCbIface); in setGnssNiCb()
141 GnssAPIClient* api = getApi(); in updateConfiguration() local
142 if (api) { in updateConfiguration()
143 api->gnssConfigurationUpdate(gnssConfig); in updateConfiguration()
202 GnssAPIClient* api = getApi(); in start() local
203 if (api) { in start()
204 retVal = api->gnssStart(); in start()
212 GnssAPIClient* api = getApi(); in stop() local
213 if (api) { in stop()
214 retVal = api->gnssStop(); in stop()
256 GnssAPIClient* api = getApi(); in deleteAidingData() local
257 if (api) { in deleteAidingData()
258 api->gnssDeleteAidingData(aidingDataFlags); in deleteAidingData()
270 GnssAPIClient* api = getApi(); in setPositionMode() local
271 if (api) { in setPositionMode()
272 retVal = api->gnssSetPositionMode(mode, recurrence, minIntervalMs, in setPositionMode()