Commit graph

625 commits

Author SHA1 Message Date
Yu-Han Yang
f72b412a07 Skip TestGnssPowerIndication if capability is not supported am: 5da610c660 am: e0b0a8c2a7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2397741

Change-Id: Ie26bcec33070bc82310231947497fee944e4e819
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 19:47:36 +00:00
Yu-Han Yang
e0b0a8c2a7 Skip TestGnssPowerIndication if capability is not supported am: 5da610c660
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2397741

Change-Id: I874c8f080db515cb36d3a0c5bf288b34d0fa0a9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 19:07:48 +00:00
Yu-Han Yang
5da610c660 Skip TestGnssPowerIndication if capability is not supported
Bug: 263354944
Test: atest VtsHalGnssTargetTest
Change-Id: I372ca2f2fb4cb5d4cafbacc1bde1cc0f0f2077dd
2023-01-20 22:08:53 +00:00
Samip Garg
5a1bde04ae Merge "Snap tm-dev to android13-tests-dev" into tm-dev 2023-01-10 20:21:40 +00:00
TreeHugger Robot
f274c1fbd1 Merge "Clarify HAL doc of full tracking" 2023-01-05 22:11:06 +00:00
TreeHugger Robot
6c5ff2565f Merge "Update TestGnssMeasurementIsFullTracking" 2022-11-28 17:47:11 +00:00
Yu-Han Yang
5d0550c572 Clarify HAL doc of full tracking
Bug: 257549183
Test: doc update only
Change-Id: I35a0736c0939033a588aa28e77f9186e3d59ce6d
2022-11-22 21:30:28 +00:00
Zhanghao Wen
fb39edbd83 Fix a bug that did not check the status after it is assigned
Test: on Cuttlefish
Bug: 260002331
Change-Id: I7db69b19c3f29824970a5ae04aeae26e8bfd8447
2022-11-22 12:26:38 -08:00
Yu-Han Yang
584a4fcdd0 Update TestGnssMeasurementIsFullTracking
Bug: 257549183
Test: atest VtsHalGnssTargetTest
Change-Id: I49d91e40515384480508ba88bcb052bd4ee81ccd
2022-11-21 23:22:56 +00:00
Zhanghao Wen
28a8edfeb2 Add gnss capability - Accumulated Delta Range in AIDL HAL (hardware/interfaces)
Test: on Cuttlefish
Change-Id: I12307e21b1c574d76f3c0a834e8eb75f1b23e7a3
Bug: 260002331
2022-11-21 14:53:53 -08:00
TreeHugger Robot
da433e032f Merge "Add isFullTracking to GnssData" 2022-11-18 19:12:32 +00:00
Zhanghao Wen
48eb52cd38 Update Cuttlefish mock GNSS hardware model name am: 08e0d7dfb0 am: c4c5d1549e am: c2e719bbd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20489237

Change-Id: Ie918d5361864f515892e4aa971b91b5708792fe8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 20:18:48 +00:00
Zhanghao Wen
08e0d7dfb0 Update Cuttlefish mock GNSS hardware model name
Test: atest GnssHardwareInfoTest
Bug: 258680584

