Lines Matching refs:ulpLocation
172 GnssAdapter::convertLocation(Location& out, const UlpLocation& ulpLocation, in convertLocation() argument
178 if (LOC_GPS_LOCATION_HAS_LAT_LONG & ulpLocation.gpsLocation.flags) { in convertLocation()
180 out.latitude = ulpLocation.gpsLocation.latitude; in convertLocation()
181 out.longitude = ulpLocation.gpsLocation.longitude; in convertLocation()
183 if (LOC_GPS_LOCATION_HAS_ALTITUDE & ulpLocation.gpsLocation.flags) { in convertLocation()
185 out.altitude = ulpLocation.gpsLocation.altitude; in convertLocation()
187 if (LOC_GPS_LOCATION_HAS_SPEED & ulpLocation.gpsLocation.flags) { in convertLocation()
189 out.speed = ulpLocation.gpsLocation.speed; in convertLocation()
191 if (LOC_GPS_LOCATION_HAS_BEARING & ulpLocation.gpsLocation.flags) { in convertLocation()
193 out.bearing = ulpLocation.gpsLocation.bearing; in convertLocation()
195 if (LOC_GPS_LOCATION_HAS_ACCURACY & ulpLocation.gpsLocation.flags) { in convertLocation()
197 out.accuracy = ulpLocation.gpsLocation.accuracy; in convertLocation()
211 out.timestamp = ulpLocation.gpsLocation.timestamp; in convertLocation()
225 if (LOC_GPS_LOCATION_HAS_SPOOF_MASK & ulpLocation.gpsLocation.flags) { in convertLocation()
227 out.spoofMask = ulpLocation.gpsLocation.spoof_mask; in convertLocation()
3064 GnssAdapter::reportPositionEvent(const UlpLocation& ulpLocation, in reportPositionEvent() argument
3076 mEngHubProxy->gnssReportPosition(ulpLocation, locationExtended, status); in reportPositionEvent()
3080 if (true == ulpLocation.unpropagatedPosition) { in reportPositionEvent()
3097 const UlpLocation& ulpLocation, in reportPositionEvent()
3105 mUlpLocation(ulpLocation), in reportPositionEvent()
3136 sendMsg(new MsgReportPosition(*this, ulpLocation, locationExtended, in reportPositionEvent()
3171 GnssAdapter::needReportForGnssClient(const UlpLocation& ulpLocation, in needReportForGnssClient() argument
3181 reported = LocApiBase::needReport(ulpLocation, status, techMask); in needReportForGnssClient()
3209 GnssAdapter::reportPosition(const UlpLocation& ulpLocation, in reportPosition() argument
3214 bool reportToGnssClient = needReportForGnssClient(ulpLocation, status, techMask); in reportPosition()
3220 convertLocation(locationInfo.location, ulpLocation, locationExtended, techMask); in reportPosition()
3269 bool blank_fix = ((0 == ulpLocation.gpsLocation.latitude) && in reportPosition()
3270 (0 == ulpLocation.gpsLocation.longitude) && in reportPosition()
3274 loc_nmea_generate_pos(ulpLocation, locationExtended, mLocSystemInfo, in reportPosition()