Commit graph

368 commits

Author SHA1 Message Date
Yu-Han Yang
274ea0a7c4 Add GNSS AIDL interfaces (hardware/interfaces)
Bug: 159467682
Test: atest VtsHalGnssTargetTest
Change-Id: I75c5599f2e0698f833e2d36ac53d460f4f0c3bb4
2020-09-25 15:20:07 -07: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
Yipeng Cao
d0e352455c Merge "Fix for Gnss Hal for replay" 2020-08-04 18:59:57 +00:00
Yipeng Cao
29f0a4ff38 Fix for Gnss Hal for replay
In the old logic, if /dev/gnss0 doesn't report location, it will fail back
to the default mock location. Now we change to only report default location if /dev/gnss0 is
not present.

Test: launch_cvd --start_gnss_proxy
Change-Id: Ie1026d5b4dd3e3c2ed1e2107232bcb94c3ba5079

Change-Id: I787b71d80be7875fc594d17b4296e7d28d9c2f5a
2020-08-01 01:21:15 +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
Dan Shi
9eaab747fe Suppress gtest error for tests without any instance am: ba4d532fee am: 73122cd284 am: e5c9b5e722 am: 1a52c0eb25 am: 1a3e0f86eb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050

Change-Id: I6ddea2dcb636e3ba67ad11d53b9fe12c51314c7a
2020-07-29 06:36:31 +00: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
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
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
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
TreeHugger Robot
3b4da6626b Merge "Stop location to avoid timing issue (VTS 2.0)" into rvc-dev am: de47235b01 am: 64fac9d815 am: 28da9e5450 am: 093c2fe9eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11788485

Change-Id: I38130f158ce6dfa88d2498a4023a11afe5edea91
2020-06-08 21:31:57 +00:00
TreeHugger Robot
093c2fe9eb Merge "Stop location to avoid timing issue (VTS 2.0)" into rvc-dev am: de47235b01 am: 64fac9d815 am: 28da9e5450
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11788485

Change-Id: I60385baaedfc77fc5f9c9adf2bcc5a1fcd347f09
2020-06-08 21:16:33 +00: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
3bfc88c071 Merge "Fix GnssMeasurement state range check" into rvc-dev am: 6df119f6a9 am: 20af356279 am: 0607fd6741 am: ec94e04873
Change-Id: I63a4344ef78431433a7e89c9ece5ea9980bd1792
2020-05-26 21:00:12 +00:00
TreeHugger Robot
ec94e04873 Merge "Fix GnssMeasurement state range check" into rvc-dev am: 6df119f6a9 am: 20af356279 am: 0607fd6741
Change-Id: I9084432c61e73393b16bb350bfd646dba236df3f
2020-05-26 20:38:26 +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
069981977d Merge "Update CodeType comment for adding BDS B1C" into rvc-dev am: bfcedb7a39 am: 9a703261ae am: 861eb0027f am: 3501729bbf
Change-Id: Ia2fa5f90d013bf2521a1271db10cabfec84b69a0
2020-04-17 23:39:04 +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
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
Yu-Han Yang
9e400867dc Make GetLocationLowPower test warning instead of failing am: 5f0bbe9324 am: 2d8c961797 am: 3c23ac7af6 am: 2fda8e9a5d
Change-Id: I2172882597200f9b2e547c58d6b0b6c08d59303b
2020-03-28 23:23:58 +00: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
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
Automerger Merge Worker
c4facb6f1b Merge "Update doc of proxyAppPackageName" into rvc-dev am: d2a36d278a am: efcc66da6b am: 1a0c1beb69 am: 8a37e8cf55
Change-Id: Ibdca2bc631e2ab840e64523cc18079beec88da71
2020-03-10 02:18:35 +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
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