summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2021-09-03Fixes ubsan shift-out-of-bounds SIGABRTDante Russo
There are now global sanitizers that will be applied to all modules, so we no longer need to decalre local sanitizer options. One of the local sanitizer options caused a ubsan shift-out-of-bounds SIGABRT in several location modules in code that does not appear to have anything problematic with it. CRs-fixed: 2898374 Change-Id: Icb7e3b2cf35be7c0a945eff16cea2b3a4f30e4a8
2021-08-16Clear Emergency SUPL APN Name of SOSDante Russo
During Emergency SUPL session, an APN name of SOS reported by AFW means the APN could not be found, like in Simless the case, so the APN name is cleared Change-Id: I5976b89a0edb3c8e4a98a165b2d388866ace0c78 CRs-fixed: 2996872
2021-02-24Batching API batch retrieval changesYingjie Wang
Allows one last batch of fixes, if available, be retrieved by HIDL client after stop() is called. Also, if flush() is called, service end will always report something, empty if no more fixes in the batch. Change-Id: Ie4d196b2ba3b55cb7dd1a7510a9d887f0b997281 CRs-fixed: 2870223
2021-01-11Merge "fix Glonass SVID 255 not reported in SV info"qctecmdr
2021-01-11fix Glonass SVID 255 not reported in SV infoHoss Zhou
If Glonass orbital slot number is unknown, report frequency channel number Change-Id: If9746f6998f09b7412c0b23cbf45754b459e04bc CRs-Fixed: 2839783
2021-01-06default internet ATL handler implementationNilesh Gharde
default internet ATL handler, to handle ATL request for AGPS_ATL_TYPE_WWAN. This implemntaion will be common for Android based platform(LA/Kaios) Change-Id: I5b93ee14706b90450a7200567ea6f0009b54e825 CRs-fixed: 2813900
2020-12-01A new class to estimate ElapsedRealTime in LocApiBasehaohuang
1, Implement a method to estimate ElapsedRealTime if Qtimer is not valid. This method uses a default initial value and AP boot time/UTC time and Modem gps time/Measurement time. 2, Move the ElapsedRealTime calculation & estimation from Hidl API layer to LocApiV02 layer. Change-Id: I523d64d00d488cca0c053f9c636c34b01214f1a9 CRs-Fixed: 2817942
2020-11-24HAL : Merge branch 'location.lnx.4.0' into location.lnx.6.0Kevin Tang
Change-Id: I27237b9c9fa57501d86d5cbfd2f2e07bc1fe2ffb CRs-Fixed: 2824338
2020-10-12Elevate debug level for some debug messagesMike Cailean
CRs-fixed: 2795512 Change-Id: Ifaf453446ebe992e9dc9ab1f07c45d60a354cb11
2020-09-13Merge "Reset cached NetworkInfo when AFW shutdown"qctecmdr
2020-09-11Merge "gps.utils changes"qctecmdr
2020-09-09gps.utils changesKevin Tang
* Replaced the use of pthread in the implementation of LocThread with std::thread. * Removed the support of joinable thread from LocThread API, as it is never needed. * MsgTask no longer derives from LocRunnable, so that it can be directly deleted by ownerer. * Removed tCreator from LocThread::start() as well as LocContext::getLocContext(). * Placed utils classes under loc_utils namespace. Change-Id: Ia6b29debbf92c48aa643574b1d3789da686f5c73 CRs-Fixed: 2770806
2020-09-07Reset cached NetworkInfo when AFW shutdownYingjie Wang
Reset all the cached NetworkInfo in SystemStatus as disconnected when framework shutdown. Change-Id: I4b8fdea07bd705479a98de8f3ab606a246e153f5 CRs-fixed: 2771438
2020-08-27Use default getStub when getService of Health HalYingjie Wang
Battery listener and Health Hal are of different procs. Should use false valued getStub param (default false) when call IHealth::getService() CRs-fixed: 2763913 Change-Id: I0096db70a9779497a871be536dc8247e04333c0b
2020-08-05Enable DIAG Permission for HIDL 2.1Santoshkumar Zalake
CRs-Fixed: 2730920 Change-Id: I7ba2b322929b050aea2dce15ad82165f4833c20e
2020-08-03Delete LocationAPIClient after LocationAPISaurabh Srivastava
Ensure to wait for location API destroy complete before deleting the LocationAPIClient. Change-Id: I801ad229f1bfb921d601453d727f7509a0bee45b CRs-Fixed: 2715294
2020-07-19Delete LocationAPIClient after LocationAPISaurabh Srivastava
Ensure to wait for location API destroy complete before deleting the LocationAPIClient. Change-Id: I801ad229f1bfb921d601453d727f7509a0bee45b CRs-Fixed: 2715294
2020-07-19Merge "Adjust Qtimer value for dual-SoC architecture"qctecmdr
2020-07-15Adjust Qtimer value for dual-SoC architectureMike Cailean
CRs-fixed: 2731987 Change-Id: I43b186e325c207b71150db3a2fd86882e4bd1ac8
2020-07-07Merge "Antenna phase center fixes"qctecmdr
2020-07-06Merge "Use Qtimer to improve ElapsedRealTimeNanos accuracy"qctecmdr
2020-07-06Merge "The callbacks could be stale in GnssMeasurement"qctecmdr
2020-06-29Use Qtimer to improve ElapsedRealTimeNanos accuracyMike Cailean
Ported for HIDL 2.0, fixed overflow issue and corrected the logic Change-Id: I365bdff6e8c8ff1ba94f80a16e559f4e404d9910 CRs-fixed: 2716173
2020-06-26Antenna phase center fixesMike Cailean
1. Set capabilities for antenna corrections only if the configuration file is present and the vector size is non zero 2. Include configuration file in CRM 3. Include flp.conf in CRM Change-Id: Ic88cfc14baa4563fef67242ad6ed3cadd2a756db CRs-fixed: 2710886
2020-06-26Change the maximum threshold of ageTimeNanos to 100mshaohuang
Change-Id: Ifc2b7e337919b0cdadd4780b0510d33b2f2a08b4 CRs-Fixed: 2690658
2020-06-26The callbacks could be stale in GnssMeasurementMike Cailean
CRs-fixed: 2719986 Change-Id: Ibc4700342bf9cbdefd222ac4a65b42323af7ae80
2020-06-24Merge "Enable new LPP Profile options for 5G"qctecmdr
2020-06-24Merge "VTS test Measurement corrections failure"qctecmdr
2020-06-22VTS test Measurement corrections failureMike Cailean
CRs-fixed: 2716317 Change-Id: I54461422c9e87aa13a26bf1ab293336f4af3d110
2020-06-22Enable new LPP Profile options for 5GDante Russo
Change LPP Profile options from enum to bitmask to allow for more bit options to be added. Added two new bits for LPP Profile, User Plane 5G and Control Plan 5G. Change-Id: I058738e50f4bfb69f4966082890ec8b8ed8f1abc CRs-fixed: 2605663
2020-06-22Merge "Fix sv id mismatch issue"qctecmdr
2020-06-17Fix sv id mismatch issueYingjie Wang
Convert SV ID to meet requirement of AFW and NMEA spec, which is also to populate CR#2554984 onto Gnss Hidl 2.1 in fact. Change-Id: I1a4d9ccb39c218b1e97e571baa5e2cd0af08c650 CRs-fixed: 2711058
2020-06-15VTS test TestGnssDataElapsedRealtimeFlags failureMike Cailean
Change-Id: Ia462d00814e2cfd98af90769d3ee388e0f9b7ff0 CRs-fixed: 2660953
2020-06-09KW FixesSaurabh Srivastava
CRs-Fixed: 2705687 Change-Id: Ib6255c4e072338d79bd662d5d8757221c111a33e
2020-06-07Merge "Fix over flow minimal issue"qctecmdr
2020-06-04Fix over flow minimal issueMike Cailean
CRs-fixed: 2702932 Change-Id: I4b39af8a0fdbeee44c69988da2989e79b3061e15
2020-06-02Merge "Re-init battery listener when Health hal died"qctecmdr
2020-05-31Merge "modify the ageTimeNanos' threshold value"qctecmdr
2020-05-31Re-init battery listener when Health hal diedYingjie Wang
When system_server and health hal both died, battery listener will get blocked in serviceDied. Make complete cleanup for re-init. Change-Id: I7ecc5b2e6e2aeb1e79ed45db94b05662eb9f37b9 CRs-fixed: 2640795
2020-05-28Merge "Remove gnss_vendor client registration logic"qctecmdr
2020-05-28Merge "change of yearOfHw logic"qctecmdr
2020-05-25DBH support on non-gms AndroidNilesh Gharde
Change-Id: I1342259f5d9635ce7730316f2438565dcaa846c9 CRs-Fixed: 2648683
2020-05-24Merge "Baseband CN0 value is wrong"qctecmdr
2020-05-24Merge "Navic_inital_SV_id addition in gnssconfig 2.1"qctecmdr
2020-05-22change of yearOfHw logicKevin Tang
incrementing yearOfHw based on feature set bits in the order of when they are supported, and stop at finding the first unsupported feature. Change-Id: If4293aebe4b222abd897ad14ad5a65daf8cb142a CRs-Fixed: 2693873
2020-05-21Remove gnss_vendor client registration logicDante Russo
Registering for android.hardware.gnss/gnss_vendor removed and replaced by always dynamically loading vendor enhanced gnss hal if present. Change-Id: I3c7a45870b2cc34806d09cf430de9d60a9f129c7 CRs-fixed: 2696395
2020-05-21Enable building and sanitizer for Gnss Hidl 2.1Dante Russo
Change-Id: I46738deb8f8574c666cb2c7941cce2a38bec9c0b CRs-fixed: 2692453
2020-05-21Baseband CN0 value is wrongMike Cailean
CRs-fixed: 2691625 Change-Id: I293307fd69d1bd18d04605d8af4d30fa16813f81
2020-05-20Navic_inital_SV_id addition in gnssconfig 2.1Nilesh Gharde
Change-Id: I39db4bf9288c4723a5d8aa84eda31b0a02e07456 CRs-fixed: 2691528
2020-05-11modify the ageTimeNanos' threshold valueRong Tang
1,the max trusted propagation time set to 30s to avoid user setting wrong time, it will affect elapsedRealtimeNanos. 2,timeUncertaintyNs set to the maximum value between abs(AP_UTC - MP_UTC) and 100ms, to verify if user change the system time. Change-Id: I8da3c9620a4a4ce571e2343735b387634b2e51bf CRs-Fixed: 2633580