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.java114 private UserController mUserController; field in UserControllerTest
151 mUserController = new UserController(mInjector); in setUp()
164 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUser_foreground()
176 mUserController.startUser(TEST_USER_ID, false /* foreground */); in testStartUser_background()
185 mUserController.mUserSwitchUiEnabled = false; in testStartUserUIDisabled()
186 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUserUIDisabled()
218 mUserController.mUserSwitchUiEnabled = false; in testFailedStartUserInForeground()
219 mUserController.startUserInForeground(NONEXIST_USER_ID); in testFailedStartUserInForeground()
234 mUserController.registerUserSwitchObserver(observer, "mock"); in testDispatchUserSwitch()
236 mUserController.startUser(TEST_USER_ID, true); in testDispatchUserSwitch()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java606 final UserController mUserController; field in ActivityManagerService
2424 mUserController = hasHandlerThread ? new UserController(this) : null; in ActivityManagerService()
2426 ? new PendingIntentController(handlerThread.getLooper(), mUserController) : null; in ActivityManagerService()
2514 mUserController = new UserController(this); in ActivityManagerService()
2517 mHandlerThread.getLooper(), mUserController); in ActivityManagerService()
4005 final int resolvedUserId = mUserController.handleIncomingUser(pid, uid, userId, false, in clearApplicationUserData()
4148 userId = mUserController.handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), in killBackgroundProcesses()
4150 final int[] userIds = mUserController.expandUserId(userId); in killBackgroundProcesses()
4245 userId = mUserController.handleIncomingUser(callingPid, Binder.getCallingUid(), in forceStopPackage()
4252 ? mUserController.getUsers() : new int[] { userId }; in forceStopPackage()
[all …]
DUserSwitchingDialog.java142 mService.mUserController.startUserInForeground(mUserId); in startUser()
DPendingIntentController.java71 final UserController mUserController; field in PendingIntentController
81 mUserController = userController; in PendingIntentController()
DActiveServices.java442 if (!mAm.mUserController.exists(r.userId)) { in startServiceLocked()
574 && mAm.mUserController.hasStartedUserState(r.userId)) { in startServiceLocked()
2053 userId = mAm.mUserController.handleIncomingUser(callingPid, callingUid, userId, false, in retrieveServiceLocked()
2541 if (!mAm.mUserController.hasStartedUserState(r.userId)) { in bringUpServiceLocked()
3660 || !mAm.mUserController.isUserRunning(sr.userId, 0)) { in killServicesLocked()
3772 int[] users = mAm.mUserController.getUsers(); in getRunningServiceInfoLocked()
3984 final int[] users = mAm.mUserController.getUsers(); in ServiceDumper()
4015 int[] users = mAm.mUserController.getUsers(); in dumpLocked()
4051 int[] users = mAm.mUserController.getUsers(); in dumpWithClient()
4307 final int[] users = mAm.mUserController.getUsers(); in dumpRemainsLocked()
[all …]
DAppErrors.java819 for (int profileId : mService.mUserController.getCurrentProfileIds()) {
836 mService.mUserController.getCurrentUserId()) != 0;
DPendingIntentRecord.java387 userId = controller.mUserController.getCurrentOrTargetUserId(); in sendInner()
DBroadcastQueue.java1050 if (mService.mUserController.mBootCompleted && mLogLatencyMetrics) { in processNextBroadcastLocked()
1556 && !mService.mUserController in processNextBroadcastLocked()
DProcessRecord.java1600 for (int userId : mService.mUserController.getCurrentProfileIds()) { in startAppProblemLocked()
DActivityManagerShellCommand.java432 int userIdForQuery = mInternal.mUserController.handleIncomingUser(