Home
last modified time | relevance | path

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

/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
DMultiUserRollbackTest.java77 getDevice().startUser(mSecondaryUserId); in testStagedRollback()
82 getDevice().startUser(mSecondaryUserId); in testStagedRollback()
87 getDevice().startUser(mSecondaryUserId); in testStagedRollback()
145 getDevice().startUser(mSecondaryUserId); in createAndStartSecondaryUser()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java178 public void startUser() throws RemoteException { in startUser() method in UserLifecycleTests
218 final int startUser = mAm.getCurrentUser(); in switchUser() local
225 switchUserNoCheck(startUser); in switchUser()
236 final int startUser = mAm.getCurrentUser(); in switchUser_stopped() local
247 switchUserNoCheck(startUser); in switchUser_stopped()
258 final int startUser = mAm.getCurrentUser(); in switchUser_running() local
265 switchUserNoCheck(startUser); in switchUser_running()
294 final int startUser = mAm.getCurrentUser(); in lockedBootCompleted() local
304 switchUserNoCheck(startUser); in lockedBootCompleted()
314 final int startUser = mAm.getCurrentUser(); in ephemeralUserStopped() local
[all …]
/frameworks/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/
DManagedProfileLifecycleStressTest.java65 startUser(userId); in testCreateStartDelete()
90 startUser(userId); in testCreateStartDeleteStable()
143 private void startUser(int userId) throws Exception { in startUser() method in ManagedProfileLifecycleStressTest
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java179 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUser_foreground()
190 mUserController.startUser(TEST_USER_ID, false /* foreground */); in testStartUser_background()
202 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUserUIDisabled()
211 assertFalse(mUserController.startUser(TEST_PRE_CREATED_USER_ID, /* foreground= */ true)); in testStartPreCreatedUser_foreground()
218 assertTrue(mUserController.startUser(TEST_PRE_CREATED_USER_ID, /* foreground= */ false)); in testStartPreCreatedUser_background()
283 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitch()
313 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitchBadReceiver()
331 mUserController.startUser(TEST_USER_ID, true); in testContinueUserSwitch()
350 mUserController.startUser(TEST_USER_ID, true); in testContinueUserSwitchUIDisabled()
384 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitchComplete()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java141 startUser(); in onWindowShown()
144 void startUser() { in startUser() method in UserSwitchingDialog
169 startUser();
DUserController.java799 mHandler.post(() -> UserController.this.startUser(userId, foreground)); in restartUser()
1282 startUser(profilesToStart.get(i).id, /* foreground= */ false);
1320 boolean startUser(final @UserIdInt int userId, final boolean foreground) {
1321 return startUser(userId, foreground, null);
1356 boolean startUser(
1462 mHandler.post(() -> startUser(userId, foreground, unlockListener));
1622 boolean success = startUser(targetUserId, /* foreground */ true);
DActivityManagerService.java15047 return mUserController.startUser(userId, /* foreground */ false, unlockListener); in startUserInBackgroundWithListener()
15054 return mUserController.startUser(userId, /* foreground */ true, unlockListener); in startUserInForegroundWithListener()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeUserInfoHelper.java47 public void startUser(int userId) { in startUser() method in FakeUserInfoHelper
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java311 final int startUser = ActivityManager.getCurrentUser(); in testRemoveUserOrSetEphemeral_currentUserSetEphemeral() local
323 switchUser(startUser, null, /* ignoreHandle= */ true); in testRemoveUserOrSetEphemeral_currentUserSetEphemeral()
874 final int startUser = am.getCurrentUser(); in testSwitchUser() local
880 switchUser(startUser, null, true); in testSwitchUser()
887 final int startUser = am.getCurrentUser(); in testSwitchUserByHandle() local
893 switchUser(-1, UserHandle.of(startUser), false); in testSwitchUserByHandle()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java179 mInjector.getUserInfoHelper().startUser(OTHER_USER); in setUp()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java293 startUser(userId); in registerBroadcastReceivers()
442 private void startUser(int userId) { in startUser() method in TvInputManagerService
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java17010 startUser(userInfo.id, callerPackage);
17132 private void startUser(@UserIdInt int userId, String callerPackage)
/frameworks/base/services/
Dart-profile9408 PLcom/android/server/am/UserController;->startUser(IZ)Z
9409 PLcom/android/server/am/UserController;->startUser(IZLandroid/os/IProgressListener;)Z
9440 PLcom/android/server/am/UserSwitchingDialog;->startUser()V
17122 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->startUser(ILjava/lang/String;)V