mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Update TestGnssMeasurementIsFullTracking"
This commit is contained in:
committed by
Android (Google) Code Review
commit
6c5ff2565f
@@ -489,7 +489,9 @@ void GnssHalTest::checkGnssDataFields(const sp<GnssMeasurementCallbackAidl>& cal
|
||||
// Validity check GnssData fields
|
||||
checkGnssMeasurementClockFields(lastGnssData);
|
||||
if (aidl_gnss_hal_->getInterfaceVersion() >= 3) {
|
||||
EXPECT_EQ(lastGnssData.isFullTracking, isFullTracking);
|
||||
if (isFullTracking) {
|
||||
EXPECT_EQ(lastGnssData.isFullTracking, isFullTracking);
|
||||
}
|
||||
}
|
||||
for (const auto& measurement : lastGnssData.measurements) {
|
||||
checkGnssMeasurementFields(measurement, lastGnssData);
|
||||
|
||||
Reference in New Issue
Block a user