Home
last modified time | relevance | path

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

12345

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
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()
94 verify(listener, times(2)).onUserChanged(USER2_ID, UserListener.CURRENT_USER_CHANGED); in testListener_SwitchUser()
95 verify(listener, times(2)).onUserChanged(USER2_MANAGED_ID, in testListener_SwitchUser()
97 verify(listener, times(2)).onUserChanged(USER1_ID, UserListener.CURRENT_USER_CHANGED); 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()
113 verify(listener).onUserChanged(USER2_ID, UserListener.USER_VISIBILITY_CHANGED); in testListener_UserVisibilityChanged()
[all …]
/frameworks/base/services/core/java/com/android/server/location/injector/
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
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()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/
DFakeUserTracker.kt74 onUserChanged() in set()
88 fun onUserChanged(userId: Int = _userId) { in onUserChanged() method
90 copy.forEach { it.onUserChanged(userId, userContext) } in onUserChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DViewConfigCoordinatorTest.kt135 userChangedListener.onUserChanged(10) in switchingUserDefersChangesWithUserChangedEventAfter()
155 userChangedListener.onUserChanged(10) in switchingUserDefersChangesWithUserChangedEventDuring()
175 userChangedListener.onUserChanged(10) in switchingUserDefersChangesWithUserChangedEventBefore()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sysui/
DUserChangeListener.java33 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() method
DShellController.java290 void onUserChanged(int newUserId, @NonNull Context userContext) { in onUserChanged() method in ShellController
293 listener.onUserChanged(newUserId, userContext); in onUserChanged()
382 public void onUserChanged(int newUserId, @NonNull Context userContext) { in onUserChanged() method in ShellController.ShellInterfaceImpl
384 ShellController.this.onUserChanged(newUserId, userContext)); in onUserChanged()
DShellInterface.java61 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileViewModel.kt46 fun onUserChanged(user: UserHandle) method
DStubQSTileViewModel.kt34 override fun onUserChanged(user: UserHandle) = error("Don't call stubs") method
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/
DShellControllerTest.java181 mController.onUserChanged(TEST_USER_ID, mTestUserContext); in testAddUserChangeListener_ensureCallback()
191 mController.onUserChanged(TEST_USER_ID, mTestUserContext); in testDoubleAddUserChangeListener_ensureSingleCallback()
201 mController.onUserChanged(TEST_USER_ID, mTestUserContext); in testAddRemoveUserChangeListener_ensureNoCallback()
493 public void onUserChanged(int newUserId, @NonNull Context userContext) { in onUserChanged() method in ShellControllerTest.TestUserChangeListener
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DAppOpsPrivacyItemMonitorTest.kt176 appOpsPrivacyItemMonitor.userTrackerCallback.onUserChanged(0, mContext) in testUserTrackerCallback_userChanged()
297 appOpsPrivacyItemMonitor.userTrackerCallback.onUserChanged(otherUser, mContext) in testListFilterCurrentUser()
322 appOpsPrivacyItemMonitor.userTrackerCallback.onUserChanged(otherUser, mContext) in testAlwaysGetPhoneCameraOps()
346 appOpsPrivacyItemMonitor.userTrackerCallback.onUserChanged(otherUser, mContext) in testAlwaysGetPhoneMicOps()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManager.java99 default void onUserChanged(int userId) {} in onUserChanged() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTracker.kt103 fun onUserChanged(newUser: Int, userContext: Context) {} in addCallback() method
/frameworks/base/services/core/java/com/android/server/
DContextHubSystemService.java61 mContextHubService.onUserChanged(); in onUserSwitching()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileViewModelTest.kt155 underTest.onUserChanged(USER) in userChangeUpdatesData()
168 underTest.onUserChanged(USER) in userChangeUpdatesAvailability()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java99 onUserChanged(); in FusedLocationProvider()
192 void onUserChanged() { in onUserChanged() method in FusedLocationProvider
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/di/
DNewQSTileFactoryKosmos.kt58 override fun onUserChanged(user: UserHandle) {} in <lambda>() method
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationScaleProvider.java108 void onUserChanged(int userId) { in onUserChanged() method in MagnificationScaleProvider
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DReduceBrightColorsControllerImpl.java77 public void onUserChanged(int newUser, Context userContext) { in ReduceBrightColorsControllerImpl()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssListenerMultiplexer.java199 private final UserListener mUserChangedListener = this::onUserChanged;
396 private void onUserChanged(int userId, int change) { in onUserChanged() method in GnssListenerMultiplexer
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationSettingsControllerTest.kt113 userCallback.onUserChanged(userId, context) in updateContentObserverRegistration_onUserChange_noSettingsListeners()
131 userCallback.onUserChanged(userId, context) in updateContentObserverRegistration_onUserChange_withSettingsListeners()
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/
DLockscreenTargetFilter.kt124 override fun onUserChanged(newUser: Int, userContext: Context) { in onUserChanged() method in com.android.systemui.smartspace.filters.LockscreenTargetFilter
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DViewConfigCoordinator.kt70 override fun onUserChanged(userId: Int) { in <lambda>() method in com.android.systemui.statusbar.notification.collection.coordinator.ViewConfigCoordinator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNextAlarmControllerImpl.java58 public void onUserChanged(int newUser, @NonNull Context userContext) {

12345