Commit graph

41 commits

Author SHA1 Message Date
Yu-Han Yang
cd9f4c4772 Skip GnssConfiguration v2.1 tests for AIDL HAL
- the same tests for AIDL HAL have been added in aidl/vts.

Bug: 172989709
Test: atest VtsHalGnssV2_1TargetTest
Change-Id: Ib1ace156d9b012a1b751a1f2f31a8b1765f964a4
2020-11-11 13:24:17 -08:00
Treehugger Robot
5008fe1a09 Merge "Skip GnssMeasurement VTS for Android Automotive OS." am: d8a767a847 am: d66b12008f am: 0bd8713642 am: befda6dd70
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1443915

Change-Id: Ibbb66c51703347f85f4ec21a281eb3014e5c3169
2020-10-05 20:01:59 +00:00
Treehugger Robot
0bd8713642 Merge "Skip GnssMeasurement VTS for Android Automotive OS." am: d8a767a847 am: d66b12008f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1443915

Change-Id: I68df407a9e76197cae516a479880cf0c6ad5a815
2020-10-05 19:02:26 +00:00
Tyler Trephan
0d9206aa57 Skip GnssMeasurement VTS for Android Automotive OS.
According to the Q CDD, an Android Automotive OS device is not required
to support GnssMeasurements.

Bug: 161549048
Test: atest VtsHalGnssV1_0TargetTest VtsHalGnssV2_0TargetTest VtsHalGnssV2_1TargetTest
Change-Id: Idcd59f36ca2ea28925f6766a7abcdf7b6ad0f0ff
2020-10-01 00:11:32 +00:00
Dan Shi
2fdd0c5c39 Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-29 06:52:28 +00:00
Dan Shi
f2b950f470 Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-26 04:11:28 +00:00
Yu-Han Yang
3b26edb968 Add capability check for satellite blacklist tests am: c40aa186ea am: faec210a8e am: 50e94f9525 am: 1f60634c3e am: e15b9a1e69
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12463613

Change-Id: I1c6eb608e39443f3df827ceb7810620a70d5791a
2020-08-27 20:34:37 +00:00
Yu-Han Yang
1f60634c3e Add capability check for satellite blacklist tests am: c40aa186ea am: faec210a8e am: 50e94f9525
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12463613

Change-Id: I61c4c8823aa603f38ee0b0bd51c8be9352e0193b
2020-08-27 19:08:57 +00:00
Yu-Han Yang
c40aa186ea Add capability check for satellite blacklist tests
Bug: 166251991
Test: on device
Change-Id: I27e515a5f2a6676a250f361b17b056a73e209ad3
2020-08-26 20:41:51 +00:00
Dan Shi
ff985a85a8 Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I58bc808a82b2128bb8774f762f9b9fcecd2614fb
2020-07-29 09:46:36 -07:00
Xin Li
febeaf3458 Merge stage-aosp-rvc-ts-dev into rvc-dev am: f73fe6b6bc am: e594b4db30 am: 3860bab38e am: 15ce3f9f5d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12203367

Change-Id: Ia3794aa74e722dfcd9cbf4d32064ecbf465d5607
2020-07-24 09:19:17 +00:00
Xin Li
3860bab38e Merge stage-aosp-rvc-ts-dev into rvc-dev am: f73fe6b6bc am: e594b4db30
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12203367

Change-Id: I96c85d93ed98428df330bd84762185d01df3a540
2020-07-24 08:45:41 +00:00
Yu-Han Yang
c8143625ba Retrieve the last SvInfo list in TestGnssSvInfoFields
Bug: 161313893
Test: atest VtsHalGnssV2_1TargetTest
Change-Id: I687e5ff6edd1ef67dbfe046c401fd15b3da0c857
2020-07-15 10:19:03 -07:00
Jooyung Han
d18cba85fe update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-02 12:26:37 +09:00
Jooyung Han
b0907a6bb8 update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
2020-07-02 09:18:17 +09:00
Yu-Han Yang
3fcb7bf3fe Add GNSS HAL v3.0 (hardware/interfaces)
Bug: 158518085

Test: atest VtsHalGnssV3_0TargetTest
      atest VtsHalGnssV2_1TargetTest
      atest VtsHalGnssV2_0TargetTest
      atest VtsHalGnssV1_1TargetTest
      atest VtsHalGnssV1_0TargetTest

