Commit graph

594 commits

Author SHA1 Message Date
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
Zhanghao Wen
d9d9e71b8a Merge "Update cuttlefish mock gnssMeasurement value" into udc-dev 2023-03-12 00:27:20 +00:00
TreeHugger Robot
a5ba6002b2 Merge "Update HAL comment of getReceivedSvTimeNs" into udc-dev 2023-03-12 00:24:35 +00:00
Zhanghao
c6b69e7ada Update cuttlefish mock gnssMeasurement value
Update pseudorangeRateUncertaintyMps value to pass GnssMeasurementValuesTest.

Bug: 264786442
Test: atest GnssMeasurementValuesTest
Change-Id: I125e5db42a39573d123c3f9f16be59b957c0fbda
2023-03-11 23:24:52 +00:00
Yuchen He
50ec1d7d4e Fix epoll leaks: clean up file descriptor and epoll instance properly am: 6dddd6f43a am: 6d9af6585c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21914922

Change-Id: Icfc77589a28717cf9b742a7255f522ee71406631
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 02:12:22 +00:00
Yuchen He
6d9af6585c Fix epoll leaks: clean up file descriptor and epoll instance properly am: 6dddd6f43a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21914922

Change-Id: Icecac5bd27e6b9b7c15b62d54df506762ed87244
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 01:38:30 +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
Yuchen He
6dddd6f43a Fix epoll leaks: clean up file descriptor and epoll instance properly
Bug: 262762412
Test: manual test

Change-Id: Ia587f8ba0ce44234a7c00cd820db73258dba19b0
(cherry picked from commit 9af806fe06)
2023-03-08 21:07:49 +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
ea19540d02 Skip TestGnssPowerIndication if capability is not supported am: 5da610c660
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2397741

Change-Id: I435aef2d1ef9c28a998563ee6a0630a913c30eef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:51:56 +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
Samip Garg
5a1bde04ae Merge "Snap tm-dev to android13-tests-dev" into tm-dev 2023-01-10 20:21:40 +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