Searched refs:firstEvent (Results 1 – 4 of 4) sorted by relevance
178 GnssMeasurementsEvent firstEvent = events.get(0); in testGnssMeasurementWhenNoLocation() local179 Collection<GnssMeasurement> gpsMeasurements = firstEvent.getMeasurements(); in testGnssMeasurementWhenNoLocation()189 long timeInNs = firstEvent.getClock().getTimeNanos(); in testGnssMeasurementWhenNoLocation()196 TestMeasurementUtil.assertGnssClockFields(firstEvent.getClock(), softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
119 BrightnessChangeEvent firstEvent = newEvents.get(0); in testBrightnessSliderTracking() local120 assertValidLuxData(firstEvent); in testBrightnessSliderTracking()130 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnessSliderTracking()133 firstEvent.brightness, secondEvent.brightness > firstEvent.brightness); in testBrightnessSliderTracking()304 BrightnessChangeEvent firstEvent = newEvents.get(0); in testSliderEventsReflectCurves() local305 assertValidLuxData(firstEvent); in testSliderEventsReflectCurves()306 assertFalse(firstEvent.isDefaultBrightnessConfig); in testSliderEventsReflectCurves()
62 AccessibilityEvent firstEvent = AccessibilityEvent.obtain(); in testReuse() local63 firstEvent.recycle(); in testReuse()65 assertSame("AccessibilityEvent not properly reused", firstEvent, secondEvent); in testReuse()
122 TestSensorEvent firstEvent = collection.get(0); in getSamplingPeriodNs() local124 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()