Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DSystemUserInfoHelperTest.java86 verify(listener).onUserChanged(USER1_ID, UserListener.CURRENT_USER_CHANGED); in testListener_SwitchUser()
87 verify(listener).onUserChanged(USER1_MANAGED_ID, in testListener_SwitchUser()
89 verify(listener).onUserChanged(USER2_ID, UserListener.CURRENT_USER_CHANGED); in testListener_SwitchUser()
90 verify(listener).onUserChanged(USER2_MANAGED_ID, in testListener_SwitchUser()
95 verify(listener, times(2)).onUserChanged(USER2_MANAGED_ID, in testListener_SwitchUser()
98 verify(listener, times(2)).onUserChanged(USER1_MANAGED_ID, in testListener_SwitchUser()
112 verify(listener).onUserChanged(USER1_ID, UserListener.USER_VISIBILITY_CHANGED); in testListener_UserVisibilityChanged()
127 verify(listener).onUserChanged(USER1_ID, UserListener.USER_STARTED); in testListener_StartUser()
130 verify(listener).onUserChanged(USER1_MANAGED_ID, UserListener.USER_STARTED); in testListener_StartUser()
139 verify(listener).onUserChanged(USER2_ID, UserListener.USER_STOPPED); in testListener_StopUser()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/location/injector/
H A DUserInfoHelper.java60 void onUserChanged(@UserIdInt int userId, @UserChange int change); in onUserChanged() method
89 listener.onUserChanged(userId, USER_STARTED); in dispatchOnUserStarted()
99 listener.onUserChanged(userId, USER_STOPPED); in dispatchOnUserStopped()
115 listener.onUserChanged(userId, CURRENT_USER_CHANGED); in dispatchOnCurrentUserChanged()
121 listener.onUserChanged(userId, CURRENT_USER_CHANGED); in dispatchOnCurrentUserChanged()
134 listener.onUserChanged(userId, USER_VISIBILITY_CHANGED); in dispatchOnVisibleUserChanged()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DMagnificationScaleProviderTest.java75 mScaleProvider.onUserChanged(SECOND_USER_ID); in onUserChanged_putScale_fallbackToDefaultScale()
81 mScaleProvider.onUserChanged(SECOND_USER_ID); in onUserRemoved_setScaleOnSecondUser_fallbackToDefaultScale()
83 mScaleProvider.onUserChanged(CURRENT_USER_ID); in onUserRemoved_setScaleOnSecondUser_fallbackToDefaultScale()
87 mScaleProvider.onUserChanged(SECOND_USER_ID); in onUserRemoved_setScaleOnSecondUser_fallbackToDefaultScale()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/
H A DFakeUserTracker.kt71 onUserChanged()
80 fun onUserChanged(userId: Int = _userId) { regex
82 copy.forEach { it.onUserChanged(userId, userContext) }
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DViewConfigCoordinatorTest.kt131 userChangedListener.onUserChanged(10)
151 userChangedListener.onUserChanged(10)
171 userChangedListener.onUserChanged(10)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sysui/
H A DShellController.java247 void onUserChanged(int newUserId, @NonNull Context userContext) { in onUserChanged() method in ShellController
250 listener.onUserChanged(newUserId, userContext); in onUserChanged()
324 public void onUserChanged(int newUserId, @NonNull Context userContext) { in onUserChanged() method in ShellController.ShellInterfaceImpl
326 ShellController.this.onUserChanged(newUserId, userContext)); in onUserChanged()
H A DUserChangeListener.java33 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() method
H A DShellInterface.java60 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() method
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/
H A DShellControllerTest.java136 mController.onUserChanged(TEST_USER_ID, mTestUserContext); in testAddUserChangeListener_ensureCallback()
146 mController.onUserChanged(TEST_USER_ID, mTestUserContext); in testDoubleAddUserChangeListener_ensureSingleCallback()
156 mController.onUserChanged(TEST_USER_ID, mTestUserContext); in testAddRemoveUserChangeListener_ensureNoCallback()
448 public void onUserChanged(int newUserId, @NonNull Context userContext) { in onUserChanged() method in ShellControllerTest.TestUserChangeListener
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DAppOpsPrivacyItemMonitorTest.kt166 appOpsPrivacyItemMonitor.userTrackerCallback.onUserChanged(0, mContext)
287 appOpsPrivacyItemMonitor.userTrackerCallback.onUserChanged(otherUser, mContext)
312 appOpsPrivacyItemMonitor.userTrackerCallback.onUserChanged(otherUser, mContext)
336 appOpsPrivacyItemMonitor.userTrackerCallback.onUserChanged(otherUser, mContext)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManager.java94 default void onUserChanged(int userId) {} in onUserChanged() method
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DUserTracker.kt97 fun onUserChanged(newUser: Int, userContext: Context) {} regex
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DContextHubSystemService.java61 mContextHubService.onUserChanged(); in onUserSwitching()
/aosp14/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java99 onUserChanged(); in FusedLocationProvider()
192 void onUserChanged() { in onUserChanged() method in FusedLocationProvider
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationSettingsControllerTest.kt115 userCallback.onUserChanged(userId, context)
133 userCallback.onUserChanged(userId, context)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
H A DUserRepository.kt202 override fun onUserChanged(newUser: Int, userContext: Context) {
270 override fun onUserChanged(newUserId: Int, userContext: Context) {
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DMagnificationScaleProvider.java108 void onUserChanged(int userId) { in onUserChanged() method in MagnificationScaleProvider
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
H A DUserRepositoryImplTest.kt242 tracker.onUserChanged(userId = 1)
287 tracker.onUserChanged(0)
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssListenerMultiplexer.java199 private final UserListener mUserChangedListener = this::onUserChanged;
396 private void onUserChanged(int userId, int change) { in onUserChanged() method in GnssListenerMultiplexer
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DViewConfigCoordinator.kt65 override fun onUserChanged(userId: Int) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DReduceBrightColorsController.java81 public void onUserChanged(int newUser, Context userContext) { in ReduceBrightColorsController()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNextAlarmControllerImpl.java58 public void onUserChanged(int newUser, @NonNull Context userContext) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
H A DNotifUiAdjustmentProvider.kt55 override fun onUserChanged(newUser: Int, userContext: Context) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/
H A DLockscreenAndDreamTargetFilter.kt122 override fun onUserChanged(newUser: Int, userContext: Context) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
H A DNoteTaskInitializer.kt124 override fun onUserChanged(newUser: Int, userContext: Context) {

1234