Returning false for HIDL Set Blacklist
API when a GPS constellation SV is
passed in for blacklisting.
Change-Id: I4fdaf226111d9db365af11c0e5bb6fa043c0b6fb
CRs-Fixed: 2234230
Eliminated time valid dependency when processing
PQWM1 message to get AGC
Bug: 110460486
Change-Id: I962272a749599db7a9dc84e00da9e1152686c366
CRs-fixed: 2267159
For the case the modem sends a close request for
the same connection handle do not process the
request and do not ACK to the modem
CRs-fixed: 2269123
Change-Id: I027c3e79965bb0f9ab311093904e6dded1aa5d03
These are the fields populated:
North, East, Up velocity and their uncertainties
North and East standard deviation
Gps Time, Leap Sec and time uncertainty
Gps Measurement usage info
CRs-Fixed: 2249350
Change-Id: I8936b1c47be25fdc792322592f8ea5466a3fa6fd
Support for uncertainty of positition dynamics, including
uncertainty of forward, sideward, upward accelation,
and uncertainty of heading and pitch
Change-Id: I33fbfd0344d4beb7eabaa629b0c0993fe368293b
CRs-fixed: 2263818
Support of features AGPM or Constellation Control
mean that we report yearOfHW as 2018
Change-Id: I01b7a3ce7f8b38569cf419cf07fef1d55da5f149
CRs-fixed: 2254698
Adding enhancement to ATL messages to allow
sending bearer type and apn type mask values.
CRs-fixed: 2206014
Change-Id: I28f6583d842e82c9e26d40be55312f8aaf01193e
These are the fields populated:
North, East, Up velocity and their uncertainties
North and East standard deviation
Gps Time, Leap Sec and time uncertainty
Gps Measurement usage info
CRs-Fixed: 2249350
Change-Id: I8936b1c47be25fdc792322592f8ea5466a3fa6fd
Add the spoof mask report in location object
in position report and ZPP position report in
LocApiV02. Propagate this mask to the location
object in Location API module.
Change-Id: I5df87d389d5315c55ed2afce1f440a0486e4bebd
CRs-fixed: 2236154
Add AGC value for QZSS measurement report
to Android framework - value is the same as GPS
Change-Id: I1e3106d99d124945be7f1bda725a413be11a75e6
CRs-fixed: 2245786
Adding enhancement to ATL messages to allow
sending bearer type and apn type mask values.
CRs-Fixed: 2209227
Change-Id: I09a294946610f26de4760a0fba6f13083f8752f3
There are a couple of issues. NetworkInfoDataItemBase
objects might be from OsAgent or GnssLocationProvider.
The two sources actually have mTypes defined differently.
In addtion, when there are different types of connections
such as wifi / mobile, getting connected / disconnected
independently, clients need to be all notified correctly.
Right now, if mConnected hasn't changed, no updates are
send. For exmple, if mobile is connected, later wifi
gets connected too, clients won't know.
SystemStatus is also updated to get updated / colated
informtion. In the above example, SystemStatus's top
record would record as both mobile and wifi are connected.
Change-Id: I1825902247fe1d4e6363f5e24a75be7e984d0dc4
CRs-Fixed: 2221114
There are a couple of issues. NetworkInfoDataItemBase
objects might be from OsAgent or GnssLocationProvider.
The two sources actually have mTypes defined differently.
In addtion, when there are different types of connections
such as wifi / mobile, getting connected / disconnected
independently, clients need to be all notified correctly.
Right now, if mConnected hasn't changed, no updates are
send. For exmple, if mobile is connected, later wifi
gets connected too, clients won't know.
SystemStatus is also updated to get updated / colated
informtion. In the above example, SystemStatus's top
record would record as both mobile and wifi are connected.
Change-Id: I1825902247fe1d4e6363f5e24a75be7e984d0dc4
CRs-Fixed: 2221114
Include intermediate location fix info in gnss
debug report that is cached in SystemStatus in
addition to final fixes, so that the gnss debug
report should always hold the latest information.
Change-Id: I60aef92cf6d143a1b4f4b510ca2113887d051dcc
CRs-Fixed: 2230415
Include intermediate location fix info in gnss
debug report that is cached in SystemStatus in
addition to final fixes, so that the gnss debug
report should always hold the latest information.
Change-Id: I60aef92cf6d143a1b4f4b510ca2113887d051dcc
CRs-Fixed: 2230415
1. LocApiBase to create its own MsgTask thread to allow QMI calls
to be made asynchronously. It shall no longer share the adapter's thread.
2. Implementation of new LocApiResponse classes for generic response type
from LocApi layer to Adapter layers
3. GnssAdapter modified to handle the asynchronous nature of LocApi calls.
CRs-Fixed: 2218658
Change-Id: I6e401a89f16791ec144763ac5f070b7ee1dad931
1: GNSS adapter change to block out position and SV report from
ULP when engine hub aggregator is used
2: Support unpropagated position report
Change-Id: Id0cacd87d3f3f8eec893d751b9f7a55a736a4023
CRs-fixed: 2210253
1. LocApiBase to create its own MsgTask thread to allow QMI calls
to be made asynchronously. It shall no longer share the adapter's thread.
2. Implementation of new LocApiResponse classes for generic response type
from LocApi layer to Adapter layers.
3. GnssAdapter modified to handle the asynchronous nature of LocApi calls.
CRs-Fixed: 2218658
Change-Id: I6e401a89f16791ec144763ac5f070b7ee1dad931
1: GNSS adapter change to block out position and SV report from
ULP when engine hub aggregator is used
2: Support unpropagated position report
Change-Id: Id0cacd87d3f3f8eec893d751b9f7a55a736a4023
CRs-fixed: 2210253
Map velocity and system time fields from GpsLocationExtended to
GnssLocationInfoNotification
Change-Id: If53575213de575ad71b68018beb8c3f5fd587bcf
CRs-fixed: 2184592
(1) allow engine hub to be able to receive connectivity
status update
(2) fix kw warning in LocIpc.h
Change-Id: I62ac534639003051a8992c143ff273d5ff66ee5a
CRs-fixed: 2198446
Change default values for accuracies and
uncertainties in GNSS Debug Data to non-
zero constant values.
Bug: 72753638
Change-Id: I075b364ed81c8a466b062ab4d5381c3d4ece1ea6
CRs-Fixed: 2185247
Match the output of izat_remote_api clients with LocationAPI clients.
Fill GnssLocationInfoNotification with missing fields from
GpsLocationExtended and Location structure. And allow one single
callback to report complete position info. Meanwhile, remove fields
from UlpLocation that are no longer used.
CRs-fixed: 2169738
Change-Id: Ib5bd3dd9c065c4b3d6cad32b23167546ad950d06
separated utils, core, ds and loc-api-v02 from loc-hal into their
own independent packages; simplified loc-pla; moved pla to the
root of project; removed loc-stub.
Change-Id: I373f02f9306646addf55ae90d71c4ba8e3741d09
CRs-Fixed: 2172544
For startListeningNoBlocking, for callers that need to know
when the socket is actually being created and ready to receive
message, this change allows callback to be invoked when socket
is ready.
Change-Id: Ie7c6eb1a3966371d84fc98109f07805ac7d4e3a1
CRs-fixed: 2169568
Delete aiding data command would trigger default gnss engine state set.
Rename setDeafultReport with setDefaultGnssEngineStates and remove system
settings reset in it.
Change-Id: I7b5dffe3191b24e9f5bb6d887705fca34ed94013
CRs-fixed: 2151350
Fix incorrect cast in converting time uncertainty
from integer based source to float.
Change-Id: Ibb75eb1a2d925a7e7ce13275f09a618f241c31bf
CRs-Fixed: 2157401
Keep record of whether connection status was reported
and report it in the response status
CRs-Fixed: 2126610
Change-Id: I284f53c71f1131a73eed0adaf00b66f04e4100ac
Crash was happening because a local structure was being
passed over by reference to the MsgTask, as a result
data was being read and saved from the reference when
the local structure was already out of scope.
CRs-Fixed: 2124083
Change-Id: Ifb24652d5b665a47b8ae88f43dd86876274a28cf
added register and unregister apis of a callback
that listens to XTRA client throttle enablement commands.
Change-Id: Id50e7311516593018113203b5dfa700f0fdc037b
CRs-fixed: 2092629
this patch contains the following changes:
1. added header and implemenation files of socket util apis
in libgps.utils; 2. updated XtraSystemStatusObserver to use
the new apis; 3. added HAL socket and new thread to listen to it.
Change-Id: If1f6b4b4d6ea2d03640f68e96f0286300404f42b
CRs-fixed: 2108635
If AGPS initialization is split across multiple
messages on the msgTask, it causes other other
commands to seep in before the initialization can complete.
To avoid this the initialization must be completed in one message.
Also includes some cleanup on AGPS initializations.
CRs-Fixed: 2111399
Change-Id: Id61ceeb12d5781764b42ff9d1868884537ca8d90
The "type" needs to maintain as signed, in case some value
may come across as negative, even though the storage size
may vary, from 8-bit to 32-bit, for example.
Bug: 65164961
Change-Id: Ieb3fb4b6f8415444bbe192a7875093f86a9c3068
CRs-Fixed: 2106350
On init of GnssAdapter, SUPL_HOST and SUPL_PORT are set to
modem if the configs are set in gps.conf.
Change-Id: I079879adf31022cfbf0098da8dba3bb86feed069
CRs-Fixed: 2110547
Call LocNetIfaceAgps_getStatusCb implemented in libloc_net_iface.so,
use the return function as default agps status callback.
Change-Id: I4d966a888e312c2d0fb1a6c9e30752294876e500
CRs-Fixed: 2064002
Transition of base DataConcreteType class to HAL, so that modules
in HAL can access the members of DataItem class.
Change-Id: Ib3b60992cf35a52b601117d5d18761d759f31b86
CRs-Fixed: 2104384
Interfacing LocnetIface with Xtra client for wwan/supl call
setup and teardown.
- XtraSystemStatusObserver must listen to connect/teardown wwan
call requests from xtra-daemon on the HAL side socket. This
request is then processed by libloc_net_iface module on LE.
- Caching the connect and disconnect backhaul requests received
before framework action request object is obtained.
Change-Id: I7cb6751efc64b27726b5d28be9a3df7b1bfb3d76
CRs-Fixed: 2092215
Use SystemStatusObserver to subscribe for dataitems in
XtraSystemStatusObserver.
Change-Id: Ib1828b9025c9c5bb5194a36014249472ed3f6f9e
CRs-Fixed: 2093290
Check if inaccuracy exceeds our tolerance
only when status is LOC_POS_TECH_MASK_SATELLITE
Change-Id: If45f2d8f5347f5b8a7df944dfa5b8071f6c2380a
CRs-Fixed: 2104827
Filter setServer, setPositionMode and startTracking commands
sent to modem unless change happens and optimize out modem
traffic hence.
Change-Id: I389af9c11784848045d2d3d5d3c799675a4b24be
CRs-Fixed: 2093253
Fixed missing conversion from radian to degree for
latitude and longitude values when generated from
PQWP2 debug NMEA info.
Bug: 64808400
Change-Id: I30c65f309c2cd209090cc45d9da1764d05a85c7b
CRs-Fixed: 2095295
Fix compilation errors in LE for changes in adding
DataItemObserver interface in SystemStatus.
Change-Id: I7f2987672818d9f4ff9db801b55ade6fcdfd9a7d
CRs-Fixed: 2081242
ATL Close response should not be sent if client
has wait for close complete flag set to true.
Change-Id: I61164508e532cd8c65dff13387122c9d2c08af54
CRs-Fixed: 2089888
Passing correct LPPe parameters to modem for SRN
AP measurement and Sensor Baro measurements.
Change-Id: Id56f9bf050df82444a8698cad7cda85b4e9fbe78
CRs-Fixed: 2092158
Add DataItemObserver interface in SystemStatus so
that clients can subscribe dataitem events from
SystemStatus. Also moving DateItem and its observer,
subscription classes into HAL
Simplify DataItem class implementation.
Change-Id: I7b2c3fc9dcf67dd6132bbcccda874e3f7ed6fa94
CRs-Fixed: 2041019 2072896
They are currently in LocApiv02, which is incorrect. SystemStatus
shouldn't be referenced at this layer. And both of these two calls
are specific to GnssAdapter use cases too.
Change-Id: I7098e3963be163199a833a8fb6b12a100405f71e
CRs-Fixed: 2090442
Do not report invalid locatin to HAL.
Generate empty NEMA when status is LOC_SESS_FAILURE.
Bug: 64286361
CRs-Fixed: 2087261
Change-Id: Id5c47052eef5cae951c020fa8061e2c761c1152d
Location capabilities can change when
suplmode is updated, but we need to send
the capabilites callback to all clients
with the new capabilities when suplmode
changes.
Change-Id: Ib7c9b5ef13259fe9305b3efbb03db3433ed26675
CRs-Fixed: 2079414
Add / Modify Location API for
Outdoor Trip Batching feature.
Introduce a batch mode to differentiate
between routine and outdoor trip mode.
CRs-Fixed: 2041674
Change-Id: Ia8b2d34457b29c4fe754ab24287a6984ab9a96f5
Add capability bit for Nmea Debug, which
is a marker for modem support of concurrent
emergency supl session and normal gps session.
CRs-fixed: 2068217
Change-Id: Iea1ee7b56bfdd28643928edf0475cf21257de64c
1. Validity bit for vertical uncertainity was conflicting
with the validity bit of location source, hence had
to change the bit.
2. Modify ZPP API to report speed and bearing accuracy.
CRs-Fixed:2064017
Change-Id: I8b09ecab3d67557ad7c2451fee71dbc0e1f14371
Fixed incorrect sv id offset for adb bugreport.
Ephemeris type, source and age information of BDS,
GAL and QZSS reported through PQWPE7 NMEA are
incorrectly mapped to adb bugreport.
Bug: 63178209
Change-Id: I9f4b7942adadda8949e040ee59bed9c027e080c2
CRs-Fixed: 2073107
Avoid setting debug NMEA bit of QMI_LOC_SET_
NMEA_TYPES_REQ message when the feature is
unsupported.
Change-Id: I999654f627eac68042597ee51aff81e8588bfa9b
CRs-Fixed: 2072961
GnssStatusTest test case is expecting to QZSS SV id as it is
(193 <= X <= 200) for this test case.
Change-Id: I8ba234fb02be7c09b8273238c0842d4826a12424
CRs-Fixed: 2070493
Replace copying header files to out folder
for use by other modules to instead build
headers into separate libraries that end
with _headers that can be used by other
modules.
Change-Id: I073967cd34e5c79110895908a4eef1b7d17bf9ea
CRs-fixed: 2068129
Adding priority flags while registering NI
handling callback and AGPS handling callback.
To ensure that both NI and AGPS are always
handled by our stack instead of Android
Framework stack.
CRs-Fixed: 2059476
Change-Id: I585328491a7f5d9099287924a03d7710f4e5fda9
Instead of sending session status as failure in LocApiV02 in case
of both latitude/longitude 0 and horizontal reliability not set,
for sending Blank NMEA sentences, the condition check for the same
is done in before requesting to send nmea sentence.
Change-Id: I359d136a8da9d9fe233e599eb2cba71e4509b270
CRs-Fixed: 2058269
Fix SUPL mode, GPS lock, and GNSS Ni options to be
treated like bit masks instead of values.
Rename some enums of bit masks with _BIT as convention.
Change-Id: I036b682ca3472159304ef569ff67d28dc94f644e
CRs-fixed: 2039308
When sub system restart occurs, restarting gps tracking
should be sent directly to Loc API instad of going
through ULP.
Change-Id: I6309eeee3670b3d7fa484f74f96ea9a2848f7bb1
CRs-fixed: 2056783
Call locAPIUpdateTrackingOptions in gnssSetPositionMode.
Update tracking options should update the tracking
sessions so that the smallest interval options are
set.
Change-Id: I24cefe4fb711a160d0a72ab7592d8e673ea2dd97
CRs-fixed: 2048231
Add an API to set default report data cached in
systemstatus. Call this API when delete all
aiding data is requested, so that bugreport
has all default values.
Bug: 62068956
Change-Id: I76d661c6a89a1644aef2a8f47253ce9cc0d727fb
CRs-Fixed: 2054705
Updating AgpsSubscriber constructor to ensure clone
operation copies the entire state
Change-Id: Id016994efd8cb1140af8d5ee05eace95922f246b
CRs-Fixed: 2039863
Remove SV used_in_fix flag setting based on EPH / ALM / SNR info
during SV report. The SVs should not be used_in_fix when there is
no fix.
Change-Id: Iaed8ade8073446023348017ba133efcd7445a331
CRs-Fixed: 2043724
Fix SVids and timestamps shown in adb bugreport to
align with Android standard.
Change-Id: Ib166b09f1d63f7a93d53798dbb188fec0d77e88a
CRs-Fixed: 2042937
Add zero clearing of allocated nmea buffer to ensure
the nmea string is null terminated.
Change-Id: Ie36010a7d3eca16dabb3067ae891a94e4b63b10c
CRs-Fixed: 2041933
Registering Server Connection event mask with
Modem when AGPS Init is recevied from framework.
Change-Id: I70ee1bef79d23ada44f13d71378a4fb64d69ce84
CRs-Fixed: 2033863
Add ephemeris detail info in Gnss Debug interface. This new info
also comes up in NMEA stings. Requires a new QMI_LOC interface
that supports extended NMEA string TLV.
Change-Id: I5dc566fb210c06a443ed6c27e064377851ce83a5
CRs-Fixed: 2024594
Adding an empty check for gnss time information before
generating a gnss bugreport to avoid null object access.
Bug: 37259715
Change-Id: Ic507acbcc8b5949c4304ad76a3032add5893d099
CRs-Fixed: 2032932
It is possible that when GnssAdapter first sets capabilities
on ulp proxy, it is just a dummy. So it is necessary to do
this when there is a new ulp proxy project received.
Change-Id: Iee033bd780c132f7bcc2d98b5b2091ce9c9a2410
CRs-Fixed: 2032088
Checking in GnssAdapter::reportNmeaEvent to see if the
incoming nmea is debug, in which case we do not route
that to ULP. Debug NMEA is only for SystemStatus
consumption.
Change-Id: Ifb60b9a643ad6aeb732fcaf5a68f868cb55cd88a
CRs-Fixed: 2027134
NMEA generation logic needs to be reused across the
interface boundaries. Moved this logic inside utils.
Change-Id: Icb5c6fbc38b178c5edea468d26286e21749bfbfb
CRs-Fixed: 1098734
When AP generates NMEA, we need call the right function
to forward the sentence to Adapter and then to framework.
Change-Id: I537c19f900b7d72ec38dc29b789329c52c0b2811
CRs-Fixed: 2023810