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.java54 for (DevicePolicyEventWrapper expectedLog : expectedLogs) { in assertMetricsLogged()
55 assertExpectedMetricLogged(data, expectedLog); in assertMetricsLogged()
77 for (DevicePolicyEventWrapper expectedLog : expectedLogs) { in assertMetricsNotLogged()
78 assertExpectedMetricNotLogged(data, expectedLog); in assertMetricsNotLogged()
86 DevicePolicyEventWrapper expectedLog) { in assertExpectedMetricLogged() argument
88 .that(isExpectedMetricLogged(data, expectedLog)).isTrue(); in assertExpectedMetricLogged()
92 DevicePolicyEventWrapper expectedLog) { in assertExpectedMetricNotLogged() argument
94 .that(isExpectedMetricLogged(data, expectedLog)).isFalse(); in assertExpectedMetricNotLogged()
98 DevicePolicyEventWrapper expectedLog) { in isExpectedMetricLogged() argument
103 if (actualLog.getEventId() == expectedLog.getEventId()) { in isExpectedMetricLogged()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityMetricsLoggerTests.java134 final String expectedLog = in testAppLaunchIsLogged() local
137 assertLogsContain(deviceLogs, expectedLog); in testAppLaunchIsLogged()
220 final String expectedLog = in testAppFullyDrawnReportIsLogged() local
223 assertLogsContain(deviceLogs, expectedLog); in testAppFullyDrawnReportIsLogged()
509 private void assertLogsContain(String[] logs, String expectedLog) { in assertLogsContain() argument
511 if (line.contains(expectedLog)) { in assertLogsContain()
515 fail("Expected to find '" + expectedLog + "' in " + Arrays.toString(logs)); in assertLogsContain()