summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-10gps: Remove ndk_platform backend. Use the NDK backendtachibana-8450Jiyong Park
The ndk_platform backend will soon be deprecated because the ndk backend can serve the same purpose. This is to eliminate the confusion about having two variants (ndk and ndk_platform) for the same ndk backend. Bug: 161456198 Test: m Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547 Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2022-05-23Merge 2ca4d2845ef166c6ddf9eab83f15fad33dd72052 on remote branchLinux Build Service Account
Change-Id: I897c31ed568e4a5a5f4dad967c0594efc9b4595d
2022-05-04Register with QMI_LOC_EVENT_MASK_FEATURE_STATUS_V02Yan Huang
The QWES license status will be reported to HLOS in QMI_LOC_EVENT_REPORT_IND if this new mask is set. Change-Id: Idb1736ea11329a0f1d25306a01ca33df4e7ea384 CRs-Fixed: 3171840
2022-04-20Report Debug data outside active gnss sessionNilesh Gharde
Added change to allow AFW to get debug report outside active gnss session. For Location sdk we continue to follow same logic where we send out the debug data if there is active gnss session. Change-Id: I700e8b64fc39f4ddc8e824325cc3473f4d0c8883 CRs-fixed: 3167624
2022-04-19Merge 7ca3a83b2d1c047326a6d5e4047a881e18aab5a0 on remote branchLinux Build Service Account
Change-Id: Id74c20795d48db6b4f355c04a9d2aba597c35766
2022-04-10Inject DwellTypeMask and Confidence for Geofenceyingjiew
When adding geofence from location SDK API, DwellTypeMask is dropped and confidence is hardcoded as HIGH regardless of input. Change-Id: I4dd0f5f684bab6b52991b2b77b41aaa7d5e7afea CRs-Fixed: 3150859
2022-04-05Revisit elapsed real time nano for power reportingMike Cailean
Elapsed real time nano for power reporting API should not account of any modem to AP travel time Change-Id: Ie56c1d251a1564a83db766650c24dcfc38b3aea8 CRs-fixed: 3115734
2022-03-29Inject DwellTypeMask and Confidence for Geofenceyingjiew
When adding geofence from location SDK API, DwellTypeMask is dropped and confidence is hardcoded as HIGH regardless of input. Change-Id: I4dd0f5f684bab6b52991b2b77b41aaa7d5e7afea CRs-Fixed: 3150859
2022-03-27Removing measurement callback on close requestSaurabh Srivastava
CRs-Fixed: 3130205 Change-Id: I8ddcfa9a6df91845aecee3b5f1e0a3f4a3f634ad
2022-03-14Elapsed real time: save the time association if time unc goodWei (GPS SD) Chen
Only if time unc is good, then we save the association of GPS time and qtimer to be used to calcualte elapsed real time. Otherwise, the info will not be used. Change-Id: Ib96dc4c7fec4c655c7fe9be2eedc493a1ad18929 CRs-fixed: 3147215
2022-02-18Merge 52b4c56c503cf960a1cfafff6c1eddd28617ddc2 on remote branchLinux Build Service Account
Change-Id: I148710b70579139366661c3c9706b7e485c7519e
2022-02-10add LOC_POS_TECH_MASK_PROPAGATED bit implementationHoss Zhou
Change-Id: I43ef49a38523d400015f2b1401d41a4692873ced CRs-Fixed: 3098384
2022-01-23Merge cf77e9a0c916925290533269894490c3aa1902be on remote branchLinux Build Service Account
Change-Id: I24c7563e91329fbced10b1dcfab17b85d0e3ecaa
2022-01-06Merge "GNSS adapter: use time association in meas for boot timestamp"qctecmdr
2022-01-06GNSS adapter: use time association in meas for boot timestampWei (GPS SD) Chen
When measurement report is available, use the qtimer and gps timestamp association in measurement report to calculate the boot timestamp for PVT report Change-Id: I7008fd2064542609f46c6a67dc5bec2ca7031f87 CRs-fixed: 3104257
2022-01-05Adds a simpler option to exclude location modulesDante Russo
If EXCLUDE_LOCATION_FEATURES is set to true in an external make file, all locaiton modules will be excluding in build. Change-Id: Ic743fd42c4943f20390ad5cea61a0f3771ad0900 CRs-fixed: 3090964
2022-01-05Elapsed time: fix potential issue due to unsigned arithmeticWei (GPS SD) Chen
There is an issue that substraction of two unsigned number can cause overflow/underflow. Force integer to signed 64 bit before doing arithmetic operation Change-Id: I94d6f398ee95e2e045e88da2820fc39a9efa3099 CRs-fixed: 3096831
2022-01-05Merge d1fe0cea724eeae0faf1e7d4d25a6864940baed4 on remote branchLinux Build Service Account
Change-Id: Idda3c8c7b3a3fc020c2fc4c8dba1f49557392d43
2022-01-04GNSS adapter: restore default configurationWei (GPS SD) Chen
Restore default configuraiton for: 1: NMEA_TAG_BLOCK_GROUPING_ENABLED to 0 2: NI_SUPL_DENY_ON_NFW_LOCKED to 1 3: ENABLE_NMEA_PRINT to 0 Change-Id: I837d93a20b276b115a7be2d8c1d9d4163fd4f2ff CRs-fixed: 3094026
2022-01-02SUPL NI PO must be unconditionally accepted in HALMike Cailean
Change-Id: Icb4dca6f1772a48385ee1c3b4ba2fe89ecf66f94 CRs-fixed: 3098539
2021-12-29Remove config check and cachingNilesh Gharde
FW send's the LPPe/SUPL config's one at a time. In Android S, it is seen that these config's are comming to HAL process from HAL(Agnss) and AIDL(GnssConfiguration) api's, HAL process ends up having two GnssAPIClient. Due to this, if on DD sub change we end up rejecting few config update. As this transient problem with Android S. But even if there is single GnssAPIClient object, there is still a chance of rejection of some config on DDsub change and leave the modem Active DD sub config in inconsistent state. Hence removing the gnss config caching and check's for update. Change-Id: I625c1a38f51800a6474a747213aaec7cfb7edca1 CRs-fixed: 3084143
2021-12-20Remove ILoc HIDL impl for S and onwardsYingjie Wang
ILoc AIDL will replace ILoc HIDL as transport API between system and vendor partition. Clean out the deprecated HIDL impl Change-Id: I60d5701520b659eadf50f80335ec93c52a500bf4 CRs-Fixed: 3085310
2021-12-19move geoidal separation calculation to APHoss Zhou
add getGeoidalSeparation in LocApiBase Change-Id: If0ee3660b515adb48302d3ae033d73d5ed8f405d CRs-Fixed: 3062671
2021-12-19Add NULL check before object accessMadhanraj Chelladurai
Correct the NULL check code block and add NULL check before object access. Change-Id: Ic41b781b41fb4e21bbff8801d500a41a6d7219d0 CRs-fixed: 3084543
2021-12-17GNSS adapter: cleanup related to elapsed timestamp in PVT reportWei (GPS SD) Chen
(1) getElapsedRealtimeEstimateNanos expects time between fixes in unit of nano second (2) remove unused defines Change-Id: I6295fad9d57ecf821cea1fa307c712cbfd04777d CRs-fixed: 3078635
2021-12-07GPS elaspsed time calculation: clean up obsolete codeWei (GPS SD) Chen
Change-Id: I9071230db5f25667256b3279283a59dc7c575b80 CRs-fixed: 3056651
2021-12-07GPS HW: add support for bootimestamp in PVT reportWei (GPS SD) Chen
Change-Id: I7bcd4e953d7ef4efb598be88018d86b5a3f6f20e CRs-fixed: 3019251
2021-12-02KW issue in Gnss HALyingjiew
Change-Id: I008b2139d094f3a6efd4fcc81550474edc9dbb7f CRs-Fixed: 3085065
2021-12-01Merge "Simplify batterylistener logging"qctecmdr
2021-12-01Simplify batterylistener loggingyingjiew
Reduce periodic but helpless healthInfoChanged() update to log only when BatteryStatus changes; clear stale include. Change-Id: I327ca21793cc395a466746244b422819ea47a8fe CRs-Fixed: 3074216
2021-12-01locAPIRemoveAllGeofences passing the wrong parametersKevin Tang
locAPIRemoveAllGeofences extracts session ids from its maps to pass to locAPIRemoveGeofences, while it should bd ids. Change-Id: Ib72ad588c6b358c4d8b482d55bf3e27a7c9ade1a CRs-Fixed: 3069087
2021-12-01Mutex member mGnssCbIface that shared cross threadyingjiew
To avoid race condtion, add mutex protection when access to shared member. Change-Id: Ib7b34f9adba07162936c64b92dd771e367499e99 CRs-Fixed: 3073005
2021-11-11default to 10 Hz only for auto targetsKevin Tang
Change-Id: If7d35f1645c64204c3a62693f034716fec1acf51 CRs-Fixed: 3065598
2021-11-09Merge 3e77a82004fff2f40dbae73536cbfc687f235b1c on remote branchLinux Build Service Account
Change-Id: I4f85ba4dfb44293d9ac3919b21bffff7a35b1ef2
2021-10-25Merge def2bd0968d79f522894bd0b213e3abb60b25a44 on remote branchLinux Build Service Account
Change-Id: Ib4fc6995cfd8b5485caca245291880472f3af223
2021-10-20Clear GNSS Callback on client deathSaurabh Srivastava
CRs-Fixed: 3049438 Change-Id: Id9e22a239873fee4b1a27dd1d92dec0a3f798ca4
2021-10-19Merge "Add dependency of aidl impl lib to hal service"qctecmdr
2021-10-19Add dependency of aidl impl lib to hal serviceyingjiew
It is not recommended to build same set of files into different binaries. Consolidate with dependency of shared lib. Change-Id: I8404b2d3fdcf9773bd493afd8d7026db0b1a0c55 CRs-Fixed: 3058350
2021-10-13Make SystemStatus aware of tracking stateyingjiew
Report debug data only when there is tracking session ongoing. Change-Id: I8429d1853d3b793450d26deef1778760244f8155 CRs-Fixed: 3054425
2021-10-12Merge c82c83909ab0bbabae34c9562c2822439f07042e on remote branchLinux Build Service Account
Change-Id: If4c37d357b99269cd3346d3d7a6464714634899c
2021-10-11GPS IPC utils: make copyDestAddr return boolWei (GPS SD) Chen
Change-Id: I1dad959eccafd68114d2e630e8f8ef6a035b5252 CRs-fixed: 3045730
2021-09-28Merge "add policy files to package list"Linux Build Service Account
2021-09-23Merge "Resource leaks and some other issues in android.hardware.gnss@*-impl-qti"qctecmdr
2021-09-22Merge "pthread_cond_timedwait doesn't work with CLOCK_MONOTONIC"qctecmdr
2021-09-22Resource leaks and some other issues in android.hardware.gnss@*-impl-qtiKevin Tang
Fixes to several issues in android.hardware.gnss@*-impl-qti: 1) HW Geofence leaks if AFW resets, as deleteAllGeofences not implemented; and 2) When AFW resets, one of the bugs will happen, depending on if IGnss handle is deleted and regenerated: a) HW Geofence callbacks may not get updated after AFW resets; or b) Double free of iface implementations for those that implement own deathRecipients, since the deathRecipients take *this* raw pointers to make own sp<>, but Gnss obj already holds sp<> from the same *this*. 4) older versions of impl do not compile. Change-Id: I2c6370005f887d62e6021fca66d9cf73f942f57f CRs-Fixed: 3032780
2021-09-22pthread_cond_timedwait doesn't work with CLOCK_MONOTONICKevin Tang
must use either pthread_cond_timedwait_monotonic_np or CLOCK_REALTIME CRs-Fixed: 3034956 Change-Id: I85226db6654d0cf293f348ea68105ead8ad24796
2021-09-21Merge b32e7fc52003111023a830894cbfda334b1bfd74 on remote branchLinux Build Service Account
Change-Id: Ic4c32cd1b4a7d8497f6af9ba7f68318692ce0f4f
2021-09-08gps.conf: add ENGINEHUB_TIMER_OFFSET_MSEC to support QPPEWei (GPS SD) Chen
Change-Id: I8fcc92ea6b6653d9cfa74e7d8d3aae0bb92d6f76 CRs-fixed: 3023723
2021-09-07Adding interface entries in GNSS HIDL service rc fileSaurabh Srivastava
Change-Id: Ic5d1cea3e0566320691ec614da2274fd5511caee CRs-Fixed: 2963401
2021-09-06nmea:retrieve dop from extended DOPHoss Zhou
retrieve dop form extended DOP structure when GPS_LOCATION_EXTENDED_HAS_EXT_DOP is set. Change-Id: I8bc90435d1d2de78869b4de09c070b903d1ebe46 CRs-Fixed: 3021456