Use bitfield type in GNSS HAL.
Test: mma
Change-Id: I92acf537a489fb06d942d3aa19ec9f40ffe26c23
diff --git a/gnss/1.0/IGnssMeasurementCallback.hal b/gnss/1.0/IGnssMeasurementCallback.hal
index cc34c91..9685942 100644
--- a/gnss/1.0/IGnssMeasurementCallback.hal
+++ b/gnss/1.0/IGnssMeasurementCallback.hal
@@ -116,7 +116,7 @@
* A set of flags indicating the validity of the fields in this data
* structure.
*/
- GnssClockFlags gnssClockFlags;
+ bitfield<GnssClockFlags> gnssClockFlags;
/*
* Leap second data.
@@ -272,7 +272,7 @@
* A set of flags indicating the validity of the fields in this data
* structure.
*/
- GnssMeasurementFlags flags;
+ bitfield<GnssMeasurementFlags> flags;
/*
* Satellite vehicle ID number, as defined in GnssSvInfo::svid
@@ -306,7 +306,7 @@
*
* This is a mandatory value.
*/
- GnssMeasurementState state;
+ bitfield<GnssMeasurementState> state;
/*
* The received GNSS Time-of-Week at the measurement time, in nanoseconds.
@@ -430,7 +430,7 @@
*
* This is a mandatory value.
*/
- GnssAccumulatedDeltaRangeState accumulatedDeltaRangeState;
+ bitfield<GnssAccumulatedDeltaRangeState> accumulatedDeltaRangeState;
/*
* Accumulated delta range since the last channel reset in meters.