summaryrefslogtreecommitdiff
path: root/location/LocationAPI.h
diff options
context:
space:
mode:
authorKatz Yamada <kyamada@codeaurora.org>2017-05-18 11:00:17 -0700
committerKatz Yamada <kyamada@codeaurora.org>2017-05-18 11:00:17 -0700
commite3d70314b0001d54c4ad45e489ef905ffab65da5 (patch)
tree38f9cf9b94b564ae30698b807682f10b4771d783 /location/LocationAPI.h
parent9546df29652cdd0583db7cce840e9c620fb9a8db (diff)
downloadgps-e3d70314b0001d54c4ad45e489ef905ffab65da5.tar.gz
Fix for incorrect SVids and timestamps in bugreport
Fix SVids and timestamps shown in adb bugreport to align with Android standard. Change-Id: Ib166b09f1d63f7a93d53798dbb188fec0d77e88a CRs-Fixed: 2042937
Diffstat (limited to 'location/LocationAPI.h')
-rw-r--r--location/LocationAPI.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/location/LocationAPI.h b/location/LocationAPI.h
index 88b1554..88ce5f1 100644
--- a/location/LocationAPI.h
+++ b/location/LocationAPI.h
@@ -39,6 +39,13 @@
#define GNSS_MEASUREMENTS_MAX 64
#define GNSS_UTC_TIME_OFFSET (3657)
+#define GNSS_BUGREPORT_GPS_MIN (1)
+#define GNSS_BUGREPORT_SBAS_MIN (120)
+#define GNSS_BUGREPORT_GLO_MIN (1)
+#define GNSS_BUGREPORT_QZSS_MIN (193)
+#define GNSS_BUGREPORT_BDS_MIN (1)
+#define GNSS_BUGREPORT_GAL_MIN (1)
+
typedef enum {
LOCATION_ERROR_SUCCESS = 0,
LOCATION_ERROR_GENERAL_FAILURE,
@@ -584,6 +591,7 @@ typedef struct {
double verticalAccuracyMeters;
double speedAccuracyMetersPerSecond;
double bearingAccuracyDegrees;
+ timespec mUtcReported;
} GnssDebugLocation;
typedef struct {