Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DDevicePolicyEventLogVerifier.java56 for (DevicePolicyEventWrapper expectedLog : expectedLogs) { in assertMetricsLogged()
57 assertExpectedMetricLogged(data, expectedLog); in assertMetricsLogged()
65 DevicePolicyEventWrapper expectedLog) { in assertExpectedMetricLogged() argument
70 if (actualLog.getEventId() == expectedLog.getEventId()) { in assertExpectedMetricLogged()
73 return Objects.equals(actualLog, expectedLog); in assertExpectedMetricLogged()
76 .that(closestMatches).contains(expectedLog); in assertExpectedMetricLogged()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityMetricsLoggerTests.java122 final String expectedLog = in testAppLaunchIsLogged() local
125 assertLogsContain(deviceLogs, expectedLog); in testAppLaunchIsLogged()
206 final String expectedLog = in testAppFullyDrawnReportIsLogged() local
209 assertLogsContain(deviceLogs, expectedLog); in testAppFullyDrawnReportIsLogged()
423 private void assertLogsContain(String[] logs, String expectedLog) { in assertLogsContain() argument
425 if (line.contains(expectedLog)) { in assertLogsContain()
429 fail("Expected to find '" + expectedLog + "' in " + Arrays.toString(logs)); in assertLogsContain()