/frameworks/base/core/java/android/app/ |
H A D | IUserSwitchObserver.aidl | 23 void onUserSwitching(int newUserId, IRemoteCallback reply); 24 void onUserSwitchComplete(int newUserId); 26 void onLockedBootComplete(int newUserId);
|
H A D | SynchronousUserSwitchObserver.java | 34 public final void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { argument 36 onUserSwitching(newUserId); 47 public abstract void onUserSwitching(int newUserId) throws RemoteException; argument
|
H A D | UserSwitchObserver.java | 27 public void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { argument 34 public void onUserSwitchComplete(int newUserId) throws RemoteException {} argument 40 public void onLockedBootComplete(int newUserId) throws RemoteException {} argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | FullscreenUserSwitcher.java | 44 public void onUserSwitched(int newUserId) { argument 45 mUserGridView.onUserSwitched(newUserId);
|
H A D | UserGridView.java | 97 public void onUserSwitched(int newUserId) { argument 98 if (mPendingUserId == newUserId) {
|
H A D | CarStatusBar.java | 266 public void userSwitched(int newUserId) { argument 267 super.userSwitched(newUserId); 269 mFullscreenUserSwitcher.onUserSwitched(newUserId);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
H A D | CurrentUserTrackerTest.java | 41 public void onUserSwitched(int newUserId) { 52 public void onUserSwitched(int newUserId) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | CurrentUserTracker.java | 57 public abstract void onUserSwitched(int newUserId); argument 114 private void notifyUserSwitched(int newUserId) { argument 115 if (mCurrentUserId != newUserId) { 116 mCurrentUserId = newUserId; 121 consumer.accept(newUserId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityController.java | 40 void onUserSwitched(int newUserId); argument
|
H A D | DeviceProvisionedControllerImpl.java | 95 public void onUserSwitched(int newUserId) { argument 100 mSettingsObserver, newUserId);
|
H A D | KeyguardMonitorImpl.java | 54 public void onUserSwitched(int newUserId) { 55 mCurrentUser = newUserId;
|
H A D | AccessPointControllerImpl.java | 74 public void onUserSwitched(int newUserId) { argument 75 mCurrentUser = newUserId;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | NightDisplayTile.java | 61 protected void handleUserSwitch(int newUserId) { argument 68 mController = new NightDisplayController(mContext, newUserId); 73 super.handleUserSwitch(newUserId);
|
H A D | ColorInversionTile.java | 75 protected void handleUserSwitch(int newUserId) { argument 76 mSetting.setUserId(newUserId);
|
H A D | IntentTile.java | 88 protected void handleUserSwitch(int newUserId) { argument 89 super.handleUserSwitch(newUserId); 90 mCurrentUserId = newUserId;
|
H A D | NfcTile.java | 77 protected void handleUserSwitch(int newUserId) { argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
H A D | FakeSecurityController.java | 104 public void onUserSwitched(int newUserId) { argument
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarManagerInternal.java | 78 void setCurrentUser(int newUserId); argument
|
/frameworks/base/services/core/java/com/android/server/om/ |
H A D | OverlayManagerServiceImpl.java | 77 ArrayList<String> updateOverlaysForUser(final int newUserId) { argument 79 Slog.d(TAG, "updateOverlaysForUser newUserId=" + newUserId); 83 final ArrayMap<String, List<OverlayInfo>> tmp = mSettings.getOverlaysForUser(newUserId); 95 List<PackageInfo> overlayPackages = mPackageManager.getOverlayPackages(newUserId); 102 mSettings.init(overlayPackage.packageName, newUserId, 114 + " for user " + newUserId + " by default"); 116 mSettings.setEnabled(overlayPackage.packageName, newUserId, true); 127 mPackageManager.getPackageInfo(overlayPackage.overlayTarget, newUserId); 128 updateState(targetPackage, overlayPackage, newUserId); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | UserControllerTest.java | 202 int newUserId = reportMsg.arg2; 205 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); 232 int newUserId = reportMsg.arg2; 235 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); 250 int newUserId = reportMsg.arg2; 253 mUserController.continueUserSwitch(userState, oldUserId, newUserId); 267 int newUserId = reportMsg.arg2; 270 mUserController.continueUserSwitch(userState, oldUserId, newUserId); 294 int newUserId = reportMsg.arg2; 300 mUserController.dispatchUserSwitchComplete(newUserId); [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserController.java | 1133 void timeoutUserSwitch(UserState uss, int oldUserId, int newUserId) { argument 1135 Slog.wtf(TAG, "User switch timeout: from " + oldUserId + " to " + newUserId); 1136 sendContinueUserSwitchLocked(uss, oldUserId, newUserId); 1140 void dispatchUserSwitch(final UserState uss, final int oldUserId, final int newUserId) { argument 1141 Slog.d(TAG, "Dispatch onUserSwitching oldUser #" + oldUserId + " newUser #" + newUserId); 1175 sendContinueUserSwitchLocked(uss, oldUserId, newUserId); 1180 mUserSwitchObservers.getBroadcastItem(i).onUserSwitching(newUserId, callback); 1186 sendContinueUserSwitchLocked(uss, oldUserId, newUserId); 1192 void sendContinueUserSwitchLocked(UserState uss, int oldUserId, int newUserId) { argument 1196 oldUserId, newUserId, us 1199 continueUserSwitch(UserState uss, int oldUserId, int newUserId) argument 1214 moveUserToForegroundLocked(UserState uss, int oldUserId, int newUserId) argument 1226 sendUserSwitchBroadcastsLocked(int oldUserId, int newUserId) argument [all...] |
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
H A D | UserLifecycleTest.java | 254 public void onUserSwitchComplete(int newUserId) throws RemoteException { 255 if (switchLatch != null && userId == newUserId) { 261 public void onLockedBootComplete(int newUserId) { 262 if (bootCompleteLatch != null && userId == newUserId) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ConfigurationMapTest.java | 92 public void switchUser(int newUserId) { argument 93 mCurrentUserId = newUserId; 94 mConfigs.setNewUser(newUserId);
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbService.java | 82 public void onSwitchUser(int newUserId) { argument 83 mUsbService.onSwitchUser(newUserId); 159 * @param newUserId The user id of the new current user. 161 private void onSwitchUser(@UserIdInt int newUserId) { argument 163 mCurrentUserId = newUserId; 169 mSettingsManager.getSettingsForProfileGroup(UserHandle.of(newUserId)); 174 mDeviceManager.setCurrentUser(newUserId, settings);
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
H A D | KeyguardServiceDelegate.java | 349 public void setCurrentUser(int newUserId) { argument 351 mKeyguardService.setCurrentUser(newUserId); 353 mKeyguardState.currentUser = newUserId;
|