Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/metrics/
DIpConnectivityLogTest.java75 assertTrue(logger.log(makeExpectedEvent(FAKE_TIME_STAMP, FAKE_NET_ID, TRANSPORT_WIFI, in testLoggingEvents()
79 assertEventsEqual(makeExpectedEvent(got.get(0).timestamp, 0, 0, null), got.get(0)); in testLoggingEvents()
80 assertEventsEqual(makeExpectedEvent(FAKE_TIME_STAMP, 0, 0, null), got.get(1)); in testLoggingEvents()
81 assertEventsEqual(makeExpectedEvent(got.get(2).timestamp, FAKE_NET_ID, in testLoggingEvents()
83 assertEventsEqual(makeExpectedEvent(got.get(3).timestamp, FAKE_NET_ID, in testLoggingEvents()
85 assertEventsEqual(makeExpectedEvent(got.get(4).timestamp, 0, 0, FAKE_INTERFACE_NAME), in testLoggingEvents()
87 assertEventsEqual(makeExpectedEvent(FAKE_TIME_STAMP, FAKE_NET_ID, in testLoggingEvents()
102 assertTrue(logger.log(makeExpectedEvent( in testLoggingEventsWithMultipleCallers()
125 assertEventsEqual(makeExpectedEvent(expectedTimestamp, expectedNetId, in testLoggingEventsWithMultipleCallers()
139 private ConnectivityMetricsEvent makeExpectedEvent(long timestamp, int netId, long transports, in makeExpectedEvent() method in IpConnectivityLogTest