From 81f47db3f25e00ca7f2571c9211ce47d273d6f97 Mon Sep 17 00:00:00 2001 From: Wei Chen Date: Tue, 30 Apr 2019 15:02:43 -0700 Subject: GPS: add numSVUsedInFix in location api Add a count in location API for number of SV used in fix Change-Id: I3b396170948fa6c93a88d0fdcf17e28eff5ed5dc CRs-fixed: 2425599 --- gnss/GnssAdapter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnss/GnssAdapter.h') diff --git a/gnss/GnssAdapter.h b/gnss/GnssAdapter.h index 9720ba4..eb5a7e4 100644 --- a/gnss/GnssAdapter.h +++ b/gnss/GnssAdapter.h @@ -200,6 +200,8 @@ class GnssAdapter : public LocAdapterBase { const LocPosTechMask techMask); static void convertLocationInfo(GnssLocationInfoNotification& out, const GpsLocationExtended& locationExtended); + static uint16_t getNumSvUsed(uint64_t svUsedIdsMask, + int totalSvCntInThisConstellation); /* ======== UTILITIES ================================================================== */ inline void initOdcpi(const OdcpiRequestCallback& callback); -- cgit v1.2.3