Home
last modified time | relevance | path

Searched refs:mUserLifecycleListener (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusbar/
DUserNameViewController.java64 private final CarUserManager.UserLifecycleListener mUserLifecycleListener = field in UserNameViewController
109 mCarUserManager.removeListener(mUserLifecycleListener); in removeAll()
120 mCarUserManager.addListener(Runnable::run, mUserLifecycleListener); in registerForUserChangeEvents()
/packages/services/Car/service/src/com/android/car/
DPerUserCarServiceHelper.java61 mUserService.addUserLifecycleListener(mUserLifecycleListener); in PerUserCarServiceHelper()
75 mUserService.removeUserLifecycleListener(mUserLifecycleListener); in release()
79 private final UserLifecycleListener mUserLifecycleListener = event -> { field in PerUserCarServiceHelper
DCarInputService.java232 private final CarUserManager.UserLifecycleListener mUserLifecycleListener = event -> { field in CarInputService
331 mUserService.addUserLifecycleListener(mUserLifecycleListener); in init()
348 mUserService.removeUserLifecycleListener(mUserLifecycleListener); in release()
DCarMediaService.java223 private final UserLifecycleListener mUserLifecycleListener = event -> { field in CarMediaService
302 mUserService.addUserLifecycleListener(mUserLifecycleListener); in CarMediaService()
410 mUserService.removeUserLifecycleListener(mUserLifecycleListener); in release()
DCarOccupantZoneService.java192 final UserLifecycleListener mUserLifecycleListener = event -> { field in CarOccupantZoneService
271 userService.addUserLifecycleListener(mUserLifecycleListener); in init()
346 userService.removeUserLifecycleListener(mUserLifecycleListener); in release()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DPrivacyChipViewController.java108 private final CarUserManager.UserLifecycleListener mUserLifecycleListener = field in PrivacyChipViewController
225 mCarUserManager.removeListener(mUserLifecycleListener); in removeAll()
259 mCarUserManager.addListener(Runnable::run, mUserLifecycleListener); in registerForUserChangeEvents()
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
DClusterHomeApplication.java126 mUserManager.addListener(getMainExecutor(), mUserLifecycleListener); in initClusterHome() local
145 mUserManager.removeListener(mUserLifecycleListener); in onTerminate()
257 private final UserLifecycleListener mUserLifecycleListener = (event) -> { field in ClusterHomeApplication
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageMode.java204 .addUserLifecycleListener(mUserLifecycleListener); in init()
209 .removeUserLifecycleListener(mUserLifecycleListener); in release()
216 private final UserLifecycleListener mUserLifecycleListener = new UserLifecycleListener() { field in GarageMode
/packages/services/Car/service/src/com/android/car/user/
DCarUserNoticeService.java116 private final UserLifecycleListener mUserLifecycleListener = event -> { field in CarUserNoticeService
405 userService.addUserLifecycleListener(mUserLifecycleListener); in init()
420 userService.removeUserLifecycleListener(mUserLifecycleListener); in release()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java432 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testAssignProfileFollowedByUserSwitch()
645 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testActiveUserAfterUserSwitching()
887 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testManagerGetUserForOccupantAfterUserSwitch()
906 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testManagerRegisterUnregister()
919 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testManagerRegisterUnregister()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java137 private final UserLifecycleListener mUserLifecycleListener = event -> { field in FixedActivityService
339 userService.addUserLifecycleListener(mUserLifecycleListener); in startMonitoringEvents()
377 userService.removeUserLifecycleListener(mUserLifecycleListener); in stopMonitoringEvents()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java184 private final BlockingUserLifecycleListener mUserLifecycleListener = field in CarUserServiceTest
364 mCarUserService.addUserLifecycleListener(mUserLifecycleListener); in testOnUserLifecycleEvent_notifyListener()
386 mCarUserService.addUserLifecycleListener(mUserLifecycleListener); in testOnUserLifecycleEvent_ensureAllListenersAreNotified()
398 UserLifecycleEvent actualEvent = mUserLifecycleListener.waitForAnyEvent(); in verifyListenerOnEventInvoked()