Searched refs:actualEvents (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | LogEventChecker.java | 87 final ListMap<String> actualEvents = finishSync(waitForExpectedCountMs); in verify() local 88 if (actualEvents == null) return "null event sequences because launcher likely died"; in verify() 90 return lowLevelMismatchDiagnostics(actualEvents); in verify() 93 private String lowLevelMismatchDiagnostics(ListMap<String> actualEvents) { in lowLevelMismatchDiagnostics() argument 99 List<String> actual = new ArrayList<>(actualEvents.getNonNull(sequence)); in lowLevelMismatchDiagnostics() 110 for (String actualNamedSequence : actualEvents.keySet()) { in lowLevelMismatchDiagnostics() 117 actualEvents.get(actualNamedSequence), in lowLevelMismatchDiagnostics() 144 List<String> actualEvents, in formatSequenceWithMismatch() argument 151 formatEventListWithMismatch(sb, actualEvents, mismatchPosition); in formatSequenceWithMismatch()
|
D | LauncherInstrumentation.java | 1623 private static String eventListToString(List<Integer> actualEvents) { in eventListToString() argument 1624 if (actualEvents.isEmpty()) return "no events"; in eventListToString() 1627 + actualEvents.stream() in eventListToString() 1646 final List<Integer> actualEvents = new ArrayList<>(); in runToState() local 1649 event -> isSwitchToStateEvent(event, expectedState, actualEvents), in runToState() 1652 + "], actual: " + eventListToString(actualEvents), in runToState() 1657 AccessibilityEvent event, int expectedState, List<Integer> actualEvents) { in isSwitchToStateEvent() argument 1662 actualEvents.add(actualState); in isSwitchToStateEvent()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | RetryLaunchViewModelTest.java | 147 Queue<ViewModelEvent> actualEvents, in pollForEvents() argument 150 Poll.forValue("CapturedViewModelEvents", () -> actualEvents) in pollForEvents() 156 assertThat(actualEvents.remove()).isEqualTo(nextExpectedEvent); in pollForEvents() 158 pollForNoEvent(actualEvents); in pollForEvents()
|
/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/ |
D | CustomInputEventListenerTest.java | 374 List<KeyEvent> actualEvents = keyEventCaptor.getAllValues(); in assertKeyEvents() local 375 for (int i = 0; i < actualEvents.size(); i++) { in assertKeyEvents() 376 KeyEvent actual = actualEvents.get(i); in assertKeyEvents()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPropertyServiceUnitTest.java | 1261 List<CarPropertyEvent> actualEvents = listener.getEvents(); in testOnEventCallback_MustNotHaveDeadLock() local 1263 assertThat(actualEvents.size()).isEqualTo(events.size()); in testOnEventCallback_MustNotHaveDeadLock() 1265 CarPropertyEvent actualEvent = actualEvents.get(i); in testOnEventCallback_MustNotHaveDeadLock()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | WatchdogPerfHandlerUnitTest.java | 3789 List<StatsEvent> actualEvents = new ArrayList<>(); in testPullInvalidAtoms() local 3791 0, actualEvents)).isEqualTo(PULL_SKIP); in testPullInvalidAtoms() 3792 assertWithMessage("Pulled stats events").that(actualEvents).isEmpty(); in testPullInvalidAtoms()
|