Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUserManagerLifecycleEventFilterTest.java54 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_CREATED)
55 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING)
56 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_SWITCHING)
57 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKING)
58 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED)
59 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STOPPING)
60 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STOPPED)
75 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING)
76 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_SWITCHING)
77 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKING)
[all …]
DCarUserManagerUserVisibilityEventTest.java79 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING) in testUserVisibilityEvents()
80 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKING) in testUserVisibilityEvents()
81 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED) in testUserVisibilityEvents()
82 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_VISIBLE) in testUserVisibilityEvents()
109 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STOPPING) in testUserVisibilityEvents()
110 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STOPPED) in testUserVisibilityEvents()
111 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_INVISIBLE) in testUserVisibilityEvents()
DCarUserManagerLifeCycleTest.java77 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING) in testLifecycleListener()
78 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_SWITCHING) in testLifecycleListener()
79 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKING) in testLifecycleListener()
80 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED) in testLifecycleListener()
124 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STOPPING) in testLifecycleListener()
125 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STOPPED) in testLifecycleListener()
DCarUserManagerTest.java138 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING) in testLifecycleMultipleListeners()
144 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING) in testLifecycleMultipleListeners()
150 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING) in testLifecycleMultipleListeners()
236 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED) in testGuestUserResumeToNewGuestUser()
250 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_SWITCHING) in testGuestUserResumeToNewGuestUser()
296 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED) in testSecuredGuestUserResumeToSameUser()
336 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED) in testPersistentUserResumeToUser()
DCarMultiUserTestBase.java316 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_SWITCHING) in switchUser()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/testapi/
DBlockingUserLifecycleListenerTest.java62 () -> builder.addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STOPPED)); in testListener_forAnyEvent_invalidBuilderMethods()
95 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING).build(); in testForSpecificEvents_invalidMethods()
103 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING) in testForSpecificEvents_receivedOnlyExpected()
104 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED) in testForSpecificEvents_receivedOnlyExpected()
123 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING) in testForSpecificEvents_receivedExtraEvents()
124 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKING) in testForSpecificEvents_receivedExtraEvents()
151 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING) in testForSpecificEvents_filterByUser()
152 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED) in testForSpecificEvents_filterByUser()
176 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING) in testForSpecificEvents_filterByUserDuplicatedEventTypes()
177 .addExpectedEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED) in testForSpecificEvents_filterByUserDuplicatedEventTypes()
[all …]
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DBlockingUserLifecycleListener.java160 public Builder addExpectedEvent(@UserLifecycleEventType int eventType) { in addExpectedEvent() method in BlockingUserLifecycleListener.Builder