Loc cfg parsing routines assuming that string buffer size is
LOC_MAX_PARAM_STRING. Changes are to make sure that
caller to loc cfg routine does use that buffer of size
LOC_MAX_PARAM_STRING.
Change-Id: Icecf6bf017e6dda1da0766adc746f60d471653d0
CRs-fixed: 2301437
We should carefully modify unordered_set when traversing it.
Update the iterator with the return value of erase function.
Change-Id: I777f42b077502f617a513128db9a4f3b7c9a322c
CRs-Fixed: 2288358
GNSS_NI_RESPONSE_IGNORE inaverdently mapped to NO_RESPONSE,
which is a different reponse code. The two should be handled
differently.
Bug: 111770241
CRs-Fixed: 2296845
Change-Id: If2697f51c07a0272841709bfca247daaa4e963b6
Add support of older (shorter) version of PQWME
strings from modem. Systemstatus currently discards
those shorter strings. This change is to fill out
all zeros in those missing fields instead of
discarding the whole sentence.
Change-Id: I31c42b6de53c3002f598cfd815304086bba056f9
CRs-Fixed: 2153513
set SENSOR_CONTROL_MODE to MODEM_DEFAULT to make INS
use its default setting.
remove SENSOR_PROVIDER and SENSOR_USAGE.
Change-Id: I99d48d4600a6bca8e64ae0d1ff065af762888b2e
CRs-Fixed: 2285242
When engine hub is loaded, e.g.: if any of the
engine services are enabled in izat.conf, position
filtering is skipped and all position (valid or
invalid) will be reported to requesting client
Change-Id: Idc340478c977d8da441211d4c81580987b0f4a29
CRs-fixed: 2290155
Direct delete of the API obj on caller thread could result
in a race condition that caller still has close() or other
handling running at the same time the API object is being
or already deleted.
CRs-Fixed: 2275383
Change-Id: I5d3de204befec3c22c73cece8516e90800abbd35
ODCPI timer is modified to match location
request duration that was changed from 30s
to 10s in frameworks.
Change-Id: If1380635b0b87d55bf9a00197b806b3de48b6f4f
CRs-fixed: 2282588
ro.lean property is no longer used, so remove
reading logic of this property. If ro.lean is
added in the future, it will need vendor prefix.
Change-Id: I6b5e891f6d59c0809f9136541bbfb6696cbf4d5a
CRs-fixed: 2282702
Prevent more than one ODCPI request into
frameworks each 30 seconds.
Request ODCPI every 30 seconds while modem
is actively requesting it
Allow location injections for ODCPI even
outside ODCPI session.
Emergency ODCPI requests override normal ODCPI
requests
Change-Id: Ie2de6a5d42e749fce2e45cd672fc1d667b3f3347
CRs-fixed: 2246658
hal daemon
Move hal daemon socket creation to loc_client directory
Define uid/gid for locclient
CRs-Fixed: 2260194
Change-Id: Icaac885c19cd65b11254bb93b6a938b2d4595761
The event mask can be retrieved in the context of
client thread as zero and then queued up to go to
msg task thread. By the time the msg is actually
handled in msg task thread, the actual event
mask at LOC API layer may have already changed, but
this mask would then be overridden by zero. This
can cause no modem events to ever come, including
position reports.
The fix is to not retrieve the event mask in the
client thread, but instead wait for msg to be
handled in msg task thread before retrieving it.
Change-Id: I48562d028bbfa187732686c060b5cdd62c6d5a89
CRs-fixed: 2219519
GNSS adapter to block CPI injection for CPI originates from modem.
One source of the fix is QNP fix from modem. Only fixes that
comes within time threshold and with latitude and longitude
falls within the same proximity will be blocked.
Change-Id: If67a164d1e1c75735979f048a9f8dc93f0b0a41f
CRs-fixed: 2260721
Returning false for HIDL Set Blacklist
API when a GPS constellation SV is
passed in for blacklisting.
Change-Id: I4fdaf226111d9db365af11c0e5bb6fa043c0b6fb
CRs-Fixed: 2234230
Add a getLocationOptions() function in TrackingOptions to
return the LocationOptions object data associated with this
class. This is for use in client_api and location-hal-daemon.
Change-Id: Id725e1961dc390b8dac908575bb1686b16756057
CRs-Fixed: 2270936