Merge "Update TestGnssMeasurementIsFullTracking"
This commit is contained in:
commit
6c5ff2565f
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue