Searched defs:newUserId (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/core/java/android/app/
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
H A DUserSwitchObserver.java27 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 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.java266 public void userSwitched(int newUserId) { argument
267 super.userSwitched(newUserId);
269 mFullscreenUserSwitcher.onUserSwitched(newUserId);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DConfigurationMapTest.java92 public void switchUser(int newUserId) { argument
93 mCurrentUserId = newUserId;
94 mConfigs.setNewUser(newUserId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DColorInversionTile.java75 protected void handleUserSwitch(int newUserId) { argument
76 mSetting.setUserId(newUserId);
H A DNfcTile.java77 protected void handleUserSwitch(int newUserId) { argument
H A DNightDisplayTile.java61 protected void handleUserSwitch(int newUserId) { argument
68 mController = new NightDisplayController(mContext, newUserId);
73 super.handleUserSwitch(newUserId);
H A DFlashlightTile.java72 protected void handleUserSwitch(int newUserId) { argument
H A DCastTile.java106 protected void handleUserSwitch(int newUserId) { argument
107 super.handleUserSwitch(newUserId);
109 mController.setCurrentUserId(newUserId);
H A DIntentTile.java88 protected void handleUserSwitch(int newUserId) { argument
89 super.handleUserSwitch(newUserId);
90 mCurrentUserId = newUserId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DCurrentUserTracker.java57 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 DDeviceProvisionedControllerImpl.java95 public void onUserSwitched(int newUserId) { argument
100 mSettingsObserver, newUserId);
H A DSecurityController.java40 void onUserSwitched(int newUserId); argument
H A DAccessPointControllerImpl.java74 public void onUserSwitched(int newUserId) { argument
75 mCurrentUser = newUserId;
H A DSecurityControllerImpl.java273 public void onUserSwitched(int newUserId) { argument
274 mCurrentUserId = newUserId;
275 final UserInfo newUserInfo = mUserManager.getUserInfo(newUserId);
H A DNetworkControllerImpl.java218 public void onUserSwitched(int newUserId) {
219 NetworkControllerImpl.this.onUserSwitched(newUserId);
409 private void onUserSwitched(int newUserId) { argument
410 mCurrentUserId = newUserId;
411 mAccessPoints.onUserSwitched(newUserId);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeSecurityController.java104 public void onUserSwitched(int newUserId) { argument
/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerServiceImpl.java77 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...]
H A DOverlayManagerService.java296 public void onSwitchUser(final int newUserId) { argument
300 final List<String> targets = mImpl.updateOverlaysForUser(newUserId);
301 updateAssets(newUserId, targets);
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerInternal.java78 void setCurrentUser(int newUserId); argument
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbService.java82 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 DKeyguardServiceDelegate.java349 public void setCurrentUser(int newUserId) { argument
351 mKeyguardService.setCurrentUser(newUserId);
353 mKeyguardState.currentUser = newUserId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileImpl.java202 public void userSwitch(int newUserId) { argument
203 mHandler.obtainMessage(H.USER_SWITCH, newUserId, 0).sendToTarget();
313 protected void handleUserSwitch(int newUserId) { argument

Completed in 1527 milliseconds

12