/frameworks/base/core/java/android/app/ |
D | IUserSwitchObserver.aidl | 23 void onUserSwitching(int newUserId, IRemoteCallback reply); in onUserSwitching() argument 24 void onUserSwitchComplete(int newUserId); in onUserSwitchComplete() argument 26 void onLockedBootComplete(int newUserId); in onLockedBootComplete() argument
|
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 | UserSwitchObserver.java | 28 public void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { in onUserSwitching() argument 35 public void onUserSwitchComplete(int newUserId) throws RemoteException {} in onUserSwitchComplete() argument 41 public void onLockedBootComplete(int newUserId) throws RemoteException {} in onLockedBootComplete() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | CurrentUserTracker.java | 57 public abstract void onUserSwitched(int newUserId); in onUserSwitched() argument 114 private void notifyUserSwitched(int newUserId) { in notifyUserSwitched() argument 115 if (mCurrentUserId != newUserId) { in notifyUserSwitched() 116 mCurrentUserId = newUserId; in notifyUserSwitched() 121 consumer.accept(newUserId); in notifyUserSwitched()
|
D | CurrentUserObservable.java | 48 public void onUserSwitched(int newUserId) { in CurrentUserObservable() 49 mCurrentUser.setValue(newUserId); in CurrentUserObservable()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 241 int newUserId = reportMsg.arg2; in testDispatchUserSwitch() local 244 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); in testDispatchUserSwitch() 271 int newUserId = reportMsg.arg2; in testDispatchUserSwitchBadReceiver() local 274 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); in testDispatchUserSwitchBadReceiver() 289 int newUserId = reportMsg.arg2; in testContinueUserSwitch() local 292 mUserController.continueUserSwitch(userState, oldUserId, newUserId); in testContinueUserSwitch() 306 int newUserId = reportMsg.arg2; in testContinueUserSwitchUIDisabled() local 309 mUserController.continueUserSwitch(userState, oldUserId, newUserId); in testContinueUserSwitchUIDisabled() 338 int newUserId = reportMsg.arg2; in testDispatchUserSwitchComplete() local 344 mUserController.dispatchUserSwitchComplete(newUserId); in testDispatchUserSwitchComplete() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 128 ArrayList<String> updateOverlaysForUser(final int newUserId) { in updateOverlaysForUser() argument 130 Slog.d(TAG, "updateOverlaysForUser newUserId=" + newUserId); in updateOverlaysForUser() 134 final ArrayMap<String, List<OverlayInfo>> tmp = mSettings.getOverlaysForUser(newUserId); in updateOverlaysForUser() 148 List<PackageInfo> overlayPackages = mPackageManager.getOverlayPackages(newUserId); in updateOverlaysForUser() 161 mSettings.init(overlayPackage.packageName, newUserId, in updateOverlaysForUser() 191 newUserId, 0); in updateOverlaysForUser() 194 mSettings.remove(overlayPackage.packageName, newUserId); in updateOverlaysForUser() 203 if (mPackageManager.getPackageInfo(targetPackageName, newUserId) == null) { in updateOverlaysForUser() 211 mSettings.getOverlaysForUser(newUserId); in updateOverlaysForUser() 227 final OverlayInfo oi = mSettings.getOverlayInfo(defaultOverlay, newUserId); in updateOverlaysForUser() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | CurrentUserTrackerTest.java | 42 public void onUserSwitched(int newUserId) { in setUp() 53 public void onUserSwitched(int newUserId) { in testBroadCastDoesntCrashOnConcurrentModification()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 1421 private void timeoutUserSwitch(UserState uss, int oldUserId, int newUserId) { 1423 Slog.e(TAG, "User switch timeout: from " + oldUserId + " to " + newUserId); 1426 sendContinueUserSwitchLU(uss, oldUserId, newUserId); 1429 oldUserId, newUserId), USER_SWITCH_CALLBACKS_TIMEOUT_MS); 1433 private void timeoutUserSwitchCallbacks(int oldUserId, int newUserId) { 1436 Slog.wtf(TAG, "User switch timeout: from " + oldUserId + " to " + newUserId 1443 void dispatchUserSwitch(final UserState uss, final int oldUserId, final int newUserId) { 1444 Slog.d(TAG, "Dispatch onUserSwitching oldUser #" + oldUserId + " newUser #" + newUserId); 1476 sendContinueUserSwitchLU(uss, oldUserId, newUserId); 1481 mUserSwitchObservers.getBroadcastItem(i).onUserSwitching(newUserId, callback); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 99 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 106 mListener = new NightDisplayListener(mContext, newUserId, new Handler(Looper.myLooper())); in handleUserSwitch() 111 super.handleUserSwitch(newUserId); in handleUserSwitch()
|
D | ColorInversionTile.java | 73 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 74 mSetting.setUserId(newUserId); in handleUserSwitch()
|
D | IntentTile.java | 86 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 87 super.handleUserSwitch(newUserId); in handleUserSwitch() 88 mCurrentUserId = newUserId; in handleUserSwitch()
|
D | CastTile.java | 106 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 107 super.handleUserSwitch(newUserId); in handleUserSwitch() 108 mController.setCurrentUserId(newUserId); in handleUserSwitch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceProvisionedControllerImpl.java | 122 public void onUserSwitched(int newUserId) { in onUserSwitched() argument 127 mSettingsObserver, newUserId); in onUserSwitched()
|
D | AccessPointControllerImpl.java | 72 public void onUserSwitched(int newUserId) { in onUserSwitched() argument 73 mCurrentUser = newUserId; in onUserSwitched()
|
D | SecurityController.java | 40 void onUserSwitched(int newUserId); in onUserSwitched() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationPresenter.java | 45 void onUserSwitched(int newUserId); in onUserSwitched() argument
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 369 public void onUserSwitchComplete(int newUserId) throws RemoteException { in registerUserSwitchObserver() 370 if (switchLatch != null && userId == newUserId) { in registerUserSwitchObserver() 376 public void onLockedBootComplete(int newUserId) { in registerUserSwitchObserver() 377 if (bootCompleteLatch != null && userId == newUserId) { in registerUserSwitchObserver()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ConfigurationMapTest.java | 96 private void switchUser(int newUserId) { in switchUser() argument 97 mCurrentUserId = newUserId; in switchUser() 98 mConfigs.setNewUser(newUserId); in switchUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ShadeController.java | 92 void setLockscreenUser(int newUserId); in setLockscreenUser() argument
|
D | StatusBarNotificationPresenter.java | 382 public void onUserSwitched(int newUserId) { in onUserSwitched() argument 384 mHeadsUpManager.setUser(newUserId); in onUserSwitched() 386 if (MULTIUSER_DEBUG) mNotificationPanelDebugText.setText("USER " + newUserId); in onUserSwitched() 398 mShadeController.setLockscreenUser(newUserId); in onUserSwitched()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeSecurityController.java | 104 public void onUserSwitched(int newUserId) { in onUserSwitched() argument
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 98 public void onSwitchUser(int newUserId) { in onSwitchUser() argument 99 mUsbService.onSwitchUser(newUserId); in onSwitchUser() 182 private void onSwitchUser(@UserIdInt int newUserId) { in onSwitchUser() argument 184 mCurrentUserId = newUserId; in onSwitchUser() 190 mSettingsManager.getSettingsForProfileGroup(UserHandle.of(newUserId)); in onSwitchUser() 195 mDeviceManager.setCurrentUser(newUserId, settings); in onSwitchUser()
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerInternal.java | 87 void setCurrentUser(int newUserId); in setCurrentUser() argument
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 851 private void updateOverlayStateLocked(String exemptedPackage, int newUserId, int oldUserId) { in updateOverlayStateLocked() argument 855 if (oldUserId != newUserId) { in updateOverlayStateLocked() 865 mVrModeEnabled, mOverlayToken, exemptions, newUserId); in updateOverlayStateLocked() 868 private void updateDependentAppOpsLocked(String newVrServicePackage, int newUserId, in updateDependentAppOpsLocked() argument 877 updateOverlayStateLocked(newVrServicePackage, newUserId, oldUserId); in updateDependentAppOpsLocked() 973 final int newUserId = mCurrentVrModeUser; in updateCurrentVrServiceLocked() local 977 updateDependentAppOpsLocked(newVrServicePackage, newUserId, in updateCurrentVrServiceLocked()
|