Home
last modified time | relevance | path

Searched refs:newUserId (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTrackerImpl.kt195 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/
DIUserSwitchObserver.aidl23 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
DUserSwitchObserver.java33 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
DSynchronousUserSwitchObserver.java34 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/
DHidlToAidlSensorAdapter.java69 (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/
DUserSwitchWaiter.java42 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/
DUserSwitchWaiter.java42 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/
DHidlToAidlSensorAdapter.java64 (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/
DOverlayManagerServiceImpl.java161 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/
DSensor.java141 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/
DGuestUserInteractor.kt144 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/
DSensor.java152 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/
DOneHandedController.java430 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);
DOneHandedSettingsUtil.java83 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/
DUserController.java2233 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/
DShellController.java290 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()
DUserChangeListener.java33 default void onUserChanged(int newUserId, @NonNull Context userContext) {} in onUserChanged() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java430 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/
DUserSwitchProvider.java29 StartUserClient<T, U> getStartUserClient(int newUserId); in getStartUserClient() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationPresenter.java38 void onUserSwitched(int newUserId); in onUserSwitched() argument
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DCarLaunchParamsModifierUpdatable.java38 void handleCurrentUserSwitching(@UserIdInt int newUserId); in handleCurrentUserSwitching() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java130 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
139 mListener = mNightDisplayListenerBuilder.setUser(newUserId).build(); in handleUserSwitch()
144 super.handleUserSwitch(newUserId); in handleUserSwitch()
DColorCorrectionTile.java101 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
102 mSetting.setUserId(newUserId); in handleUserSwitch()
DOneHandedModeTile.java106 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
107 mSetting.setUserId(newUserId); in handleUserSwitch()
DColorInversionTile.java100 protected void handleUserSwitch(int newUserId) { in handleUserSwitch() argument
101 mSetting.setUserId(newUserId); in handleUserSwitch()

1234