Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DAsyncUserVisibilityListener.java89 List<UserVisibilityChangedEvent> receivedEvents = getReceivedEvents(); in verify() local
91 if (receivedEvents.isEmpty()) { in verify()
92 mExpect.withMessage("received events").that(receivedEvents).isEmpty(); in verify()
101 mExpect.withMessage("received events").that(receivedEvents) in verify()
107 List<UserVisibilityChangedEvent> receivedEvents = getReceivedEvents(); in toString() local
110 + ", received=" + receivedEvents.size() in toString()
111 + ", events=" + receivedEvents + "]"; in toString()
141 List<UserVisibilityChangedEvent> receivedEvents = getReceivedEvents(); in waitForEvents() local
144 receivedEvents.size(), receivedEvents, expectedNumberEvents, mExpectedEvents); in waitForEvents()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java856 assertThat(callback.receivedEvents()).containsExactly(EVENT_DISPLAY_CHANGED);
1925 assertThat(callback.receivedEvents()).contains(EVENT_DISPLAY_CHANGED);
1934 assertThat(callback.receivedEvents()).doesNotContain(EVENT_DISPLAY_CHANGED);
1943 assertThat(callback.receivedEvents()).contains(EVENT_DISPLAY_CHANGED);
1952 assertThat(callback.receivedEvents()).contains(EVENT_DISPLAY_CHANGED);
1960 assertThat(callback.receivedEvents()).doesNotContain(EVENT_DISPLAY_CHANGED);
2083 assertThat(callback.receivedEvents()).contains(EVENT_DISPLAY_CHANGED);
2088 assertThat(callback.receivedEvents()).doesNotContain(EVENT_DISPLAY_CHANGED);
2092 assertThat(callback.receivedEvents()).contains(EVENT_DISPLAY_CHANGED);
2162 assertThat(callback.receivedEvents()).containsExactly(EVENT_DISPLAY_ADDED);
[all …]
/frameworks/base/core/java/android/app/
DUiAutomation.java1152 List<AccessibilityEvent> receivedEvents = new ArrayList<>(); in executeAndWaitForEvent() local
1174 receivedEvents.add(event); in executeAndWaitForEvent()
1181 + timeoutMillis + " ms among: " + receivedEvents); in executeAndWaitForEvent()
1194 int size = receivedEvents.size(); in executeAndWaitForEvent()
1196 receivedEvents.get(i).recycle(); in executeAndWaitForEvent()