Home
last modified time | relevance | path

Searched refs:firstEvent (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementWhenNoLocationTest.java178 GnssMeasurementsEvent firstEvent = events.get(0); in testGnssMeasurementWhenNoLocation() local
179 Collection<GnssMeasurement> gpsMeasurements = firstEvent.getMeasurements(); in testGnssMeasurementWhenNoLocation()
189 long timeInNs = firstEvent.getClock().getTimeNanos(); in testGnssMeasurementWhenNoLocation()
196 TestMeasurementUtil.assertGnssClockFields(firstEvent.getClock(), softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java119 BrightnessChangeEvent firstEvent = newEvents.get(0); in testBrightnessSliderTracking() local
120 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() local
305 assertValidLuxData(firstEvent); in testSliderEventsReflectCurves()
306 assertFalse(firstEvent.isDefaultBrightnessConfig); in testSliderEventsReflectCurves()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityEventTest.java62 AccessibilityEvent firstEvent = AccessibilityEvent.obtain(); in testReuse() local
63 firstEvent.recycle(); in testReuse()
65 assertSame("AccessibilityEvent not properly reused", firstEvent, secondEvent); in testReuse()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java122 TestSensorEvent firstEvent = collection.get(0); in getSamplingPeriodNs() local
124 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()