Change-Id: I17c877848aee4b607cd0d798e7c91a1987fd6286
Merged-In: I17c877848aee4b607cd0d798e7c91a1987fd6286
2022-11-16 20:01:34 +00:00
Zhanghao Wen
71c3d17fd8 Update Cuttlefish mock GNSS hardware model name
Test: atest GnssHardwareInfoTest
Bug: 258680584
Change-Id: I17c877848aee4b607cd0d798e7c91a1987fd6286
2022-11-15 11:33:57 -08:00
Yu-Han Yang
c5d4f36a4f Add isFullTracking to GnssData
Bug: 257549183
Test: atest VtsHalGnssTargetTest
Change-Id: Icd2ad1e6905fcc76370216fafe34174475497b5f
2022-11-08 00:03:00 +00:00
Shinru Han
a977bcc18b Add injectNiSuplMessageData()
Test: atest VtsHalGnssTargetTest
Bug: b/242105192
Change-Id: I32a87cbcad67fda032137ed5eb2181cd0266f171
2022-11-03 11:48:48 +08:00
Yu-Han Yang
8bba420d32 Reset gnss_data_cbq_ before the 2nd request
Bug: 254763910
Test: atest VtsHalGnssTargetTest
Change-Id: I96db90bbb99e17b2134d9b901a9dfcd80c7a0269
2022-10-24 22:49:38 +00:00
TreeHugger Robot
6f71eea54c Merge "Add gnssSetSignalTypeCapabilitiesCb()" 2022-10-21 00:27:39 +00:00
TreeHugger Robot
1fcce70811 Merge "Clarify setCallback() can be called without a previous close() call" 2022-10-21 00:26:53 +00:00
Yu-Han Yang
d2377447d5 Add gnssSetSignalTypeCapabilitiesCb()
Bug: 253319784
Test: atest VtsHalGnssTargetTest
Change-Id: Ib1485a2002bb3af01954698f490060da46331a5d
2022-10-20 22:29:18 +00:00
Yu-Han Yang
9a938d5977 Clarify setCallback() can be called without a previous close() call
Add a VTS test case to enforce this.

Bug: 253453668
Test: atest VtsHalGnssTargetTest
Change-Id: I1d1f9587e590360198274ef5583893c35051ef8e
2022-10-20 22:21:33 +00:00
Yu-Han Yang
d2c39621e8 Call close() in TearDown() am: 25cd9d67d5 am: 9fbde6a00d am: 84f98c0762 am: a63ea8b37a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2254818

Change-Id: I98c20caa02acca1b9f374b9a920a21afa1ab4824
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 22:17:31 +00:00
Yu-Han Yang
9fbde6a00d Call close() in TearDown() am: 25cd9d67d5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2254818

Change-Id: I9cc41bc3989788511d799ddaa6cf9b881f11c980
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 20:33:30 +00:00
Yu-Han Yang
25cd9d67d5 Call close() in TearDown()
Bug: 251580081
Test: atest VtsHalGnssTargetTest
Change-Id: Ieb02205f434899f7e9c5db32cfa7172788c39fa6
2022-10-14 23:14:58 +00:00
TreeHugger Robot
71c423fb90 Merge "Increase VtsHalGnssTargetTest test timeout to 2min" 2022-07-25 23:26:34 +00:00
Yu-Han Yang
b7e542cc69 Increase VtsHalGnssTargetTest test timeout to 2min
Test: atest VtsHalGnssTargetTest
Bug: 240193422
Change-Id: Ia960a88ac0692c72ee7aa56ae33932f325dee356
2022-07-25 22:19:23 +00:00
Jooyung Han
c0b24f4f13 Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Ignore-AOSP-First: some libs are still in internal master only.

Bug: 234181591
Test: m
Merged-In: If999df9c78a20df931177da11742b1c5de19bc08
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
(cherry picked from commit 5527adfd7f)
2022-06-14 14:08:59 +09:00
TreeHugger Robot
20a62be9c1 Merge "Remove AIDL-libs from VNDK" 2022-06-14 03:13:27 +00:00
Yu-Han Yang
dcf3c519fc Minor fixes on VTS tests
- 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-06-09 23:01:28 +00:00
Jooyung Han
5527adfd7f Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Ignore-AOSP-First: some libs are still in internal master only.

Bug: 234181591
Test: m
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
2022-06-02 17:43:19 +09:00
Yu-Han Yang
19a32b6270 Add VTS tests for measurementInterval, stopSvStatus, and stopNmea
Bug: 206670536
Test: atest VtsHalGnssTargetTest

Change-Id: Id597c772fbe63789cb394b2aa14faeb755196f64
2022-05-11 20:28:03 +00:00
Yu-Han Yang
d64dd7b6a8 Clarify measurement interval documentation
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-04-28 13:00:33 -07:00
Jiyong Park
703e97920e Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-31 12:01:39 +09:00
Yu-Han Yang
f5bd7c054b Add ExcessPathInfo (hardware/interfaces)
Bug: 201253590
Test: atest VtsHalGnssTargetTest
Change-Id: I68562d0332d161d31dbd494254ef404d110066dd
2022-03-14 14:07:11 -07:00
Yu-Han Yang
75a6af2318 Hide all GNSS AIDL interfaces/parcelables/enums
Bug: 201253590
Test: atest VtsHalGnssTargetTest
Change-Id: I8062085f5cb148189eebd6a7e7addf1b20de37db
2022-03-10 13:29:29 -08:00
TreeHugger Robot
4bd6c41dd4 Merge "Remove GnssHidlHal from default implementation" into tm-dev 2022-03-03 22:02:34 +00:00
Yu-Han Yang
a6e579a458 Remove GnssHidlHal from default implementation
Since all HALs are in AIDL, HIDL implementation is no longer needed.

