summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2019-10-23Merge "Assure accurate elapsedRealTimeNanos calculations"qctecmdr
2019-10-11gps: Add diag permissions for gnss service android interface 2.0Madhanraj Chelladurai
Change-Id: Ib53b8bef8641166c1a7495e9051a092a34830016 CRs-Fixed:2543639
2019-10-09Assure accurate elapsedRealTimeNanos calculationsDante Russo
If a context switch or interrupt happens between getting current time and getting boot time, this can throw off the calculation for the elapsedRealTimeNanos timestamp. Avoid this by retrying if there is a large enough delta between getting current time and getting boot time. Change-Id: I47d7a99b480423a50eaf951a904f21928587eda6 CRs-fixed: 2541719
2019-10-07Enable Android sanitizersMike Cailean
Change-Id: I6724d0e171e42f779e8eed6aea126f3f69496f6d CRs-fixed: 2534375
2019-09-25Fix deleteAll case for GNSS HIDL 2.0Bhavna Sharma
For GNSS HIDL 2.0, delete command should explicitly specify the engine the delete command is to be performed on. CRs-Fixed: 2533225 Change-Id: Ib69c3f11eb4df94a3becdbb2b0cff9288283067e
2019-09-19Adding NAVIC in delete aiding dataSaurabh Srivastava
Adding NAVIC to the SV type mask while deleting aiding data Change-Id: I704595b60e061e83c8c08f69f770e4a78b3ae409 CRs-Fixed: 2529784
2019-09-13Merge "Selectively send deleteAll command to engines"qctecmdr
2019-09-10Selectively send deleteAll command to enginesBhavna Sharma
Modify GNSS interface API's to accept positioning engine mask to perform deleteAll command on CRs-Fixed: 2477966 Change-Id: I54a32d76de98ba6bfa88d7fd1925c44b3079af08
2019-08-30gps: Add diag permissions for gnss serviceMadhanraj Chelladurai
Change-Id: I1e65ce2a2e681f48b476fb8b310015f572f306e1 CRs-Fixed: 2413585
2019-08-20AgpsManager supports two clientshaohuang
AgpsManager supports two clients, QCOM AGPS Stack is to handle ATL type WWAN, AFW AGPS stack is used to handle ATL type SUPL and SUPL emergency. Change-Id: Id43c4919a1ae67d739e055c7fb5ba3abacc70b34 CRs-Fixed: 2509244
2019-07-29Allow NFW enable/disable as in 'P'Mike Cailean
Make changes in HAL coupled with a few recommended changes in JAVA/JNI layer to allow 'P' behavior for setting NFW GPS LOCK Change-Id: I6580eaeffefe0c10bc226660439701057e09e4a4 CRs-fixed: 2488332
2019-07-24Use getVendorEnhancedInfo APISaurabh Srivastava
Change of API for vendor enhanced framework detection CRs-Fixed: 2496231 Change-Id: Iaf173615f8fe847a8b5d5ed71602d933febb31d1
2019-07-15Merge "Enable TARGET_USES_QMAA flag and remove dummy hal"qctecmdr
2019-07-12Enable TARGET_USES_QMAA flag and remove dummy halYingjie Wang
Add check for TARGET_USES_QMAA_OVERRIDE_GPS and TARGET_USES_QMAA flag to enable minimal QMAA Gnss HAL; Remove Dummy Hal as TARGET_USES_QMAA flag could turn off gps hal Change-Id: I7ee23f869bd452f7b40ae8b3c339c0ef60fcdc84 CRs-fixed: 2379305
2019-07-11Merge "Revert "Remove support GNSS HIDL 1.1 for legacy devices""qctecmdr
2019-07-10Revert "Remove support GNSS HIDL 1.1 for legacy devices"Dante Russo
This reverts commit 974fedbe Legacy devices must support GNSS HIDL 1.1 afterall to avoid failure of VtsTrebleFrameworkVintfTest and VTS test for GNSS HIDL 1.1 are being changed to support legacy devices that do not support features Blacklisting and Power Modes. Change-Id: I2ad0776295979d5cddcfa0f76692253d7c084fd2 CRs-fixed: 2487572
2019-07-09Merge "Add XSSO support for multiple network handles"qctecmdr
2019-07-08Merge "Remove support GNSS HIDL 1.1 for legacy devices"qctecmdr
2019-07-08Add XSSO support for multiple network handlesKevin Tang
Add support in HAL for multiple network handles with same type. Change-Id: Idc9e6fc1c7876dc868264500d60a5d086ab003b0 CRs-Fixed: 2477395
2019-07-03Remove support GNSS HIDL 1.1 for legacy devicesDante Russo
Legacy devices are failing VTS Test for GNSS HIDL 1.1 because they do not support some of the features, like Black Listing and Power Modes, that are enforced through VTS testing. Removed declaration of 1.1 support in vendor manifest fragment to avoid the VTS test for GNSS HIDL 1.1 from running. Change-Id: Ife66490351ca54a5feaa7a369b519c9794254a5c CRs-fixed: 2484196
2019-06-28Fix updateConnectionStatus call in gnss hidl 1.0/1Yingjie Wang
Change-Id: I4c3b66ec440c982714ccd7a3f6111319ad1601fb CRs-fixed: 2480731
2019-06-18Do not clear callbacks during gnss hidl cleanup()Dante Russo
This allows HAL to request locations into AFW even when Location is disabled in Settings. Change-Id: I0c1d4fef55937f3094980dad29ff09d212f541fe CRs-fixed: 2475037
2019-06-05Merge "Update SystemStatus with battery info in HealthHAL"qctecmdr
2019-06-05Merge "Report Locations to AFW only when active tracking"qctecmdr
2019-06-05Update SystemStatus with battery info in HealthHALYingjie Wang
Change-Id: Ibc2157f1834eb65da48f9375e497628411a185c9 CRs-fixed: 2433570
2019-06-04Report Locations to AFW only when active trackingDante Russo
We want to avoid reporting locations to AFW while measurements is active but tracking is not active. Change-Id: Icbb581199e6f5eba3cfe81cb6ab39337bb7ea51a CRs-fixed: 2441384
2019-06-01Merge "KW issues on LA.UM.8.12"qctecmdr
2019-05-29KW issues on LA.UM.8.12Nilesh Gharde
Addressed KW issue in MeasurementAPIClient.cpp Change-Id: Id35187c9e8eb29a81a86d12423e965fef780d668 CRs-Fixed: 2460424
2019-05-27Add charger indication receiver in Gnss HidlYingjie Wang
Register HEALTH Hal client in all Gnss Hidl impl to acquire charger indication. Change-Id: I3fcc00dd14a95e2375ab27a8c84c260300f9e90d CRs-fixed: 2411445
2019-05-18Addressing format related to formatingNilesh Gharde
Added formating related issue as genuine errors fixes Change-Id: Ie01e9ce3bf838a37871a4779ae1403b4dca3d87c CRs-Fixed: 2447200
2019-05-09Merge "Set yearOfHw to 2019 if Location Privacy feature is supported"qctecmdr
2019-05-09Adding NAVIC supportSaurabh Srivastava
NAVIC constellation support added. Change-Id: I30a61f53089177d4e02b617dc9b785c13e2ef6ee CRs-Fixed: 2399619
2019-05-09Merge "VINTF Manifest fragment for android.hardware.gnss"qctecmdr
2019-05-06VINTF Manifest fragment for android.hardware.gnssDante Russo
To replace entry in device specific vendor manifest Change-Id: I330f4ef2658074218b5d2c105decaf6cfd959d3f CRs-fixed: 2444785
2019-05-06Set yearOfHw to 2019 if Location Privacy featureMike Cailean
is supported Change-Id: If5ee31603491c83652082ce295abfcf9c9fec511 CRs-fixed: 2446241
2019-05-02Merge "feat: Add timeuncNs in PQWM1 message"qctecmdr
2019-05-02Merge "GNSS HIDL 2.0 updates"qctecmdr
2019-05-01feat: Add timeuncNs in PQWM1 messageKatz Yamada
Add timeuncNs field in PQWM1 of debug NMEA message generated by modem. SystemStaus to parse it. GnssDebug adds this value in timeunc when it generates GNSS debug report. Change-Id: I649915f95730dc8db22e8b4cb88008edc6d8b9d0 CRs-Fixed: 2236950
2019-05-01GNSS HIDL 2.0 updatesDante Russo
Implement new GNSS HIDL 2.0 functions and callbacks gnssRequestLocationCb_2_0, getExtensionGnssBatching_2_0, getExtensionGnssDebug_2_0, getDebugData_2_0, injectBestLocation_2_0, gnssSetCapabilitiesCb_2_0, gnssLocationCb_2_0, gnssSvStatusCb_2_0, and gnssMeasurementCb_2_0. Fix VTS test failures from deprecated functions setGpsLock, setSuplEs, V1:0::getExtensionAGnss, and V1.0::getExtensionGnssNi CRs-fixed: 2433957 Change-Id: Id10cb41c32d6c50144b0501eb2d2eaf9c9a9aaec
2019-04-30Send SUPL notification to the framework forMike Cailean
E911 sessions only (older modems) Change-Id: Icd317f6e4b042c31afc63011596689d5fb35135f CRs-fixed: 2441292
2019-04-10fix CFI issuesHoss Zhou
Change-Id: I5b94804c381f1d26196ddf6dee97adbee36dc128 CRs-Fixed: 2353650
2019-04-04Temp compilation fix for LKG integrationSaurabh Srivastava
CRs-Fixed: 2429432 Change-Id: I8141c5583cddbd0118b9e13ddf07534ee890372c
2019-03-31Merge "Add HAL support for network handle"qctecmdr
2019-03-30Merge "Batching and Geofence moved to GNSS HAL"qctecmdr
2019-03-28Merge "Move Legacy targets to GNSS HIDL 2.0"qctecmdr
2019-03-27Batching and Geofence moved to GNSS HALDante Russo
Addition of BatchingAdapter and GeofenceAdapter. Deprecated Background LOC QMI Client and renamed LocDualContext renamed to LocContext. Moved some common Adapter functions into LocAdapterBase. Added Distance Based Tracking logic into GnssAdapter. Addition of flp.conf Deprecated GEOFENCE capabilities configuration in gps.conf CRs-fixed: 2342200 Change-Id: I6b6257c4cf296e5a8c56bc0b149e4de77cf6cdf9
2019-03-26Add HAL support for network handleKevin Tang
Add HAL support for modifications to the network status information passed in. Change-Id: I99defc6a419d9f21ce74469a1aa016cc7fade4a5 CRs-Fixed: 2397433
2019-03-22Merge "Improved Location NI Privacy"qctecmdr Service
2019-03-21Improved Location NI PrivacyMike Cailean
Changes to be made starting in Android Q in the way that Location requests made by Location clients other than the Android FrameWork (e.g. Network Initiated AGNSS clients, modem-based clients such as MDT) are handled CRs-fixed: 2397454 Change-Id: Ibb5b9429a1ec1e14ee59d89763d8a78607997615
2019-03-21Merge "Unified Vendor - Launch only android.hardware.gnss"qctecmdr Service