summaryrefslogtreecommitdiff
path: root/location/LocationAPIClientBase.cpp
AgeCommit message (Collapse)Author
2018-06-02FR 45623 - AGPM 1.0Saurabh Srivastava
Adding AGPM FR changes to add power modes support. CRs-Fixed: 2195518 Change-Id: Ifd1da6194b58ad5590ea755e3f6b237c4b4db2ad
2018-06-03FR 45651 - GNSS SV/Constellation ControlSaurabh Srivastava
Adding support for configuring GNSS SVs and constellations to be used. Change-Id: I47d5cd9d08ac9aaf633be2fe3b1bd152a2f4293b CRs-Fixed: 2184871
2018-04-04Merge location.lnx.3.0-180201 to location.lnx.3.9Dante Russo
Catchup merge from tag location.lnx.3.0-18201 CRs-fixed: 2212182 Change-Id: I47f5f9eb06cb6a6ee6be337a2dc43e0d2386113b
2018-03-16flp.conf should be read from /vendor/etc/Dante Russo
flp.conf was being read from incorrect path, which was causing GetBatchSize API to read incorrect batch size Change-Id: Ib95610e72157834fc731f35b67eb475dfe6af5a2 CRs-fixed: 2193052 Bug: 73251835
2018-03-02remove unused variables for compilationDante Russo
remove unsed variables and fix few compiler issues CRs-fixed: 2175735 Change-Id: I635a7503326928f43070aa2224bc3c3d6e1ff929
2018-01-16LE clean upKevin Tang
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
2017-11-03GetBatchedLocations is unsupported for Live Fix.Harikrishnan Hariharan
Return ERROR_NOT_SUPPORTED from LocationAPIClientBase when GetBatchedLocations is invoked by a Live fix session id, which has session mode of SESSION_MODE_ON_FIX. Change-Id: Ifc57d4d4b16288ed5ac7432da92cf39bfe989416 CRs-Fixed: 2137513
2017-10-25locAPIRemoveGeofences roolback to async result notificationKevin Tang
locAPIRemoveGeofences is rolled back to async result notification, using the RemoveGeofencesRequest, but using a new temporal bidict of sessions & ids, to avoid a previous race condition using the wrong id when removing and adding a geofence. Change-Id: Icd85373b82e620ea4059431f0c3d13c95f99ca3c CRs-fixed: 2132679
2017-10-10Fix support for batching without batch full eventDante Russo
Additional fixes: -fix issue where if StartTracking or StartBatching fails at QMI LOC layer, then the session is stuck and Tracking or Batching cannot be stoped or started again. -fix getBatchedLocation API to return an error if the id given is not valid, as caller will not get a response callback in this case. CRs-fixed 2118838 Change-Id: I389fc862836450f0081f6394c971b33614373841
2017-09-22locAPIRemoveGeofences now notify the result inmediatelyKevin Tang
locAPIRemoveGeofences is no longer waiting for the request response, instead it will always notify his callbacks with LOCATION_ERROR_SUCCESS if the provided id is found, or LOCATION_ERROR_ID_UNKNOWN if not. Change-Id: I602ad43bee894e85fde1e80210e6477b628e4a39 CRs-fixed: 2099450
2017-08-08Merge "Clean up compiler warning message"Linux Build Service Account
2017-08-04Merge "Prevent gps stuck on if multiple starts are called"Linux Build Service Account
2017-08-01Clean up compiler warning messageBaili Feng
CRs-Fixed: 2070597 Change-Id: Ic57f5211a4e4b9112888435d54df7a361bcb6767
2017-07-28Merge "KW Warning Fixes"Linux Build Service Account
2017-07-27Prevent gps stuck on if multiple starts are calledDante Russo
If framework happens to call start of session multiple times without calling stop first, it can cause a session to get stuck on without any way to stop it CRs-fixed: 2083756 Change-Id: Ic871d870ca67c9465438f8494e381bfbcb85a830
2017-07-27KW Warning FixesSaurabh Srivastava
CRs-Fixed: 2082072 Change-Id: I1189acd521d4e4cea3b8a9545a5486f29caaa0fe
2017-07-27Merge "Fix 2.9-rel compilation issues on LE"Linux Build Service Account
2017-07-24Location API for Outdoor Trip BatchingBhavna Sharma
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
2017-07-24Support multiple sessionsBaili Feng
Start more than one sessions by calling locAPIStartSession multiple times Change-Id: I1625faaab0f69fcb2700b6dbd695f59061c6a88d CRs-fixed: 2079631
2017-07-21Fix 2.9-rel compilation issues on LENaresh Munagala
Change-Id: I35b8da213e8830456c8652802941a418748bd5e9 CRs-Fixed: 2067662
2017-07-03Adding KW warning fixesSaurabh Srivastava
Change-Id: I03a09abdfc4224d59d3ddb467d0314e644fe4fe0 CRs-Fixed: 2062522
2017-06-27Split control apis to a separate classBaili Feng
Move control apis to LocationAPIControlClient. There should be only one instance of it per process. Change-Id: I5969e6b3ad45f3fc5bfe4f4cd543a077c540c3ea CRs-Fixed: 2064389
2017-06-21Reset RequestQueue instead of delete it.Baili Feng
Change the type of mRequestQueue from 'array of pointers' to 'array of instances'. So we can reuse them. CRs-fixed: 2050837 Change-Id: I362319ece38cf10ee7ae2278a89249ce97e2f0a5
2017-06-06Make updateConfig functional before gnss is enabledBaili Feng
locAPIGnssUpdateConfig and locAPIEnable/Disable will use different request queues Change-Id: I8c5456ebc4c221ff0e536ad488259b21e5607e03 CRs-Fixed: 2054316
2017-05-24Fix intermittant crashes in locationBaili Feng
Deleting memory without setting it to null can cause the memory to still be non-null and be interpreted as valid. Also check if the entry is in the map using find instead of assuming it is in the map. Bug: 62033719 62033834 62033690 62033563 62032790 CRs-fixed: 2050837 Change-Id: I2534de2d6157be86ac95cfe6615e4c0019ee48fd
2017-05-10Maintain a uniq RequestQueue for GeofencingBaili Feng
Maintain a RequestQueue for Geofencing per LocationAPIClientBase instance. The RequestQueue must be released when LocationAPIClientBase is destroyed. Change-Id: Icceccdaae67883f8848dd2a95389b938058c5e5d CRs-fixed: 2044463
2017-04-28Enable LOGV for gps directoryYingjie Wang
Define LOG_NDEBUG 0 to enable VERBOSE log messages in hardware/qcom/gps Change-Id: I954cad757f13d6bac99b7a06625daa0ace84a17e CRs-fixed: 2025673
2017-03-23Check Null on call to LocationAPI::addGeofenceDante Russo
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
2017-03-07Rename FlpAPIClient and GnssMeasurementAPIClientBaili Feng
FlpAPIClient renamed to BatchingAPIClient GnssMeasurementAPIClient renamed to MeasurementAPIClient Change-Id: Ic0fae37fd1d798796cb918ddcf141913c6cc3c6e CRs-fixed: 1112712
2017-02-28LocationAPI implementationDante Russo
Implementation of LocationAPI into gps hal to be a common API that is called into by platform specific APIs. Change-Id: Ie5a7bd217d4ae2175ad49e6aca2fb6ecd4702f3b CRs-fixed: 1112712