Commit graph

347 commits

Author SHA1 Message Date
Xin Li
50393137ed Merge ab/6749736 in stage.
Bug: 167233921
Merged-In: I6756cad681e4cfa01868450214da0d7b2d5261e4
Change-Id: Ia529ecf4f48248d5af63673f359916486f71bc35
2020-10-08 23:22:52 -07: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
f2b950f470 Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-26 04:11:28 +00:00
Xin Li
36dcf1a404 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I6502829205ede2de914b27e6c2c5c42916af2b39
Change-Id: I7cb06511e43bd1fffd5f80a11dbdf5b1314cfe8e
2020-08-28 13:05:04 -07:00
Dan Shi
e5c9b5e722 Suppress gtest error for tests without any instance am: ba4d532fee am: 73122cd284
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050

Change-Id: Ie5e956d4613f5e947c36ba4f1048f0c3aa8944ba
2020-07-29 05:45:58 +00:00
Dan Shi
ba4d532fee Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
2020-07-28 15:12:32 -07:00
Xin Li
2cda765afc Merge stage-aosp-rvc-ts-dev into rvc-dev am: f73fe6b6bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12203367

Change-Id: I74978fe2cd4eabf829d72ac7e9feee51fb3cd799
2020-07-24 08:26:19 +00:00
TreeHugger Robot
b6d3dc86a5 Merge "Merge ab/12162526 into stage-aosp-rvc-ts-dev" into stage-aosp-rvc-ts-dev 2020-07-16 17:39:00 +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
d610435ac4 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-07 16:22:36 +09: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
TreeHugger Robot
2473c15121 Merge "Stop location to avoid timing issue (VTS 2.0)" into rvc-dev am: de47235b01
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11788485

Change-Id: I8c5a0077d3fe4c3b6205dcb69e630b0ca9731a1b
2020-06-08 20:48:57 +00:00
Yu-Han Yang
4e5ffc2231 Stop location to avoid timing issue (VTS 2.0)
Before setting constellation blacklist, the location report should
be stopped first. Otherwise, the sv status which contains blacklist
constellation is still reporting and may be counted in checking
SvList. According to the comments of this case, location should be
turned off as 2a step.

Also adding another test that a blacklist request that comes in
while tracking is started, takes effect after a stop/start cycle.

Bug: 144675840
Test: on device
Change-Id: I0a5030cbeeb4bbc45000157414582117d8abbae9
2020-06-08 10:58:46 -07:00
Treehugger Robot
249b63ced6 Merge "Fix GnssMeasurement state range check" am: 43f1d331e3
Change-Id: I245b97dd441e20e59116e3090fd55f3e8ca68307
2020-05-27 22:37:33 +00:00
Yu-Han Yang
4f21df3b44 Fix GnssMeasurement state range check
Bug: 157463010
Test: atest VtsHalGnssV2_0TestTarget
Change-Id: I72f4bf1f09d6271ac6367abc3972ee7747b18155
(cherry picked from commit 51d8defb3c)
Merged-In: I72f4bf1f09d6271ac6367abc3972ee7747b18155
2020-05-26 21:22:42 +00:00
TreeHugger Robot
a86a057a8e Merge "Fix GnssMeasurement state range check" into rvc-dev am: 6df119f6a9
Change-Id: Ic6843a2bef8d24f9ba3a5f30c2b72260c54ee768
2020-05-26 20:07:58 +00:00
Yu-Han Yang
15570c4681 Fix GnssMeasurement state range check
Bug: 157463010
Test: atest VtsHalGnssV2_0TestTarget
Change-Id: I72f4bf1f09d6271ac6367abc3972ee7747b18155
2020-05-26 11:07:24 -07:00
Yu-Han Yang
90378b4bd6 DO NOT MERGE Stop location to avoid timing issue (VTS 2.0) am: 50958448b8
Change-Id: Ie6c15a267e4b22d81b2ccf72864330f95617e034
2020-05-08 23:12:28 +00:00
Yu-Han Yang
50958448b8 DO NOT MERGE Stop location to avoid timing issue (VTS 2.0)
Before setting constellation blacklist, the location report should
be stopped first. Otherwise, the sv status which contains blacklist
constellation is still reporting and may be counted in checking
SvList. According to the comments of this case, location should be
turned off as 2a step.

Also adding another test that a blacklist request that comes in
while tracking is started, takes effect after a stop/start cycle.

