Home
last modified time | relevance | path

Searched refs:newUserId (Results 1 – 25 of 79) sorted by relevance

1234

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DUserTrackerImpl.kt164 override fun onBeforeUserSwitching(newUserId: Int) {
165 handleBeforeUserSwitching(newUserId)
169 handleUserSwitching(newUserId)
173 override fun onUserSwitchComplete(newUserId: Int) {
174 handleUserSwitchComplete(newUserId)
182 setUserIdInternal(newUserId)
186 protected open fun handleUserSwitching(newUserId: Int) {
188 Log.i(TAG, "Switching to user $newUserId")
208 protected open fun handleUserSwitchComplete(newUserId: Int) {
210 Log.i(TAG, "Switched to user $newUserId")
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DIUserSwitchObserver.aidl23 void onBeforeUserSwitching(int newUserId); in onBeforeUserSwitching() argument
24 void onUserSwitching(int newUserId, IRemoteCallback reply); in onUserSwitching() argument
25 void onUserSwitchComplete(int newUserId); in onUserSwitchComplete() argument
27 void onLockedBootComplete(int newUserId); in onLockedBootComplete() argument
H A DUserSwitchObserver.java33 public void onBeforeUserSwitching(int newUserId) throws RemoteException {} in onBeforeUserSwitching() argument
36 public void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { in onUserSwitching() argument
43 public void onUserSwitchComplete(int newUserId) throws RemoteException {} in onUserSwitchComplete() argument
49 public void onLockedBootComplete(int newUserId) throws RemoteException {} in onLockedBootComplete() argument
H A DSynchronousUserSwitchObserver.java34 public final void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { in onUserSwitching() argument
36 onUserSwitching(newUserId); in onUserSwitching()
47 public abstract void onUserSwitching(int newUserId) throws RemoteException; in onUserSwitching() argument
/aosp14/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DUserSwitchWaiter.java42 public void onUserSwitchComplete(int newUserId) {
43 getSemaphoreSwitchComplete(newUserId).release();
47 public void onLockedBootComplete(int newUserId) {
48 getSemaphoreBootComplete(newUserId).release();
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserSwitchWaiter.java42 public void onUserSwitchComplete(int newUserId) {
43 getSemaphoreSwitchComplete(newUserId).release();
47 public void onLockedBootComplete(int newUserId) {
48 getSemaphoreBootComplete(newUserId).release();
/aosp14/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerServiceImpl.java161 ArraySet<UserPackage> updateOverlaysForUser(final int newUserId) { in updateOverlaysForUser() argument
163 Slog.d(TAG, "updateOverlaysForUser newUserId=" + newUserId); in updateOverlaysForUser()
169 newUserId); in updateOverlaysForUser()
203 + "' for user " + newUserId + "", e); in updateOverlaysForUser()
212 info, newUserId)); in updateOverlaysForUser()
215 + "' for user " + newUserId + "", e); in updateOverlaysForUser()
222 mSettings.getOverlaysForUser(newUserId); in updateOverlaysForUser()
247 + newUserId); in updateOverlaysForUser()
248 mSettings.setEnabled(overlay, newUserId, true); in updateOverlaysForUser()
249 if (updateState(oi, newUserId, 0)) { in updateOverlaysForUser()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
H A DGuestUserInteractor.kt142 var newUserId = repository.mainUserId regex
152 newUserId = info.id
156 newUserId = targetUserId
161 remove(currentUserInfo.id, newUserId, showDialog, dismissDialog, switchUser)
164 switchUser(newUserId)
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DUserControllerTest.java410 int newUserId = reportMsg.arg2; in testDispatchUserSwitch() local
441 int newUserId = reportMsg.arg2; in testDispatchUserSwitchBadReceiver() local
455 mUserController.completeUserSwitch(oldUserId, newUserId); in continueAndCompleteUserSwitch()
468 int newUserId = reportMsg.arg2; in testContinueUserSwitch() local
471 continueAndCompleteUserSwitch(userState, oldUserId, newUserId); in testContinueUserSwitch()
489 int newUserId = reportMsg.arg2; in testContinueUserSwitchDismissKeyguard() local
492 continueAndCompleteUserSwitch(userState, oldUserId, newUserId); in testContinueUserSwitchDismissKeyguard()
510 int newUserId = reportMsg.arg2; in testContinueUserSwitchUIDisabled() local
546 int newUserId = reportMsg.arg2; in testDispatchUserSwitchComplete() local
1050 assertEquals(newUserId, reportMsg.arg2); in addForegroundUserAndContinueUserSwitch()
[all …]
/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() argument
248 ProtoLog.v(WM_SHELL_SYSUI_EVENTS, "User changed: id=%d", newUserId); in onUserChanged()
250 listener.onUserChanged(newUserId, userContext); in onUserChanged()
324 public void onUserChanged(int newUserId, @NonNull Context userContext) { in onUserChanged() argument
326 ShellController.this.onUserChanged(newUserId, userContext)); in onUserChanged()
H A DUserChangeListener.java33 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() argument
H A DShellInterface.java60 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() argument
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedController.java431 private void registerSettingObservers(int newUserId) { in registerSettingObservers() argument
434 mContext.getContentResolver(), mActivatedObserver, newUserId); in registerSettingObservers()
436 mContext.getContentResolver(), mEnabledObserver, newUserId); in registerSettingObservers()
439 mContext.getContentResolver(), mSwipeToNotificationEnabledObserver, newUserId); in registerSettingObservers()
442 mContext.getContentResolver(), mShortcutEnabledObserver, newUserId); in registerSettingObservers()
445 mContext.getContentResolver(), mShortcutEnabledObserver, newUserId); in registerSettingObservers()
641 public void onUserChanged(int newUserId, @NonNull Context userContext) {
643 mUserId = newUserId;
644 registerSettingObservers(newUserId);
H A DOneHandedSettingsUtil.java83 ContentObserver observer, int newUserId) { in registerSettingsKeyObserver() argument
87 resolver.registerContentObserver(uriKey, false, observer, newUserId); in registerSettingsKeyObserver()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java2004 t.traceBegin("dispatchUserSwitchComplete-" + newUserId);
2019 sendUserSwitchBroadcasts(oldUserId, newUserId);
2069 sendContinueUserSwitchLU(uss, oldUserId, newUserId);
2166 sendContinueUserSwitchLU(uss, oldUserId, newUserId);
2180 oldUserId, newUserId, uss));
2194 COMPLETE_USER_SWITCH_MSG, oldUserId, newUserId));
2204 void completeUserSwitch(int oldUserId, int newUserId) {
2233 private void moveUserToForeground(UserState uss, int newUserId) {
2240 EventLogTags.writeAmSwitchUser(newUserId);
2299 void sendUserSwitchBroadcasts(int oldUserId, int newUserId) {
[all …]
H A DEventLogTags.logtags107 30079 uc_dispatch_user_switch (oldUserId|1|5),(newUserId|1|5)
108 30080 uc_continue_user_switch (oldUserId|1|5),(newUserId|1|5)
114 30083 ssm_user_switching (oldUserId|1|5),(newUserId|1|5)
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
H A DUserAwareBiometricSchedulerTest.java115 public StartUserClient<?, ?> getStartUserClient(int newUserId) { in setUp()
117 return new TestStartUserClient(mContext, Object::new, mToken, newUserId, in setUp()
297 public void onUserStarted(int newUserId, Object newObject, int halInterfaceVersion) { in onUserStarted() argument
298 mStartedUsers.add(newUserId); in onUserStarted()
299 mCurrentUserId = newUserId; in onUserStarted()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DNightDisplayTile.java130 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
139 mListener = mNightDisplayListenerBuilder.setUser(newUserId).build(); in handleUserSwitch()
144 super.handleUserSwitch(newUserId); in handleUserSwitch()
H A DOneHandedModeTile.java106 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
107 mSetting.setUserId(newUserId); in handleUserSwitch()
H A DColorCorrectionTile.java102 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
103 mSetting.setUserId(newUserId); in handleUserSwitch()
H A DColorInversionTile.java101 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
102 mSetting.setUserId(newUserId); in handleUserSwitch()
H A DBatterySaverTile.java108 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
109 mSetting.setUserId(newUserId); in handleUserSwitch()
H A DDndTile.java160 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
161 super.handleUserSwitch(newUserId); in handleUserSwitch()
162 mSettingZenDuration.setUserId(newUserId); in handleUserSwitch()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationPresenter.java43 void onUserSwitched(int newUserId); in onUserSwitched() argument
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSecurityController.java57 void onUserSwitched(int newUserId); in onUserSwitched() argument

1234