Bug: 201253590
Test: on Cuttlefish
Change-Id: Iaefe72760999ace6a9d3dc682a5b457c03a75746
2022-03-03 11:39:12 -08:00
Enrico Granata
976698ddcc Merge changes from topic "presubmit-am-0dab591a2da0487e86ae54ea1577f29a" 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-24 02:30:20 +00:00
Enrico Granata
081068a809 [automerge] Support vendor GNSS file properties for AAOS virtualization 2p: 9447139c92
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16989257

Bug: 213489959
Change-Id: I1879b5176020c8dbba93b423462932f3cdf1c388
2022-02-23 17:53:24 +00:00
Enrico Granata
9447139c92 Support vendor GNSS file properties for AAOS virtualization
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-23 10:50:35 -07:00
Yuchen He
f46bb4ac80 Supported synchronized fixed location and measurement from device files
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-18 18:05:09 -08:00
Yuchen He
76ff33b72d Add parser to support CSV location data
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-18 18:05:00 -08:00
Yuchen He
4eb8cf8f6a Read GNSS measurement from device file when available
Test: atest CtsLocationGnssTestCases GtsLocationTestCases on CF
Bug: 190757198
Change-Id: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
Merged-In: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
2022-02-18 18:03:44 -08:00
Yuchen He
6ceb09d60c Add raw measurement parser
Test: manual test (data cross verified with GnssLogger app)
Bug: 190757198

Change-Id: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
Merged-In: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
2022-02-18 18:03:34 -08:00
George Burgess IV
e7d2bbadca fix potential use-after-frees of stack memory
`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-18 18:03:24 -08:00
Yuchen He
95276a229b Refactor and reuse some read device file logic
Add skeleton on HAL for Gnss raw measurement injection

Bug: 190757198
Test: manual test
Merged-In: I9b58043d5ed321aa71ff4f23031df251ae89c407
Change-Id: I9b58043d5ed321aa71ff4f23031df251ae89c407
2022-02-18 18:03:12 -08:00
Yu-Han Yang
c2fb318471 Change TOC and TOE to long
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 f20e55cf46)
2022-02-18 19:49:01 +00:00
Yuchen He
55c22f897e Supported synchronized fixed location and measurement from device files
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-16 14:46:33 -08:00
Yuchen He
be47920e9f Add parser to support CSV location data
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-16 14:46:10 -08:00
Yuchen He
d20063ad90 Merge fix to AOSP: Report default location when location is not available in /dev/gnss0
Change-Id: I3ce672aa1a7a39c256dd1396658859c205b61399
Merged-In: I3ce672aa1a7a39c256dd1396658859c205b61399
Test: atest VtsHalGnssTargetTest
Bug: 197579774
2022-02-15 16:19:12 -08:00
Yuchen He
65569272ad Read GNSS measurement from device file when available
Test: atest CtsLocationGnssTestCases GtsLocationTestCases on CF
Bug: 190757198
Change-Id: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
Merged-In: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
2022-02-15 16:18:34 -08:00
Yuchen He
31493d1dc4 Add raw measurement parser
Test: manual test (data cross verified with GnssLogger app)
Bug: 190757198

Change-Id: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
Merged-In: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
2022-02-15 16:18:01 -08:00
George Burgess IV
3f467bd10f fix potential use-after-frees of stack memory
`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-15 16:17:22 -08:00
Yuchen He
cb8474d7b6 Refactor and reuse some read device file logic
Add skeleton on HAL for Gnss raw measurement injection

