Merge "Create gatekeeper profiling test."
diff --git a/gnss/1.0/types.hal b/gnss/1.0/types.hal
index 7d7b427..ea104c5 100644
--- a/gnss/1.0/types.hal
+++ b/gnss/1.0/types.hal
@@ -37,11 +37,24 @@
GALILEO = 6,
};
+/** Bit mask to indicate which values are valid in a GnssLocation object. */
+enum GnssLocationFlags : uint16_t {
+ /** GnssLocation has valid latitude and longitude. */
+ HAS_LAT_LONG = 0x0001,
+ /** GnssLocation has valid altitude. */
+ HAS_ALTITUDE = 0x0002,
+ /** GnssLocation has valid speed. */
+ HAS_SPEED = 0x0004,
+ /** GnssLocation has valid bearing. */
+ HAS_BEARING = 0x0008,
+ /** GnssLocation has valid accuracy. */
+ HAS_ACCURACY = 0x0010
+};
+
/* Represents a location. */
struct GnssLocation {
/* Contains GnssLocationFlags bits. */
- // TODO bitfield?
- uint16_t gnssLocationFlags;
+ bitfield<GnssLocationFlags> gnssLocationFlags;
/* Represents latitude in degrees. */
double latitudeDegrees;
@@ -65,5 +78,4 @@
/* Timestamp for the location fix. */
GnssUtcTime timestamp;
-
};
diff --git a/soundtrigger/2.0/vts/functional/vts/testcases/hal/soundtrigger/hidl/target/HalSoundTriggerHidlTargetBasicTest.config b/soundtrigger/2.0/vts/functional/vts/testcases/hal/soundtrigger/hidl/target/HalSoundTriggerHidlTargetBasicTest.config
index 7558911..5c12d13 100644
--- a/soundtrigger/2.0/vts/functional/vts/testcases/hal/soundtrigger/hidl/target/HalSoundTriggerHidlTargetBasicTest.config
+++ b/soundtrigger/2.0/vts/functional/vts/testcases/hal/soundtrigger/hidl/target/HalSoundTriggerHidlTargetBasicTest.config
@@ -7,35 +7,35 @@
"git_project": {
"name": "platform/vendor/lge/bullhead",
"path": "vendor/lge/bullhead"
- },
+ }
},
{
"module_name": "system/lib/hw/sound_trigger.primary.angler",
"git_project": {
"name": "platform/vendor/huawei/angler",
"path": "vendor/huawei/angler"
- },
+ }
},
{
"module_name": "system/lib/hw/sound_trigger.primary.marlin",
"git_project": {
"name": "platform/vendor/google_devices/marlin",
"path": "vendor/google_devices/marlin"
- },
+ }
},
{
"module_name": "system/lib/hw/sound_trigger.primary.sailfish",
"git_project": {
"name": "platform/vendor/google_devices/marlin",
"path": "vendor/google_devices/marlin"
- },
+ }
},
{
"module_name": "system/lib/hw/android.hardware.soundtrigger@2.0-impl",
"git_project": {
"name": "platform/hardware/interfaces",
"path": "hardware/interfaces"
- },
- },
+ }
+ }
]
}