Treehugger Robot
5f9df41740
Merge "Merge OWNERS files for gnss" into main am: 21d519cc71
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2746940
Change-Id: Iff1caa26a37bb938f00c2dcce424058245c251d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 17:18:50 +00:00
Devin Moore
d7c510bc10
Merge OWNERS files for gnss
...
Test: none
Bug: 296950573
Change-Id: I21b25e417f5a7eb1992289112b628ebf86826f50
2023-09-08 21:18:52 +00:00
Treehugger Robot
2673e0ab17
Merge "Adding bug component per http://go/xts-owners-policy " am: 827ca53e4e
am: f9257b36c2
am: f22e72229a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2573050
Change-Id: Ia3e979289f77a6033eb39284ea71f9fc8006dbae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 21:46:31 +00:00
Wyatt Riley
96d835a892
Adding bug component per http://go/xts-owners-policy
...
Bug: 278494314
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:890bdd52fd3b406e750fffe40e9c5f3b331c0358 )
Change-Id: I36a1781f1cf47d2b8177762b28a3d717484f0089
2023-04-28 20:08:30 +00:00
Alex Buynytskyy
ec1198d941
UpsideDownCake is now 34
...
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +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
Treehugger Robot
ee40587951
Merge "Throw away initial measurements before interval tests" into android13-tests-dev am: 86206d71ca
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2506037
Change-Id: If4e8ab003e754b4e9d0b4d507659049989941b51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29 02:15:57 +00:00
Yu-Han Yang
41c5b4efe3
Throw away initial measurements before interval tests
...
Bug: 264597734
Test: atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dbab0de442246a78c42acf5ca7c4f7c94fd82651 )
Merged-In: I1064807adf3264f13c1ef6678df37cff350503c5
Change-Id: I1064807adf3264f13c1ef6678df37cff350503c5
NOTE FOR REVIEWERS - original patch and result patch are not identical.
PLEASE REVIEW CAREFULLY.
Diffs between the patches:
47,6 +447,7 @@
const int numMeasurementEvents,
const int timeoutSeconds,
std::vector<int>& deltasMs) {
+ callback->gnss_data_cbq_.reset(); // throw away the initial measurements if any
int64_t lastElapsedRealtimeMillis = 0;
for (int i = 0; i < numMeasurementEvents; i++) {
GnssData lastGnssData;
Original patch:
From dbab0de442
Mon Sep 17 00:00:00 2001
From: Yu-Han Yang <yuhany@google.com>
Date: Tue, 07 Feb 2023 19:01:56 +0000
Subject: [PATCH] Throw away initial measurements before interval tests
Bug: 264597734
Test: atest VtsHalGnssTargetTest
Change-Id: I1064807adf3264f13c1ef6678df37cff350503c5
---
2023-03-23 20:52:08 +00:00
Zhanghao Wen
39c78ffecf
Update HAL comment of getReceivedSvTimeNs
...
Added GPS L1C(P), BDS B1C(P) with value: CODE_LOCK(10 ms), STATE_2ND_CODE_LOCK(18000 ms), TOW_KNOWN(1 week).
Added BDS B2AQ: Same as E5AQ
Added IRNSS: Same as GPS L1 C/A
Bug: 264588057
Test: comment only
Change-Id: Ia452beb129b791116bf33a8feed6bb0d04238dd2
2023-03-08 22:23:07 +00: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
Neil Fuller
387d3ce0df
Merge "Improve docs around "on demand time" capability"
2023-02-08 10:46:25 +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
Neil Fuller
379ee87f1a
Improve docs around "on demand time" capability
...
Update the docs to record how the behavior differs from the name.
current.txt has been updated by hand using information from:
hidl-gen -L hash -r android.hardware:hardware/interfaces \
android.hardware.gnss@1.0::IGnssCallback
As per instructions at
https://source.android.com/docs/core/architecture/hidl/hashing
This is acceptable because it's just a docs change that documents
existing, historic behavior. Previous docs were misleading.
Test: hidl-gen -L check -r android.hardware:hardware/interfaces android.hardware.gnss@1.0::IGnssCallback
Bug: 222295093
Bug: 73893222
Change-Id: I935354be52239482d559962e9a9ee1faaf73f4b1
2023-02-07 15:16:41 +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
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
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