Searched refs:newUserId (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/base/core/java/android/app/
H A DIUserSwitchObserver.aidl23 void onUserSwitching(int newUserId, IRemoteCallback reply);
24 void onUserSwitchComplete(int newUserId);
H A DSynchronousUserSwitchObserver.java34 public final void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { argument
36 onUserSwitching(newUserId);
47 public abstract void onUserSwitching(int newUserId) throws RemoteException; argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSecurityController.java31 void onUserSwitched(int newUserId); argument
H A DKeyguardMonitor.java51 public void onUserSwitched(int newUserId) {
52 mCurrentUser = newUserId;
H A DAccessPointControllerImpl.java74 public void onUserSwitched(int newUserId) { argument
75 mCurrentUser = newUserId;
H A DNetworkController.java33 void onUserSwitched(int newUserId); argument
H A DSecurityControllerImpl.java212 public void onUserSwitched(int newUserId) { argument
213 mCurrentUserId = newUserId;
214 final UserInfo newUserInfo = mUserManager.getUserInfo(newUserId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DFullscreenUserSwitcher.java44 public void onUserSwitched(int newUserId) { argument
45 mUserGridView.onUserSwitched(newUserId);
H A DUserGridView.java97 public void onUserSwitched(int newUserId) { argument
98 if (mPendingUserId == newUserId) {
H A DCarStatusBar.java197 public void userSwitched(int newUserId) { argument
198 super.userSwitched(newUserId);
200 mFullscreenUserSwitcher.onUserSwitched(newUserId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DNightDisplayTile.java59 protected void handleUserSwitch(int newUserId) { argument
66 mController = new NightDisplayController(mContext, newUserId);
71 super.handleUserSwitch(newUserId);
H A DColorInversionTile.java72 protected void handleUserSwitch(int newUserId) { argument
73 mSetting.setUserId(newUserId);
H A DIntentTile.java83 protected void handleUserSwitch(int newUserId) { argument
84 super.handleUserSwitch(newUserId);
85 mCurrentUserId = newUserId;
H A DCastTile.java83 protected void handleUserSwitch(int newUserId) { argument
84 super.handleUserSwitch(newUserId);
86 mController.setCurrentUserId(newUserId);
H A DFlashlightTile.java67 protected void handleUserSwitch(int newUserId) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DCurrentUserTracker.java59 public abstract void onUserSwitched(int newUserId); argument
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerInternal.java81 void setCurrentUser(int newUserId); argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DConfigurationMapTest.java93 public void switchUser(int newUserId) { argument
99 USER_PROFILES.get(newUserId))) {
104 mCurrentUserId = newUserId;
105 assertEquals(hiddenConfigurations, new HashSet<>(mConfigs.handleUserSwitch(newUserId)));
/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java1090 void timeoutUserSwitch(UserState uss, int oldUserId, int newUserId) { argument
1092 Slog.wtf(TAG, "User switch timeout: from " + oldUserId + " to " + newUserId
1094 sendContinueUserSwitchLocked(uss, oldUserId, newUserId);
1098 void dispatchUserSwitch(final UserState uss, final int oldUserId, final int newUserId) { argument
1099 Slog.d(TAG, "Dispatch onUserSwitching oldUser #" + oldUserId + " newUser #" + newUserId);
1133 sendContinueUserSwitchLocked(uss, oldUserId, newUserId);
1138 mUserSwitchObservers.getBroadcastItem(i).onUserSwitching(newUserId, callback);
1144 sendContinueUserSwitchLocked(uss, oldUserId, newUserId);
1150 void sendContinueUserSwitchLocked(UserState uss, int oldUserId, int newUserId) { argument
1154 oldUserId, newUserId, us
1157 continueUserSwitch(UserState uss, int oldUserId, int newUserId) argument
1170 moveUserToForegroundLocked(UserState uss, int oldUserId, int newUserId) argument
1181 sendUserSwitchBroadcastsLocked(int oldUserId, int newUserId) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java191 protected void setHeadsUpUser(int newUserId) { argument
/frameworks/base/services/core/java/com/android/server/vr/
H A DVrManagerService.java533 private void updateOverlayStateLocked(String exemptedPackage, int newUserId, int oldUserId) { argument
537 if (oldUserId != newUserId) {
547 mVrModeEnabled, mOverlayToken, exemptions, newUserId);
550 private void updateDependentAppOpsLocked(String newVrServicePackage, int newUserId, argument
559 updateOverlayStateLocked(newVrServicePackage, newUserId, oldUserId);
647 final int newUserId = mCurrentVrModeUser;
651 updateDependentAppOpsLocked(newVrServicePackage, newUserId,
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
H A DKeyguardServiceDelegate.java349 public void setCurrentUser(int newUserId) { argument
351 mKeyguardService.setCurrentUser(newUserId);
353 mKeyguardState.currentUser = newUserId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerService.java86 public void onUserSwitched(int newUserId) {
87 mCurrentUser = newUserId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTile.java202 public void userSwitch(int newUserId) { argument
203 mHandler.obtainMessage(H.USER_SWITCH, newUserId, 0).sendToTarget();
308 protected void handleUserSwitch(int newUserId) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java419 public void onUserSwitching(int newUserId) throws RemoteException {
429 public void onUserSwitchComplete(int newUserId) throws RemoteException {
434 profileChanged(newUserId);

Completed in 940 milliseconds

12