Searched refs:currentEvent (Results 1 – 4 of 4) sorted by relevance
121 for (final NetworkEvent currentEvent : networkEvents) { in verifyNetworkLogs()122 if (CTS_APP_PACKAGE_NAME.equals(currentEvent.getPackageName())) { in verifyNetworkLogs()123 if (currentEvent instanceof DnsEvent) { in verifyNetworkLogs()124 final DnsEvent dnsEvent = (DnsEvent) currentEvent; in verifyNetworkLogs()135 } else if (currentEvent instanceof ConnectEvent) { in verifyNetworkLogs()136 final ConnectEvent connectEvent = (ConnectEvent) currentEvent; in verifyNetworkLogs()142 + currentEvent.getClass().getName()); in verifyNetworkLogs()
139 for (final NetworkEvent currentEvent : networkEvents) { in verifyNetworkLogs()140 if (CTS_APP_PACKAGE_NAME.equals(currentEvent.getPackageName())) { in verifyNetworkLogs()141 if (currentEvent instanceof DnsEvent) { in verifyNetworkLogs()142 final DnsEvent dnsEvent = (DnsEvent) currentEvent; in verifyNetworkLogs()153 } else if (currentEvent instanceof ConnectEvent) { in verifyNetworkLogs()154 final ConnectEvent connectEvent = (ConnectEvent) currentEvent; in verifyNetworkLogs()160 + currentEvent.getClass().getName()); in verifyNetworkLogs()
320 final NetworkEvent currentEvent = networkEvents.get(i); in verifyNetworkLogs() local323 assertTrue(currentEvent.getTimestamp() >= networkEvents.get(i - 1).getTimestamp()); in verifyNetworkLogs()327 assertTrue(currentEvent.getId() == (networkEvents.get(i - 1).getId() + 1)); in verifyNetworkLogs()330 if (CTS_APP_PACKAGE_NAME.equals(currentEvent.getPackageName())) { in verifyNetworkLogs()332 if (currentEvent instanceof DnsEvent) { in verifyNetworkLogs()333 final DnsEvent dnsEvent = (DnsEvent) currentEvent; in verifyNetworkLogs()343 } else if (currentEvent instanceof ConnectEvent) { in verifyNetworkLogs()344 final ConnectEvent connectEvent = (ConnectEvent) currentEvent; in verifyNetworkLogs()348 + currentEvent.getClass().getName()); in verifyNetworkLogs()
45 var currentEvent: Int = -2 variable in android.companion.cts.common.CompanionService87 currentEvent = event in onDevicePresenceEvent()253 return instance?.currentEvent