Searched refs:firstEvent (Results 1 – 3 of 3) sorted by relevance
160 GnssMeasurementsEvent firstEvent = events.get(0); in testGnssMeasurementWhenNoLocation() local161 Collection<GnssMeasurement> gpsMeasurements = firstEvent.getMeasurements(); in testGnssMeasurementWhenNoLocation()172 long timeInNs = firstEvent.getClock().getTimeNanos(); in testGnssMeasurementWhenNoLocation()179 TestMeasurementUtil.assertGnssClockFields(firstEvent.getClock(), softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
73 AccessibilityEvent firstEvent = AccessibilityEvent.obtain(); in testReuse() local74 firstEvent.recycle(); in testReuse()76 assertSame("AccessibilityEvent not properly reused", firstEvent, secondEvent); in testReuse()
114 TestSensorEvent firstEvent = collection.get(0); in getSamplingPeriodNs() local116 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()