Lines Matching refs:measurement

392 void GnssHalTest::checkGnssMeasurementClockFields(const GnssData& measurement) {  in checkGnssMeasurementClockFields()  argument
393 Utils::checkElapsedRealtime(measurement.elapsedRealtime); in checkGnssMeasurementClockFields()
394 ASSERT_TRUE(measurement.clock.gnssClockFlags >= 0 && in checkGnssMeasurementClockFields()
395 measurement.clock.gnssClockFlags <= in checkGnssMeasurementClockFields()
402 void GnssHalTest::checkGnssMeasurementFlags(const GnssMeasurement& measurement) { in checkGnssMeasurementFlags() argument
403 ASSERT_TRUE(measurement.flags >= 0 && in checkGnssMeasurementFlags()
404 measurement.flags <= in checkGnssMeasurementFlags()
416 void GnssHalTest::checkGnssMeasurementFields(const GnssMeasurement& measurement, in checkGnssMeasurementFields() argument
418 checkGnssMeasurementFlags(measurement); in checkGnssMeasurementFields()
420 ASSERT_NE(measurement.signalType.codeType, ""); in checkGnssMeasurementFields()
422 ASSERT_TRUE(measurement.basebandCN0DbHz > 0.0 && measurement.basebandCN0DbHz <= 65.0); in checkGnssMeasurementFields()
424 if (((measurement.flags & GnssMeasurement::HAS_FULL_ISB) > 0) && in checkGnssMeasurementFields()
425 ((measurement.flags & GnssMeasurement::HAS_FULL_ISB_UNCERTAINTY) > 0) && in checkGnssMeasurementFields()
426 ((measurement.flags & GnssMeasurement::HAS_SATELLITE_ISB) > 0) && in checkGnssMeasurementFields()
427 ((measurement.flags & GnssMeasurement::HAS_SATELLITE_ISB_UNCERTAINTY) > 0)) { in checkGnssMeasurementFields()
438 ASSERT_TRUE(std::abs(measurement.fullInterSignalBiasNs) < 1.0e6); in checkGnssMeasurementFields()
439 ASSERT_TRUE(measurement.fullInterSignalBiasUncertaintyNs >= 0); in checkGnssMeasurementFields()
440 ASSERT_TRUE(std::abs(measurement.satelliteInterSignalBiasNs) < 1.0e6); in checkGnssMeasurementFields()
441 ASSERT_TRUE(measurement.satelliteInterSignalBiasUncertaintyNs >= 0); in checkGnssMeasurementFields()
469 for (const auto& measurement : lastGnssData.measurements) { in collectMeasurementIntervals() local
470 checkGnssMeasurementFields(measurement, lastGnssData); in collectMeasurementIntervals()
519 for (const auto& measurement : lastGnssData.measurements) { in checkGnssDataFields() local
520 checkGnssMeasurementFields(measurement, lastGnssData); in checkGnssDataFields()