Home
last modified time | relevance | path

Searched refs:softAssert (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DGnssLocationValuesTest.java67 SoftAssert softAssert = new SoftAssert(TAG); in testAccuracyFields() local
77 checkLocationAccuracyFields(softAssert, location, in testAccuracyFields()
81 softAssert.assertAll(); in testAccuracyFields()
84 public static void checkLocationAccuracyFields(SoftAssert softAssert, in checkLocationAccuracyFields() argument
86 softAssert.assertTrue("All locations generated by the LocationManager " in checkLocationAccuracyFields()
89 softAssert.assertTrue("Location Accuracy should be greater than 0.", in checkLocationAccuracyFields()
100 softAssert.assertTrue("When speed is greater than 0, all GNSS locations generated by " in checkLocationAccuracyFields()
103 softAssert.assertTrue("Bearing Accuracy should be greater than 0.", in checkLocationAccuracyFields()
108 softAssert.assertTrue("All GNSS locations generated by the LocationManager " in checkLocationAccuracyFields()
111 softAssert.assertTrue("Speed Accuracy should be greater than 0.", in checkLocationAccuracyFields()
[all …]
DTestMeasurementUtil.java146 SoftAssert softAssert, in assertGnssClockFields() argument
148 softAssert.assertTrue("time_ns: clock value", in assertGnssClockFields()
159 softAssert.assertTrue("TimeNanos - FullBiasNanos = GpsTimeNanos: clock value", in assertGnssClockFields()
177 SoftAssert softAssert, long timeInNs) { in assertAllGnssMeasurementMandatoryFields() argument
179 verifySvid(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields()
180 verifyReceivedSatelliteVehicleTimeInNs(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields()
181 verifyAccumulatedDeltaRanges(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields()
184 softAssert.assertTrue("state: Satellite code sync state", in assertAllGnssMeasurementMandatoryFields()
191 softAssert.assertTrueAsWarning("received_gps_tow_uncertainty_ns:" + in assertAllGnssMeasurementMandatoryFields()
200 softAssert.assertTrue("time_offset_ns: Time offset", in assertAllGnssMeasurementMandatoryFields()
[all …]
DGnssStatusTest.java66 SoftAssert softAssert = new SoftAssert(TAG); in testGnssStatusValues() local
71 validateGnssStatus(testGnssStatusCallback.getGnssStatus(), softAssert); in testGnssStatusValues() local
72 softAssert.assertAll(); in testGnssStatusValues()
80 public static void validateGnssStatus(GnssStatus status, SoftAssert softAssert) { in validateGnssStatus() argument
84 softAssert.assertTrue("Satellite count test sCount : " + sCount , sCount < 200); in validateGnssStatus()
86 softAssert.assertTrue("azimuth_degrees: Azimuth in degrees: ", in validateGnssStatus()
92 softAssert.assertTrue("carrier_frequency_hz: Carrier frequency in hz", in validateGnssStatus()
98 softAssert.assertTrue("c_n0_dbhz: Carrier-to-noise density", in validateGnssStatus()
104 softAssert.assertTrue("elevation_degrees: Elevation in Degrees :", in validateGnssStatus()
111 TestMeasurementUtil.validateSvidSub(softAssert, null, in validateGnssStatus()
DGnssTtffTests.java63 SoftAssert softAssert = new SoftAssert(TAG); in checkTtffWarmWithWifiOn() local
67 TimeUnit.SECONDS.toMillis(threshold), softAssert); in checkTtffWarmWithWifiOn()
68 softAssert.assertAll(); in checkTtffWarmWithWifiOn()
78 SoftAssert softAssert = new SoftAssert(TAG); in checkTtffHotWithWifiOn() local
80 TimeUnit.SECONDS.toMillis(threshold), softAssert); in checkTtffHotWithWifiOn()
81 softAssert.assertAll(); in checkTtffHotWithWifiOn()
116 long threshold, SoftAssert softAssert) throws Exception { in checkTtffByThreshold() argument
143 softAssert.assertTrue("Test case: " + testName +", TTFF should be less than " + threshold in checkTtffByThreshold()
DGnssMeasurementValuesTest.java109 SoftAssert softAssert = new SoftAssert(TAG); in testListenForGnssMeasurements() local
119 TestMeasurementUtil.assertGnssClockFields(event.getClock(), softAssert, timeInNs); in testListenForGnssMeasurements() local
123 softAssert, timeInNs); in testListenForGnssMeasurements()
128 softAssert.assertOrWarnTrue(isMeasurementTestStrict(), in testListenForGnssMeasurements()
132 softAssert.assertAll(); in testListenForGnssMeasurements()
DGnssPseudorangeVerificationTest.java124 SoftAssert softAssert = new SoftAssert(TAG); in testPseudorangeValue() local
133 TestMeasurementUtil.assertGnssClockFields(event.getClock(), softAssert, timeInNs); in testPseudorangeValue() local
136 validatePseudorange(filteredMeasurements, softAssert, timeInNs); in testPseudorangeValue()
149 softAssert.assertAll(); in testPseudorangeValue()
175 SoftAssert softAssert, long timeInNs) { in validatePseudorange() argument
198 softAssert.assertTrue("deltaiSeconds in Seconds.", in validatePseudorange()
DGnssMeasurementWhenNoLocationTest.java171 SoftAssert softAssert = new SoftAssert(TAG); in testGnssMeasurementWhenNoLocation() local
173 softAssert.assertTrue("GPS measurement satellite count check: ", in testGnssMeasurementWhenNoLocation()
179 TestMeasurementUtil.assertGnssClockFields(firstEvent.getClock(), softAssert, timeInNs); in testGnssMeasurementWhenNoLocation() local
184 softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
186 softAssert.assertAll(); in testGnssMeasurementWhenNoLocation()
DGnssMeasurementsConstellationTest.java103 SoftAssert softAssert = new SoftAssert(TAG); in testGnssMultiConstellationSupported() local
109 softAssert.assertTrue("time_ns: clock value", in testGnssMultiConstellationSupported()
138 softAssert.assertTrueAsWarning( in testGnssMultiConstellationSupported()
147 softAssert.assertAll(); in testGnssMultiConstellationSupported()