summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2021-03-01[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/sm7150/gpsBob Badour
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: utils/Android.mk Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution to: android/1.0/Android.mk android/1.1/Android.mk android/2.0/Android.mk Added SPDX-license-identifier-BSD to: android/utils/Android.mk batching/Android.mk core/Android.mk geofence/Android.mk gnss/Android.mk location/Android.mk pla/Android.mk Added legacy_notice to: etc/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I07267e93ebfc743a0d1e99a8a7853058b0de4c9c
2020-06-01Merge CR2660953android11-devShinru Han
Fix initialization issue for CR2590937 Bug: 157710015 Test: VtsHalGnssV2_0TargetTest pass Change-Id: Ib9dc83c6d5dfb40064b727946c65ab07a641a81a
2020-02-20Only allow one extension obj of each type to be createdDante Russo
HAL did not expect multiple calls of GetExtensionsGnssX, but if it happens, it causes a static callback function in AGnss to get set to null when the first instance of the obj gets deleted even if a second instance of AGnss is created. This causes SUPL to fail because the static callback function in AGnss is null and stops HAL from being able to request SUPL into the Android Framework. Bug: 149378039 Change-Id: Ib1ef7b06b7544e98f39b9af5295824ff6b84b398 CRs-fixed: 2614283 Test: test SUPL pass after system server restart
2020-02-04Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.406' into qt-qpr1-dev Conflicts: android/1.0/Gnss.cpp android/1.1/Gnss.cpp android/2.0/Gnss.cpp gnss/GnssAdapter.cpp Bug: 148752159 Change-Id: Ifc50f4af34c0980973830793a30c9527461b9d7b
2020-01-17HIDL API impl can not return falseKevin Tang
else it would fail VTS. Change-Id: Ia0428d91c0e190b033be4475bab2b8a88d21cd4c CRs-Fixed: 2605697
2020-01-17Merge "stub out injectTime API as we should not handle that" into qt-qpr1-devTreeHugger Robot
2020-01-08stub out injectTime API as we should not handle thatKevin Tang
We should no longer accept the NTP injection from AFW as we have our XC handling the NTP update. Bug: 147209076 Test: NTP time inject test Change-Id: I2a4c4da4d4b7c46c8ebe70f0666b2fd8ad1a6a5f CRs-Fixed: 2595204
2020-01-06Merge "stub out injectTime API as we should not handle that"qctecmdr
2019-12-30Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.370' into qt-qpr1-dev Bug: 146991028 Change-Id: I9f84a0fac45ecd4552d265a4686f73a4cbe73638
2019-12-20Populate elapsedRealtime for measurementsMike Cailean
CRs-fixed: 2590937 Change-Id: I17fb0e058009eb719aa7ca48c8eea65d67475617
2019-12-16stub out injectTime API as we should not handle thatKevin Tang
We should no longer accept the NTP injection from AFW as we have our XC handling the NTP update. Change-Id: I2a4c4da4d4b7c46c8ebe70f0666b2fd8ad1a6a5f CRs-Fixed: 2595204
2019-12-11Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.343' into qt-qpr1-dev Bug: 145572601 Change-Id: I9e379ad6f79f538a0368a4a905589616c5a23ee3
2019-11-20SUPL Version for 5G and LPP Rel 15Nilesh Gharde
Change-Id: Id00ea3bfb72c88c7c68425aa8c8829579ebd6237 CRs-fixed: 2570450
2019-11-19Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.327' into qt-qpr1-dev Bug: 144672341 Change-Id: Iaf7900aaa2105c25f50bd85ab68e6b421f0c2ea1
2019-11-14Remove assigning preferredAccuracyMeters to minDistancehaohuang
Remove this assigning in gnssSetPositionMode. We shouldn't assign preferredAccuracyMeters to minDistance, because if preferredAccuracyMeters is larger than 0, GnssAdapter will start distance based tracking which is not expected. Change-Id: I2c2acedd121e02bf9da1136540cc34b9257197fd CRs-fixed: 2566229
2019-11-11Revert "gps: Add diag permissions for gnss service android interface 2.0"Cyan_Hsieh
This reverts commit a44fc0383de405ba1527df6df308fcd8990aa8b5. Revert Reason: host_init_verifier: hardware/qcom/sm7150/gps/android/2.0/android.hardware.gnss@2.0-service-qti.rc: 4: Unable to decode GID for 'vendor_qti_diag': getpwnam failed: No such file or directory Bug: 144079922 Change-Id: I2ae30da6d6566c7d3ccb92fb084793977cff70ec
2019-11-07Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.9.R1.10.00.00.558.053' into qt-qpr1-dev Bug: 144079922 Change-Id: I92e46331810b43a1f3a7748157cc0b7e9b138833
2019-10-29Add listener for the initial battery statusYingjie Wang
Listen to the initial charging status as DPO mode depends on it; Change ALOG to LOC_LOG. Change-Id: Ic61f76038f0e464b18ade8c9b20c058de35748c8 CRs-fixed: 2544828
2019-10-23Merge "Assure accurate elapsedRealTimeNanos calculations"qctecmdr
2019-10-23Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.9.R1.10.00.00.558.049' into qt-qpr1-dev Conflicts: android/dummy/Android.mk Bug: 142854653 Change-Id: I4da9aa6bd0194897d539c3e9ab5a84a2b5bc32d4
2019-10-23Remove libhwbinder/libhidltransport depsSteven Moreland
Since these were combined into libhidlbase. Bug: 135686713 Test: build only (libhwbinder/libhidltransport are empty) Merged-In: Ia5c7cfa810b3c67c9adf9bdaa162dcb1a24c533d Change-Id: Ia5c7cfa810b3c67c9adf9bdaa162dcb1a24c533d (cherry picked from commit 973698dbf9d537ea74db71086b3a8b3a8a92bce7)
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