Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 25 of 118) sorted by relevance

12345

/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp290 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
306 if (longitude < 0) in loc_eng_nmea_generate_pos()
309 longitude *= -1.0; in loc_eng_nmea_generate_pos()
317 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
321 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
443 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
459 if (longitude < 0) in loc_eng_nmea_generate_pos()
462 longitude *= -1.0; in loc_eng_nmea_generate_pos()
470 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
474 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
DLocEngAdapter.h120 injectPosition(double latitude, double longitude, float accuracy) in injectPosition() argument
122 return mLocApi->injectPosition(latitude, longitude, accuracy); in injectPosition()
Dloc.cpp65 static int loc_inject_location(double latitude, double longitude, float accuracy);
452 static int loc_inject_location(double latitude, double longitude, float accuracy) in loc_inject_location() argument
478 ret_val = loc_eng_inject_location(loc_afw_data, latitude, longitude, accuracy); in loc_inject_location()
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp293 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
309 if (longitude < 0) in loc_eng_nmea_generate_pos()
312 longitude *= -1.0; in loc_eng_nmea_generate_pos()
320 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
324 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
446 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
462 if (longitude < 0) in loc_eng_nmea_generate_pos()
465 longitude *= -1.0; in loc_eng_nmea_generate_pos()
473 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
477 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
DLocEngAdapter.h140 injectPosition(double latitude, double longitude, float accuracy) in injectPosition() argument
142 return mLocApi->injectPosition(latitude, longitude, accuracy); in injectPosition()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp298 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
314 if (longitude < 0) in loc_eng_nmea_generate_pos()
317 longitude *= -1.0; in loc_eng_nmea_generate_pos()
325 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
329 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
451 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
467 if (longitude < 0) in loc_eng_nmea_generate_pos()
470 longitude *= -1.0; in loc_eng_nmea_generate_pos()
478 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
482 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
DLocEngAdapter.h140 injectPosition(double latitude, double longitude, float accuracy) in injectPosition() argument
142 return mLocApi->injectPosition(latitude, longitude, accuracy); in injectPosition()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp294 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
310 if (longitude < 0) in loc_eng_nmea_generate_pos()
313 longitude *= -1.0; in loc_eng_nmea_generate_pos()
321 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
325 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
447 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
463 if (longitude < 0) in loc_eng_nmea_generate_pos()
466 longitude *= -1.0; in loc_eng_nmea_generate_pos()
474 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
478 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
Dloc.cpp67 static int loc_inject_location(double latitude, double longitude, float accuracy);
576 static int loc_inject_location(double latitude, double longitude, float accuracy) in loc_inject_location() argument
588 ret_val = loc_eng_inject_location(loc_afw_data, latitude, longitude, accuracy); in loc_inject_location()
609 ret_val = loc_eng_inject_location(loc_afw_data, latitude, longitude, accuracy); in loc_inject_location()
DLocEngAdapter.h135 injectPosition(double latitude, double longitude, float accuracy) in injectPosition() argument
137 return mLocApi->injectPosition(latitude, longitude, accuracy); in injectPosition()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp297 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
313 if (longitude < 0) in loc_eng_nmea_generate_pos()
316 longitude *= -1.0; in loc_eng_nmea_generate_pos()
324 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
328 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
450 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
466 if (longitude < 0) in loc_eng_nmea_generate_pos()
469 longitude *= -1.0; in loc_eng_nmea_generate_pos()
477 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
481 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp298 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
314 if (longitude < 0) in loc_eng_nmea_generate_pos()
317 longitude *= -1.0; in loc_eng_nmea_generate_pos()
325 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
329 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
451 double longitude = location.gpsLocation.longitude; in loc_eng_nmea_generate_pos() local
467 if (longitude < 0) in loc_eng_nmea_generate_pos()
470 longitude *= -1.0; in loc_eng_nmea_generate_pos()
478 lonMinutes = fmod(longitude * 60.0 , 60.0); in loc_eng_nmea_generate_pos()
482 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
/hardware/interfaces/gnss/1.0/default/
DGnssUtils.cpp36 .longitudeDegrees = location->longitude, in convertToGnssLocation()
61 .longitudeDegrees = location->longitude, in convertToGnssLocation()
/hardware/qcom/gps/msm8998/gnss/
Dlocation_gnss.cpp54 static void injectLocation(double latitude, double longitude, float accuracy);
202 static void injectLocation(double latitude, double longitude, float accuracy) in injectLocation() argument
205 gGnssAdapter->injectLocationCommand(latitude, longitude, accuracy); in injectLocation()
DGnssAdapter.cpp122 out.longitude = locGpsLocation.longitude; in convertLocation()
800 GnssAdapter::injectLocationCommand(double latitude, double longitude, float accuracy) in injectLocationCommand() argument
803 __func__, latitude, longitude, accuracy); in injectLocationCommand()
814 double longitude, in injectLocationCommand()
820 mLongitude(longitude), in injectLocationCommand()
829 sendMsg(new MsgInjectLocation(*mLocApi, *mContext, latitude, longitude, accuracy)); in injectLocationCommand()
2634 double longitude = ulpLocation.gpsLocation.longitude; in generateNmeaRMC() local
2647 if (longitude < 0) { in generateNmeaRMC()
2649 longitude *= -1.0; in generateNmeaRMC()
2655 lonMinutes = fmod(longitude * 60.0 , 60.0); in generateNmeaRMC()
[all …]
/hardware/qcom/gps/msm8998/android/location_api/
DGeofenceAPIClient.cpp80 void GeofenceAPIClient::geofenceAdd(uint32_t geofence_id, double latitude, double longitude, in geofenceAdd() argument
85 geofence_id, latitude, longitude, radius_meters, in geofenceAdd()
100 data.longitude = longitude; in geofenceAdd()
DGeofenceAPIClient.h51 void geofenceAdd(uint32_t geofence_id, double latitude, double longitude,
DLocationUtil.cpp56 out.longitudeDegrees = in.longitude; in convertGnssLocation()
/hardware/interfaces/gnss/1.0/
Dtypes.hal46 /** GnssLocation has valid latitude and longitude. */
72 /** Represents longitude in degrees. */
/hardware/libhardware/include/hardware/
Dfused_location.h151 double longitude; member
692 double longitude; member
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp462 LocApiRpc::injectPosition(double latitude, double longitude, float accuracy) in injectPosition() argument
482 assistance_data_position->longitude = longitude; in injectPosition()
489 (double) assistance_data_position->longitude, in injectPosition()
698 location_report_ptr->longitude != 0)) in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp462 LocApiRpc::injectPosition(double latitude, double longitude, float accuracy) in injectPosition() argument
482 assistance_data_position->longitude = longitude; in injectPosition()
489 (double) assistance_data_position->longitude, in injectPosition()
698 location_report_ptr->longitude != 0)) in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp462 LocApiRpc::injectPosition(double latitude, double longitude, float accuracy) in injectPosition() argument
482 assistance_data_position->longitude = longitude; in injectPosition()
489 (double) assistance_data_position->longitude, in injectPosition()
698 location_report_ptr->longitude != 0)) in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp462 LocApiRpc::injectPosition(double latitude, double longitude, float accuracy) in injectPosition() argument
482 assistance_data_position->longitude = longitude; in injectPosition()
489 (double) assistance_data_position->longitude, in injectPosition()
698 location_report_ptr->longitude != 0)) in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp462 LocApiRpc::injectPosition(double latitude, double longitude, float accuracy) in injectPosition() argument
482 assistance_data_position->longitude = longitude; in injectPosition()
489 (double) assistance_data_position->longitude, in injectPosition()
698 location_report_ptr->longitude != 0)) in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()

12345