Change-Id: Id4ac1e31207da7cfff3f1885c84748785bec19ba
2020-06-19 12:14:01 -07:00
Dan Shi
aad51fa000 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 16:37:40 -07:00
Dan Shi
3a8a650c61 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 18:03:49 +00:00
Yipeng Cao
77a1f96a01 Merge "Hal layer for gnss replay" 2020-03-28 00:21:47 +00:00
Yipeng Cao
48618f607c Hal layer for gnss replay
Test: Added following kernel cmdline and tested on local CF
gnss_cmdline.serdev=serial8250/serial0/serial0-0
gnss_cmdline.type=0
serdev_ttyport.pdev_tty_port=ttyS1

Change-Id: I3766c31672aa91341403105759b2fd997e7f8879
2020-03-27 15:41:39 -07:00
Yu-Han Yang
b3ecf5b743 Update inter-signal bias (HAL) am: 6668eab9dc am: 20c26b9d99 am: e4ff93ee09 am: 545d41b9e9
Change-Id: Idc622ea45ded729cdb83d49f4c7cfa3f9c474279
2020-03-18 19:04:46 +00:00
Yu-Han Yang
6668eab9dc Update inter-signal bias (HAL)
- Rename recieverInterSignalBiasNs into interSignalBiasNs, which refers
to the sum of receiver ISB and satellite ISB.

Bug: 150724332

Test: atest VtsHalGnssV2_1TargetTest

Change-Id: Ifae15cb482bc12e793a481fec7847c817ef3c34d
2020-03-17 20:42:32 +00:00
Yu-Han Yang
f3cb5562b2 Fix deadlock in cuttlefish/default implementation
Bug: 150830099

Test: atest LocationManagerFineTest#testRegisterGnssMeasurementsCallback
-c --iterations 100

Change-Id: I70aec19a481781d924ed3008765ca624a7eeb950
Merged-In: I70aec19a481781d924ed3008765ca624a7eeb950

(cherry picked from commit 3d652709ed)
2020-03-06 22:57:25 +00:00
Yu-Han Yang
9cc3aae973 Add newlines to clarify the comments
Bug: 150830099

Test: format only
Change-Id: Icdcb5f8587e3d95c3d707f0f843824989fde064b
2020-03-06 12:50:39 -08:00
Yu-Han Yang
3d652709ed Fix deadlock in cuttlefish/default implementation
Bug: 150830099

Test: atest LocationManagerFineTest#testRegisterGnssMeasurementsCallback
-c --iterations 100

Change-Id: I70aec19a481781d924ed3008765ca624a7eeb950
2020-03-06 07:34:58 -08:00
TreeHugger Robot
c2a7122706 Merge "Update constellation types in measurement corrections" 2020-02-20 02:48:29 +00:00
Sasha Kuznetsov
6311a08910 Merge "Update getExtensionX HAL docs" 2020-02-19 22:21:07 +00:00
Sasha Kuznetsov
6678ffd8c5 Update constellation types in measurement corrections
Bug: 147504090
Test: atest VtsHalGnssV2_1TargetTest and manually injecting dummy
measurement corrections from GnssLocationProvider and verifying that
they are received below the HAL (on a cuttlefish implementation)

Change-Id: Ie6df224d63429193b39f06a6b60517f804fccbae
2020-02-19 13:32:14 -08:00
Sasha Kuznetsov
935047e137 Update getExtensionX HAL docs
Test: hidl-gen -Lcheck android.hardware.gnss@2.1
Bug:147614118
Change-Id: Icc2453847519e449f753dc68bedc00c1c92e6744
2020-02-18 22:40:13 -08:00
Yu-Han Yang
99b6d96736 Address ANAPIC review comments
- GnssMeasurementFlags extends v1.0
- add gnssSetCapabilitiesCb_2_1

Fixes: 149501257
Test: VTS tests pass on cuttlefish
Change-Id: I21dd284297d5f458945e7b5fa5e6ed0dab6a5dde
2020-02-13 16:16:43 -08:00
Sasha Kuznetsov
768de57e4c Revert^2 "Add GnssAntennaInfo to HAL"
ce414351c5

