Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java119 final int startUser = mAm.getCurrentUser(); in switchUser() local
126 switchUser(startUser); in switchUser()
155 final int startUser = mAm.getCurrentUser(); in lockedBootCompleted() local
165 switchUser(startUser); in lockedBootCompleted()
194 final int startUser = mAm.getCurrentUser(); in ephemeralUserStopped() local
209 registerUserSwitchObserver(switchLatch, null, startUser); in ephemeralUserStopped()
212 mAm.switchUser(startUser); in ephemeralUserStopped()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java126 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUser_foreground()
137 mUserController.startUser(TEST_USER_ID, false /* foreground */); in testStartUser_background()
148 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUserUIDisabled()
200 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitch()
230 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitchBadReceiver()
248 mUserController.startUser(TEST_USER_ID, true); in testContinueUserSwitch()
265 mUserController.startUser(TEST_USER_ID, true); in testContinueUserSwitchUIDisabled()
294 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitchComplete()
/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.java566 mHandler.post(() -> startUser(userId, foreground)); in restartUser()
866 startUser(profilesToStart.get(i).id, /* foreground= */ false);
876 boolean startUser(final int userId, final boolean foreground) {
877 return startUser(userId, foreground, null);
909 boolean startUser(
969 mHandler.post(() -> startUser(userId, foreground, unlockListener));
1103 boolean success = startUser(targetUserId, /* foreground */ true);
1990 mInjector.getSystemServiceManager().startUser(msg.arg1);
DActivityManagerService.java15243 mSystemServiceManager.startUser(currentUserId); in systemReady()
26114 return mUserController.startUser(userId, /* foreground */ false, unlockListener); in startUserInBackgroundWithListener()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java503 final int startUser = am.getCurrentUser(); in testSwitchUser() local
509 switchUser(startUser); in testSwitchUser()
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java177 public void startUser(final int userHandle) { in startUser() method in SystemServiceManager