/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
H A D | GuestUserInteractorTest.kt | 176 switchUser = switchUser, 198 switchUser = switchUser, 221 switchUser = switchUser, 226 verify(switchUser).invoke(mainUserId) 244 switchUser = switchUser, 266 switchUser = switchUser, 285 switchUser = switchUser, 302 switchUser = switchUser, 321 switchUser = switchUser, 340 switchUser = switchUser, [all …]
|
H A D | UserInteractorTest.kt | 193 verify(activityManager).switchUser(userInfos[1].id) 211 verify(activityManager).switchUser(userInfos.last().id) 238 verify(activityManager).switchUser(userInfos.last().id) 579 verify(activityManager).switchUser(guestUserInfo.id) 639 verify(activityManager).switchUser(userInfos[1].id)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
H A D | GuestUserInteractor.kt | 124 switchUser: (userId: Int) -> Unit, 161 remove(currentUserInfo.id, newUserId, showDialog, dismissDialog, switchUser) 164 switchUser(newUserId) 190 switchUser: (userId: Int) -> Unit, 221 mainUser?.let { switchUser(it) } 241 switchUser(newGuestId) 253 switchUser(targetUserId)
|
H A D | UserInteractor.kt | 445 switchUser(newlySelectedUserId) 508 switchUser = this::switchUser, 599 private fun switchUser(userId: Int) { regex 603 activityManager.switchUser(userId)
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserLifecycleStressTest.java | 126 switchUser(USER_SYSTEM); in switchToExistingGuestAndStartOverStressTest() 140 switchUser(currentGuestId); in switchToExistingGuestAndStartOverStressTest() 155 switchUser(newGuest.id); in switchToExistingGuestAndStartOverStressTest() 165 switchUser(USER_SYSTEM); in switchToExistingGuestAndStartOverStressTest() 195 private void switchUser(int userId) { in switchUser() method in UserLifecycleStressTest 200 .that(mActivityManager.switchUser(userId)).isTrue(); in switchUser()
|
H A D | UserManagerTest.java | 329 switchUser(testUser.id); in testRemoveUserShouldNotRemoveCurrentUser() 336 switchUser(startUser); in testRemoveUserShouldNotRemoveCurrentUser() 348 switchUser(testUser.id); in testRemoveUserShouldNotRemoveCurrentUser_DuringUserSwitch() 377 switchUser(startUser); in testRemoveUserShouldNotRemoveTargetUser_DuringUserSwitch() 453 switchUser(currentUser); in testRemoveUserWhenPossible_permanentAdminMainUserReturnsError() 471 switchUser(user1.id); in testRemoveUserWhenPossible_currentUserSetEphemeral() 480 switchUser(startUser); in testRemoveUserWhenPossible_currentUserSetEphemeral() 493 switchUser(testUser.id); in testRemoveUserWhenPossible_currentUserSetEphemeral_duringUserSwitch() 527 switchUser(startUser); in testRemoveUserWhenPossible_targetUserSetEphemeral_duringUserSwitch() 1280 switchUser(user.id); in testSwitchUser() [all …]
|
/aosp14/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
H A D | UserLifecycleTests.java | 472 switchUser(userId); in switchUser() 493 switchUser(userId); in switchUser_realistic() 513 switchUser(testUser); in switchUser_stopped() 543 switchUser(userId); in switchUser_stopped_realistic() 569 switchUser(testUser); in switchUser_stopped_staticWallpaper() 591 switchUser(testUser); in switchUser_running() 613 switchUser(testUser); in switchUser_running_initializedUser() 638 switchUser(testUser); in switchUser_running_staticWallpaper() 752 switchUser(userId); in ephemeralUserStopped() 781 switchUser(userId); in ephemeralUserStopped_realistic() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | DeviceProvisionedControllerImplTest.kt | 182 switchUser(otherUser) 206 switchUser(10) 268 switchUser(10) 287 private fun switchUser(toUser: Int) { regex
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
H A D | WallpaperManagerServiceTests.java | 289 mService.switchUser(USER_SYSTEM, null); in testDataCorrectAfterBoot() 309 mService.switchUser(testUserId, null); in testSetThenClearComponent() 330 mService.switchUser(testUserId, null); in testSetCurrentComponent() 370 mService.switchUser(userId, null); in testSwitchMultipleUsers() 401 mService.switchUser(userId, null); in testSwitchThenUnlockMultipleUsers() 459 mService.switchUser(wallpaper.userId, null); in testWallpaperManagerCallbackInRightOrder() 474 mService.switchUser(USER_SYSTEM, null); in testSetWallpaperDimAmount() 484 mService.switchUser(testUserId, null); in testGetAdjustedWallpaperColorsOnDimming()
|
/aosp14/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/ |
H A D | MultiUserRollbackTest.java | 105 assertTrue(getDevice().switchUser(mSecondaryUserId)); in testBadUpdateRollback() 134 assertTrue(getDevice().switchUser(mOriginalUserId)); in removeSecondaryUserIfNecessary()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/domain/interactor/ |
H A D | CurrentTilesInteractorImplTest.kt | 339 switchUser(USER_INFO_1) 357 switchUser(USER_INFO_1) 379 switchUser(USER_INFO_1) 399 switchUser(USER_INFO_1) 444 switchUser(USER_INFO_1) 517 switchUser(USER_INFO_1) 689 switchUser(user) 694 private suspend fun switchUser(user: UserInfo) {
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ |
H A D | ShadowActivityManager.java | 44 protected boolean switchUser(int userId) { in switchUser() method in ShadowActivityManager
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ |
H A D | CreateUserActivity.java | 177 mActivityManager.switchUser(userId); in switchToUser()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | MasterClearReceiver.java | 140 if (!ActivityManager.getService().switchUser(UserHandle.USER_SYSTEM)) { in wipeUser()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ActivityTaskManagerInternal.java | 530 public abstract boolean switchUser(int userId, UserState userState); in switchUser() method in ActivityTaskManagerInternal
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
H A D | BubblesTest.java | 1138 switchUser(secondUserId); in testOnUserChanged_overflowState() 1169 switchUser(secondUserId); in testOnUserChanged_bubblesRestored() 1182 switchUser(firstUserId); in testOnUserChanged_bubblesRestored() 2067 private void switchUser(int userId) { in switchUser() method in BubblesTest
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
H A D | GameManagerServiceTests.java | 260 private void switchUser(GameManagerService gameManagerService, int from, int to) { in switchUser() method in GameManagerServiceTests 1749 switchUser(gameManagerService, USER_ID_2, USER_ID_1); in testVerifyInterventionList() 1799 switchUser(gameManagerService, USER_ID_1, USER_ID_2); in testSwitchUser() 1806 switchUser(gameManagerService, USER_ID_2, USER_ID_1); in testSwitchUser()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 4801 public boolean switchUser(int userid) { in switchUser() method in ActivityManager 4803 return getService().switchUser(userid); in switchUser() 4820 public boolean switchUser(@NonNull UserHandle user) { in switchUser() method in ActivityManager 4823 return switchUser(user.getIdentifier()); in switchUser()
|
H A D | IActivityManager.aidl | 402 boolean switchUser(int userid); in switchUser() method
|
/aosp14/frameworks/base/services/core/java/com/android/server/tv/interactive/ |
H A D | TvInteractiveAppManagerService.java | 441 switchUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0)); in registerBroadcastReceivers() 455 private void switchUser(int userId) { in switchUser() method in TvInteractiveAppManagerService 523 switchUser(UserHandle.USER_SYSTEM); in removeUser() 548 switchUser(ActivityManager.getCurrentUser()); in stopUser()
|
/aosp14/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | LegacyGlobalActions.java | 562 ActivityManager.getService().switchUser(user.id);
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | WindowStateTests.java | 631 window.switchUser(mWm.mCurrentUserId); in testVisibilityChangeSwitchUser() 636 window.switchUser(mWm.mCurrentUserId); in testVisibilityChangeSwitchUser()
|
/aosp14/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 300 switchUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0)); in registerBroadcastReceivers() 485 switchUser(ActivityManager.getCurrentUser()); in stopUser() 501 private void switchUser(int userId) { in switchUser() method in TvInputManagerService 663 switchUser(UserHandle.USER_SYSTEM); in removeUser()
|
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerService.java | 228 mServiceStub.switchUser(to.getUserIdentifier()); in onUserSwitching() 675 public void switchUser(@UserIdInt int userHandle) { in switchUser() method in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 871 switchUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0)); in registerBroadcastReceivers() 1465 switchUser(userId); in changeCurrentUserForTestAutomationIfNeededLocked() 1486 switchUser(currentUserId); in restoreCurrentUserAfterTestAutomationIfNeededLocked() 1794 private void switchUser(int userId) { in switchUser() method in AccessibilityManagerService
|