Lines Matching refs:mApi
42 GnssGeofencing::GnssGeofencing() : mApi(nullptr) { in GnssGeofencing()
47 if (mApi != nullptr) { in ~GnssGeofencing()
48 delete mApi; in ~GnssGeofencing()
49 mApi = nullptr; in ~GnssGeofencing()
55 if (mApi != nullptr) { in setCallback()
60 mApi = new GeofenceAPIClient(callback); in setCallback()
61 if (mApi == nullptr) { in setCallback()
85 if (mApi == nullptr) { in addGeofence()
88 mApi->geofenceAdd( in addGeofence()
102 if (mApi == nullptr) { in pauseGeofence()
105 mApi->geofencePause(geofenceId); in pauseGeofence()
111 if (mApi == nullptr) { in resumeGeofence()
114 mApi->geofenceResume(geofenceId, monitorTransitions); in resumeGeofence()
120 if (mApi == nullptr) { in removeGeofence()
123 mApi->geofenceRemove(geofenceId); in removeGeofence()
129 if (mApi == nullptr) { in removeAllGeofences()
132 mApi->geofenceRemoveAll(); in removeAllGeofences()