Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 124) sorted by relevance

12345

/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp113 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
124 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
213 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
215 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
218 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
225 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
240 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
242 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
243 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
260 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos()
[all …]
DLocEngAdapter.cpp101 void LocInternalAdapter::reportPosition(UlpLocation &location, in reportPosition() argument
108 location, in reportPosition()
116 void LocEngAdapter::reportPosition(UlpLocation &location, in reportPosition() argument
122 if (! mUlp->reportPosition(location, in reportPosition()
127 mInternalAdapter->reportPosition(location, in reportPosition()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp117 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
122 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
139 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_eng_nmea_generate_pos()
221 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
223 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
226 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
233 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
248 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
250 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
251 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp117 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
122 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
222 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
232 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
250 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp117 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
128 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
217 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
219 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
222 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
229 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
244 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
246 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
247 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
264 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos()
[all …]
DLocEngAdapter.cpp170 void LocInternalAdapter::reportPosition(UlpLocation &location, in reportPosition() argument
177 location, in reportPosition()
185 void LocEngAdapter::reportPosition(UlpLocation &location, in reportPosition() argument
191 if (! mUlp->reportPosition(location, in reportPosition()
196 mInternalAdapter->reportPosition(location, in reportPosition()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp117 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
122 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
222 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
232 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
250 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos()
[all …]
DLocEngAdapter.cpp168 void LocInternalAdapter::reportPosition(UlpLocation &location, in reportPosition() argument
175 location, in reportPosition()
183 void LocEngAdapter::reportPosition(UlpLocation &location, in reportPosition() argument
189 if (! mUlp->reportPosition(location, in reportPosition()
194 mInternalAdapter->reportPosition(location, in reportPosition()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp117 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
122 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
222 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
232 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
250 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos()
[all …]
DLocEngAdapter.cpp168 void LocInternalAdapter::reportPosition(UlpLocation &location, in reportPosition() argument
175 location, in reportPosition()
183 void LocEngAdapter::reportPosition(UlpLocation &location, in reportPosition() argument
189 if (! mUlp->reportPosition(location, in reportPosition()
194 mInternalAdapter->reportPosition(location, in reportPosition()
/hardware/qcom/gps/msm8909/core/
DLocApiBase.cpp229 void LocApiBase::reportPosition(UlpLocation &location, in reportPosition() argument
240 location.gpsLocation.flags, location.position_source, in reportPosition()
241 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition()
242 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition()
243 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition()
244 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
245 location.rawData, status, loc_technology_mask); in reportPosition()
248 mLocAdapters[i]->reportPosition(location, in reportPosition()
DLocAdapterBase.cpp68 reportPosition(UlpLocation &location, in reportPosition() argument
74 !mLocAdapterProxyBase->reportPosition(location, in reportPosition()
/hardware/qcom/gps/msm8996/core/
DLocApiBase.cpp229 void LocApiBase::reportPosition(UlpLocation &location, in reportPosition() argument
240 location.gpsLocation.flags, location.position_source, in reportPosition()
241 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition()
242 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition()
243 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition()
244 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
245 location.rawData, status, loc_technology_mask); in reportPosition()
248 mLocAdapters[i]->reportPosition(location, in reportPosition()
DLocAdapterBase.cpp68 reportPosition(UlpLocation &location, in reportPosition() argument
74 !mLocAdapterProxyBase->reportPosition(location, in reportPosition()
/hardware/qcom/gps/core/
DLocApiBase.cpp229 void LocApiBase::reportPosition(UlpLocation &location, in reportPosition() argument
240 location.gpsLocation.flags, location.position_source, in reportPosition()
241 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition()
242 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition()
243 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition()
244 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
245 location.rawData, status, loc_technology_mask); in reportPosition()
248 mLocAdapters[i]->reportPosition(location, in reportPosition()
DLocAdapterBase.cpp68 reportPosition(UlpLocation &location, in reportPosition() argument
74 !mLocAdapterProxyBase->reportPosition(location, in reportPosition()
/hardware/qcom/gps/msm8994/core/
DLocApiBase.cpp229 void LocApiBase::reportPosition(UlpLocation &location, in reportPosition() argument
240 location.gpsLocation.flags, location.position_source, in reportPosition()
241 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition()
242 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition()
243 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition()
244 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
245 location.rawData, status, loc_technology_mask); in reportPosition()
248 mLocAdapters[i]->reportPosition(location, in reportPosition()
DLocAdapterBase.cpp68 reportPosition(UlpLocation &location, in reportPosition() argument
74 !mLocAdapterProxyBase->reportPosition(location, in reportPosition()
/hardware/intel/img/psb_video/src/x11/
Dpsb_xrandr.c50 char* location2string(psb_xrandr_location location) in location2string() argument
52 switch (location) { in location2string()
174 psb_xrandr_info->local_crtc[0]->location = NORMAL; in psb_xrandr_mipi_location_init()
178 psb_xrandr_info->local_crtc[1]->location = NORMAL; in psb_xrandr_mipi_location_init()
197 extend_crtc->location = NORMAL; in psb_xrandr_mipi_location_init()
202 extend_crtc->location = ABOVE; in psb_xrandr_mipi_location_init()
204 extend_crtc->location = BELOW; in psb_xrandr_mipi_location_init()
206 extend_crtc->location = LEFT_OF; in psb_xrandr_mipi_location_init()
208 extend_crtc->location = RIGHT_OF; in psb_xrandr_mipi_location_init()
219 psb_xrandr_info->extend_crtc->location = NORMAL; in psb_xrandr_hdmi_location_init()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp683 UlpLocation location = {0}; in reportPosition() local
686 location.size = sizeof(location); in reportPosition()
700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
721 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
722location.gpsLocation.speed = sqrt(location_report_ptr->speed_horizontal * location_report_ptr->spe… in reportPosition()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp683 UlpLocation location = {0}; in reportPosition() local
686 location.size = sizeof(location); in reportPosition()
700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
721 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
722location.gpsLocation.speed = sqrt(location_report_ptr->speed_horizontal * location_report_ptr->spe… in reportPosition()
[all …]
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp683 UlpLocation location = {0}; in reportPosition() local
686 location.size = sizeof(location); in reportPosition()
700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
720 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
721 location.gpsLocation.speed = location_report_ptr->speed_horizontal; in reportPosition()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp683 UlpLocation location = {0}; in reportPosition() local
686 location.size = sizeof(location); in reportPosition()
700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
720 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
721 location.gpsLocation.speed = location_report_ptr->speed_horizontal; in reportPosition()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp683 UlpLocation location = {0}; in reportPosition() local
686 location.size = sizeof(location); in reportPosition()
700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
721 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
722location.gpsLocation.speed = sqrt(location_report_ptr->speed_horizontal * location_report_ptr->spe… in reportPosition()
[all …]
/hardware/libhardware/include/hardware/
Dfused_location.h195 typedef void (*flp_location_callback)(int32_t num_locations, FlpLocation** location);
422 int (*inject_location)(FlpLocation* location);
611 typedef void (*flp_geofence_transition_callback) (int32_t geofence_id, FlpLocation* location,

12345