Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/testapi/
DBlockingUserLifecycleListenerTest.java70 assertThrows(IllegalStateException.class, () -> listener.waitForEvents()); in testForAnyEvent_invalidMethods()
111 List<UserLifecycleEvent> events = listener.waitForEvents(); in testForSpecificEvents_receivedOnlyExpected()
133 List<UserLifecycleEvent> events = listener.waitForEvents(); in testForSpecificEvents_receivedExtraEvents()
162 List<UserLifecycleEvent> events = listener.waitForEvents(); in testForSpecificEvents_filterByUser()
190 List<UserLifecycleEvent> events = listener.waitForEvents(); in testForSpecificEvents_filterByUserDuplicatedEventTypes()
221 List<UserLifecycleEvent> events = listener.waitForEvents(); in testForSpecificEvents_filterByPreviousUser()
253 List<UserLifecycleEvent> events = listener.waitForEvents(); in testForSpecificEvents_filterByPreviousAndTargetUsers()
270 List<UserLifecycleEvent> events = listener.waitForEvents(); in testForNoExpectedEvent_noEventsReceived()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUserManagerTest.java175 List<UserLifecycleEvent> events1 = listener1.waitForEvents(); in testLifecycleMultipleListeners()
177 List<UserLifecycleEvent> events3 = listener3.waitForEvents(); in testLifecycleMultipleListeners()
241 listener1.waitForEvents(); in testGuestUserResumeToNewGuestUser()
258 UserLifecycleEvent event = listener2.waitForEvents().get(0); in testGuestUserResumeToNewGuestUser()
303 listener.waitForEvents(); in testSecuredGuestUserResumeToSameUser()
341 listener.waitForEvents(); in testPersistentUserResumeToUser()
346 listener.waitForEvents(); in testPersistentUserResumeToUser()
DCarUserManagerLifeCycleTest.java95 List<UserLifecycleEvent> startEvents = startListener.waitForEvents(); in testLifecycleListener()
102 List<UserLifecycleEvent> expectedEvents = startListener.waitForEvents(); in testLifecycleListener()
138 List<UserLifecycleEvent> stopEvents = stopListener.waitForEvents(); in testLifecycleListener()
DCarUserManagerUserVisibilityEventTest.java93 List<UserLifecycleEvent> startEvents = startListener.waitForEvents(); in testUserVisibilityEvents()
124 List<UserLifecycleEvent> stopEvents = stopListener.waitForEvents(); in testUserVisibilityEvents()
DCarMultiUserTestBase.java331 listener.waitForEvents(); in switchUser()
/packages/services/Car/cpp/evs/apps/default/inc/
DEvsVehicleListener.h53 bool waitForEvents(int timeout_ms) { in waitForEvents() function
63 waitForEvents(5000); in run()
/packages/services/DeviceAsWebcam/jni/
DUVCProvider.h45 Events waitForEvents();
DUVCProvider.cpp99 Events EpollW::waitForEvents() { in waitForEvents() function in android::webcam::EpollW
846 Events events = mEpollW.waitForEvents(); in ListenToUVCFds()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DBlockingUserLifecycleListener.java263 public List<UserLifecycleEvent> waitForEvents() throws InterruptedException { in waitForEvents() method in BlockingUserLifecycleListener