Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
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
DIUserSwitchObserver.aidl23 void onUserSwitching(int newUserId, IRemoteCallback reply); in onUserSwitching() argument
24 void onUserSwitchComplete(int newUserId); in onUserSwitchComplete() argument
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1040 void timeoutUserSwitch(UserState uss, int oldUserId, int newUserId) { in timeoutUserSwitch() argument
1042 Slog.wtf(TAG, "User switch timeout: from " + oldUserId + " to " + newUserId); in timeoutUserSwitch()
1043 sendContinueUserSwitchLocked(uss, oldUserId, newUserId); in timeoutUserSwitch()
1047 void dispatchUserSwitch(final UserState uss, final int oldUserId, final int newUserId) { in dispatchUserSwitch() argument
1048 Slog.d(TAG, "Dispatch onUserSwitching oldUser #" + oldUserId + " newUser #" + newUserId); in dispatchUserSwitch()
1059 sendContinueUserSwitchLocked(uss, oldUserId, newUserId); in dispatchUserSwitch()
1072 newUserId, callback); in dispatchUserSwitch()
1078 sendContinueUserSwitchLocked(uss, oldUserId, newUserId); in dispatchUserSwitch()
1084 void sendContinueUserSwitchLocked(UserState uss, int oldUserId, int newUserId) { in sendContinueUserSwitchLocked() argument
1088 oldUserId, newUserId, uss)); in sendContinueUserSwitchLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DFullscreenUserSwitcher.java44 public void onUserSwitched(int newUserId) { in onUserSwitched() argument
45 mUserGridView.onUserSwitched(newUserId); in onUserSwitched()
DCarStatusBar.java197 public void userSwitched(int newUserId) { in userSwitched() argument
198 super.userSwitched(newUserId); in userSwitched()
200 mFullscreenUserSwitcher.onUserSwitched(newUserId); in userSwitched()
DUserGridView.java97 public void onUserSwitched(int newUserId) { in onUserSwitched() argument
98 if (mPendingUserId == newUserId) { in onUserSwitched()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConfigurationMapTest.java93 public void switchUser(int newUserId) { in switchUser() argument
99 USER_PROFILES.get(newUserId))) { in switchUser()
104 mCurrentUserId = newUserId; in switchUser()
105 assertEquals(hiddenConfigurations, new HashSet<>(mConfigs.handleUserSwitch(newUserId))); in switchUser()
DWifiConfigManagerTest.java203 private void switchUser(int newUserId) { in switchUser() argument
204 when(mUserManager.getProfiles(newUserId)) in switchUser()
205 .thenReturn(USER_PROFILES.get(newUserId)); in switchUser()
206 mWifiConfigManager.handleUserSwitch(newUserId); in switchUser()
683 private void verifyHandleUserSwitch(int oldUserId, int newUserId, in verifyHandleUserSwitch() argument
702 USER_PROFILES.get(newUserId))) { in verifyHandleUserSwitch()
714 USER_PROFILES.get(newUserId))) { in verifyHandleUserSwitch()
725 switchUser(newUserId); in verifyHandleUserSwitch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardMonitor.java50 public void onUserSwitched(int newUserId) { in KeyguardMonitor()
51 mCurrentUser = newUserId; in KeyguardMonitor()
DSecurityControllerImpl.java186 public void onUserSwitched(int newUserId) { in onUserSwitched() argument
187 mCurrentUserId = newUserId; in onUserSwitched()
188 final UserInfo newUserInfo = mUserManager.getUserInfo(newUserId); in onUserSwitched()
DSecurityController.java28 void onUserSwitched(int newUserId); in onUserSwitched() argument
DAccessPointControllerImpl.java74 public void onUserSwitched(int newUserId) { in onUserSwitched() argument
75 mCurrentUser = newUserId; in onUserSwitched()
DNetworkController.java33 void onUserSwitched(int newUserId); in onUserSwitched() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java83 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
84 super.handleUserSwitch(newUserId); in handleUserSwitch()
85 mCurrentUserId = newUserId; in handleUserSwitch()
DColorInversionTile.java72 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
73 mSetting.setUserId(newUserId); in handleUserSwitch()
DCastTile.java83 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
84 super.handleUserSwitch(newUserId); in handleUserSwitch()
86 mController.setCurrentUserId(newUserId); in handleUserSwitch()
DFlashlightTile.java67 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java557 private void updateOverlayStateLocked(String exemptedPackage, int newUserId, int oldUserId) { in updateOverlayStateLocked() argument
561 if (oldUserId != newUserId) { in updateOverlayStateLocked()
571 mVrModeEnabled, mOverlayToken, exemptions, newUserId); in updateOverlayStateLocked()
574 private void updateDependentAppOpsLocked(String newVrServicePackage, int newUserId, in updateDependentAppOpsLocked() argument
583 updateOverlayStateLocked(newVrServicePackage, newUserId, oldUserId); in updateDependentAppOpsLocked()
660 final int newUserId = mCurrentVrModeUser; in updateCurrentVrServiceLocked() local
664 updateDependentAppOpsLocked(newVrServicePackage, newUserId, in updateCurrentVrServiceLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserTracker.java59 public abstract void onUserSwitched(int newUserId); in onUserSwitched() argument
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerInternal.java81 void setCurrentUser(int newUserId); in setCurrentUser() argument
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java325 public void setCurrentUser(int newUserId) { in setCurrentUser() argument
327 mKeyguardService.setCurrentUser(newUserId); in setCurrentUser()
329 mKeyguardState.currentUser = newUserId; in setCurrentUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java86 public void onUserSwitched(int newUserId) { in start()
87 mCurrentUser = newUserId; in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java417 public void onUserSwitching(int newUserId) throws RemoteException {
427 public void onUserSwitchComplete(int newUserId) throws RemoteException {
432 profileChanged(newUserId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTile.java200 public void userSwitch(int newUserId) { in userSwitch() argument
201 mHandler.obtainMessage(H.USER_SWITCH, newUserId, 0).sendToTarget(); in userSwitch()
306 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
DTvStatusBar.java202 protected void setHeadsUpUser(int newUserId) { in setHeadsUpUser() argument

12