summaryrefslogtreecommitdiff
path: root/core/ContextBase.h
AgeCommit message (Collapse)Author
2019-08-30Add GNSS Deployment Support.Santoshkumar Zalake
The GNSS Deployment is used to configure GNSS Hardware using gps.conf file CRs-Fixed: 2480150 Change-Id: Ia09d3165de0c2f80f23bef8c0431095b25d16ea2
2019-05-03Process CP_MTLR in emergency in different conditionsMike Cailean
Prcess CP_MTLR based on a new configuration item Change-Id: I9351f574f0b1a4bad2b88f2627ab188ac1522e92 CRs-fixed: 2444954
2019-04-23Update proxyAppPackageName field in nfw notificationMike Cailean
Change-Id: I993a6d9227b03626bc254675944df28cc578a6c7 CRs-fixed: 2437418
2019-03-18clear magic number for GPS_LOCKHoss Zhou
Change-Id: I3c1b5a18ab16382a436098f8af541bf7f125783e CRs-fixed: 2370451
2018-09-26FR47184: tunc constrained and position assisted time estimatorDante Russo
(1) Configure tunc constrained module on modem via gps.conf (2) Configure position assisted time estimator and inject DRE position with additional info to modem (3) Support get total energy consumption API by GNSS engine since device first bootup Change-Id: I1e73057df090c1d356c55a498f06eed45839ca8f CRs-fixed: 2276355
2018-08-24GPS: unify buffer size passed to retrieve string with loc cfgKevin Tang
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
2018-08-05SAP:update SENSOR_CONTROL_MODE configurationHoss Zhou
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
2018-07-30Delete LocApiBase and derived class on msgTask threadKevin Tang
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
2018-06-26Added optional MO SUPL SLPMike Cailean
Change-Id: I89c3e697b92dfe04d403c073e779906d21cefd69 CRs-fixed: 2259090
2018-06-07changes to work without ULP moduleKevin Tang
Rework the module with ULP module being removed Change-Id: I5ac81e8c1c734352b3087545b83f4812fa3e8aff CRs-fixed: 2235309
2018-06-06Vote for internal modem onlyMike Cailean
Vote for internal modem only in power vote temporary fix until we process a .jsn file Change-Id: I732f920a0c18976b0f1323501e0e5541b11d5887 CRs-fixed: 2247589
2018-04-27Addition of new LocApi threadBhavna Sharma
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
2017-09-20Set SUPL_HOST to modem on GnssAdapter init.Harikrishnan Hariharan
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
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
2016-07-08Merge remote-tracking branch 'quic/location.lnx.1.0-dev.1.0'Bhavna Sharma
into location.lnx.2.0-dev CRs-Fixed: 1038354 Change-Id: I87b3a7f33a0bb48783554bf5ecb0140695e40c9d
2016-06-30AGPS config inject can be configured outKevin Tang
a parameter can be added to gps.conf so as to prevent carrier dependent AGPS configs to be injected to modem. This is mainly for test purposes. Change-Id: Ia053bf523329fe7c1abf0696b9bffcc6a7d56a53 CRs-Fixed: 998059
2016-06-21Merge "LPPe feature support."Linux Build Service Account
2016-06-21Merge "Enable/disable PDN for emergency SUPL at runtime"Linux Build Service Account
2016-06-15LPPe feature support.Bhavna Sharma
Add two new configuration parameters for LPPe, one to configure technologies for LPPe in Control-Plane and one to configure technologies for LPPe in User-Plane Crs-Fixed: 974312 Change-Id: If664a6dc90a993171ca1221f074ecc1ecd06a106
2016-06-14making SUPL ES run time configurableKevin Tang
SUPL ES gets updated as part of the sim specific AGPS config hot swap update. We keep that lastest SUPL ES and send that as part of the NI request, to let NI handler to know the config status. Change-Id: I566725d5db9b3abdbd9a423b86c10b819217f4f6 CRs-Fixed: 1024879
2016-06-13multiple XTRA downloaders could be triggered on boot upRuifeng Xu
Disable loc xtra apis to allow only one XTRA downloader when other XTRA downloader is enabled. Change-Id: I0183608f801cdc6a7d7db730d5d633e556c95386 CRs-fixed: 1022064
2016-05-27Move local gps/sap configuration to ContextDante Russo
gps/sap configuration is moved from a global variable in loc eng to a static in ContextBase, so that it is more accessible without having to link with loc eng for access. CRs-fixed: 1012772 Change-Id: I74bf456b44fab3a2db016ef4c4b4b3a2b8cde1b2
2015-09-02adding dev id into xtra user agentKevin Tang
setting XTRA_USER_AGENT at GPS HAL init time, incorporating Android sw version, manufacturer, model, board. CRs-Fixed: 788356 Change-Id: I8d9dcc80a0769796a25a0477f5f1598a292fe8b0
2015-07-16Move modem power vote out of hal.Dante Russo
The modem power vote feature needs to move out of hal as it has non-aosp dependency. CRs-fixed: 831075 Change-Id: Ic83276e9d3c0d125a01f50719102fcd7c0455385
2014-05-05Inject feature configTushar Janefalkar
This change injects feature config through using the first available context CRs-fixed: 616544 Change-Id: Idea5bd8acfff729589c071f20bec18679c89ab25
2014-02-24Renaming class members for improved readabilityPandari Sabhapathi
Renaming class members to reflect their true purpose CRs-fixed: 601353 Change-Id: I1eb2bc111a52845c515d1b9ca10fb800402c7c3d
2013-11-19Changes to conditionally check and inject coarse positionHema Iyer Sankaranarayanan
Changes to GPS HAL to determine if wiper available before it does CPI injection. Change-Id: Ic481c020bf51ae55b001ab28a0b1caaa5de47cdd
2013-10-28Add LocApiProxyBase to contextJiafei Wen
This is so that the izat adapters can get access to LocApiProxy through the context. Change-Id: I15a477d159375740047cd7386f8c8c5163fdaf87
2013-09-25Changes for liblbs_coreTushar Janefalkar
Added new module liblbs_core to make LocApiV02 independent of pre-built binaries. This patch provies the necessary changes to support the new module CRs-fixed: 538124 Change-Id: I716cf169de9dae164a141651af971793099a927d
2013-08-09removed ulp dependency.Kevin Tang
ULP will no longer be loaded and init'ed from loc eng HAL. GPS HAL will look for ULP once it completes init and waits for a msg back once it hears from ULP. This is done with introduction of UlpProxy. Default proxy is a no op proxy. Change-Id: If0be0b5744f9de20f12c2f0b9704dea66aa454c0 (cherry picked from commit 2eb4ddcae94283df6c6be450c4c070ffd8ff9cd7)
2013-08-09corresponding to izat_core and LBSAdapter changes.Kevin Tang
Removed makefile dependency to AndrodRuntime; Renamed library to be loaded from liblocation to libizat_core; Made some class private access to protected for the needs of inheritance; piggy bagged some optimizations. Change-Id: Id7e3127baa1833cbad7739f50808941c733b87f2 (cherry picked from commit c039ceaec84b25573d710b31831c9b06d4f3d1c6)
2013-08-09Revert "Revert "Location Hal Design Level Change for FLP Requirement"".Kevin Tang
This reverts commit 55a6841843912ef8b46b67cbe9cbc60844244a74. (cherry picked from commit 363ed1a6b09d7426bfd3726becd2d713da57fa80) Change-Id: I19153a904dd7587dfd517dcc86f51f4b1110289a
2013-08-07Revert "Location Hal Design Level Change for FLP Requirement"Sridhar Gujje
This reverts commit a915406668658c66698be3386c8796eb438ea282 Change-Id: I7f677a9540a64a60b5f4ed898ba6bed8b3482687
2013-08-02Location Hal Design Level Change for FLP RequirementKevin Tang
Changes can be highlighted with below summary: * Split the original LocApiAdapter to LocAdapter and LocApi. Now different adapter implementations can flexibly connect to different LocApi; * LocApi continues to abstract the API binding to RPC or QMI; * MsgTask which creates and owns a msg Q and a thread, and it define a LocMsg base msg class. The handler pulls a msg out of the Q and calls its proc() method. This makes it possible for msg sender to keep the data in the msg encapsulated, as it no longer requires a central msg handler who must under- stand all data format. This used to be where all the compile time dependencies are tangled together; * Added Context to bundle MsgTask and LocApi; * Added LocDualContext specifically for the FLP Location Hal architecture requirement; * Placed all the base classes of the above in loc_core folder / loc_core namespace / libloc_core.so, so other libraries can easily use derive from here without having to pull in the loc_eng implementation, which is a large library to include or link to; Change-Id: I40abfba96dea76757c98530c1f5e076b34ba4ac7