Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementWhenNoLocationTest.java160 GnssMeasurementsEvent firstEvent = events.get(0); in testGnssMeasurementWhenNoLocation() local
161 Collection<GnssMeasurement> gpsMeasurements = firstEvent.getMeasurements(); in testGnssMeasurementWhenNoLocation()
172 long timeInNs = firstEvent.getClock().getTimeNanos(); in testGnssMeasurementWhenNoLocation()
179 TestMeasurementUtil.assertGnssClockFields(firstEvent.getClock(), softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityEventTest.java73 AccessibilityEvent firstEvent = AccessibilityEvent.obtain(); in testReuse() local
74 firstEvent.recycle(); in testReuse()
76 assertSame("AccessibilityEvent not properly reused", firstEvent, secondEvent); in testReuse()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java114 TestSensorEvent firstEvent = collection.get(0); in getSamplingPeriodNs() local
116 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()