Bug: 190757198
Test: manual test
Merged-In: I9b58043d5ed321aa71ff4f23031df251ae89c407
Change-Id: I9b58043d5ed321aa71ff4f23031df251ae89c407
2022-02-15 16:16:47 -08:00
Yu-Han Yang
4165ed1605 Add GNSS AIDL VTS tests
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-09 17:43:11 -08:00
Joe Huang
74051bb5fb Merge "Add GnssAntennaInfo AIDL capability" 2022-02-09 01:53:44 +00:00
Yu-Han Yang
09fd012938 Update getInterfaceVersion checks to include -1
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-02 16:29:59 -08:00
Joe Huang
c47bc672ab Add GnssAntennaInfo AIDL capability
Enable GnssAntennaInfo capability as JNI AIDL is ready.

Bug: 205185369
Test: atest VtsHalGnssTargetTest
Change-Id: I89d559ea4e95bc19815497c46d9ef96f32883293
2022-02-02 13:48:37 +08:00
Yu-Han Yang
ab2527a441 Merge "Add register/unregister methods for SvStatus and NMEA (hardware/interfaces)" 2022-02-02 01:05:24 +00:00
TreeHugger Robot
d1ad199afe Merge "Add ephSource, toc, toe, IODC, IODE to SatellitePvt (hardware/interfaces)" 2022-02-01 22:21:36 +00:00
Yu-Han Yang
69f0f8bae0 Add register/unregister methods for SvStatus and NMEA
(hardware/interfaces)

Bug: 213375506
Test: atest VtsHalGnssTargetTest
Change-Id: I7468336b5e1759f4ce90a42fbfd19e3bb17baaa9
2022-01-28 18:59:13 -08:00
TreeHugger Robot
5bba2e3aec Merge "Fix ANAPIC review comments (hardware/interfaces)" 2022-01-28 20:31:44 +00:00
Yu-Han Yang
19c2d9b2c4 Add ephSource, toc, toe, IODC, IODE to SatellitePvt
(hardware/interfaces)

Bug: 206670536
Test: atest VtsHalGnssTargetTest
Change-Id: I564e9e0f48d5a22d40f103286d0d7553006be1de
2022-01-27 15:13:54 -08:00
Yu-Han Yang
75934f7a02 Fix ANAPIC review comments (hardware/interfaces)
* 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-26 14:16:20 -08:00
Yuchen He
090f16c0b8 Supported synchronized fixed location and measurement from device files
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-20 23:17:16 +00:00
Shinru Han
a42956fbe8 Add minDistance parameter to GnssBatching (hardware/interface)
Test: atest VtsHalGnssTargetTest
Bug: b/206670536
Change-Id: I982dd64d0cfe0f42c411e4df27d9fdd160c74d2e
2022-01-20 03:47:54 +00:00
Yu-Han Yang
5fe8781258 Merge "Reland "Add IAGnssRil AIDL HAL (hardware/interfaces)"" 2022-01-20 03:45:22 +00:00
Yu-Han Yang
0f8718023e Merge "Remove GnssAntennaInfo AIDL capability" 2022-01-19 21:27:19 +00:00
Shinru Han
0d91cbe39a Reland "Add IAGnssRil AIDL HAL (hardware/interfaces)"
Bug: 205185251
Bug: 182975915
Test: atest VtsHalGnssTargetTest
Change-Id: I7f8d0b367c68ba870d0a222aee4ee4b5b93cc936
2022-01-20 01:45:21 +08:00
Joe Huang
ad5d0702b7 Remove GnssAntennaInfo AIDL capability
Since JNI is not ready yet, remove it to avoid cts fail.

