GnssAdatper::requestNiNotifyEvent function is not
overriding LocAdatperBase::requestNiNotigyEvent
because of slightly different parameters
Change-Id: Ib3e6b562c437e47fba2a086d47c887f2efce7637
CRs-fixed: 2027710
Generate --GSV sentences from SVs in view
instead of generate them from SVs used in fix
Change-Id: I1de113e86b987b6ea01b50d800e5e13e7277baff
CRs-Fixed: 2015049
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
The current logging macro always uses LOGE, which is
confusing to external developer looking at our logs.
Also changed LOC_LOGx definition to follow the same
syntax as that of LOC_LOGX.
Bug: 29499503
Change-Id: I803233a9d0b241bf9aeb2ee0d4bd2e7cc52ed75b
CRs-Fixed: 1113702
We need to handle the case where addGeofence returns
Null, which can happen on error conditions, like when
dlopen/dlsym libgeofence.so fails
Bug: 36407968
CRs-fixed: 2022286
Change-Id: Ib612d92b77cf5532ad19154c57ee0545674d88f9
Add BugReport support in SystemStatus. It exposes getReport
interface to GnssDebug via GnssAdapter. GnssDebug generates
Gnss' BugReport information upon a request tiggered by Android
framework.
Change-Id: I681777da10c860ea15ee65b7860a5ce61a7798db
CRs-Fixed: 2016125
Add GNSS SystemStatus component to handle debug NMEA messages
from mpss. This component handles GNSS debug info sent through
debug NMEA and then stores it in its cache and pass it to
clients per requests. Also debug NMEA is turned on by default.
Change-Id: Ia11a124ff43d27568f544a3a4742dd7a846869fe
CRs-Fixed: 1099152
Moving all vendor specific conf files to /vendor/etc instead of
current /etc folder
CRs-Fixed: 1099981
Change-Id: I4495d8527941959be0847c4722ea8b68ee6c87ee
Added sending the capabilities to hal clients
on every init, instead of only on the first init.
This is needed for the cases when the hal client
crashes and is trying to reinit.
Bug: 36182606
Change-Id: I9055d2319f1dc407b6de9627b4e66eb89f8ce9d1
CRs-fixed: 2019987
it appears some of the MsgTask msgs might fail
to create, ending up with a NULL pointer, in
which case when it gets received, dereferencing
a NULL pointer will happen, causing crash.
Change-Id: I5a4295b4fba9c8383754e2abe6558782b1b83143
CRs-Fixed: 1106034
Add comments for automotive configuration parameters and to
masurement status mask
Change-Id: Ia5e16e3044fa15ce15d6ce3c3534898cbd61ef03
CRs-Fixed: 1102724
Updating target derivation logic based on ro.baseband property.
There are new values which must be considered in the target
derivation logic.
Change-Id: I2e81ab00c107247dcb8f1a919136bb61b482e73c
CRs-Fixed: 1105916
Due to incorrect check for SVID for GNSS systems in location
engine ReportSv function, incorrect used_in_fix flag was set.
Modify the condition check to be based on the constellation
system ID, to set the used_in_fix flag.
Change-Id: Ic74583257c2925361dc68a9865cd80271167bf0c
CRs-Fixed: 1102862
To identify the target as MDM, we need to check for "/target"
node mdm targets instead of "/dev/mdm".
Change-Id: Ibb53acfd06a0a586f2cdca784f475d0a45718581
CRs-Fixed: 1101185
Default SUPL config bit was set to both
MSA and MSB (0x3), which is causing single shot
request to map to MSA mode always. Modem is not
reporting any position fix for MSA case.
Change-Id: I8a75f9970a0443c9cb22f73a631f85240fcc4519
CRs-Fixed: 1098896
when MsgTask::destroy() happens, msg_q_unblock() triggers
the running thread to come out from blocking state. A race
condition may happen such that that thread may complete
first, causing msgTask obj to be already deleted. A next
allocation may change the value at MsgTask::mThread. Then
when control comes back to destroy(), it may try to check
mThread and call delete on it to crash the program.
mThread is a heap obj, so it is possible to delete it after
the hosting msgTask obj is deleted. We just have to keep
its value on the stack before calling msg_q_unblock().
Change-Id: If15884815eea05fbfa523ec92aa300ed21ef897c
CR-Fixed: 1091530
need to remove get_process_name as it is removed
from libcutil. Call getprogname is available in
libc but not LE glibc. Implementing a simple call
wrapper.
Change-Id: I68244b9f7fcbc290222b074f80da03330315ea29
CRs-Fixed: 1080605