Searched refs:mUserController (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DUserControllerTest.java81 private UserController mUserController; field in class:UserControllerTest
112 mUserController = new UserController(mInjector);
126 mUserController.startUser(TEST_USER_ID, true /* foreground */);
137 mUserController.startUser(TEST_USER_ID, false /* foreground */);
147 mUserController.mUserSwitchUiEnabled = false;
148 mUserController.startUser(TEST_USER_ID, true /* foreground */);
182 mUserController.mUserSwitchUiEnabled = false;
183 mUserController.startUserInForeground(NONEXIST_USER_ID);
198 mUserController.registerUserSwitchObserver(observer, "mock");
199 // Start user -- this will update state of mUserController
[all...]
H A DActivityStartInterceptorTest.java92 private UserController mUserController; field in class:ActivityStartInterceptorTest
105 mUserController);
191 when(mUserController.shouldConfirmCredentials(TEST_USER_ID)).thenReturn(true);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStartInterceptor.java72 private final UserController mUserController; field in class:ActivityStartInterceptor
103 this(service, supervisor, service.mContext, service.mUserController);
112 mUserController = userController;
300 if (!mUserController.shouldConfirmCredentials(userId)) {
H A DRecentsAnimation.java61 private final UserController mUserController; field in class:RecentsAnimation
79 mUserController = userController;
168 .setMayWait(mUserController.getCurrentUserId())
H A DUserSwitchingDialog.java142 mService.mUserController.startUserInForeground(mUserId);
H A DRecentTasks.java141 private final UserController mUserController; field in class:RecentTasks
185 mUserController = userController;
195 mUserController = service.mUserController;
724 final Set<Integer> includedUsers = mUserController.getProfileIds(userId);
1039 final int[] profileUserIds = mUserController.getCurrentProfileIds();
1042 final UserInfo userInfo = mUserController.getUserInfo(userId);
H A DActivityStartController.java240 return mService.mUserController.handleIncomingUser(realCallingPid, realCallingUid,
243 mService.mUserController.ensureNotSpecialUser(targetUserId);
H A DActivityManagerService.java773 final UserController mUserController; field in class:ActivityManagerService
830 && !mUserController.hasUserRestriction(UserManager.DISALLOW_SYSTEM_ERROR_DIALOGS,
831 mUserController.getCurrentUserId())
833 && mUserController.getCurrentUser().isDemo());
3036 mUserController = null;
3113 mUserController = new UserController(this);
3555 mUserController.sendForegroundProfileChanged(r.userId);
5215 userId = mUserController.handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(),
5240 userId = mUserController.handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(),
5297 userId = mUserController
[all...]
H A DActiveServices.java422 if (!mAm.mUserController.exists(r.userId)) {
550 && mAm.mUserController.hasStartedUserState(r.userId)) {
1871 userId = mAm.mUserController.handleIncomingUser(callingPid, callingUid, userId, false,
2322 if (!mAm.mUserController.hasStartedUserState(r.userId)) {
3395 || !mAm.mUserController.isUserRunning(sr.userId, 0)) {
3505 int[] users = mAm.mUserController.getUsers();
3712 final int[] users = mAm.mUserController.getUsers();
3743 int[] users = mAm.mUserController.getUsers();
3779 int[] users = mAm.mUserController.getUsers();
4034 final int[] users = mAm.mUserController
[all...]
H A DAppErrors.java589 for (int userId : mService.mUserController.getCurrentProfileIds()) {
820 for (int profileId : mService.mUserController.getCurrentProfileIds()) {
837 mService.mUserController.getCurrentUserId()) != 0;
H A DPendingIntentRecord.java324 userId = owner.mUserController.getCurrentOrTargetUserId();
H A DActivityStackSupervisor.java2104 mService.mUserController.finishUserSwitch(startingUsers.get(i));
3871 return mService.mUserController.isCurrentProfile(userId);
4819 if (!mService.mUserController.shouldConfirmCredentials(task.userId)
H A DBroadcastQueue.java1294 && !mService.mUserController
H A DActivityStack.java460 mCurrentUser = mService.mUserController.getCurrentUserId();
2391 if (!mService.mUserController.hasStartedUserState(next.userId)) {
H A DActivityRecord.java2183 && service.mUserController.isUserRunning(userId, 0 /* flags */));

Completed in 131 milliseconds