Bug: 215281989
Test: atest LocationManagerFineTest
Change-Id: I69ced31e1de54ef9a325ba20020f1913fe3daddd
2022-01-19 19:01:44 +08:00
Edwin Tung
bbf7fb9322 Add MeasurementCorrections AIDL HAL (hardware/interfaces)
Bug: 208728105
Test: atest VtsHalGnssTargetTest
Change-Id: I2192670951a517bd229535a083997cc9bab31287
2022-01-19 16:50:58 +08:00
TreeHugger Robot
2717842105 Merge "Combining GnssVisibilityControl to gnss aidl_interface" 2022-01-18 21:39:45 +00:00
Edwin Tung
4c7b8f8fd9 Combining GnssVisibilityControl to gnss aidl_interface
Bug: 208728105
Test: atest VtsHalGnssTargetTest
Change-Id: I7295a59a93778a186727e2a22c9669770f021d1a
2022-01-18 21:08:17 +08:00
Joe Huang
37d77dded6 Add IGnssAntennaInfo AIDL HAL
Bug: 205185369
Test: atest VtsHalGnssTargetTest
Change-Id: If269c61b408c2710a4fa224de4d684c99ac5732b
2022-01-17 08:58:12 +08:00
Yuchen He
7ba34d5b53 Merge "Add parser to support CSV location data" 2022-01-14 23:37:04 +00:00
Yu-Han Yang
cbaacea799 Merge "Add GnssAgc to GnssMeasurementsEvent (hardware/interfaces)" 2022-01-14 22:07:59 +00:00
Yuchen He
19a6a6a76c Add parser to support CSV location data
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-13 22:19:00 +00:00
Yuchen He
42b2d0a65f Support the location injection in AIDL HAL
Bug: 213225295
Test: atest VtsHalGnssTargetTest
Change-Id: Iff9fca55722af9bad6cc50f0170e4e1a069d05d6
2022-01-13 01:54:48 +00:00
Shubham Dubey
dd7f7b9a9b Revert "Add IAGnssRil AIDL HAL (hardware/interfaces)"
Revert "Add AGnssRil AIDL HAL (frameworks/base)"

Revert submission 16548632-IAGnssRil-AIDL

Reason for revert: Breaking Build

BUGID: b/213964109

Reverted Changes:
I087f7c9ae:Add AGnssRil AIDL HAL (frameworks/base)
Ie5746ae25:Add IAGnssRil AIDL HAL (hardware/interfaces)

Change-Id: I2404199e0b881a18429cc2a4ebc87bb41e5be655
2022-01-11 05:26:13 +00:00
Yu-Han Yang
406cb76efe Add GnssAgc to GnssMeasurementsEvent (hardware/interfaces)
Bug: 206670536
Test: atest VtsHalGnssTargetTest
Change-Id: I024c503f05c17d769e0833090ca555dc2a6f3ece
2022-01-06 15:07:40 -08:00
Shinru Han
5f33dbe46c Add IAGnssRil AIDL HAL (hardware/interfaces)
Bug: 205185251
Bug: 182975915
Test: atest VtsHalGnssTargetTest
Change-Id: Ie5746ae25db3beff20f1311f4ddaa592d8ca934b
2022-01-06 16:29:26 +08:00
TreeHugger Robot
43d175037b Merge "Add navigation methods to IGnss AIDL HAL (hardware/interfaces)" 2022-01-06 04:27:16 +00:00
Yu-Han Yang
1afbd5f23e Add navigation methods to IGnss AIDL HAL (hardware/interfaces)
Bug: 205185251
Test: atest VtsHalGnssTargetTest
Change-Id: Ib412aeb0b302952d13e236554f00690206b98253
2022-01-05 10:20:15 -08:00
Yu-Han Yang
11c0c2423e Add intervalMillis to IGnssMeasurement (hardware/interfaces)
Bug: 206670536
Test: atest VtsHalGnssTargetTest
Change-Id: I911fc3c0fd6010ddb20265e1551a7cb3b75216d7
2021-12-28 14:35:02 -08:00
Edwin Tung
d7a5de2b13 Add GnssVisibilityControl AIDL HAL (hardware/interfaces)
Bug: 208728105
Test: atest VtsHalGnssTargetTest
Change-Id: Ie42793a4d0ddf9c9b62c6dff2dc7a34797702e7f
2021-12-16 11:56:37 +08:00
Joe Huang
202b02de56 Add IGnssDebug AIDL HAL
Bug: 205185369
Test: atest VtsHalGnssTargetTest
Change-Id: I78d9641b1cf3d39af9671805ce4e48cd358fa45c
2021-12-15 11:14:10 +08:00
Steven Moreland
77b74ffc0a Merge "CHECK -> CHECK_EQ copy pasta" am: a8138bfbf6 am: dd39b5c9d0 am: f711c9d406 am: 53c7517b02
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1921302

