Searched refs:firstEvent (Results 1 – 5 of 5) sorted by relevance
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssMeasurementWhenNoLocationTest.java | 175 GnssMeasurementsEvent firstEvent = events.get(0); in testGnssMeasurementWhenNoLocation() local 176 Collection<GnssMeasurement> gpsMeasurements = firstEvent.getMeasurements(); in testGnssMeasurementWhenNoLocation() 186 long timeInNs = firstEvent.getClock().getTimeNanos(); in testGnssMeasurementWhenNoLocation() 193 TestMeasurementUtil.assertGnssClockFields(firstEvent.getClock(), softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | BrightnessTest.java | 120 BrightnessChangeEvent firstEvent = newEvents.get(0); in testBrightnessSliderTracking() local 121 assertValidLuxData(firstEvent); in testBrightnessSliderTracking() 131 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnessSliderTracking() 134 firstEvent.brightness, secondEvent.brightness > firstEvent.brightness); in testBrightnessSliderTracking() 172 BrightnessChangeEvent firstEvent = newEvents.get(0); in testBrightnesSliderTrackingDecrease() local 173 assertValidLuxData(firstEvent); in testBrightnesSliderTrackingDecrease() 182 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnesSliderTrackingDecrease() 185 + firstEvent.brightness, secondEvent.brightness < firstEvent.brightness); in testBrightnesSliderTrackingDecrease() 393 BrightnessChangeEvent firstEvent = newEvents.get(newEvents.size() - 1); in try() local 394 assertValidLuxData(firstEvent); in try() [all …]
|
/cts/tests/tests/virtualdevice/sensor/src/android/virtualdevice/cts/sensor/ |
D | VirtualSensorTest.java | 355 final VirtualSensorEvent firstEvent = in sendEvent_reachesRegisteredListeners() local 357 mVirtualSensor.sendEvent(firstEvent); in sendEvent_reachesRegisteredListeners() 359 mSensorEventListener.assertReceivedSensorEvent(sensor, firstEvent); in sendEvent_reachesRegisteredListeners() 407 final VirtualSensorEvent firstEvent = in sendEvent_invalidValues_eventIsDropped() local 409 mVirtualSensor.sendEvent(firstEvent); in sendEvent_invalidValues_eventIsDropped()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 128 TestSensorEvent firstEvent = collection.get(0); in getSamplingPeriodNs() local 130 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityEventTest.java | 650 final AccessibilityEvent firstEvent = new AccessibilityEvent(); in testConstructors() local 651 firstEvent.setEventType(AccessibilityEvent.TYPE_VIEW_FOCUSED); in testConstructors() 655 assertEqualsAccessibilityEvent(firstEvent, secondEvent); in testConstructors()
|