Change-Id: I791dcf8c26f3ed51c07987e79752ff3ce165fcbf
2020-02-11 06:00:10 +00:00
Yu-Han Yang
ce414351c5 Revert "Add GnssAntennaInfo to HAL"
Revert "Add GnssAntennaInfo framework APIs"

Revert "Add GnssAntennaInfo tests"

Revert submission 10111057-pco_pcv

Reason for revert: Build breakage
Reverted Changes:
I70e4014dd:Add GnssAntennaInfo framework APIs
I072958ecb:Add GnssAntennaInfo tests
Ia63a1f502:Add GnssAntennaInfo to HAL

Change-Id: I567fb52ca6c881f2e4c3c95c589bb4288f82becf
2020-02-11 04:02:18 +00:00
Sasha Kuznetsov
44d2b0a75b Add GnssAntennaInfo to HAL
Test: End to end test: run "atest GnssAntennaInfoRegistrationTest" on cuttlefish and watch "adb logcat | grep -i GnssAntennaInfo". Other tests:  atest GnssAntennaInfoTest, atest GnssAntennaInfoProviderTest, atest GnssManagerServiceTest, atest VtsHalGnssV2_1TargetTest, atest LocationManagerFineTest.
Bug: 124556515
Change-Id: Ia63a1f5022efdda52ed583a56a50f32807e83130
2020-02-10 12:29:20 -08:00
Sasha Kuznetsov
31eea85faf Create measurement corrections 1.1 with eBearing
Test: matest VtsHalGnssV2_1TargetTesti and manually injected
dummy measurement corrections in GnssLocationProvider and
verified that cuttlefish implementation properly recieved
them below the HAL
Bug: 145963440
Change-Id: Ib5eb4f8c759c91b9fa2217ce6658319edd11bb27
2020-01-23 14:34:44 -08:00
Yu-Han Yang
5fe14fa9ec Add Inter-Signal Bias fields
Bug: 147500886

Test: on cuttlefish
Change-Id: Id50d1f6a60e758e8c02b7a1c4bbdfd73f62ffeb7
2020-01-22 21:20:42 -08:00
Sasha Kuznetsov
216311fd97 Complete 2.1 gnss default implementation to pass all VTS tests
Test: atest VtsHalGnssV2_1TargetTest && atest VtsHalGnssV2_0TargetTest && atest VtsHalGnssV1_1TargetTest && atest VtsHalGnssV1_0TargetTest
Bug: 146216289
Change-Id: Idfd80f70b67359dcbf1dc033b9b4218aff0c869c
2020-01-02 17:25:10 -08:00
Sasha Kuznetsov
7fd5cc3a4b Fix 2.0 VTS and 2.1 HAL/default implementation
Test: atest VtsHalGnssV2_0TargetTest && atest VtsHalGnssV2_1TargetTest
Bug: 145830353, 146216289
Change-Id: I77d614783ee5451368a0e93eddc5e71c571193ed
2019-12-17 12:17:01 -08:00
Sasha Kuznetsov
c1c257bc9d Implement some methods in 2.1 default implementation
Test: atest VtsHalGnssV2_0TargetTest builds and runs
Bug: 146216289
Change-Id: I8b024bff5b04b97298813293e39ee865eaf389b4
2019-12-13 19:14:26 -08:00
Sasha Kuznetsov
9c451cfb31 Add test to setBlacklist with location on
Test: atest VtsHalGnssV2_1TargetTest
Bug: 135042665
Change-Id: Ibeb11f811990eceaad8d794befc50650b4bdbd21
2019-12-11 13:15:35 -08:00
Sasha Kuznetsov
845f6d54e4 Add support to blacklist IRNSS in HAL 2.1
Test: atest VtsHalGnssV2_1TargetTest
Bug: 135042665

Change-Id: I10a12f5171c640e400af4ee66ce9ab63cf6e94f2
2019-12-07 12:02:15 -08:00
Yu-Han Yang
c06b536662 Add GNSS HAL 2.1
Bug: 136136192
Bug: 141758837

Test: atest VtsHalGnssV2_1TargetTest
Change-Id: I8e6d52695c8ab0aeacacb0107a6c0c8271983ed3
2019-12-03 13:42:22 -08:00