Home
last modified time | relevance | path

Searched refs:mUserController (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java76 private UserController mUserController; field in UserControllerTest
103 mUserController = new UserController(mInjector); in setUp()
115 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUser_foreground()
130 mUserController.startUser(TEST_USER_ID, false /* foreground */); in testStartUser_background()
144 mUserController.mUserSwitchUiEnabled = false; in testStartUserUIDisabled()
145 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUserUIDisabled()
179 mUserController.mUserSwitchUiEnabled = false; in testFailedStartUserInForeground()
180 mUserController.startUserInForeground(NONEXIST_USER_ID); in testFailedStartUserInForeground()
195 mUserController.registerUserSwitchObserver(observer, "mock"); in testDispatchUserSwitch()
197 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitch()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java115 mService.mUserController.startUserInForeground(mUserId); in startUser()
DActivityManagerService.java702 final UserController mUserController; field in ActivityManagerService
1920 mUserController.showUserSwitchDialog((Pair<UserInfo, UserInfo>) msg.obj); in handleMessage()
2163 mUserController.startUserInForeground(msg.arg1); in handleMessage()
2167 mUserController.dispatchUserSwitch((UserState) msg.obj, msg.arg1, msg.arg2); in handleMessage()
2171 mUserController.continueUserSwitch((UserState) msg.obj, msg.arg1, msg.arg2); in handleMessage()
2175 mUserController.timeoutUserSwitch((UserState) msg.obj, msg.arg1, msg.arg2); in handleMessage()
2204 mUserController.startProfilesLocked(); in handleMessage()
2242 mUserController.finishUserUnlocked((UserState) msg.obj); in handleMessage()
2395 mUserController.dispatchForegroundProfileChanged(msg.arg1); in handleMessage()
2402 mUserController.dispatchUserSwitchComplete(msg.arg1); in handleMessage()
[all …]
DActivityStartInterceptor.java210 if (!mService.mUserController.shouldConfirmCredentials(userId)) { in interceptWithConfirmCredentialsIfNeeded()
DActiveServices.java360 if (!mAm.mUserController.exists(r.userId)) { in startServiceLocked()
416 && mAm.mUserController.hasStartedUserState(r.userId)) { in startServiceLocked()
1663 userId = mAm.mUserController.handleIncomingUser(callingPid, callingUid, userId, false, in retrieveServiceLocked()
2087 if (!mAm.mUserController.hasStartedUserState(r.userId)) { in bringUpServiceLocked()
3140 || !mAm.mUserController.isUserRunningLocked(sr.userId, 0)) { in killServicesLocked()
3250 int[] users = mAm.mUserController.getUsers(); in getRunningServiceInfoLocked()
3435 final int[] users = mAm.mUserController.getUsers(); in ServiceDumper()
3466 int[] users = mAm.mUserController.getUsers(); in dumpLocked()
3502 int[] users = mAm.mUserController.getUsers(); in dumpWithClient()
3757 final int[] users = mAm.mUserController.getUsers(); in dumpRemainsLocked()
[all …]
DAppErrors.java511 for (int userId : mService.mUserController.getCurrentProfileIdsLocked()) { in startAppProblemLocked()
719 for (int userId : mService.mUserController.getCurrentProfileIdsLocked()) { in handleShowAppErrorUi()
DPendingIntentRecord.java320 userId = owner.mUserController.getCurrentOrTargetUserIdLocked(); in sendInner()
DActivityStackSupervisor.java1952 mService.mUserController.finishUserSwitch(startingUsers.get(i)); in activityIdleInternalLocked()
3556 return mService.mUserController.isCurrentProfileLocked(userId); in isCurrentProfileLocked()
4792 final int userId = mService.mUserController.handleIncomingUser(Binder.getCallingPid(), in startActivityIntentSender()
5167 if (!mService.mUserController.shouldConfirmCredentials(task.userId) in startActivityFromRecentsInner()
DActivityStack.java472 mCurrentUser = mService.mUserController.getCurrentUserIdLocked(); in ActivityStack()
2327 if (!mService.mUserController.hasStartedUserState(next.userId)) { in resumeTopActivityInnerLocked()
DActivityRecord.java2038 && !service.mUserController.isUserStoppingOrShuttingDownLocked(userId)); in okToShowLocked()