Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
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()
91 verify(listener, times(2)).onUserChanged(USER1_ID, UserListener.CURRENT_USER_CHANGED); 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()
[all …]
/frameworks/base/services/core/java/com/android/server/location/injector/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTracker.kt71 fun onUserChanged(newUser: Int, userContext: Context) {} in addCallback() method
DUserTrackerImpl.kt159 onUserChanged(newUser, ctx) in handleSwitchUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManager.java94 default void onUserChanged(int userId) {} in onUserChanged() method
DNotificationLockscreenUserManagerImpl.java138 listener.onUserChanged(mCurrentUserId);
/frameworks/base/services/core/java/com/android/server/
DContextHubSystemService.java59 mContextHubService.onUserChanged(); in onUserSwitching()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java92 onUserChanged(); in FusedLocationProvider()
166 void onUserChanged() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt190 privacyItemController.userTrackerCallback.onUserChanged(0, mContext) in testCallback_userChanged()
382 privacyItemController.userTrackerCallback.onUserChanged(otherUser, mContext) in testListFilterCurrentUser()
406 privacyItemController.userTrackerCallback.onUserChanged(otherUser, mContext) in testAlwaysGetPhoneCameraOps()
429 privacyItemController.userTrackerCallback.onUserChanged(otherUser, mContext) in testAlwaysGetPhoneMicOps()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssListenerMultiplexer.java187 private final UserListener mUserChangedListener = this::onUserChanged;
374 private void onUserChanged(int userId, int change) { in onUserChanged() method in GnssListenerMultiplexer
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DReduceBrightColorsController.java79 public void onUserChanged(int newUser, Context userContext) { in ReduceBrightColorsController()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbles.java229 void onUserChanged(int newUserId); in onUserChanged() method
DBubbleController.java515 public void onUserChanged(int newUserId) { in onUserChanged() method in BubbleController
1633 public void onUserChanged(int newUserId) { in onUserChanged() method in BubbleController
1635 BubbleController.this.onUserChanged(newUserId); in onUserChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt225 userListener.onUserChanged(-1, context) in testUserChangeReloadsSmartspace()
357 userListener.onUserChanged(userHandleSecondary.identifier, context) in testRecognizeSwitchToSecondaryUser()
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java235 private final UserListener mUserChangedListener = this::onUserChanged;
483 void onUserChanged(int userId, int change) { in onUserChanged() method in GeofenceManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBypassController.kt138 override fun onUserChanged(userId: Int) { in onUserChanged() method in com.android.systemui.statusbar.phone.KeyguardBypassController
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt208 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserTrackerImplTest.kt281 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>() method in com.android.systemui.settings.UserTrackerImplTest.TestCallback
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubNotificationListener.kt177 override fun onUserChanged(userId: Int) = updateUi() in extractPersonKey() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java120 public void onUserChanged(int newUser, Context userContext) { in TunerServiceImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java250 public void onUserChanged(int userId) { in BubblesManager()
251 mBubbles.onUserChanged(userId); in BubblesManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItemController.kt165 override fun onUserChanged(newUser: Int, userContext: Context) { in onUserChanged() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollerControllerTest.java284 changedListener.onUserChanged(0); in testOnUserChange_verifySensitiveProfile()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java234 @VisibleForTesting void onUserChanged(int userHandle) { in onUserChanged() method in ColorDisplayService
1573 onUserChanged(msg.arg1); in handleMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java1241 mCds.onUserChanged(mUserId); in startService()

12