/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 121 time_t utcTime(location.gpsLocation.timestamp/1000); 138 int utcMSeconds = (location.gpsLocation.timestamp)%1000; 220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 222 float magTrack = location.gpsLocation.bearing; 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 232 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 250 float speedKmPerHour = location.gpsLocation.speed * 3.6; 267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 121 time_t utcTime(location.gpsLocation.timestamp/1000); 219 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 221 float magTrack = location.gpsLocation.bearing; 224 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 231 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 246 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 248 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 249 float speedKmPerHour = location.gpsLocation.speed * 3.6; 266 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) 294 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 127 time_t utcTime(location.gpsLocation.timestamp/1000); 216 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 218 float magTrack = location.gpsLocation.bearing; 221 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 228 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 243 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 245 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 246 float speedKmPerHour = location.gpsLocation.speed * 3.6; 263 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) 291 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG [all...] |
loc_eng.cpp | 771 !((mLocation.gpsLocation.flags & 774 (mLocation.gpsLocation.accuracy > 823 mLocation.gpsLocation.flags, mLocation.position_source, 824 mLocation.gpsLocation.latitude, mLocation.gpsLocation.longitude, 825 mLocation.gpsLocation.altitude, mLocation.gpsLocation.speed, 826 mLocation.gpsLocation.bearing, mLocation.gpsLocation.accuracy, 827 mLocation.gpsLocation.timestamp, mLocation.rawDataSize [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 117 time_t utcTime(location.gpsLocation.timestamp/1000); 215 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 217 float magTrack = location.gpsLocation.bearing; 220 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 227 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 242 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 244 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 245 float speedKmPerHour = location.gpsLocation.speed * 3.6; 262 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) 290 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 123 time_t utcTime(location.gpsLocation.timestamp/1000); 212 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 214 float magTrack = location.gpsLocation.bearing; 217 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 224 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 239 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 241 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 242 float speedKmPerHour = location.gpsLocation.speed * 3.6; 259 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) 287 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG [all...] |
loc_eng.cpp | 708 !((mLocation.gpsLocation.flags & 711 (mLocation.gpsLocation.accuracy > 757 mLocation.gpsLocation.flags, mLocation.position_source, 758 mLocation.gpsLocation.latitude, mLocation.gpsLocation.longitude, 759 mLocation.gpsLocation.altitude, mLocation.gpsLocation.speed, 760 mLocation.gpsLocation.bearing, mLocation.gpsLocation.accuracy, 761 mLocation.gpsLocation.timestamp, mLocation.rawDataSize [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 122 time_t utcTime(location.gpsLocation.timestamp/1000); 220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 222 float magTrack = location.gpsLocation.bearing; 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 232 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 250 float speedKmPerHour = location.gpsLocation.speed * 3.6; 267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) 295 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG [all...] |
/packages/apps/Camera2/src/com/android/camera/session/ |
StackSaverImpl.java | 49 * @param gpsLocation the GPS location to attach to all stacked images. 54 public StackSaverImpl(File stackDirectory, Location gpsLocation, 57 mGpsLocation = gpsLocation;
|
/development/samples/training/location-aware/src/com/example/android/location/ |
LocationActivity.java | 167 Location gpsLocation = null; 177 gpsLocation = requestUpdatesFromProvider( 180 if (gpsLocation != null) updateUILocation(gpsLocation); 186 gpsLocation = requestUpdatesFromProvider( 193 if (gpsLocation != null && networkLocation != null) { 194 updateUILocation(getBetterLocation(gpsLocation, networkLocation)); 195 } else if (gpsLocation != null) { 196 updateUILocation(gpsLocation);
|
/hardware/qcom/gps/core/ |
LocApiBase.cpp | 240 location.gpsLocation.flags, location.position_source, 241 location.gpsLocation.latitude, location.gpsLocation.longitude, 242 location.gpsLocation.altitude, location.gpsLocation.speed, 243 location.gpsLocation.bearing, location.gpsLocation.accuracy, 244 location.gpsLocation.timestamp, location.rawDataSize, 491 getWwanZppFix(GpsLocation & zppLoc) 495 getBestAvailableZppFix(GpsLocation & zppLoc [all...] |
gps_extended_c.h | 44 /** GpsLocation has valid "is indoor?" flag */ 46 /** GpsLocation has valid floor number */ 48 /** GpsLocation has valid map URL*/ 50 /** GpsLocation has valid map index */ 109 GpsLocation gpsLocation;
|
/hardware/qcom/gps/msm8909/core/ |
LocApiBase.cpp | 240 location.gpsLocation.flags, location.position_source, 241 location.gpsLocation.latitude, location.gpsLocation.longitude, 242 location.gpsLocation.altitude, location.gpsLocation.speed, 243 location.gpsLocation.bearing, location.gpsLocation.accuracy, 244 location.gpsLocation.timestamp, location.rawDataSize, 491 getWwanZppFix(GpsLocation& zppLoc) 495 getBestAvailableZppFix(GpsLocation& zppLoc [all...] |
/hardware/qcom/gps/msm8994/core/ |
LocApiBase.cpp | 240 location.gpsLocation.flags, location.position_source, 241 location.gpsLocation.latitude, location.gpsLocation.longitude, 242 location.gpsLocation.altitude, location.gpsLocation.speed, 243 location.gpsLocation.bearing, location.gpsLocation.accuracy, 244 location.gpsLocation.timestamp, location.rawDataSize, 491 getWwanZppFix(GpsLocation & zppLoc) 495 getBestAvailableZppFix(GpsLocation & zppLoc [all...] |
/hardware/qcom/gps/msm8996/core/ |
LocApiBase.cpp | 240 location.gpsLocation.flags, location.position_source, 241 location.gpsLocation.latitude, location.gpsLocation.longitude, 242 location.gpsLocation.altitude, location.gpsLocation.speed, 243 location.gpsLocation.bearing, location.gpsLocation.accuracy, 244 location.gpsLocation.timestamp, location.rawDataSize, 490 getWwanZppFix(GpsLocation& zppLoc) 494 getBestAvailableZppFix(GpsLocation& zppLoc [all...] |
/hardware/qcom/gps/msm8998/core/ |
LocApiBase.cpp | 241 location.gpsLocation.flags, location.position_source, 242 location.gpsLocation.latitude, location.gpsLocation.longitude, 243 location.gpsLocation.altitude, location.gpsLocation.speed, 244 location.gpsLocation.bearing, location.gpsLocation.accuracy, 245 location.gpsLocation.timestamp, location.rawDataSize,
|
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
LocApiRpc.cpp | 700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; 701 location.gpsLocation.latitude = location_report_ptr->latitude; 702 location.gpsLocation.longitude = location_report_ptr->longitude; 707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; 713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; 714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; 721 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; 722 location.gpsLocation.speed = sqrt(location_report_ptr->speed_horizontal * location_report_ptr->speed_horizontal + 729 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; 730 location.gpsLocation.bearing = location_report_ptr->heading [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
LocApiRpc.cpp | 700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; 701 location.gpsLocation.latitude = location_report_ptr->latitude; 702 location.gpsLocation.longitude = location_report_ptr->longitude; 707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; 713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; 714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; 721 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; 722 location.gpsLocation.speed = sqrt(location_report_ptr->speed_horizontal * location_report_ptr->speed_horizontal + 729 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; 730 location.gpsLocation.bearing = location_report_ptr->heading [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
LocApiRpc.cpp | 700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; 701 location.gpsLocation.latitude = location_report_ptr->latitude; 702 location.gpsLocation.longitude = location_report_ptr->longitude; 707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; 713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; 714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; 720 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; 721 location.gpsLocation.speed = location_report_ptr->speed_horizontal; 727 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; 728 location.gpsLocation.bearing = location_report_ptr->heading [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
LocApiRpc.cpp | 700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; 701 location.gpsLocation.latitude = location_report_ptr->latitude; 702 location.gpsLocation.longitude = location_report_ptr->longitude; 707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; 713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; 714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; 721 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; 722 location.gpsLocation.speed = sqrt(location_report_ptr->speed_horizontal * location_report_ptr->speed_horizontal + 729 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; 730 location.gpsLocation.bearing = location_report_ptr->heading [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
LocApiRpc.cpp | 700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; 701 location.gpsLocation.latitude = location_report_ptr->latitude; 702 location.gpsLocation.longitude = location_report_ptr->longitude; 707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; 713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; 714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; 720 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; 721 location.gpsLocation.speed = location_report_ptr->speed_horizontal; 727 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; 728 location.gpsLocation.bearing = location_report_ptr->heading [all...] |
/hardware/qcom/gps/msm8998/gnss/ |
GnssAdapter.cpp | [all...] |
/hardware/qcom/gps/msm8960/core/ |
gps_extended_c.h | 44 /** GpsLocation has valid "is indoor?" flag */ 46 /** GpsLocation has valid floor number */ 48 /** GpsLocation has valid map URL*/ 50 /** GpsLocation has valid map index */ 68 GpsLocation gpsLocation;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
LocationManagerTest.java | 115 Location gpsLocation = new Location(GPS_PROVIDER); 118 shadowLocationManager.setLastKnownLocation(GPS_PROVIDER, gpsLocation); 121 assertSame(locationManager.getLastKnownLocation(GPS_PROVIDER), gpsLocation);
|
/hardware/qcom/gps/msm8084/core/ |
gps_extended_c.h | 44 /** GpsLocation has valid "is indoor?" flag */ 46 /** GpsLocation has valid floor number */ 48 /** GpsLocation has valid map URL*/ 50 /** GpsLocation has valid map index */ 84 GpsLocation gpsLocation;
|