Home
last modified time | relevance | path

Searched refs:expectedEvent (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java108 assertEventsEqual(expectedEvent(1), got.get(0)); in testLoggingEvents()
109 assertEventsEqual(expectedEvent(2), got.get(1)); in testLoggingEvents()
110 assertEventsEqual(expectedEvent(3), got.get(2)); in testLoggingEvents()
136 assertEventsEqual(expectedEvent(expectedTimestamp), iter.next()); in testLoggingEventsWithMultipleCallers()
680 static ConnectivityMetricsEvent expectedEvent(int timestamp) { in expectedEvent() method in IpConnectivityMetricsTest
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DSynchronousActivityLifecycleTest.java174 private TestObserver(LifecycleTestActivity activity, Event expectedEvent) { in TestObserver() argument
176 this.mExpectedEvent = expectedEvent; in TestObserver()