Searched refs:mUserController (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 76 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/ |
D | UserSwitchingDialog.java | 115 mService.mUserController.startUserInForeground(mUserId); in startUser()
|
D | ActivityManagerService.java | 702 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 …]
|
D | ActivityStartInterceptor.java | 210 if (!mService.mUserController.shouldConfirmCredentials(userId)) { in interceptWithConfirmCredentialsIfNeeded()
|
D | ActiveServices.java | 360 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 …]
|
D | AppErrors.java | 511 for (int userId : mService.mUserController.getCurrentProfileIdsLocked()) { in startAppProblemLocked() 719 for (int userId : mService.mUserController.getCurrentProfileIdsLocked()) { in handleShowAppErrorUi()
|
D | PendingIntentRecord.java | 320 userId = owner.mUserController.getCurrentOrTargetUserIdLocked(); in sendInner()
|
D | ActivityStackSupervisor.java | 1952 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()
|
D | ActivityStack.java | 472 mCurrentUser = mService.mUserController.getCurrentUserIdLocked(); in ActivityStack() 2327 if (!mService.mUserController.hasStartedUserState(next.userId)) { in resumeTopActivityInnerLocked()
|
D | ActivityRecord.java | 2038 && !service.mUserController.isUserStoppingOrShuttingDownLocked(userId)); in okToShowLocked()
|