Update gnss-base.h
Test: pass Bug: 33541458 Change-Id: Ib22daeddbd1de79210ff6f356ea4465b920bfe74
This commit is contained in:
parent
c222f7f6f2
commit
364ed97bc0
2 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
// This file is autogenerated by hidl-gen. Do not edit manually.
|
||||
// Source: android.hardware.gnss@1.0
|
||||
// Root: android.hardware:hardware/interfaces
|
||||
|
||||
#ifndef HIDL_GENERATED_ANDROID_HARDWARE_GNSS_V1_0_EXPORTED_CONSTANTS_H_
|
||||
#define HIDL_GENERATED_ANDROID_HARDWARE_GNSS_V1_0_EXPORTED_CONSTANTS_H_
|
||||
|
@ -27,7 +28,10 @@ enum {
|
|||
GPS_LOCATION_HAS_ALTITUDE = 2, // 0x0002
|
||||
GPS_LOCATION_HAS_SPEED = 4, // 0x0004
|
||||
GPS_LOCATION_HAS_BEARING = 8, // 0x0008
|
||||
GPS_LOCATION_HAS_ACCURACY = 16, // 0x0010
|
||||
GPS_LOCATION_HAS_HORIZONTAL_ACCURACY = 16, // 0x0010
|
||||
GPS_LOCATION_HAS_VERTICAL_ACCURACY = 32, // 0x0020
|
||||
GPS_LOCATION_HAS_SPEED_ACCURACY = 64, // 0x0040
|
||||
GPS_LOCATION_HAS_BEARING_ACCURACY = 128, // 0x0080
|
||||
};
|
||||
|
||||
enum {
|
||||
|
@ -132,6 +136,7 @@ enum {
|
|||
GNSS_SV_FLAGS_HAS_EPHEMERIS_DATA = 1, // (1 << 0)
|
||||
GNSS_SV_FLAGS_HAS_ALMANAC_DATA = 2, // (1 << 1)
|
||||
GNSS_SV_FLAGS_USED_IN_FIX = 4, // (1 << 2)
|
||||
GNSS_SV_FLAGS_HAS_CARRIER_FREQUENCY = 8, // (1 << 3)
|
||||
};
|
||||
|
||||
enum {
|
||||
|
@ -176,6 +181,7 @@ enum {
|
|||
GNSS_MEASUREMENT_HAS_CARRIER_CYCLES = 1024u, // (1 << 10)
|
||||
GNSS_MEASUREMENT_HAS_CARRIER_PHASE = 2048u, // (1 << 11)
|
||||
GNSS_MEASUREMENT_HAS_CARRIER_PHASE_UNCERTAINTY = 4096u, // (1 << 12)
|
||||
GNSS_MEASUREMENT_HAS_AUTOMATIC_GAIN_CONTROL = 8192u, // (1 << 13)
|
||||
};
|
||||
|
||||
enum {
|
||||
|
@ -200,6 +206,8 @@ enum {
|
|||
GNSS_MEASUREMENT_STATE_GAL_E1C_2ND_CODE_LOCK = 2048u, // (1 << 11)
|
||||
GNSS_MEASUREMENT_STATE_GAL_E1B_PAGE_SYNC = 4096u, // (1 << 12)
|
||||
GNSS_MEASUREMENT_STATE_SBAS_SYNC = 8192u, // (1 << 13)
|
||||
GNSS_MEASUREMENT_STATE_TOW_KNOWN = 16384u, // (1 << 14)
|
||||
GNSS_MEASUREMENT_STATE_GLO_TOD_KNOWN = 32768u, // (1 << 15)
|
||||
};
|
||||
|
||||
enum {
|
||||
|
|
|
@ -60,6 +60,7 @@ __BEGIN_DECLS
|
|||
#define GNSS_NAVIGATION_MESSAGE_TYPE_GPS_L2CNAV GNSS_NAVIGATION_MESSAGE_TYPE_GNSS_L2CNAV
|
||||
#define GNSS_NAVIGATION_MESSAGE_TYPE_GPS_L5CNAV GNSS_NAVIGATION_MESSAGE_TYPE_GNSS_L5CNAV
|
||||
#define GNSS_NAVIGATION_MESSAGE_TYPE_GPS_CNAV2 GNSS_NAVIGATION_MESSAGE_TYPE_GNSS_CNAV2
|
||||
#define GPS_LOCATION_HAS_ACCURACY GPS_LOCATION_HAS_HORIZONTAL_ACCURACY
|
||||
|
||||
/**
|
||||
* The id of this module
|
||||
|
|
Loading…
Reference in a new issue