Searched refs:lastEvent (Results 1 – 6 of 6) sorted by relevance
48 TestSensorEvent lastEvent = null; in verify() local56 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()
291 int lastEvent; in waitForStreamEvent() local293 lastEvent = mLastStreamEvent.get(from, KEY_NOT_EXIST); in waitForStreamEvent()296 if (lastEvent == KEY_NOT_EXIST) { in waitForStreamEvent()301 if (lastEvent == expected) { in waitForStreamEvent()
594 LocationTimeZoneProviderEventProto lastEvent = actualServiceState.getLastEvent(); in assertLastEventWithoutSuggestion() local596 lastEvent.getAlgorithmStatus().getStatus()); in assertLastEventWithoutSuggestion()605 LocationTimeZoneProviderEventProto lastEvent = actualServiceState.getLastEvent(); in assertLastEventWithSuggestion() local608 lastEvent.getAlgorithmStatus().getStatus()); in assertLastEventWithSuggestion()611 List<String> actualTimeZonesList = lastEvent.getSuggestion().getZoneIdsList(); in assertLastEventWithSuggestion()
129 TestSensorEvent lastEvent = collection.get(collectionSize - 1); in getSamplingPeriodNs() local130 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()
1090 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()
1248 MotionEvent lastEvent = capturedBatchedEvents.get(capturedBatchedEvents.size() - 1); in waitForStylusAction() local1250 if (lastEvent.getAction() == action && event.getX() == x && event.getY() == y) { in waitForStylusAction()