Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
H A 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()
/aosp12/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A 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 …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A 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()
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()
403 assertTrue(mUserController.startUser(UserHandle.USER_SYSTEM, false, null)); in testExplicitSystenUserStartInBackground()
590 mUserController.startUser(userId, /* foreground= */ false); in setUpAndStartUserInBackground()
[all …]
/aosp12/frameworks/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/
H A DManagedProfileLifecycleStressTest.java65 startUser(userId); in testCreateStartDelete()
90 startUser(userId); in testCreateStartDeleteStable()
143 private void startUser(int userId) throws Exception { in startUser() method in ManagedProfileLifecycleStressTest
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DUserSwitchingDialog.java141 startUser(); in onWindowShown()
144 void startUser() { in startUser() method in UserSwitchingDialog
169 startUser();
H A DUserController.java832 mHandler.post(() -> UserController.this.startUser(userId, foreground)); in restartUser()
1315 startUser(profilesToStart.get(i).id, /* foreground= */ false);
1353 boolean startUser(final @UserIdInt int userId, final boolean foreground) {
1354 return startUser(userId, foreground, null);
1389 boolean startUser(
1495 mHandler.post(() -> startUser(userId, foreground, unlockListener));
1655 boolean success = startUser(targetUserId, /* foreground */ true);
H A DActivityManagerService.java15092 return mUserController.startUser(userId, /* foreground */ false, unlockListener); in startUserInBackgroundWithListener()
15099 return mUserController.startUser(userId, /* foreground */ true, unlockListener); in startUserInForegroundWithListener()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A 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()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DFakeUserInfoHelper.java47 public void startUser(int userId) { in startUser() method in FakeUserInfoHelper
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
H A DProfileUserFragment.java127 startUser(); in onViewCreated()
247 private void startUser() { in startUser() method in ProfileUserFragment
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
H A DLocationProviderManagerTest.java179 mInjector.getUserInfoHelper().startUser(OTHER_USER); in setUp()
/aosp12/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java293 startUser(userId); in registerBroadcastReceivers()
442 private void startUser(int userId) { in startUser() method in TvInputManagerService
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java17339 startUser(userInfo.id, callerPackage);
17461 private void startUser(@UserIdInt int userId, String callerPackage)
/aosp12/frameworks/base/services/
H A 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