/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTrackerImpl.kt | 195 override fun onBeforeUserSwitching(newUserId: Int) { in <lambda>() 196 handleBeforeUserSwitching(newUserId) in <lambda>() 199 override fun onUserSwitching(newUserId: Int, reply: IRemoteCallback?) { in <lambda>() 203 handleUserSwitchingCoroutines(newUserId) { in <lambda>() 208 handleUserSwitching(newUserId) in <lambda>() 213 override fun onUserSwitchComplete(newUserId: Int) { in <lambda>() 217 handleUserSwitchComplete(newUserId) in <lambda>() 220 handleUserSwitchComplete(newUserId) in <lambda>() 227 protected open fun handleBeforeUserSwitching(newUserId: Int) { in <lambda>() 228 setUserIdInternal(newUserId) in <lambda>() [all …]
|
/frameworks/base/core/java/android/app/ |
D | IUserSwitchObserver.aidl | 23 void onBeforeUserSwitching(int newUserId); in onBeforeUserSwitching() argument 24 void onUserSwitching(int newUserId, IRemoteCallback reply); in onUserSwitching() argument 25 void onUserSwitchComplete(int newUserId); in onUserSwitchComplete() argument 27 void onLockedBootComplete(int newUserId); in onLockedBootComplete() argument
|
D | UserSwitchObserver.java | 33 public void onBeforeUserSwitching(int newUserId) throws RemoteException {} in onBeforeUserSwitching() argument 36 public void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { in onUserSwitching() argument 43 public void onUserSwitchComplete(int newUserId) throws RemoteException {} in onUserSwitchComplete() argument 49 public void onLockedBootComplete(int newUserId) throws RemoteException {} 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
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | HidlToAidlSensorAdapter.java | 69 (newUserId, newUser, halInterfaceVersion) -> { 70 if (mCurrentUserId != newUserId) { 71 handleUserChanged(newUserId); 256 public StartUserClient<ISession, AidlSession> getStartUserClient(int newUserId) { in getUserSwitchProvider() argument 257 return getFingerprintUpdateActiveUserClient(newUserId, in getUserSwitchProvider() 263 private FingerprintUpdateActiveUserClient getFingerprintUpdateActiveUserClient(int newUserId, 266 () -> getSession().getSession(), newUserId, TAG, 271 newUserId).isEmpty(), getAuthenticatorIds(), forceUpdateAuthenticatorIds, 287 @VisibleForTesting void handleUserChanged(int newUserId) { 288 Slog.d(TAG, "User changed. Current user for fingerprint sensor is " + newUserId); [all …]
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserSwitchWaiter.java | 42 public void onUserSwitchComplete(int newUserId) { 43 getSemaphoreSwitchComplete(newUserId).release(); 47 public void onLockedBootComplete(int newUserId) { 48 getSemaphoreBootComplete(newUserId).release();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserSwitchWaiter.java | 42 public void onUserSwitchComplete(int newUserId) { 43 getSemaphoreSwitchComplete(newUserId).release(); 47 public void onLockedBootComplete(int newUserId) { 48 getSemaphoreBootComplete(newUserId).release();
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/ |
D | HidlToAidlSensorAdapter.java | 64 (newUserId, newUser, halInterfaceVersion) -> { 65 if (newUserId != mCurrentUserId) { 66 handleUserChanged(newUserId); 221 @VisibleForTesting void handleUserChanged(int newUserId) { in handleUserChanged() argument 222 Slog.d(TAG, "User changed. Current user for face sensor is " + newUserId); in handleUserChanged() 224 mCurrentUserId = newUserId; in handleUserChanged()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 161 ArraySet<UserPackage> updateOverlaysForUser(final int newUserId) { in updateOverlaysForUser() argument 163 Slog.d(TAG, "updateOverlaysForUser newUserId=" + newUserId); in updateOverlaysForUser() 169 newUserId); in updateOverlaysForUser() 171 (info) -> !userPackages.containsKey(info.packageName), newUserId)); in updateOverlaysForUser() 194 updatePackageOverlays(pkg, newUserId, 0 /* flags */)); in updateOverlaysForUser() 199 updatedTargets.add(UserPackage.of(newUserId, packageName)); in updateOverlaysForUser() 203 + "' for user " + newUserId + "", e); in updateOverlaysForUser() 212 info, newUserId)); in updateOverlaysForUser() 215 + "' for user " + newUserId + "", e); in updateOverlaysForUser() 222 mSettings.getOverlaysForUser(newUserId); in updateOverlaysForUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | Sensor.java | 141 public StartUserClient<IFace, ISession> getStartUserClient(int newUserId) { in getBiometricSchedulerForInit() argument 144 mContext, mScheduler, sensorId, newUserId, in getBiometricSchedulerForInit() 151 newUserId); in getBiometricSchedulerForInit() 153 newUserId); in getBiometricSchedulerForInit() 164 newUserId, provider); in getBiometricSchedulerForInit() 170 int sensorId, int newUserId, @NonNull FaceProvider provider) { 190 return new FaceStartUserClient(mContext, provider::getHalInstance, mToken, newUserId,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
D | GuestUserInteractor.kt | 144 var newUserId = repository.mainUserId in <lambda>() variable 154 newUserId = info.id in <lambda>() 158 newUserId = targetUserId in <lambda>() 163 remove(currentUserInfo.id, newUserId, showDialog, dismissDialog, switchUser) in <lambda>() 166 switchUser(newUserId) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | Sensor.java | 152 int newUserId) { in getBiometricSchedulerForInit() argument 155 mContext, mScheduler, sensorId, newUserId, in getBiometricSchedulerForInit() 162 newUserId); in getBiometricSchedulerForInit() 164 newUserId); in getBiometricSchedulerForInit() 176 newUserId); in getBiometricSchedulerForInit() 182 int sensorId, int newUserId) { 203 mToken, newUserId, mSensorProperties.sensorId,
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedController.java | 430 private void registerSettingObservers(int newUserId) { in registerSettingObservers() argument 433 mContext.getContentResolver(), mActivatedObserver, newUserId); in registerSettingObservers() 435 mContext.getContentResolver(), mEnabledObserver, newUserId); in registerSettingObservers() 438 mContext.getContentResolver(), mSwipeToNotificationEnabledObserver, newUserId); in registerSettingObservers() 441 mContext.getContentResolver(), mShortcutEnabledObserver, newUserId); in registerSettingObservers() 444 mContext.getContentResolver(), mShortcutEnabledObserver, newUserId); in registerSettingObservers() 640 public void onUserChanged(int newUserId, @NonNull Context userContext) { 642 mUserId = newUserId; 643 registerSettingObservers(newUserId);
|
D | OneHandedSettingsUtil.java | 83 ContentObserver observer, int newUserId) { in registerSettingsKeyObserver() argument 87 resolver.registerContentObserver(uriKey, false, observer, newUserId); in registerSettingsKeyObserver()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 2233 void dispatchUserSwitchComplete(@UserIdInt int oldUserId, @UserIdInt int newUserId) { 2235 t.traceBegin("dispatchUserSwitchComplete-" + newUserId); 2240 t.traceBegin("onUserSwitchComplete-" + newUserId + " #" + i + " " 2242 mUserSwitchObservers.getBroadcastItem(i).onUserSwitchComplete(newUserId); 2249 t.traceBegin("sendUserSwitchBroadcasts-" + oldUserId + "-" + newUserId); 2250 sendUserSwitchBroadcasts(oldUserId, newUserId); 2379 private void timeoutUserSwitch(UserState uss, int oldUserId, int newUserId) { 2381 t.traceBegin("timeoutUserSwitch-" + oldUserId + "-to-" + newUserId); 2383 Slogf.e(TAG, "User switch timeout: from " + oldUserId + " to " + newUserId); 2386 sendContinueUserSwitchLU(uss, oldUserId, newUserId); [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sysui/ |
D | ShellController.java | 290 void onUserChanged(int newUserId, @NonNull Context userContext) { in onUserChanged() argument 291 ProtoLog.v(WM_SHELL_SYSUI_EVENTS, "User changed: id=%d", newUserId); in onUserChanged() 293 listener.onUserChanged(newUserId, userContext); in onUserChanged() 382 public void onUserChanged(int newUserId, @NonNull Context userContext) { in onUserChanged() argument 384 ShellController.this.onUserChanged(newUserId, userContext)); in onUserChanged()
|
D | UserChangeListener.java | 33 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 430 int newUserId = reportMsg.arg2; in testDispatchUserSwitch() local 433 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); in testDispatchUserSwitch() 461 int newUserId = reportMsg.arg2; in testDispatchUserSwitchBadReceiver() local 464 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); in testDispatchUserSwitchBadReceiver() 472 private void continueAndCompleteUserSwitch(UserState userState, int oldUserId, int newUserId) { in continueAndCompleteUserSwitch() argument 473 mUserController.continueUserSwitch(userState, oldUserId, newUserId); in continueAndCompleteUserSwitch() 475 mUserController.completeUserSwitch(oldUserId, newUserId); in continueAndCompleteUserSwitch() 489 int newUserId = reportMsg.arg2; in testContinueUserSwitch() local 492 continueAndCompleteUserSwitch(userState, oldUserId, newUserId); in testContinueUserSwitch() 511 int newUserId = reportMsg.arg2; in testContinueUserSwitchDismissKeyguard() local [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | UserSwitchProvider.java | 29 StartUserClient<T, U> getStartUserClient(int newUserId); in getStartUserClient() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationPresenter.java | 38 void onUserSwitched(int newUserId); in onUserSwitched() argument
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarLaunchParamsModifierUpdatable.java | 38 void handleCurrentUserSwitching(@UserIdInt int newUserId); in handleCurrentUserSwitching() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 130 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 139 mListener = mNightDisplayListenerBuilder.setUser(newUserId).build(); in handleUserSwitch() 144 super.handleUserSwitch(newUserId); in handleUserSwitch()
|
D | ColorCorrectionTile.java | 101 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 102 mSetting.setUserId(newUserId); in handleUserSwitch()
|
D | OneHandedModeTile.java | 106 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 107 mSetting.setUserId(newUserId); in handleUserSwitch()
|
D | ColorInversionTile.java | 100 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument 101 mSetting.setUserId(newUserId); in handleUserSwitch()
|