summaryrefslogtreecommitdiff
path: root/gnss
AgeCommit message (Collapse)Author
2022-07-15gps: extend min GPS week number am: 20cf298683Edwin Tung
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19291911 Change-Id: Ia03de69fb58b07a88f86febb25c7d0010c15ac8c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15gps: extend min GPS week numberEdwin Tung
Bug: 238931611 Validity test: 239117198 Test: Gnss Sanity test Change-Id: I85d557fe25135da2d8881fbe7bc4d7f23c08dafd
2022-06-13gps: update gps driver 143.20.23.540442Edwin Tung
Disable OTDOA in Android TM and fix SUPL OTDOA B66 issue Keep IGnssCallback when gps off to fix DBH issue Fix measurement interval issue Fix SI/NI SUPL connection timing issue Bug: 233849643 Bug: 233839493 Bug: 231383525 Bug: 228575547 Verify test: 235753507 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest PtsChreTestCases Change-Id: I986dd08b8e25d60f90f04baa9b8b19a8ee5d493f
2022-05-22gps: update gps driver 142.20.23.537976Edwin Tung
Fix power duty-cycle issue Fix gpsd crash issue Fix gps start fail while running Astress Fix measurement elapsedRealTime variation issue Reduce NLP request Improve warm start accuracy Add additional PLMN codes for TMO Fix no earlyfix while OTDOA disabled Bug: 232035911 Bug: 232035671 Bug: 213264365 Bug: 230598202 Bug: 228395377 Bug: 221000024 Bug: 230811304 Bug: 230818100 Verify test: 233212600 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestCases Change-Id: Ia6803fb246937233094dc4a49e62a21ee906e87c
2022-05-11Revert "gps: enable GNSS PPS feature"Edwin Tung
This reverts commit 9b97563405b7018ce2dab0ec993b6c8b4ff913f4. Reason for revert: b/230265527 shows PPS malfunction impact gps location report. We need to disable PPS until PPS function fully functionality and robust. Bug: 230265527 Change-Id: Iedd753fd243ec268268418629c2c7fa94ce57b9f
2022-05-04[DO NOT MERGE][R4O6] gps: update gps driver 129.20.23.535937Edwin Tung
Disable SUPL OTDOA for VZW Fix SUPL Earlyfix issue while OTDOA disabled Bug: 230818100 Verify test: 231297970 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestCases Change-Id: I6ebabb9d53028a05950d7d00c34ffdf33fb8ff2f Merged-In: Ibf8e8ccf361fb5b0a58ef97c45f581fc50ab2788
2022-04-28gps: update gps driver 142.20.23.534799Edwin Tung
Migrate GNSS HIDL HAL to AIDL HAL Add a gps.xml configuration parameter for CHRE/CHPP baud rate Fix for PVT assertion at patch_pvt_engine_cbs line=0078 Additional field in SatellitePVT Prevent the wrong common bias delta estimation Prevent wrong unhealthy satellites selection Fix LPPe UBP rounding error Fix LPPe UBP error message Fix ADR issues Add debug log for ADR and clk Bias Support pressureNotAvailable in LPPe Fix AIDL2 measurement corrections issue Fix unregistered pressure data after LPPe session Fix dereferenced null pointer Handle LTE B13/14 band handover Fixed the ordering of the GLNS satellites based on the ephemeris availability Report AGC values by constellation and central frequency Bug: 226691677 Bug: 218580284 Bug: 213009701 Bug: 226805895 Bug: 223361838 Bug: 226112617 Bug: 223593119 Bug: 225285619 Bug: 224969521 Bug: 225278936 Bug: 225285619 Bug: 228301290 Bug: 228405504 Bug: 229038024 Bug: 228288159 Bug: 229032461 Bug: 228791446 Verify test: 230286350 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: Ia074bc30bf2ff52ea7ba26324c52c06c00b70979
2022-04-13Revert "gps: update gps driver 140.20.23.532343"Edwin Tung
This reverts commit 76af536f84cb22e0712b1480e49c9ed8f6f9fbe2. Reason for revert: The patch cause regression issue on b/228932000 and b/228935134, revert first. Change-Id: Icb4d28c9cbe19a776b356b35372326dfdaadb011
2022-04-08gps: update gps driver 140.20.23.532343Edwin Tung
Migrate GNSS HIDL HAL to AIDL HAL Add a gps.xml configuration parameter for CHRE/CHPP baud rate Fix for PVT assertion at patch_pvt_engine_cbs line=0078 Additional field in SatellitePVT Prevent the wrong common bias delta estimation Prevent wrong unhealthy satellites selection Fix LPPe UBP rounding error Fix LPPe UBP error message Bug: 226691677 Bug: 218580284 Bug: 213009701 Bug: 226805895 Bug: 223361838 Bug: 226112617 Bug: 223593119 Bug: 225285619 Verify test: 228173359 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: I18dbc36fec41d148a4f9bb0f9516a7e631aaa515
2022-03-30[DO NOT MERGE] gps: update gps driver 129.20.23.529475Edwin Tung
Add NFW IPC between AP and CP Fix NI control plane issue Ignore RTI in cold start Fix OnChip logging issue Bug: 216098015 Bug: 221337679 Bug: 219856838 Bug: 213009701 Verify test: 224635609 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: I89fcf1f61fce350201e6b433895289d3a3912c61
2022-03-23gps: Set SuplUseFwCellInfo to falseJoe Huang
- Set SuplUseFwCellInfo=false to prevent SUPL long TTFF issue Bug: 223488012 Test: GNSS sanity test Change-Id: I88491c6bdec598c11ee884ed39ff8d8ec2ce4394
2022-03-17gps: update gps driver 129.20.23.529478Edwin Tung
Fix NI control plane issue Add NFW IPC between AP and CP Ignore RTI in cold start Fix OnChip logging issue Bug: 221337679 Bug: 216098015 Bug: 219856838 Bug: 213009701 Verify test: 224635609 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: I3ad13f2d227a30de06c9873c3c4ea012a4d0af54
2022-03-10gps: enable GNSS PPS featureEdwin Tung
Bug: 223072369 Test: Gnss measurement elapsedrealtime work && suspend/resume work Change-Id: I885e33876bb73e9dc3ceb44355b3f2e4bf403187
2022-03-08gps: Set RTO/SUPL download interval to 20 minEdwin Tung
Bug: 220457118 Verify test: 222416929 Test: TTFF and RTO download Change-Id: Ib8560400676b2edc59e31c0211c5d6c7b7f2d8f8
2022-03-02[DO NOT MERGE] gps: update gps driver 129.20.23.528101Edwin Tung
Rescale DBH accuracy and add timestamp Pick newest FLP location for LPPe DBH Not to request DBH location for the non-emergency NI Keep reqporting PPS in duty-cycle Release SUPL wakelock while framework restart Fix NI AGPS accuracy and hot start accuracy issue Fix cts testRequestFlush issue Fix gps crash issue Fix re-calibration on the fly issue Fix OnChip mode TTFF issue Fix OnChip mode GnssStatus no el/az issue Bug: 214399728 Bug: 211171235 Bug: 218586958 Bug: 215660420 Bug: 207804509 Bug: 208178903 Bug: 214551540 Bug: 213792299 Bug: 205770623 Bug: 205776935 Bug: 213009701 Bug: 218457536 Bug: 215660420 Bug: 215660420 Bug: 213388910 Bug: 218608516 Verify test: 220461118 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: Iadc3a43a581103e4540bcc3acc63fa5d3e8de8fd Merged-In: I939183a899c23af7d0fb59dcd86012aa10b50b62
2022-03-01gps: update gps driver 129.20.23.528102Edwin Tung
Rescale DBH accuracy and add timestamp Pick newest FLP location for LPPe DBH Not to request DBH location for the non-emergency NI Keep reqporting PPS in duty-cycle Release SUPL wakelock while framework restart Fix NI AGPS accuracy and hot start accuracy issue Fix cts testRequestFlush issue Fix gps crash issue Fix re-calibration on the fly issue Fix OnChip mode TTFF issue Fix OnChip mode GnssStatus no el/az issue Bug: 214399728 Bug: 211171235 Bug: 218586958 Bug: 215660420 Bug: 207804509 Bug: 208178903 Bug: 214551540 Bug: 213792299 Bug: 205770623 Bug: 205776935 Bug: 213009701 Bug: 218457536 Bug: 215660420 Bug: 215660420 Bug: 213388910 Bug: 218608516 Verify test: 220461118 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: I6be87ae025495dd914d391905e288a2084a1393e
2022-02-24[DO NOT MERGE] gps: update gps driver 129.20.23.528152Edwin Tung
Added CpLppeE911PreferredAccuracyMeter (default=10) xml attribute to force Control Plane singleshot accuracy Bug: 215660420 Verify test: 220990700 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: I7a0b6ffe079c10a1ca380feb7ba6bf2fd9498050 Merged-In: I943fa1e906d8b0b80b6395accd71c68f97f7ed43
2022-01-19gps: Add potential fix for MCU crashingEdwin Tung
Allocate the memory with aligned fragment by fixed multiple 512 bytes Bug: 213009701 Test: atest PtsChreTestRunner Change-Id: Ifb9849013702a1659862e21b074030137f125f28
2022-01-19gps: update gps driver 129.20.23.524633Edwin Tung
Fixed null pointer dereferencing while injectNLPError Added SuplUseFwCellInfo (default:true) xml attribute Fixed to block MDT location request when it is not granted by carrier location application Bug: 210070896 Bug: 211381328 Bug: 210935899 Verify test: 214386315 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: If597efa6bfc9d0a606a12bf09babb32e1ee3d3b4
2022-01-14[DO NOT MERGE] gps: update gps driver 129.20.23.524633Edwin Tung
Fixed null pointer dereferencing while injectNLPError Added SuplUseFwCellInfo (default:true) xml attribute Fixed to block MDT location request when it is not granted by carrier location application Bug: 210070896 Bug: 211381328 Bug: 210935899 Verify test: 214386315 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: If597efa6bfc9d0a606a12bf09babb32e1ee3d3b4
2021-12-29[DO NOT MERGE] gps: update gps driver 129.20.23.523968Edwin Tung
Request DBH while capability transaction. Report location info without waiting for DBH. Use gps location as DBH while timeout. KDDI NI requires noPreference for suplPrefMethod. Bug: 206754082 Bug: 207721798 Verify test: 212326933 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: I235ea87c683051879ce160d0d41917328ca58e37 Merged-In: I235ea87c683051879ce160d0d41917328ca58e37
2021-12-29gps: update gps driver 129.20.23.523968Edwin Tung
Request DBH while capability transaction. Report location info without waiting for DBH. Use gps location as DBH while timeout. KDDI NI requires noPreference for suplPrefMethod. Bug: 206754082 Bug: 207721798 Verify test: 212326933 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: I235ea87c683051879ce160d0d41917328ca58e37
2021-12-18Revert "gps: enable GNSS PPS feature" am: 5759adffebEdwin Tung
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16492256 Change-Id: Id90de3ed58654c3e67c5646388add485d08850c4
2021-12-18Revert "gps: enable GNSS PPS feature"Edwin Tung
Bug: 211170885 This reverts commit 09409af2d8b24246478ba1a9385f6b0386700d37. Reason for revert: The wrong elapsed realtime cause 1/2 Hz location update. Change-Id: Ice1fe26627b6aed8d622d748a1f044b6acfe177f
2021-12-10gps: update gps driver 129.20.23.522768Edwin Tung
Fix power mode abnormally turned off by setPositionMode Fix GPS crashing issue Fix location lagging during driving Auto switch constellation for on-chip mode Bug: 207436894 Bug: 206074009 Bug: 204136420 Bug: 201591644 Verify test: 209775831 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: Ib13683ef768197a5b24ecea43c58a94cc42214a8
2021-12-10gps: enable GNSS PPS feature am: 09409af2d8Edwin Tung
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16421979 Change-Id: I803ded1ae3e6c7b1c346dfb16055ddcbe3711d30
2021-12-10gps: enable GNSS PPS featureEdwin Tung
Bug: 175086879 Test: Gnss measurement elapsedrealtime work Change-Id: I959587225dd86a3efa11ecfbdd2b57374f09eef8
2021-12-10[DO NOT MERGE] gps: update gps driver 129.20.23.522768Edwin Tung
Fix power mode abnormally turned off by setPositionMode Fix GPS crashing issue Fix location lagging during driving Auto switch constellation for on-chip mode Bug: 207436894 Bug: 206074009 Bug: 204136420 Bug: 201591644 Verify test: 209775831 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: I8562af321a6238009127345a591d8bb1f6197fc2
2021-12-08gps: Update EnableOnChipStopNotification am: d8ce158324Shinru Han
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16402291 Change-Id: I7d4e8b6293737483ba153b8d0e7b9a5f6e151756
2021-12-08gps: Update EnableOnChipStopNotificationShinru Han
Set EnableOnChipStopNotification=”2”. Sends on-chip stop notification only when the Host request exists and on-chip request stops. Bug: 208940846 Test: logging test for case #1, #3 and #4 in b/197196725#comment39 Change-Id: I8a244eb3a705f1cc2884e1a180cb8ad6ebd41ad7
2021-11-30gps: Correct ESW crash dump path am: b35bb78536Shinru Han
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16361903 Change-Id: I7666fad8a5b5e2451492d0855abaf481e6695273
2021-11-30gps: Correct ESW crash dump pathShinru Han
Bug: 207587485 Test: ESW crash dump can be found under data/vendor/gps/logs after running command : echo Lhe:write=0xFFFFFFFF,4 > /data/vendor/gps/LheConsole.toAsic Change-Id: Icf3505a8d29e867f81eb513d25bf790085a2819f
2021-11-25gps: update gps driver 129.20.23.521367Edwin Tung
Improve stopping conditions for urban driving Fix GTS issues Improve Spirent AGPS drive accuracy Add PRs and PRRs log Fix SUPL over WIFI issue Integrate SatPvt URE fix Fix SB Lab issue Bug: 207606667 Bug: 200942298 Bug: 204963837 Bug: 202366378 Bug: 202250827 Bug: 203615018 Bug: 205653853 Bug: 198384193 Sanity Test: 207330491 Test: atest CtsLocationGnssTestCases atest VtsHalGnssV1_0TargetTest atest VtsHalGnssV1_1TargetTest atest VtsHalGnssV2_0TargetTest atest VtsHalGnssV2_1TargetTest atest VtsHalGnssTargetTest atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: I73d0accb288149c458e232ae3f1b985112de7cd6
2021-11-23[DO NOT MERGE] gps: update gps driver 129.20.23.521367Edwin Tung
Improve stopping conditions for urban driving Fix GTS issues Improve Spirent AGPS drive accuracy Add PRs and PRRs log Fix SUPL over WIFI issue Integrate SatPvt URE fix Fix SB Lab issue Bug: 200942298 Bug: 204963837 Bug: 202366378 Bug: 202250827 Bug: 203615018 Bug: 205653853 Bug: 198384193 Sanity Test: 207330491 Test: build pass Change-Id: If5720611a734d7d76780b22781e8650b779f27f4
2021-11-15Modify gnss device.mk to support new projects am: 987378054fJoe Huang
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16128399 Change-Id: I7a4311a5979467d03c047ec0e9a44abf618a3b07
2021-11-15Modify gnss device.mk to support new projectsJoe Huang
Copy default gps.xml to only specific projects under gs101 and maintain new projects in their own folders. Bug: 203745796 Test: Build test and check config Change-Id: Ic0b6f8a6e41063f5c42573aea91650007963912b
2021-10-27[DO NOT MERGE] gps: update gps driver 129.20.23.518574 am: 6728033aa3Edwin Tung
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16101543 Change-Id: If077d43a1f883db2e6486f179abee19fad1adf9b Test: build pass
2021-10-27[DO NOT MERGE] gps: update gps driver 129.20.23.518574Edwin Tung
Report agnss position even no NLP location Fix to delete RTO too when delete all aiding received Add mutex to protect malloc/free Fix for the bug of power mode logging in ONCHIP_NMEA Reporting PLMN (MCC+MNC) of SIM and Network Fix GPS outage when OnChip/Host switching Fix LPPe UBP issue Fix gpsd crash issue Bug: 202366527 Bug: 199818363 Bug: 199048681 Bug: 201582435 Bug: 199114573 Bug: 197716902 Bug: 195383842 Bug: 200107911 Bug: 203068978 Sanity Test: 203854792 Test: build pass Change-Id: I27f314a4b2b5a82e27186a170f10b1041b7d0650
2021-10-27Remove ndk_platform backend. Use the ndk backend. am: 493c5f6adb am: c33a459eb2Jiyong Park
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16126494 Merged-In: I25ec19101c408cc29df38d127f284c7085fe1d1a Change-Id: Ibca1e00f1e410e88c231329cabe7ede131a20b7c
2021-10-27Remove ndk_platform backend. Use the ndk backend. am: 3428793114 am: 7760ffc444Jiyong Park
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119649 Change-Id: Id83ed275af2699344d9eee747cbcd8c7e9333789
2021-10-27Remove ndk_platform backend. Use the ndk backend. am: 493c5f6adbJiyong Park
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119650 Merged-In: I25ec19101c408cc29df38d127f284c7085fe1d1a Change-Id: I27e0477d8673dd78fd96a2ceddc597f8435372c5
2021-10-27Remove ndk_platform backend. Use the ndk backend. am: 3428793114Jiyong Park
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119649 Change-Id: I2657a0f2342879a8897af8677b3ec665e3a723e4
2021-10-26Remove ndk_platform backend. Use the ndk backend.Jiyong 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. The prebuilt files had a reference to android.hardware.gnss-V1-ndk_platform.so. Change it to android.hardware.gnss-V1-ndk.so by diretly editing the DT_NEEDED entry. Bug: 161456198 Test: m Merged-In: I25ec19101c408cc29df38d127f284c7085fe1d1a Change-Id: I25ec19101c408cc29df38d127f284c7085fe1d1a
2021-10-26Remove ndk_platform backend. Use the ndk backend.Jiyong 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: Iebc1c5d4c277e96cf7564d882aeecb084adc53ee Change-Id: Iebc1c5d4c277e96cf7564d882aeecb084adc53ee (cherry picked from commit 25368375b1759a13cacbfa1a9a183d4eee7381b2)
2021-10-08[DO NOT MERGE] gps: update gps driver 129.20.23.516938Edwin Tung
Rescale accuracy confident to 67% for AGPS NI request Fix velocity URE in SatellitePvt Fix scd crash Enhance log mechanism Fix avc denied Force 1 sec interval in emergency mode Bug: 199581865 Bug: 200654813 Bug: 201514516 Bug: 197196725 Bug: 201382800 Bug: 201729040 Sanity Test: 202280989 Test: build pass Change-Id: I425e3f05e9ffc51ffeaa3f4d3d17a92592097a23
2021-10-01[DO NOT MERGE] gps: update gps driver 129.20.23.516384Edwin Tung
Rescale accuracy confident to 67% for AGPS NI request Set LPPe DBH altitude value to maxima if no FLP altitude Bug: 199581865 Bug: 199719571 Bug: 201238299 Sanity Test: 201497808 Test: build pass Change-Id: I151340dbed8b4ee4aa972c09d284e39f9702223c
2021-09-28gps: Update SecondaryConfigPath am: 80b57c3d63 am: 296288785fShinru Han
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919522 Change-Id: Ied53bf97a0b220fc76005033cf5a13936698444b
2021-09-28gps: Update SecondaryConfigPath am: 80b57c3d63Shinru Han
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919522 Change-Id: I40a233e0d72e84ddae20bffc80f5b6c7be4926b8
2021-09-28[DO NOT MERGE] gps: update gps driver 129.20.23.515167Edwin Tung
Fix LPP GNSS ID misplaced with QZSS Disable hardware Geofence Improve log for onChipStopNotification Improve PMM mode Restore carrier config after gps crashing Fix incorrect altitude encoding of LPPe DBH Set LPPe CP enable by default Set LPPe DBH altitude value to maxima if no FLP altitude Bug: 193380649 Bug: 196702082 Bug: 197196725 Bug: 197563181 Bug: 198261454 Bug: 199677624 Bug: 198727829 Bug: 199719571 Sanity Test: 200797783 Test: build pass Change-Id: I65813ae49d631f9fe73f2f35ed088978d0ee8f95
2021-09-28gps: Update SecondaryConfigPathShinru Han
The seconday config under data/vendor/gps/logs/ could be removed by tester. Update the SecondaryConfigPath to data/vendor/gps/overlay/. Test: log config can be updated by pixellogger Bug: 194493365 Change-Id: I4045908d33abb6c17197ee5c596b945025c5a775