Home
last modified time | relevance | path

Searched refs:lastEvent (Results 1 – 6 of 6) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DHingeAngleVerification.java48 TestSensorEvent lastEvent = null; in verify() local
56 if (lastEvent != null && lastEvent.values[0] == event.values[0]) { in verify()
59 " time=%s, value=%s", event.timestamp, event.values[0], lastEvent.timestamp, in verify()
60 lastEvent.values[0]); in verify()
89 lastEvent = event; in verify()
/cts/tests/tests/car/src/android/car/cts/
DCarEvsManagerTest.java291 int lastEvent; in waitForStreamEvent() local
293 lastEvent = mLastStreamEvent.get(from, KEY_NOT_EXIST); in waitForStreamEvent()
296 if (lastEvent == KEY_NOT_EXIST) { in waitForStreamEvent()
301 if (lastEvent == expected) { in waitForStreamEvent()
/cts/hostsidetests/time/host/src/android/time/cts/host/
DLocationTimeZoneManagerHostTest.java594 LocationTimeZoneProviderEventProto lastEvent = actualServiceState.getLastEvent(); in assertLastEventWithoutSuggestion() local
596 lastEvent.getAlgorithmStatus().getStatus()); in assertLastEventWithoutSuggestion()
605 LocationTimeZoneProviderEventProto lastEvent = actualServiceState.getLastEvent(); in assertLastEventWithSuggestion() local
608 lastEvent.getAlgorithmStatus().getStatus()); in assertLastEventWithSuggestion()
611 List<String> actualTimeZonesList = lastEvent.getSuggestion().getZoneIdsList(); in assertLastEventWithSuggestion()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java129 TestSensorEvent lastEvent = collection.get(collectionSize - 1); in getSamplingPeriodNs() local
130 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTransactionalApisTest.java1090 Pair<String, Bundle> lastEvent = mCall1.mEvents.mLastEventReceived; in testOnCallEvent()
1091 if ((lastEvent != null in testOnCallEvent()
1092 && OTT_TEST_EVENT_NAME.equals(lastEvent.first))) { in testOnCallEvent()
1093 verifyTestBundle(lastEvent.second, originalParcelable); in testOnCallEvent()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DStylusHandwritingTest.java1248 MotionEvent lastEvent = capturedBatchedEvents.get(capturedBatchedEvents.size() - 1); in waitForStylusAction() local
1250 if (lastEvent.getAction() == action && event.getX() == x && event.getY() == y) { in waitForStylusAction()