/frameworks/base/core/java/android/app/ |
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
|
D | IUserSwitchObserver.aidl | 23 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/ |
D | UserController.java | 1040 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/ |
D | FullscreenUserSwitcher.java | 44 public void onUserSwitched(int newUserId) { in onUserSwitched() argument 45 mUserGridView.onUserSwitched(newUserId); in onUserSwitched()
|
D | CarStatusBar.java | 197 public void userSwitched(int newUserId) { in userSwitched() argument 198 super.userSwitched(newUserId); in userSwitched() 200 mFullscreenUserSwitcher.onUserSwitched(newUserId); in userSwitched()
|
D | UserGridView.java | 97 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/ |
D | ConfigurationMapTest.java | 93 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()
|
D | WifiConfigManagerTest.java | 203 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/ |
D | KeyguardMonitor.java | 50 public void onUserSwitched(int newUserId) { in KeyguardMonitor() 51 mCurrentUser = newUserId; in KeyguardMonitor()
|
D | SecurityControllerImpl.java | 186 public void onUserSwitched(int newUserId) { in onUserSwitched() argument 187 mCurrentUserId = newUserId; in onUserSwitched() 188 final UserInfo newUserInfo = mUserManager.getUserInfo(newUserId); in onUserSwitched()
|
D | SecurityController.java | 28 void onUserSwitched(int newUserId); in onUserSwitched() argument
|
D | AccessPointControllerImpl.java | 74 public void onUserSwitched(int newUserId) { in onUserSwitched() argument 75 mCurrentUser = newUserId; in onUserSwitched()
|
D | NetworkController.java | 33 void onUserSwitched(int newUserId); in onUserSwitched() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | IntentTile.java | 83 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 84 super.handleUserSwitch(newUserId); in handleUserSwitch() 85 mCurrentUserId = newUserId; in handleUserSwitch()
|
D | ColorInversionTile.java | 72 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 73 mSetting.setUserId(newUserId); in handleUserSwitch()
|
D | CastTile.java | 83 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 84 super.handleUserSwitch(newUserId); in handleUserSwitch() 86 mController.setCurrentUserId(newUserId); in handleUserSwitch()
|
D | FlashlightTile.java | 67 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 557 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/ |
D | CurrentUserTracker.java | 59 public abstract void onUserSwitched(int newUserId); in onUserSwitched() argument
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerInternal.java | 81 void setCurrentUser(int newUserId); in setCurrentUser() argument
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardServiceDelegate.java | 325 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/ |
D | TunerService.java | 86 public void onUserSwitched(int newUserId) { in start() 87 mCurrentUser = newUserId; in start()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 417 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/ |
D | QSTile.java | 200 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/ |
D | TvStatusBar.java | 202 protected void setHeadsUpUser(int newUserId) { in setHeadsUpUser() argument
|