Home
last modified time | relevance | path

Searched refs:addUserLifecycleListener (Results 1 – 25 of 29) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systeminterface/
DDisplayInterfaceTest.java106 verify(mCarUserService).addUserLifecycleListener(any(), any()); in testStartDisplayStateMonitoring_perDisplayBrightnessSupported()
119 verify(mCarUserService).addUserLifecycleListener(any(), any()); in testStartDisplayStateMonitoring_perDisplayBrightnessNotSupported()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarRemoteDeviceServiceTest.java598 }).when(mUserService).addUserLifecycleListener(any(), any()); in testOccupantZoneStateChanged()
673 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserStarting()
696 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserBecameVisible()
719 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserSwitching()
742 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserAssigned()
765 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserUnassigned()
789 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserSwitched()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java255 () -> mCarUserService.addUserLifecycleListener(filter, /* listener= */null)); in testAddUserLifecycleListener_checkNullParameter()
279 mCarUserService.addUserLifecycleListener(/* filter= */null, mockListener1); in testRemoveUserLifecycleListener()
280 mCarUserService.addUserLifecycleListener(/* filter= */null, mockListener2); in testRemoveUserLifecycleListener()
324 mCarUserService.addUserLifecycleListener(/*filter= */null, failureListener); in testOnUserLifecycleEvent_ensureAllListenersAreNotified()
328 mCarUserService.addUserLifecycleListener(/* filter= */null, mUserLifecycleListener); in testOnUserLifecycleEvent_ensureAllListenersAreNotified()
343 mCarUserService.addUserLifecycleListener(/* filter= */null, mockListener1); in testOnUserLifecycleEvent_notifyListener_nullFilter()
344 mCarUserService.addUserLifecycleListener(/* filter= */null, mockListener2); in testOnUserLifecycleEvent_notifyListener_nullFilter()
359 mCarUserService.addUserLifecycleListener( in testOnUserLifecycleEvent_notifyListener_nonNullFilter()
364 mCarUserService.addUserLifecycleListener( in testOnUserLifecycleEvent_notifyListener_nonNullFilter()
368 mCarUserService.addUserLifecycleListener(new UserLifecycleEventFilter.Builder() in testOnUserLifecycleEvent_notifyListener_nonNullFilter()
[all …]
DCarUserNoticeServiceTest.java151 verify(mMockCarUserService).addUserLifecycleListener(any(), in setUpMocks()
/packages/services/Car/service/src/com/android/car/
DCarPerUserServiceHelper.java77 mUserService.addUserLifecycleListener(userSwitchingEventFilter, mUserLifecycleListener); in CarPerUserServiceHelper()
DCarInputService.java457 mUserService.addUserLifecycleListener(userSwitchingEventFilter, mUserLifecycleListener); in init()
DCarOccupantZoneService.java308 mCarUserService.addUserLifecycleListener(userEventFilter, mUserLifecycleListener); in init()
DCarMediaService.java410 mUserService.addUserLifecycleListener(userLifecycleEventFilterBuilder.build(), in CarMediaService()
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DGarageModeTest.java265 verify(mCarUserService).addUserLifecycleListener(any(), listenerCaptor.capture()); in getEventListener()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputRotaryServiceTest.java314 mCarUserService.addUserLifecycleListener(/* filter= */null, blockingListener); in sendUserLifecycleEvent()
/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java349 carUserService.addUserLifecycleListener(userSwitchingEventFilter, in startDisplayStateMonitoring()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systemui/keyguard/
DExperimentalCarKeyguardServiceTest.java126 verify(mMockCarUserService).addUserLifecycleListener(filterCaptor.capture(), any()); in onInit_registersListeners()
/packages/services/Car/service/src/com/android/car/user/
DCarUserNoticeService.java418 userService.addUserLifecycleListener(userSwitchingEventFilter, mUserLifecycleListener); in init()
DExperimentalCarUserService.java153 mCarUserService.addUserLifecycleListener(userSwitchingEventFilter, mUserLifecycleListener); in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DFixedActivityServiceTest.java649 }).when(mCarUserService).addUserLifecycleListener(any(), any()); in testClearingOfRunningActivitiesOnUserSwitch()
655 verify(mCarUserService).addUserLifecycleListener(any(), any()); in testClearingOfRunningActivitiesOnUserSwitch()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java365 verify(mCarUserService, times(VALID_PACKAGE_COUNT)).addUserLifecycleListener(any(), in testStartRemoteTaskClientServiceUserLocked()
388 verify(mCarUserService, times(VALID_PACKAGE_COUNT)).addUserLifecycleListener(any(), in testStartRemoteTaskClientServiceUserLocked_bindAgainAfterUnlock()
422 verify(mCarUserService, times(VALID_PACKAGE_COUNT)).addUserLifecycleListener(any(), any()); in testStartRemoteTaskClientServiceUserLocked_unbindWhileWaiting()
440 .addUserLifecycleListener(any(), any()); in testStartRemoteTaskClientServiceUserLocked_unbindWhileWaiting()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageMode.java252 .addUserLifecycleListener(userStoppedEventFilter, mUserLifecycleListener); in init()
/packages/services/Car/service/src/com/android/car/systemui/keyguard/
DExperimentalCarKeyguardService.java171 mCarUserService.addUserLifecycleListener(userEventFilter, mUserLifecycleListener); in init()
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java174 mCarUserService.addUserLifecycleListener(userLifecycleEventFilter, this); in init()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java342 userService.addUserLifecycleListener(userSwitchingEventFilter, mUserLifecycleListener); in startMonitoringEvents()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceControllerTest.java474 mCarUserService.addUserLifecycleListener(/* filter= */null, blockingListener); in sendUserLifecycleEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedCarTestBase.java342 }).when(mCarUserService).addUserLifecycleListener(any(), any()); in setUp()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java772 userService.addUserLifecycleListener(userEventFilter, (event) -> { in subscribeUserStateChange()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java873 verify(mUserService).addUserLifecycleListener(notNull(), in mockUserLifecycleEvents()
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarRemoteDeviceService.java450 userService.addUserLifecycleListener(userEventFilter, mUserLifecycleListener); in registerUserLifecycleListener()

12