/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | UserTrackerImpl.kt | 164 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 D | IUserSwitchObserver.aidl | 23 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 D | UserSwitchObserver.java | 33 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 D | SynchronousUserSwitchObserver.java | 34 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 D | UserSwitchWaiter.java | 42 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 D | UserSwitchWaiter.java | 42 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 D | OverlayManagerServiceImpl.java | 161 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 D | GuestUserInteractor.kt | 142 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 D | UserControllerTest.java | 410 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 D | ShellController.java | 247 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 D | UserChangeListener.java | 33 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() argument
|
H A D | ShellInterface.java | 60 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 D | OneHandedController.java | 431 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 D | OneHandedSettingsUtil.java | 83 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 D | UserController.java | 2004 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 D | EventLogTags.logtags | 107 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 D | UserAwareBiometricSchedulerTest.java | 115 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 D | NightDisplayTile.java | 130 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 139 mListener = mNightDisplayListenerBuilder.setUser(newUserId).build(); in handleUserSwitch() 144 super.handleUserSwitch(newUserId); in handleUserSwitch()
|
H A D | OneHandedModeTile.java | 106 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 107 mSetting.setUserId(newUserId); in handleUserSwitch()
|
H A D | ColorCorrectionTile.java | 102 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 103 mSetting.setUserId(newUserId); in handleUserSwitch()
|
H A D | ColorInversionTile.java | 101 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 102 mSetting.setUserId(newUserId); in handleUserSwitch()
|
H A D | BatterySaverTile.java | 108 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 109 mSetting.setUserId(newUserId); in handleUserSwitch()
|
H A D | DndTile.java | 160 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 D | NotificationPresenter.java | 43 void onUserSwitched(int newUserId); in onUserSwitched() argument
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityController.java | 57 void onUserSwitched(int newUserId); in onUserSwitched() argument
|