Home
last modified time | relevance | path

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

123

/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()
Dloc.cpp54 static void local_loc_cb(UlpLocation* location, void* locExt);
891 static void local_loc_cb(UlpLocation* location, void* locExt) in local_loc_cb() argument
894 if (NULL != location) { in local_loc_cb()
895 CALLBACK_LOG_CALLFLOW("location_cb - from", %d, location->position_source); in local_loc_cb()
898 gps_loc_cb(&location->gpsLocation); in local_loc_cb()
Dloc_eng_nmea.h40 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, co…
/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()
Dloc_eng_nmea.h40 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, co…
Dloc.cpp56 static void local_loc_cb(UlpLocation* location, void* locExt);
1054 static void local_loc_cb(UlpLocation* location, void* locExt) in local_loc_cb() argument
1057 if (NULL != location) { in local_loc_cb()
1058 CALLBACK_LOG_CALLFLOW("location_cb - from", %d, location->position_source); in local_loc_cb()
1061 gps_loc_cb(&location->gpsLocation); in local_loc_cb()
Dloc.h44 typedef void (*loc_location_cb_ext) (UlpLocation* location, void* locExt);
/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()
Dloc_eng_nmea.h40 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, co…
/hardware/qcom/gps/msm8974/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()
Dloc_eng_nmea.h40 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, co…
/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/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 …]
Dpsb_xrandr.h117 psb_xrandr_location location; member
181 …_enabled, int *x, int *y, int *width, int *height, psb_xrandr_location *location, Rotation *rotati…
/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/msm8974/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/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/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,
/hardware/qcom/gps/
Dconfigure.ac38 [Specify the location of the libhardware headers]),
48 [Specify the location of the core headers]),
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c102 channels[i].location = bytes; in size_from_channelarray()
104 channels[i].location = bytes - bytes%channels[i].bytes in size_from_channelarray()
106 bytes = channels[i].location + channels[i].bytes; in size_from_channelarray()
150 print2byte(*(uint16_t *)(data + infoarray[k].location), in process_scan()
156 int32_t val = *(int32_t *)(data + infoarray[k].location); in process_scan()
165 int64_t val = *(int64_t *)(data + infoarray[k].location); in process_scan()

123