Home
last modified time | relevance | path

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

/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/
DMetricsAsserts.java45 public static void assertHasActionLog(String message, Queue<LogMaker> queue, int view) { in assertHasActionLog() argument
46 Queue<LogMaker> logs = findMatchingLogs(queue, in assertHasActionLog()
64 public static void assertHasVisibilityLog(String message, Queue<LogMaker> queue, in assertHasVisibilityLog() argument
66 Queue<LogMaker> logs = findMatchingLogs(queue, in assertHasVisibilityLog()
83 public static Queue<LogMaker> findMatchingLogs(Queue<LogMaker> queue, LogMaker template) { in findMatchingLogs() argument
88 while (!queue.isEmpty()) { in findMatchingLogs()
89 LogMaker b = queue.poll(); in findMatchingLogs()
108 public static void assertHasLog(String message, Queue<LogMaker> queue, LogMaker expected) { in assertHasLog() argument
109 assertTrue(message, !findMatchingLogs(queue, expected).isEmpty()); in assertHasLog()