summaryrefslogtreecommitdiff
path: root/gnss
AgeCommit message (Collapse)Author
2022-11-16Update Cuttlefish mock GNSS hardware model nameZhanghao Wen
Test: atest GnssHardwareInfoTest Bug: 258680584 Change-Id: I17c877848aee4b607cd0d798e7c91a1987fd6286 Merged-In: I17c877848aee4b607cd0d798e7c91a1987fd6286
2022-06-09Minor fixes on VTS testsYu-Han Yang
- call startSvStatus()/startNmea() before calling start(). This will avoid missing the first SvStatus - in TestGnssSvInfoFieldsTest, avoid calling list::back() if the list is empty. Bug: 235062809 Test: atest VtsHalGnssTargetTest Change-Id: I612d42e23085dbb0b32da328869bfd443ee66362
2022-05-11Add VTS tests for measurementInterval, stopSvStatus, and stopNmeaYu-Han Yang
Bug: 206670536 Test: atest VtsHalGnssTargetTest Change-Id: Id597c772fbe63789cb394b2aa14faeb755196f64
2022-04-28Clarify measurement interval documentationYu-Han Yang
The GNSS chipset must report measurements at the requested rate if location is not requested. Bug: 206670536 Test: doc update only Change-Id: I3b488f8b38def4b6ebf13733149d9b75b23db0cb
2022-03-31Freeze AIDL APIs for TMJiyong Park
Bug: 225941299 Test: m Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-14Add ExcessPathInfo (hardware/interfaces)Yu-Han Yang
Bug: 201253590 Test: atest VtsHalGnssTargetTest Change-Id: I68562d0332d161d31dbd494254ef404d110066dd
2022-03-10Hide all GNSS AIDL interfaces/parcelables/enumsYu-Han Yang
Bug: 201253590 Test: atest VtsHalGnssTargetTest Change-Id: I8062085f5cb148189eebd6a7e7addf1b20de37db
2022-03-03Merge "Remove GnssHidlHal from default implementation" into tm-devTreeHugger Robot
2022-03-03Remove GnssHidlHal from default implementationYu-Han Yang
Since all HALs are in AIDL, HIDL implementation is no longer needed. Bug: 201253590 Test: on Cuttlefish Change-Id: Iaefe72760999ace6a9d3dc682a5b457c03a75746
2022-02-24Merge changes from topic "presubmit-am-0dab591a2da0487e86ae54ea1577f29a" ↵Enrico Granata
into sc-v2-dev-plus-aosp am: 747d25206b Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16989257 Change-Id: I9383e760669fdaaaa754b4db5ee014e12f6531e1
2022-02-23[automerge] Support vendor GNSS file properties for AAOS virtualization 2p: ↵Enrico Granata
9447139c92 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16989257 Bug: 213489959 Change-Id: I1879b5176020c8dbba93b423462932f3cdf1c388
2022-02-23Support vendor GNSS file properties for AAOS virtualizationEnrico Granata
The Android Automotive trout device uses GNSS HAL for fetching location data from a live GNSS adapter, not a mock file. We also have an established naming convention for console port names that is carried over from the Bluetooth use case. Add support for a vendor uart port for GNSS in addition to the existing Cuttlefish debug property, in order to enable trout to establish a connection to the host GNSS agent Bug: 213489959 Test: build flash and boot Change-Id: Id2d2134bb6ea60adef1072295c4f623463bfb010
2022-02-18Supported synchronized fixed location and measurement from device filesYuchen He
Replace NMEA by one row fixed location data Test: atest VtsHalGnssTargetTest Test: launch_cvd -cpus 16 -memory_mb 16192 --start_gnss_proxy --gnss_file_path=/usr/local/google/home/yuchenhe/Downloads/raw.txt --fixed_location_file_path=/google/data/rw/users/yu/yuchenhe/input.txt Bug: 213225295 Merged-In: Ide7bbb3e81a90414496084691227bd95a2e7af18 Change-Id: Ide7bbb3e81a90414496084691227bd95a2e7af18
2022-02-18Add parser to support CSV location dataYuchen He
Bug: 213225295 Test: launch_cvd -cpus 16 -memory_mb 16192 --start_gnss_proxy --gnss_file_path=/google/data/rw/users/yu/yuchenhe/input.txt (Running blue dot in Google Maps) Almost a cherry-pick but changed the data type from AIDL GnssLocation to the HIDL type, since there are no AIDL GnssLocation Type in SC-V2. Merged-In: I572315888c2f57ce701e695acb03aa6b28787f31 Change-Id: I572315888c2f57ce701e695acb03aa6b28787f31
2022-02-18Read GNSS measurement from device file when availableYuchen He
Test: atest CtsLocationGnssTestCases GtsLocationTestCases on CF Bug: 190757198 Change-Id: Ic03d56a5df6b99f7b20c5840e7091ead138316b1 Merged-In: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
2022-02-18Add raw measurement parserYuchen He
Test: manual test (data cross verified with GnssLogger app) Bug: 190757198 Change-Id: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f Merged-In: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
2022-02-18fix potential use-after-frees of stack memoryGeorge Burgess IV
`devname_value` is a local variable; if `property_get` succeeds, we'll return a pointer to it. Returning a `std::string` instead sidesteps this problem. Bug: 190757198 Test: TreeHugger Change-Id: If9ca733dd21128706f2a9f62e8460b1286631aa5 Merged-In: If9ca733dd21128706f2a9f62e8460b1286631aa5
2022-02-18Refactor and reuse some read device file logicYuchen He
Add skeleton on HAL for Gnss raw measurement injection Bug: 190757198 Test: manual test Merged-In: I9b58043d5ed321aa71ff4f23031df251ae89c407 Change-Id: I9b58043d5ed321aa71ff4f23031df251ae89c407
2022-02-18Change TOC and TOE to longYu-Han Yang
Change TOC and TOE definition to 1. long 2. time in seconds since GPS epoch, regardless of constellation 3. must not be encoded 4. rename to timeOfClockSeconds and timeOfEphemerisSeconds Bug: 219575003 Test: on device Change-Id: Icb75a3397d3bf41c91e2a19bbec8a95a97100a07 (cherry picked from commit f20e55cf4654662b8ab730bca3ded1c3e26c55c1)
2022-02-16Supported synchronized fixed location and measurement from device filesYuchen He
Replace NMEA by one row fixed location data Test: atest VtsHalGnssTargetTest Test: launch_cvd -cpus 16 -memory_mb 16192 --start_gnss_proxy --gnss_file_path=/usr/local/google/home/yuchenhe/Downloads/raw.txt --fixed_location_file_path=/google/data/rw/users/yu/yuchenhe/input.txt Bug: 213225295 Merged-In: Ide7bbb3e81a90414496084691227bd95a2e7af18 Change-Id: Ide7bbb3e81a90414496084691227bd95a2e7af18
2022-02-16Add parser to support CSV location dataYuchen He
Bug: 213225295 Test: launch_cvd -cpus 16 -memory_mb 16192 --start_gnss_proxy --gnss_file_path=/google/data/rw/users/yu/yuchenhe/input.txt (Running blue dot in Google Maps) Almost a cherry-pick but changed the data type from AIDL GnssLocation to the HIDL type, since there are no AIDL GnssLocation Type in SC-V2. Merged-In: I572315888c2f57ce701e695acb03aa6b28787f31 Change-Id: I572315888c2f57ce701e695acb03aa6b28787f31
2022-02-15Merge fix to AOSP: Report default location when location is not available in ↵Yuchen He
/dev/gnss0 Change-Id: I3ce672aa1a7a39c256dd1396658859c205b61399 Merged-In: I3ce672aa1a7a39c256dd1396658859c205b61399 Test: atest VtsHalGnssTargetTest Bug: 197579774
2022-02-15Read GNSS measurement from device file when availableYuchen He
Test: atest CtsLocationGnssTestCases GtsLocationTestCases on CF Bug: 190757198 Change-Id: Ic03d56a5df6b99f7b20c5840e7091ead138316b1 Merged-In: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
2022-02-15Add raw measurement parserYuchen He
Test: manual test (data cross verified with GnssLogger app) Bug: 190757198 Change-Id: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f Merged-In: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
2022-02-15fix potential use-after-frees of stack memoryGeorge Burgess IV
`devname_value` is a local variable; if `property_get` succeeds, we'll return a pointer to it. Returning a `std::string` instead sidesteps this problem. Bug: 190757198 Test: TreeHugger Change-Id: If9ca733dd21128706f2a9f62e8460b1286631aa5 Merged-In: If9ca733dd21128706f2a9f62e8460b1286631aa5
2022-02-15Refactor and reuse some read device file logicYuchen He
Add skeleton on HAL for Gnss raw measurement injection Bug: 190757198 Test: manual test Merged-In: I9b58043d5ed321aa71ff4f23031df251ae89c407 Change-Id: I9b58043d5ed321aa71ff4f23031df251ae89c407
2022-02-09Add GNSS AIDL VTS testsYu-Han Yang
Copy existing VTS tests from HIDL HALs to AIDL, to make sure AIDL has at least the same API coverage. Bug: 216523795 Test: atest VtsHalGnssTargetTest Change-Id: I0f09ba2b5541e19f28b8689ec93ce6c2ba6798ff
2022-02-09Merge "Add GnssAntennaInfo AIDL capability"Joe Huang
2022-02-02Update getInterfaceVersion checks to include -1Yu-Han Yang
getInterfaceVersion() returns -1 if it is unknown. V1 of the HAL doesn't implement getInterfaceVersion due to ABI reasons for regular, unversioned, AIDL interfaces. Bug: 206670536 Test: on device Change-Id: Id63b65b8a03488a6f179c7f64bd9d457e28eb30a
2022-02-02Add GnssAntennaInfo AIDL capabilityJoe Huang
Enable GnssAntennaInfo capability as JNI AIDL is ready. Bug: 205185369 Test: atest VtsHalGnssTargetTest Change-Id: I89d559ea4e95bc19815497c46d9ef96f32883293
2022-02-02Merge "Add register/unregister methods for SvStatus and NMEA ↵Yu-Han Yang
(hardware/interfaces)"
2022-02-01Merge "Add ephSource, toc, toe, IODC, IODE to SatellitePvt ↵TreeHugger Robot
(hardware/interfaces)"
2022-01-28Add register/unregister methods for SvStatus and NMEAYu-Han Yang
(hardware/interfaces) Bug: 213375506 Test: atest VtsHalGnssTargetTest Change-Id: I7468336b5e1759f4ce90a42fbfd19e3bb17baaa9
2022-01-28Merge "Fix ANAPIC review comments (hardware/interfaces)"TreeHugger Robot
2022-01-27Add ephSource, toc, toe, IODC, IODE to SatellitePvtYu-Han Yang
(hardware/interfaces) Bug: 206670536 Test: atest VtsHalGnssTargetTest Change-Id: I564e9e0f48d5a22d40f103286d0d7553006be1de
2022-01-26Fix ANAPIC review comments (hardware/interfaces)Yu-Han Yang
* Use "GnssAgc[] gnssAgcs = {};" for backwards compatibility * Add comments on AgnssTypes * Rename SetIDType -> SetIdType * Update the comment on NetworkAttributes -> networkHandle * Remove the “DELETE_” prefix in the GnssAidingData * Make a parcelable for setPositionMode parameters Bug: 215566115 Test: atest VtsHalGnssTargetTest Change-Id: Ifc2de451a43cd1f32267e74dc288a3821b75f0cb
2022-01-20Supported synchronized fixed location and measurement from device filesYuchen He
Replace NMEA by one row fixed location data Test: atest VtsHalGnssTargetTest Test: launch_cvd -cpus 16 -memory_mb 16192 --start_gnss_proxy --gnss_file_path=/usr/local/google/home/yuchenhe/Downloads/raw.txt --fixed_location_file_path=/google/data/rw/users/yu/yuchenhe/input.txt Bug: 213225295 Change-Id: Ide7bbb3e81a90414496084691227bd95a2e7af18
2022-01-20Add minDistance parameter to GnssBatching (hardware/interface)Shinru Han
Test: atest VtsHalGnssTargetTest Bug: b/206670536 Change-Id: I982dd64d0cfe0f42c411e4df27d9fdd160c74d2e
2022-01-20Merge "Reland "Add IAGnssRil AIDL HAL (hardware/interfaces)""Yu-Han Yang
2022-01-19Merge "Remove GnssAntennaInfo AIDL capability"Yu-Han Yang
2022-01-20Reland "Add IAGnssRil AIDL HAL (hardware/interfaces)"Shinru Han
Bug: 205185251 Bug: 182975915 Test: atest VtsHalGnssTargetTest Change-Id: I7f8d0b367c68ba870d0a222aee4ee4b5b93cc936
2022-01-19Remove GnssAntennaInfo AIDL capabilityJoe Huang
Since JNI is not ready yet, remove it to avoid cts fail. Bug: 215281989 Test: atest LocationManagerFineTest Change-Id: I69ced31e1de54ef9a325ba20020f1913fe3daddd
2022-01-19Add MeasurementCorrections AIDL HAL (hardware/interfaces)Edwin Tung
Bug: 208728105 Test: atest VtsHalGnssTargetTest Change-Id: I2192670951a517bd229535a083997cc9bab31287
2022-01-18Merge "Combining GnssVisibilityControl to gnss aidl_interface"TreeHugger Robot
2022-01-18Combining GnssVisibilityControl to gnss aidl_interfaceEdwin Tung
Bug: 208728105 Test: atest VtsHalGnssTargetTest Change-Id: I7295a59a93778a186727e2a22c9669770f021d1a
2022-01-17Add IGnssAntennaInfo AIDL HALJoe Huang
Bug: 205185369 Test: atest VtsHalGnssTargetTest Change-Id: If269c61b408c2710a4fa224de4d684c99ac5732b
2022-01-14Merge "Add parser to support CSV location data"Yuchen He
2022-01-14Merge "Add GnssAgc to GnssMeasurementsEvent (hardware/interfaces)"Yu-Han Yang
2022-01-13Add parser to support CSV location dataYuchen He
Bug: 213225295 Test: launch_cvd -cpus 16 -memory_mb 16192 --start_gnss_proxy --gnss_file_path=/google/data/rw/users/yu/yuchenhe/input.txt (Running blue dot in Google Maps) Change-Id: I572315888c2f57ce701e695acb03aa6b28787f31
2022-01-13Support the location injection in AIDL HALYuchen He
Bug: 213225295 Test: atest VtsHalGnssTargetTest Change-Id: Iff9fca55722af9bad6cc50f0170e4e1a069d05d6