/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusbar/ |
D | UserNameViewController.java | 64 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/ |
D | PerUserCarServiceHelper.java | 61 mUserService.addUserLifecycleListener(mUserLifecycleListener); in PerUserCarServiceHelper() 75 mUserService.removeUserLifecycleListener(mUserLifecycleListener); in release() 79 private final UserLifecycleListener mUserLifecycleListener = event -> { field in PerUserCarServiceHelper
|
D | CarInputService.java | 232 private final CarUserManager.UserLifecycleListener mUserLifecycleListener = event -> { field in CarInputService 331 mUserService.addUserLifecycleListener(mUserLifecycleListener); in init() 348 mUserService.removeUserLifecycleListener(mUserLifecycleListener); in release()
|
D | CarMediaService.java | 223 private final UserLifecycleListener mUserLifecycleListener = event -> { field in CarMediaService 302 mUserService.addUserLifecycleListener(mUserLifecycleListener); in CarMediaService() 410 mUserService.removeUserLifecycleListener(mUserLifecycleListener); in release()
|
D | CarOccupantZoneService.java | 192 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/ |
D | PrivacyChipViewController.java | 108 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/ |
D | ClusterHomeApplication.java | 126 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/ |
D | GarageMode.java | 204 .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/ |
D | CarUserNoticeService.java | 116 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/ |
D | CarOccupantZoneServiceTest.java | 432 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/ |
D | FixedActivityService.java | 137 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/ |
D | CarUserServiceTest.java | 184 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()
|