Home
last modified time | relevance | path

Searched refs:startUser (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java121 final int startUser = mAm.getCurrentUser(); in switchUser() local
128 switchUser(startUser); in switchUser()
139 final int startUser = mAm.getCurrentUser(); in switchUser_stopped() local
150 switchUser(startUser); in switchUser_stopped()
161 final int startUser = mAm.getCurrentUser(); in switchUser_running() local
169 switchUser(startUser); in switchUser_running()
198 final int startUser = mAm.getCurrentUser(); in lockedBootCompleted() local
208 switchUser(startUser); in lockedBootCompleted()
265 final int startUser = mAm.getCurrentUser(); in ephemeralUserStopped() local
280 registerUserSwitchObserver(switchLatch, null, startUser); in ephemeralUserStopped()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java136 startUser(); in onWindowShown()
139 void startUser() { in startUser() method in UserSwitchingDialog
159 startUser();
DUserController.java603 mHandler.post(() -> UserController.this.startUser(userId, foreground)); in restartUser()
970 startUser(profilesToStart.get(i).id, /* foreground= */ false);
977 boolean startUser(final int userId, final boolean foreground) {
978 return startUser(userId, foreground, null);
1011 boolean startUser(
1089 mHandler.post(() -> startUser(userId, foreground, unlockListener));
1224 boolean success = startUser(targetUserId, /* foreground */ true);
2136 mInjector.getSystemServiceManager().startUser(msg.arg1);
DActivityManagerService.java9052 mSystemServiceManager.startUser(currentUserId); in systemReady()
17564 return mUserController.startUser(userId, /* foreground */ false, unlockListener); in startUserInBackgroundWithListener()
17571 return mUserController.startUser(userId, /* foreground */ true, unlockListener); in startUserInForegroundWithListener()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java164 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUser_foreground()
176 mUserController.startUser(TEST_USER_ID, false /* foreground */); in testStartUser_background()
186 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUserUIDisabled()
236 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitch()
266 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitchBadReceiver()
284 mUserController.startUser(TEST_USER_ID, true); in testContinueUserSwitch()
301 mUserController.startUser(TEST_USER_ID, true); in testContinueUserSwitchUIDisabled()
335 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitchComplete()
354 assertTrue(mUserController.startUser(UserHandle.USER_SYSTEM, false, null)); in testExplicitSystenUserStartInBackground()
456 mUserController.startUser(newUserId, true); in addForegroundUserAndContinueUserSwitch()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java544 final int startUser = am.getCurrentUser(); in testSwitchUser() local
550 switchUser(startUser, null, true); in testSwitchUser()
556 final int startUser = am.getCurrentUser(); in testSwitchUserByHandle() local
562 switchUser(-1, UserHandle.of(startUser), false); in testSwitchUserByHandle()
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java180 public void startUser(final int userHandle) { in startUser() method in SystemServiceManager
/frameworks/base/services/
Dart-profile1855 HSPLcom/android/server/SystemServiceManager;->startUser(I)V
3738 HSPLcom/android/server/am/UserController;->startUser(IZ)Z
3739 HSPLcom/android/server/am/UserController;->startUser(IZLandroid/os/IProgressListener;)Z