Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DWorkProfileNetworkLoggingDelegateTest.java121 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()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DNetworkLoggingTest.java139 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()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java320 final NetworkEvent currentEvent = networkEvents.get(i); in verifyNetworkLogs() local
323 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()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DCompanionService.kt45 var currentEvent: Int = -2 variable in android.companion.cts.common.CompanionService
87 currentEvent = event in onDevicePresenceEvent()
253 return instance?.currentEvent