Home
last modified time | relevance | path

Searched refs:onUserChanged (Results 1 – 25 of 36) sorted by relevance

12

/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DSystemUserInfoHelperTest.java80 verify(listener, times(1)).onUserChanged(USER1_ID, UserListener.CURRENT_USER_CHANGED); in testListener_SwitchUser()
81 verify(listener, times(1)).onUserChanged(USER1_MANAGED_ID, in testListener_SwitchUser()
83 verify(listener, times(1)).onUserChanged(USER2_ID, UserListener.CURRENT_USER_CHANGED); in testListener_SwitchUser()
84 verify(listener, times(1)).onUserChanged(USER2_MANAGED_ID, in testListener_SwitchUser()
88 verify(listener, times(2)).onUserChanged(USER2_ID, UserListener.CURRENT_USER_CHANGED); in testListener_SwitchUser()
89 verify(listener, times(2)).onUserChanged(USER2_MANAGED_ID, in testListener_SwitchUser()
92 verify(listener, times(2)).onUserChanged(USER1_MANAGED_ID, in testListener_SwitchUser()
102 verify(listener).onUserChanged(USER1_ID, UserListener.USER_STARTED); in testListener_StartUser()
105 verify(listener).onUserChanged(USER1_MANAGED_ID, UserListener.USER_STARTED); in testListener_StartUser()
114 verify(listener).onUserChanged(USER2_ID, UserListener.USER_STOPPED); in testListener_StopUser()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/location/injector/
H A DUserInfoHelper.java58 void onUserChanged(@UserIdInt int userId, @UserChange int change); in onUserChanged() method
87 listener.onUserChanged(userId, USER_STARTED); in dispatchOnUserStarted()
97 listener.onUserChanged(userId, USER_STOPPED); in dispatchOnUserStopped()
113 listener.onUserChanged(userId, CURRENT_USER_CHANGED); in dispatchOnCurrentUserChanged()
119 listener.onUserChanged(userId, CURRENT_USER_CHANGED); in dispatchOnCurrentUserChanged()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DUserTracker.kt71 fun onUserChanged(newUser: Int, userContext: Context) {} regex
H A DUserTrackerImpl.kt159 onUserChanged(newUser, ctx)
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DContextHubSystemService.java59 mContextHubService.onUserChanged(); in onUserSwitching()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManager.java94 default void onUserChanged(int userId) {} in onUserChanged() method
/aosp12/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java92 onUserChanged(); in FusedLocationProvider()
166 void onUserChanged() {
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DPrivacyItemControllerTest.kt190 privacyItemController.userTrackerCallback.onUserChanged(0, mContext)
382 privacyItemController.userTrackerCallback.onUserChanged(otherUser, mContext)
406 privacyItemController.userTrackerCallback.onUserChanged(otherUser, mContext)
429 privacyItemController.userTrackerCallback.onUserChanged(otherUser, mContext)
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssListenerMultiplexer.java187 private final UserListener mUserChangedListener = this::onUserChanged;
374 private void onUserChanged(int userId, int change) { in onUserChanged() method in GnssListenerMultiplexer
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DViewConfigCoordinator.kt82 override fun onUserChanged(userId: Int) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DReduceBrightColorsController.java79 public void onUserChanged(int newUser, Context userContext) { in ReduceBrightColorsController()
/aosp12/frameworks/base/services/core/java/com/android/server/location/geofence/
H A DGeofenceManager.java235 private final UserListener mUserChangedListener = this::onUserChanged;
483 void onUserChanged(int userId, int change) { in onUserChanged() method in GeofenceManager
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbles.java218 void onUserChanged(int newUserId); in onUserChanged() method
H A DBubbleController.java520 public void onUserChanged(int newUserId) { in onUserChanged() method in BubbleController
1641 public void onUserChanged(int newUserId) { in onUserChanged() method in BubbleController
1643 BubbleController.this.onUserChanged(newUserId); in onUserChanged()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
H A DLockscreenSmartspaceControllerTest.kt265 userListener.onUserChanged(-1, context)
397 userListener.onUserChanged(userHandleSecondary.identifier, context)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardBypassController.kt146 override fun onUserChanged(userId: Int) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeviceProvisionedControllerImpl.kt106 override fun onUserChanged(newUser: Int, userContext: Context) {
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DDeviceProvisionedControllerImplTest.kt239 userTrackerCallbackCaptor.value.onUserChanged(toUser, mContext)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
H A DLockscreenSmartspaceController.kt116 override fun onUserChanged(newUser: Int, userContext: Context) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
H A DBubblesManager.java240 public void onUserChanged(int userId) { in BubblesManager()
241 mBubbles.onUserChanged(userId); in BubblesManager()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerServiceImpl.java120 public void onUserChanged(int newUser, Context userContext) { in TunerServiceImpl()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
H A DPeopleHubNotificationListener.kt177 override fun onUserChanged(userId: Int) = updateUi()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
H A DUserTrackerImplTest.kt281 override fun onUserChanged(newUser: Int, userContext: Context) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
H A DPrivacyItemController.kt165 override fun onUserChanged(newUser: Int, userContext: Context) {
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayoutControllerTest.java312 changedListener.onUserChanged(0); in testOnUserChange_verifySensitiveProfile()

12