/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
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() 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/ |
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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
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()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
D | FakeUserTracker.kt | 74 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/ |
D | ViewConfigCoordinatorTest.kt | 135 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/ |
D | UserChangeListener.java | 33 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() method
|
D | ShellController.java | 290 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()
|
D | ShellInterface.java | 61 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/ |
D | QSTileViewModel.kt | 46 fun onUserChanged(user: UserHandle) method
|
D | StubQSTileViewModel.kt | 34 override fun onUserChanged(user: UserHandle) = error("Don't call stubs") method
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/ |
D | ShellControllerTest.java | 181 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/ |
D | AppOpsPrivacyItemMonitorTest.kt | 176 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/ |
D | NotificationLockscreenUserManager.java | 99 default void onUserChanged(int userId) {} in onUserChanged() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTracker.kt | 103 fun onUserChanged(newUser: Int, userContext: Context) {} in addCallback() method
|
/frameworks/base/services/core/java/com/android/server/ |
D | ContextHubSystemService.java | 61 mContextHubService.onUserChanged(); in onUserSwitching()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/viewmodel/ |
D | QSTileViewModelTest.kt | 155 underTest.onUserChanged(USER) in userChangeUpdatesData() 168 underTest.onUserChanged(USER) in userChangeUpdatesAvailability()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 99 onUserChanged(); in FusedLocationProvider() 192 void onUserChanged() { in onUserChanged() method in FusedLocationProvider
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/di/ |
D | NewQSTileFactoryKosmos.kt | 58 override fun onUserChanged(user: UserHandle) {} in <lambda>() method
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationScaleProvider.java | 108 void onUserChanged(int userId) { in onUserChanged() method in MagnificationScaleProvider
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | ReduceBrightColorsControllerImpl.java | 77 public void onUserChanged(int newUser, Context userContext) { in ReduceBrightColorsControllerImpl()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssListenerMultiplexer.java | 199 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/ |
D | NotificationSettingsControllerTest.kt | 113 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/ |
D | LockscreenTargetFilter.kt | 124 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/ |
D | ViewConfigCoordinator.kt | 70 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/ |
D | NextAlarmControllerImpl.java | 58 public void onUserChanged(int newUser, @NonNull Context userContext) {
|