/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
H A D | SystemUserInfoHelperTest.java | 86 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 D | UserInfoHelper.java | 60 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 D | MagnificationScaleProviderTest.java | 75 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 D | FakeUserTracker.kt | 71 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 D | ViewConfigCoordinatorTest.kt | 131 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 D | ShellController.java | 247 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 D | UserChangeListener.java | 33 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() method
|
H A D | ShellInterface.java | 60 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 D | ShellControllerTest.java | 136 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 D | AppOpsPrivacyItemMonitorTest.kt | 166 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 D | NotificationLockscreenUserManager.java | 94 default void onUserChanged(int userId) {} in onUserChanged() method
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | UserTracker.kt | 97 fun onUserChanged(newUser: Int, userContext: Context) {} regex
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | ContextHubSystemService.java | 61 mContextHubService.onUserChanged(); in onUserSwitching()
|
/aosp14/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
H A D | FusedLocationProvider.java | 99 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 D | NotificationSettingsControllerTest.kt | 115 userCallback.onUserChanged(userId, context) 133 userCallback.onUserChanged(userId, context)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/ |
H A D | UserRepository.kt | 202 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 D | MagnificationScaleProvider.java | 108 void onUserChanged(int userId) { in onUserChanged() method in MagnificationScaleProvider
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/ |
H A D | UserRepositoryImplTest.kt | 242 tracker.onUserChanged(userId = 1) 287 tracker.onUserChanged(0)
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/ |
H A D | GnssListenerMultiplexer.java | 199 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 D | ViewConfigCoordinator.kt | 65 override fun onUserChanged(userId: Int) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | ReduceBrightColorsController.java | 81 public void onUserChanged(int newUser, Context userContext) { in ReduceBrightColorsController()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NextAlarmControllerImpl.java | 58 public void onUserChanged(int newUser, @NonNull Context userContext) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
H A D | NotifUiAdjustmentProvider.kt | 55 override fun onUserChanged(newUser: Int, userContext: Context) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/ |
H A D | LockscreenAndDreamTargetFilter.kt | 122 override fun onUserChanged(newUser: Int, userContext: Context) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
H A D | NoteTaskInitializer.kt | 124 override fun onUserChanged(newUser: Int, userContext: Context) {
|