Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java125 private UserController mUserController; field in UserControllerTest
165 mUserController = new UserController(mInjector); in setUp()
179 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUser_foreground()
190 mUserController.startUser(TEST_USER_ID, false /* foreground */); in testStartUser_background()
199 mUserController.setInitialConfig(/* userSwitchUiEnabled= */ false, in testStartUserUIDisabled()
202 mUserController.startUser(TEST_USER_ID, true /* foreground */); in testStartUserUIDisabled()
211 assertFalse(mUserController.startUser(TEST_PRE_CREATED_USER_ID, /* foreground= */ true)); in testStartPreCreatedUser_foreground()
218 assertTrue(mUserController.startUser(TEST_PRE_CREATED_USER_ID, /* foreground= */ false)); in testStartPreCreatedUser_background()
263 mUserController.setInitialConfig(/* userSwitchUiEnabled= */ false, in testFailedStartUserInForeground()
266 mUserController.startUserInForeground(NONEXIST_USER_ID); in testFailedStartUserInForeground()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPendingIntentControllerTest.java59 private UserController mUserController; field in PendingIntentControllerTest
88 mUserController, constants); in setUp()
DMockingOomAdjusterTests.java1950 doReturn(userOwner).when(sService.mUserController).getCurrentUserId(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2042 doReturn(userOther).when(sService.mUserController).getCurrentUserId(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java665 final UserController mUserController; field in ActivityManagerService
2035 final int userId = mUserController.getCurrentUserId(); in maybeLogUserspaceRebootEvent()
2208 mUserController = hasHandlerThread ? new UserController(this) : null; in ActivityManagerService()
2210 ? new PendingIntentController(handlerThread.getLooper(), mUserController, in ActivityManagerService()
2311 mUserController = new UserController(this); in ActivityManagerService()
2314 mHandlerThread.getLooper(), mUserController, mConstants); in ActivityManagerService()
3447 final int resolvedUserId = mUserController.handleIncomingUser(pid, uid, userId, false, in clearApplicationUserData()
3592 userId = mUserController.handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), in killBackgroundProcesses()
3594 final int[] userIds = mUserController.expandUserId(userId); in killBackgroundProcesses()
3699 userId = mUserController.handleIncomingUser(callingPid, Binder.getCallingUid(), in forceStopPackage()
[all …]
DUserSwitchingDialog.java148 mService.mUserController.startUserInForeground(mUserId); in startUser()
DAppErrors.java841 mService.mUserController.getCurrentUserId()) != 0;
973 mService.mUserController.getCurrentUserId()) != 0;
995 for (int profileId : mService.mUserController.getCurrentProfileIds()) {
1018 mService.mUserController.getCurrentUserId()) != 0;
1073 mService.mUserController.getCurrentUserId()) != 0;
DContentProviderHelper.java134 userId = mService.mUserController.handleIncomingUser( in getContentProviderExternal()
344 if (!mService.mUserController.isUserRunning(userId, 0)) { in getContentProviderImpl()
922 userId = mService.mUserController.unsafeConvertIncomingUser(userId); in getProviderMimeType()
986 final int safeUserId = mService.mUserController.unsafeConvertIncomingUser(userId); in getProviderMimeTypeAsync()
1431 int tmpTargetUserId = mService.mUserController.unsafeConvertIncomingUser(userId); in checkContentProviderPermission()
1439 userId = mService.mUserController.handleIncomingUser(callingPid, callingUid, userId, in checkContentProviderPermission()
1538 UserState userState = mService.mUserController.getStartedUserState(app.userId); in maybeUpdateProviderUsageStatsLocked()
DPendingIntentController.java82 final UserController mUserController; field in PendingIntentController
103 mUserController = userController; in PendingIntentController()
DActiveServices.java657 if (!mAm.mUserController.exists(r.userId)) { in startServiceLocked()
826 && mAm.mUserController.hasStartedUserState(r.userId)) { in startServiceInnerLocked()
2893 || !mAm.mUserController.isSameProfileGroup(callingUserId, userId)) { in maybeLogBindCrossProfileService()
3111 userId = mAm.mUserController.handleIncomingUser(callingPid, callingUid, userId, in retrieveServiceLocked()
3764 if (!mAm.mUserController.hasStartedUserState(r.userId)) { in bringUpServiceLocked()
4997 || !mAm.mUserController.isUserRunning(sr.userId, 0)) { in killServicesLocked()
5119 int[] users = mAm.mUserController.getUsers(); in getRunningServiceInfoLocked()
5333 final int[] users = mAm.mUserController.getUsers(); in ServiceDumper()
5364 int[] users = mAm.mUserController.getUsers(); in dumpLocked()
5400 int[] users = mAm.mUserController.getUsers(); in dumpWithClient()
[all …]
DServiceRecord.java848 && (ams.mUserController.getCurrentUserId() == userId in updateKeepWarmLocked()
849 || ams.mUserController.isCurrentProfile(userId) in updateKeepWarmLocked()
DAppExitInfoTracker.java1570 userId = mService.mUserController.getCurrentUserId(); in removeByUserId()
1716 userId = mService.mUserController.getCurrentUserId(); in removeByUserId()
1803 mService.mUserController.handleIncomingUser(callingPid, callingUid, userId, true, in getTraceFileDescriptor()
DProcessErrorStateRecord.java549 for (int userId : mService.mUserController.getCurrentProfileIds()) { in startAppProblemLSP()
DPendingIntentRecord.java429 userId = controller.mUserController.getCurrentOrTargetUserId(); in sendInner()
DBroadcastQueue.java1098 if (mService.mUserController.mBootCompleted && mLogLatencyMetrics) { in processNextBroadcastLocked()
1549 && !mService.mUserController in processNextBroadcastLocked()
DActivityManagerShellCommand.java476 int userIdForQuery = mInternal.mUserController.handleIncomingUser(