Home
last modified time | relevance | path

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

123456

/hardware/qcom/gps/msm8998/loc_api/
DMakefile.am72 -I$(WORKSPACE)/qcom-opensource/location/loc_api/ds_api
75 $(WORKSPACE)/qcom-opensource/location/loc_api/ds_api/ds_client.c
94 -I$(WORKSPACE)/qcom-opensource/location/loc_api/ds_api \
95 -I$(WORKSPACE)/qcom-opensource/location/loc_api/loc_api_v02
98 $(WORKSPACE)/qcom-opensource/location/loc_api/loc_api_v02/LocApiV02.cpp \
99 $(WORKSPACE)/qcom-opensource/location/loc_api/loc_api_v02/loc_api_v02_log.c \
100 $(WORKSPACE)/qcom-opensource/location/loc_api/loc_api_v02/loc_api_v02_client.c \
101 $(WORKSPACE)/qcom-opensource/location/loc_api/loc_api_v02/loc_api_sync_req.c \
102 $(WORKSPACE)/qcom-opensource/location/loc_api/loc_api_v02/location_service_v02.c
126 $(WORKSPACE)/qcom-opensource/location/loc_api/ds_api/ds_client.h \
[all …]
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp112 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
123 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
212 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
214 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
217 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
224 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
239 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
241 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
242 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
259 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.cpp116 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
121 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
138 int utcMSeconds = (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()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp112 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
117 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
215 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
217 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
220 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
227 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
242 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
244 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
245 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
262 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp116 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
121 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
219 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
221 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
224 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
231 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
246 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
248 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
249 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
266 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/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 …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp116 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
127 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
216 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
218 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
221 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
228 …length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearin… in loc_eng_nmea_generate_pos()
243 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
245 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
246 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
263 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/msm8998/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp469 const UlpLocation &location, in loc_eng_nmea_generate_pos() argument
474 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
491 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_eng_nmea_generate_pos()
541 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
543 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
546 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
553 …length = snprintf(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocatio… in loc_eng_nmea_generate_pos()
568 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
570 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
571 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/media/msm8998/
Dconfigure.ac85 … [AS_HELP_STRING([--with-sanitized-headers=DIR],[location of the sanitized Linux kernel headers])],
89 [AS_HELP_STRING([--with-binder-inc=DIR],[location of common headers])],
93 [AS_HELP_STRING([--with-utils-inc=DIR],[location of common headers])],
97 [AS_HELP_STRING([--with-cutils-inc=DIR],[location of common headers])],
101 [AS_HELP_STRING([--with-kernel-inc=DIR],[location of common headers])],
105 [AS_HELP_STRING([--with-kernel-uapi-inc=DIR],[location of common headers])],
109 [AS_HELP_STRING([--with-adreno-inc=DIR],[location of common headers])],
113 [AS_HELP_STRING([--with-libgpustats-headers=DIR],[location of common headers])],
117 [AS_HELP_STRING([--with-ui-inc=DIR],[location of common headers])],
121 [AS_HELP_STRING([--with-gralloc-inc=DIR],[location of common headers])],
[all …]
/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()
/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()
/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()
/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()
/hardware/qcom/gps/msm8998/core/
DLocApiBase.cpp230 void LocApiBase::reportPosition(UlpLocation &location, in reportPosition() argument
242 location.gpsLocation.flags, location.position_source, in reportPosition()
243 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition()
244 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition()
245 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition()
246 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
247 location.rawData, status, loc_technology_mask, in reportPosition()
254 mLocAdapters[i]->reportPosition(location, in reportPosition()
DLocAdapterProxyBase.h60 inline virtual bool reportPosition(UlpLocation &location, in reportPosition() argument
65 (void)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/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/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/msm8998/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp693 UlpLocation location = {0}; in reportPosition() local
696 location.size = sizeof(location); in reportPosition()
710 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
711 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
712 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
717 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
723 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
724 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
730 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
731 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/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 …]

123456