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.java153 GnssMeasurementsEvent firstEvent = events.get(0); in testGnssMeasurementWhenNoLocation() local
154 Collection<GnssMeasurement> gpsMeasurements = firstEvent.getMeasurements(); in testGnssMeasurementWhenNoLocation()
165 long timeInNs = firstEvent.getClock().getTimeNanos(); in testGnssMeasurementWhenNoLocation()
172 TestMeasurementUtil.assertGnssClockFields(firstEvent.getClock(), softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityEventTest.java72 AccessibilityEvent firstEvent = AccessibilityEvent.obtain(); in testReuse() local
73 firstEvent.recycle(); in testReuse()
75 assertSame("AccessibilityEvent not properly reused", firstEvent, secondEvent); in testReuse()
/cts/tests/tests/hardware/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()