Treehugger Robot
53a9a09a65
Merge "Add more GnssDebug validity tests" into main
2024-06-07 19:54:45 +00:00
Yu-Han Yang
72a431efac
Add more GnssDebug validity tests
...
Bug: 326293710
Test: atest VtsHalGnssTargetTest
Change-Id: Ie20d0ce369bc7d03ccfb7f7e01a4e28ed54a5d4d
2024-06-07 17:50:25 +00:00
Yu-Han Yang
86c4b11979
Only run TestSvStatusIntervals on V+
...
Bug: 336656335
Test: atest VtsHalGnssTargetTest
Change-Id: Iee77147227ab848b67b12aaa9496cf18b60b0f00
2024-04-26 01:33:09 +00:00
Yu-Han Yang
bf5189cb2f
Add SvStatus interval tests
...
Bug: 298260386
Test: atest VtsHalGnssTargetTest
Change-Id: I2a592147641c143c6d33435e60a79fc5f8424f3f
2023-10-30 22:15:51 +00:00
Zhanghao
8cb81f70ec
Update javadocs for RINEX4.0
...
Update the Javadocs based on doc:https://docs.google.com/document/d/1SliduwZ8TlV5kMDZpxM5CUg-Txsw3IxBe8JTnr_ZOl0/edit?resourcekey=0-HTfqV3iJLkQtaMp_lsy3Vg
Test: Change Javadoc only.
Bug: 277260039
Change-Id: Idb0f83885b3183812d54f6ec79da590c03c05b10
2023-08-29 16:44:59 +00:00
Yu-Han Yang
8687b2a585
Remove unnecessary assert to fix flaky test
...
Bug: 285214482
Test: atest VtsHalGnssTargetTest --iterations=100 -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*TestGnssMeasurementIntervals_WithoutLocation*"
Change-Id: Ib6aa8e5be17c50d00faea5096e7cee481acb8584
2023-06-23 23:54:32 +00:00
TreeHugger Robot
057caf229f
Merge "GnssStatus for GnssMeasurement-only VTS test" into udc-dev
2023-03-31 22:51:24 +00:00
Zhanghao
d32f378405
GnssStatus for GnssMeasurement-only VTS test
...
Update VTS test case: GnssStatus should be reported when only
measurement is registered.
Test: atest VtsHalGnssTargetTest
Bug: 274653052
Change-Id: I53c741d2cee7a4c36ad0a2744ccb8b3e917b7996
2023-03-31 19:57:02 +00:00
Shinru Han
9336eacc6d
Add AIDL version check for injectNiSuplMessageData()
...
Test: atest VtsHalGnssTargetTest
Bug: 242105192
Change-Id: Ic05990c94e81d3f303dfa4b3fd397a9e2ef749d6
2023-03-31 16:53:45 +08:00
Yu-Han Yang
712d132e08
Update measurement interval VTS tests
...
Bug: 253453668
Test: atest VtsHalGnssTargetTest
Change-Id: I2fe394d0ee9f620e93068219a3f73d110120289b
2023-03-08 00:44:49 +00:00
TreeHugger Robot
46b8c3747d
Merge "Throw away initial measurements before interval tests"
2023-02-08 02:40:16 +00:00
Yu-Han Yang
dbab0de442
Throw away initial measurements before interval tests
...
Bug: 264597734
Test: atest VtsHalGnssTargetTest
Change-Id: I1064807adf3264f13c1ef6678df37cff350503c5
2023-02-07 19:02:43 +00:00
Yu-Han Yang
1a28a9ff7a
Fix a comment
...
Bug: 244325461
Test: doc update only
Change-Id: I55d9445eea9c6b8626a5a8eaaf83eaf318b354ca
2023-02-03 04:25:12 +00:00
Yu-Han Yang
1a4e774b8b
Skip TestGnssPowerIndication if capability is not supported am: 5da610c660
am: e0b0a8c2a7
am: f72b412a07
am: e6e546b9fb
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2397741
Change-Id: I620cbe51a472625b0b4e0ac1c9143c9698a1b795
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 23:14:26 +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
TreeHugger Robot
6c5ff2565f
Merge "Update TestGnssMeasurementIsFullTracking"
2022-11-28 17:47:11 +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
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
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
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
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
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
Yu-Han Yang
f20e55cf46
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
2022-02-16 17:28:50 -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
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
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
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
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
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
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
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
TreeHugger Robot
43d175037b
Merge "Add navigation methods to IGnss AIDL HAL (hardware/interfaces)"
2022-01-06 04:27:16 +00:00