Bug: 144675840
Test: on device
Change-Id: I0a5030cbeeb4bbc45000157414582117d8abbae9
Merged-In: I0a5030cbeeb4bbc45000157414582117d8abbae9
2020-05-08 22:20:31 +00:00
TreeHugger Robot
9a703261ae Merge "Update CodeType comment for adding BDS B1C" into rvc-dev am: bfcedb7a39
Change-Id: Ib4c02bfcaa60e5f9a6116ea3da07a4f45b6d607e
2020-04-17 23:07:22 +00:00
Yu-Han Yang
62b79417a4 Update CodeType comment for adding BDS B1C
Bug: 154267746

Test: doc update only. Builds
Change-Id: I997f1febef4f7b266cc51fe59a645ee1a48fd971
2020-04-17 02:49:05 +00:00
Dan Shi
eb5f33e0ef Rename vts-core to vts am: ba894f81db am: 55d110bcd0
Change-Id: Ifc137320af42febc24937f09e5baa4c5a95ac1c4
2020-04-07 23:56:42 +00:00
Dan Shi
55d110bcd0 Rename vts-core to vts am: ba894f81db
Change-Id: Ifb5d31470ee6d3b29b2f1af4be54b1fbdd888a7c
2020-04-07 23:45:55 +00: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
ba894f81db 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 15:17:02 -07:00
Yu-Han Yang
5f0bbe9324 Make GetLocationLowPower test warning instead of failing
Bug: 150222509
Bug: 152434001

Test: passing on device with GSI build
Change-Id: I8af0a992d1cf4af9ef1e78095f7352534c711549
2020-03-28 05:13:33 +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
TreeHugger Robot
d2a36d278a Merge "Update doc of proxyAppPackageName" into rvc-dev 2020-03-10 01:19:06 +00:00
Yu-Han Yang
e8286f04b8 Update doc of proxyAppPackageName
Fixes: 151088537

Test: doc only and builds
Change-Id: If0c4c6d879a1a35293739838702a33ec770b0ed3
2020-03-09 11:43:36 -07: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
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
850cba24ef Merge "Update measurement_correction reported accuracy HAL doc" 2020-02-15 03:55:33 +00:00
Yu-Han Yang
c08076e557 Merge "Address ANAPIC review comments" 2020-02-15 01:59:42 +00:00
Yu-Han Yang
428d25abfd Update measurement_correction reported accuracy HAL doc
Fixes: 144817918

Test: doc only and builds
Change-Id: I5aed4a17b5dea8949904f08809d3df9ec250fbeb
2020-02-14 11:20:25 -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
cee6a6759a Clarify environment bearing docs in HAL
Bug: 149299473
Test: build cuttlefish
Change-Id: Ie565d7ec96282985505b41961321998e58554aff
2020-02-13 15:11:19 -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
Patrick Berny
40dcf01215 Resolve merge conflicts of cb56fbeb9d to master
Bug: None
Test: cd hardware/interfaces/gnss && mm, check artifacts built
        successfully.

Change-Id: I32038aaf40b1d427b838242b7197581b7cde4efd
2020-01-31 18:35:57 -08:00
Automerger Merge Worker
cb56fbeb9d VTS: only assert that IGnssDebug present for non-automotive am: 2fd5c7cdf9 am: 984b3069bc am: 42b2f781be am: 500fd41fd5
Change-Id: I14f4e9616c998b18a629a8a1a3eaf1e1b806bbd4
2020-01-31 23:09:50 +00:00
Automerger Merge Worker
500fd41fd5 VTS: only assert that IGnssDebug present for non-automotive am: 2fd5c7cdf9 am: 984b3069bc am: 42b2f781be
Change-Id: I7a079fb9827ade5454460810bd7e6b66e503094c
2020-01-31 23:00:27 +00:00
Automerger Merge Worker
42b2f781be VTS: only assert that IGnssDebug present for non-automotive am: 2fd5c7cdf9 am: 984b3069bc
Change-Id: I4694449509de580da4049cef13458d35aed117af
2020-01-31 22:52:32 +00: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
18f4561fb8 Merge "Add Inter-Signal Bias fields" 2020-01-23 20:35:27 +00:00
Johan Ankner
2fd5c7cdf9 VTS: only assert that IGnssDebug present for non-automotive
VTS test VtsHalGnssV1_0Target#GnssHalTest.GetAllExtensions tests that
IGnss::getEnxtensionGnssDebug returns an actual extension. Make an
exception for automotive devices.

Bug: 143966170
Test: ran VtsHalGnssV1_0Target on Volvo IHU

Change-Id: I1588099a5be704c7869d6d5e8c0312d8b498bb95
2020-01-23 09:01:14 +01: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