summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-04Set SV in use mask based on final fixesandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r37android-9.0.0_r36pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-b4s4-devMike Cailean
Do not set SV in use mask based on intermediate position update from modem since it might contain stale information. Reset the flag indicating SV are used in fix for intermediate fixes. Bug: 116682778 Test: CTS GnssMeasurementValuesTest pass Change-Id: Iba5a37ec84f772208e473cc69dc35f07265f1444
2018-09-20Merge "Register AGPS request event after SSR" into pi-devTreeHugger Robot
2018-08-29Updating error print in AGPS state machineShinru Han
Minor update to print error message in AGPS state machine only when valid. Bug: 63428806 Test: SUPL test pass without error message CRs-Fixed: 2083361 Change-Id: I92ad634015722939eeaffb8c76a52dffe1c00bdb
2018-08-27Add TARGET_USES_HARDWARE_QCOM_GPSAndrew Chant
Add TARGET_USES_HARDWARE_QCOM_GPS, which can be set to false to disable using hardware/qcom/gps code. Set this flag false for sdm845 and sdm710, which were using the lack of chipset-specific directories for those projects as an indirect mechanism not to compile code in this repo. Bug: 111935745 Change-Id: I8dc960aec79c0184fc5cfd74ad899c3d16170226
2018-07-24Register AGPS request event after SSRShinru Han
Bug: 111380734 Test: SUPL pass after SSR Change-Id: I870e802de81dd81fb76eafa23116a98b82b8090a
2018-07-13Add control access for sdm710android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16pie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-devChengYou Ho
Bug: 111163725 Change-Id: Id4a5a04b61689512735fca2eefae61d8dd94046d Signed-off-by: ChengYou Ho <chengyouho@google.com>
2018-05-17Merge "fixing the location api level race condition on callbacks" into pi-devpie-devTreeHugger Robot
2018-05-16fixing the location api level race condition on callbacksKevin Tang
At the layer right under HIDL impl, where the callback objs are received from HIDL and used by HAL layer, there is race condition volnerability which could yield using a incompletely copied sp obj. Added mutex protection. Bug: 79541486 Change-Id: I611db590d1fadbe43c74db71a1ea906dbe067c6d CRs-Fixed: 2144976 (cherry picked from commit f1ee0f801e75dc89ff776bdefd148c63d128b6b4)
2018-05-16Add Carrier Frequency info in GNSS MeasurementMike Cailean
Add Carrier Frequency information in GNSS Measurement - based on constellation for now Bug: 78539019 CRs-fixed: 2231362 Test: Same as sdm845 change already tested Change-Id: I83b2eed6b469e9b94090830b10f5e1306a940d2a
2018-05-10Reset MSA/MSB capabilities for APQ targets.Harikrishnan Hariharan
- Capabilities MSA/MSB should be reset even if defined in gps.conf for APQ/QSC targets. Since WWAN modem will not be available, we need to trigger Standalone fixes only. If MSB capability is set,then default position mode is MSB. - Handle the new string "qcs" for baseband for Gen9 APQ targets. - Make sure that ContextBase::readConfig avoid repeat initialize for config reading. Bug: 79541486 Change-Id: Ic0a1e57dd76a88bf4d037cd374ceded84cc0f904 CRs-Fixed: 2193207 (cherry picked from commit 52c5d90cc1a67ab15568670ee0d1c18df6bcd579)
2018-04-02Add -Wno-error to compile with global -Werror.Alain Vongsouvanh
This is inspired by commit 8dd51a02131983768f5c9e416e34c28d1ae6dcbc. Bug: 77278270 Test: normal builds. Change-Id: Ib3e60bb8e4bc5e17a556bae6fe5b0ae8b8d8c548
2018-02-23Merge "flp.conf should be read from /vendor/etc/"TreeHugger Robot
2018-02-22flp.conf should be read from /vendor/etc/Dante Russo
flp.conf was being read from incorrect path, which was causing GetBatchSize API to read incorrect batch size. Change-Id: Ib95610e72157834fc731f35b67eb475dfe6af5a2 CRs-fixed: 2193052 Bug: 73251835 (cherry picked from commit 3a50d10ece534ca1414112dfd11e0e6115cc51e1)
2018-02-22Fix incorrect cast to avoid integer overflowDante Russo
Fix incorrect cast in converting time uncertainty from integer based source to float. Change-Id: Ibb75eb1a2d925a7e7ce13275f09a618f241c31bf CRs-Fixed: 2157401 Bug: 70215155
2018-02-06KW Warning fixesSaurabh Srivastava
Adding fixes for null reference errors. Change-Id: Ie62bd93860baef2670c164ae7a5d148440308213 CRs-Fixed: 2113171
2018-02-06Integrate XtraSysStatObs with SystemStatusObserverHarikrishnan Hariharan
Use SystemStatusObserver to subscribe for dataitems in XtraSystemStatusObserver. Change-Id: Ib1828b9025c9c5bb5194a36014249472ed3f6f9e CRs-Fixed: 2093290
2018-02-06Adding fix to send SUPL_ES ATL Close completeSaurabh Srivastava
Sending ATL Close complete for both Unsubscribe and Released event. CRs-Fixed: 2113762 Change-Id: Ic49b052d4db829ac94d0c696dca1714adff09b0f
2018-02-06gps: add GPS HAL for SD3100 devices based on LW.BR.3.0.1-06600-8x09w.0.Alain Vongsouvanh
This also change the top Makefile logic to pull in the correct sub-directory for msm8909 boards. This new HAL is only guaranteed to work for 3100 devices. Change-Id: I3882a79face7d1120e312f31be5ac0879f43eae3
2018-01-31msm8998: Adding fix to send SUPL_ES ATL Close completeSaurabh Srivastava
Sending ATL Close complete for both Unsubscribe and Released event Bug: 72456941 CRs-Fixed: 2113762 Change-Id: Id684a05aa6d2b8636efb8af3d967146bd1718994
2018-01-31Merge "Adding change to wait for close complete in ATL"TreeHugger Robot
2018-01-31Adding change to wait for close complete in ATLDante Russo
ATL Close response should not be sent if client has wait for close complete flag set to true. Change-Id: I61164508e532cd8c65dff13387122c9d2c08af54 CRs-Fixed: 2089888
2018-01-31msm8998: Invoking HIDL callback via local variableSaurabh Srivastava
Copying HIDL callback member variable to a local variable before invoking. This is to avoid possible race conditions with the callback getting updated during invocation Bug: 72456941 Change-Id: Ida9658f4cffafc64754c0cd26541b731cb328155 CRs-Fixed: 2114085
2018-01-26Merge "Make marlin gps build with the VNDK."TreeHugger Robot
2018-01-25Make marlin gps build with the VNDK.Steven Moreland
When the vndk is enabled (BOARD_VNDK_VERSION=current), vendor libraries must only link against vendor variants in the build system. This also means that they receive restricted sets of headers and that automatic global headers are restricted. Test: build gps with BOARD_VNDK_VERSION=current Bug: 69526027 Change-Id: Ic11b55ef2387f7e184a9d2f3ec88596b49a100b7
2018-01-25Fix missing transitive dependency for the VNDK.Steven Moreland
When the vndk is enabled (BOARD_VNDK_VERSION=current), vendor libraries must only link against vendor variants in the build system. This also means that they receive restricted sets of headers and that automatic global headers are restricted. This sometimes causes certain system headers to not be included when they are not included by the VNDK version of headers. Test: building with BOARD_VNDK_VERSION=current finds undefined symbols Bug: 69526027 Change-Id: Ib245b83ed0f5a1a03db0ea8e0cd56fd1a650020d
2018-01-19fixing conn disconnect handling from GnssLocationProviderArmando Uribe
The type needs to maintain as signed, in case some value may come across as negative, even though the storage size may vary, from 8-bit to 32-bit, for example. Bug: 65164961 Change-Id: Ic3a3e60224458ff07b147b8058eb69723457ed9f CRs-Fixed: 2106350 (cherry picked from commit c7e289185217491ad0e401e7c552fbb8884c6d61)
2018-01-18connectity events for XC2.0 daemonizeDante Russo
send connectity events to XTRA client via local socket. Change-Id: I7a9b26f79a462131d4043cf703884917efa0b5c5 CRs-fixed: 2023484 (cherry picked from commit 52ab393e03dda020ea609ba990197c98128d5440)
2018-01-05Merge "Add -Wno-error to compile with global -Werror." am: dae62bdf70 am: ↵Chih-Hung Hsieh
5f32ca93b0 am: 8cc1ab3e0e Change-Id: Ifbe2850b87bddebc674b8b53e497597c31bcf9fc
2018-01-05Merge "Add -Wno-error to compile with global -Werror." am: dae62bdf70Chih-Hung Hsieh
am: 5f32ca93b0 Change-Id: I332f5517797fb2a3919c4d2911fd9eff93df6a46
2018-01-05Merge "Add -Wno-error to compile with global -Werror."Chih-Hung Hsieh
am: dae62bdf70 Change-Id: I7bc1df6bfe1b4b92b5d860bb2801a4b698733868
2018-01-05Merge "Add -Wno-error to compile with global -Werror."android-wear-p-preview-2android-wear-8.0.0_r1android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7o-mr1-iot-preview-8o-mr1-iot-preview-7Treehugger Robot
2018-01-04Add -Wno-error to compile with global -Werror.Chih-Hung Hsieh
Bug: 66996870 Test: normal builds. Change-Id: I778435f9370080a95a0dfdaa88fb07d7902874c5
2017-12-08Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: af30cfd60e -s ours am: ↵Xin Li
14bfe7a7bd am: 9eb9cd0e54 -s ours Change-Id: I43fe840cb4d003c205efc724d686f0451f0fc35d
2017-12-07Manually merge changes from giant AOSP topicStephen Li
Change-Id: I2a11d8d88f006d1c805732945a48435073a1f2c7
2017-12-07Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: af30cfd60e -s oursXin Li
am: 14bfe7a7bd Change-Id: Ia97e1d06f72e44b71a9fa9d4464d385ad9ee7224
2017-12-07Merge "DO NOT MERGE: Merge Oreo MR1 into master"Xin Li
am: af30cfd60e -s ours Change-Id: Ia25612fad83e6025d8602cf26769f411fc659580
2017-12-07DO NOT MERGE: Merge Oreo MR1 into master am: b8a0b93816 -s oursXin Li
am: 8314e54802 Change-Id: Iaf2bd0a3b5da5b2187715b5e9d3760e0470d11fd
2017-12-07DO NOT MERGE: Merge Oreo MR1 into masterXin Li
am: b8a0b93816 -s ours Change-Id: Ia45f41e59cc2282d8c91341ebce542eb04c4a3d3
2017-12-06Merge "DO NOT MERGE: Merge Oreo MR1 into master"Xin Li
2017-12-06DO NOT MERGE: Merge Oreo MR1 into masterXin Li
Exempt-From-Owner-Approval: Changes already landed internally Change-Id: I10b690941d55e6dc0ad3e9b51afed31cfb7ce94d
2017-11-15Merge remote-tracking branch 'goog/stage-aosp-master' into HEADXin Li
am: d3e090267c Change-Id: I44e0967cf85bd4eced0187e972ad5ecd332b96ea
2017-11-14Merge remote-tracking branch 'goog/stage-aosp-master' into HEADXin Li
Change-Id: I7d46b6bb937c7083ba88d2a2bc997840d05d8a99
2017-11-13Merge commit 'c86134104f2c840df98fa5add71f939516b80211' into HEADXin Li
Change-Id: I3e4f12ad7ed49fd1b47972695ad303b4628060da
2017-11-08Fixing build breakage introduced by -Werror on master-daydream-dev.Charlie Wang
Supressing -Wno-switch error. Bug: 69062888 Test: Build succeeds. Change-Id: I452bd371e6ea97d218ad8dc7e6836d7f809de129
2017-11-07Fix build break in master-daydream-dev caused by -WerrorCorey Tabaka
A previous CL enabled -Werror and warning exceptions to the Android.mk files under hardware/qcom/gps. This change breaks at least master-daydream-dev branch due to -Wdelete-incomplete warning that is not included in the exptions in msm8998/core/Android.mk. - Add -Wno-delete-incomplete to the exceptions. Bug: 68998074 Test: build succeeds Change-Id: I35efafa2cdeff94d996cf773d956d1cde7a8d8cc
2017-11-07Merge "Use -Werror in hardware/qcom/gps" am: ee55aa356c am: 3375692c20Chih-hung Hsieh
am: 844833bdb3 Change-Id: I59d259af404dfac688fd011d2afca9340ed35e2e
2017-11-07Merge "Use -Werror in hardware/qcom/gps" am: ee55aa356cChih-hung Hsieh
am: 3375692c20 Change-Id: I16f8f503a8a6653a1049498761271e7bb10a7a08
2017-11-07Merge "Use -Werror in hardware/qcom/gps"Chih-hung Hsieh
am: ee55aa356c Change-Id: Iead991468728c142454d0dc6c249904c2c54bfe2
2017-11-07Merge "Use -Werror in hardware/qcom/gps"android-o-mr1-iot-preview-6o-mr1-iot-preview-6Chih-hung Hsieh
2017-11-06Use -Werror in hardware/qcom/gpsChih-Hung Hsieh
* Suppress existing warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I1e78fe7898fc8b1a4a32434f8460e22a83bcec9d