Change-Id: I3f32bf37c1c025e82e14ee6c9f0ffde87f6bcbd6
2021-12-14 18:40:32 +00:00
Steven Moreland
dd39b5c9d0 Merge "CHECK -> CHECK_EQ copy pasta" am: a8138bfbf6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1921302

Change-Id: I1a2df79239155845652d5e062c7f74d97bca2ae7
2021-12-14 17:50:59 +00:00
Steven Moreland
ffb03995e6 CHECK -> CHECK_EQ copy pasta
Hey did I start this? We can take a little bit better errors. :)

Bug: N/A
Test: N/A
Change-Id: I0e96f7f49dae9968904333da9b8269694058c11c
2021-12-14 01:45:47 +00:00
Shinru Han
0e0ad3e855 Fix GnssHalTest#TestAGnssExtension fail
Bug: 209711226
Test: 1. atest GnssHalTest
2. gsi_avd/test-mapping-presubmit/vendor_img_sc

Change-Id: I77e597732e29d069f4beaca91b1e530ca5499c78
2021-12-09 01:23:02 +00:00
Shinru Han
7f31c14c0c Add AGnss AIDL HAL (hardware/interfaces)
Bug: 205185251
Test: atest VtsHalGnssTargetTest

Change-Id: Id7ea7f4e3cf274af237bb600ad02d573eea3ed70
2021-12-07 14:58:43 +08:00
Yu-Han Yang
10cf736cef Add GnssNavigationMessage AIDL HAL (hardware/interfaces)
Bug: 201253590
Test: atest VtsHalGnssTargetTest
Change-Id: I3a12b69c2d03293d07c977eefdc6995323cb802b
2021-11-24 11:14:21 -08:00
Yu-Han Yang
3089df3bd8 Add GnssGeofence AIDL HAL (hardware/interfaces)
Bug: 201253590
Test: on cuttlefish
Change-Id: I3acb2a667f7a31e7ba21b2552549df8fb236e38d
2021-11-17 12:48:36 -08:00
Yu-Han Yang
e7b8ac382e Return an empty batch when there is no location to return
Bug: 205200767
Test: atest LocationManagerFineTest#testRequestFlush_Gnss
Change-Id: I98841f1e83e39289f0e09517d572041ecb058d07
2021-11-05 15:18:55 -07:00
Yuchen He
a662140c68 Merge fix to AOSP: Report default location when location is not available in /dev/gnss0
Change-Id: I3ce672aa1a7a39c256dd1396658859c205b61399
Test: atest VtsHalGnssTargetTest
Bug: 197579774
2021-10-11 21:15:24 +00:00
Yu-Han Yang
3a75dc0cf0 Add GnssBatching AIDL HAL (hardware/interfaces)
Bug: 201253590
Test: atest VtsHalGnssTargetTest
Change-Id: Ied71c609dff714de06e2792f51d54a2dbddbb9d8
2021-09-28 18:31:40 -07:00
Xin Li
4824f4b821 Merge SP1A.210812.016
Merged-In: I0b9a14345475e432b93f92c23010a8b39712443a
Change-Id: I79e2c0efedea1a3f52354c83645a6090dc6bc02e
2021-09-28 19:38:53 +00:00
Yuchen He
3cbf5f3291 Read GNSS measurement from device file when available
Test: atest CtsLocationGnssTestCases GtsLocationTestCases on CF
Bug: 190757198
Change-Id: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
2021-09-09 04:47:11 +00:00
Yuchen He
1c9032daed Add raw measurement parser
Test: manual test (data cross verified with GnssLogger app)
Bug: 190757198

Change-Id: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
2021-09-09 04:47:03 +00:00
Treehugger Robot
0a43b3e4fe Merge "Backfill owner information for VTS module VtsHalGnssV2_1TargetTest." am: 56590ebeb6 am: ae18f110d4 am: 67dddb69f8 am: aecbb579e9 am: 8c3173bc6d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814065

Change-Id: I311b1d1fe963b2426cca47d3524b61990b1fa0ae
2021-09-09 04:38:21 +00:00