Home
last modified time | relevance | path

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

/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java129 BrightnessChangeEvent secondEvent = newEvents.get(0); in testBrightnessSliderTracking() local
130 assertValidLuxData(secondEvent); in testBrightnessSliderTracking()
131 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnessSliderTracking()
132 assertTrue(secondEvent.isUserSetBrightness); in testBrightnessSliderTracking()
133 assertTrue("failed " + secondEvent.brightness + " not greater than " + in testBrightnessSliderTracking()
134 firstEvent.brightness, secondEvent.brightness > firstEvent.brightness); in testBrightnessSliderTracking()
180 BrightnessChangeEvent secondEvent = newEvents.get(0); in testBrightnesSliderTrackingDecrease() local
181 assertValidLuxData(secondEvent); in testBrightnesSliderTrackingDecrease()
182 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnesSliderTrackingDecrease()
183 assertTrue(secondEvent.isUserSetBrightness); in testBrightnesSliderTrackingDecrease()
[all …]
/cts/tests/tests/virtualdevice/sensor/src/android/virtualdevice/cts/sensor/
DVirtualSensorTest.java361 final VirtualSensorEvent secondEvent = in sendEvent_reachesRegisteredListeners() local
363 mVirtualSensor.sendEvent(secondEvent); in sendEvent_reachesRegisteredListeners()
365 mSensorEventListener.assertReceivedSensorEvent(sensor, secondEvent); in sendEvent_reachesRegisteredListeners()
411 final VirtualSensorEvent secondEvent = in sendEvent_invalidValues_eventIsDropped() local
413 mVirtualSensor.sendEvent(secondEvent); in sendEvent_invalidValues_eventIsDropped()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityEventTest.java652 final AccessibilityEvent secondEvent = in testConstructors() local
655 assertEqualsAccessibilityEvent(firstEvent, secondEvent); in testConstructors()