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.java162 GnssMeasurementsEvent firstEvent = events.get(0); in testGnssMeasurementWhenNoLocation() local
163 Collection<GnssMeasurement> gpsMeasurements = firstEvent.getMeasurements(); in testGnssMeasurementWhenNoLocation()
174 long timeInNs = firstEvent.getClock().getTimeNanos(); in testGnssMeasurementWhenNoLocation()
181 TestMeasurementUtil.assertGnssClockFields(firstEvent.getClock(), softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java116 BrightnessChangeEvent firstEvent = newEvents.get(0); in testBrightnessSliderTracking() local
117 assertValidLuxData(firstEvent); in testBrightnessSliderTracking()
127 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnessSliderTracking()
130 firstEvent.brightness, secondEvent.brightness > firstEvent.brightness); in testBrightnessSliderTracking()
290 BrightnessChangeEvent firstEvent = newEvents.get(0); in testSliderEventsReflectCurves() local
291 assertValidLuxData(firstEvent); in testSliderEventsReflectCurves()
292 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.java121 TestSensorEvent firstEvent = collection.get(0); in getSamplingPeriodNs() local
123 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()