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.java161 private UserController mUserController; field in UserControllerTest
221 mUserController = new UserController(mInjector); in setUp()
222 mUserController.setAllowUserUnlocking(true); in setUp()
237 mUserController.startUser(TEST_USER_ID, USER_START_MODE_FOREGROUND); in testStartUser_foreground()
248 boolean started = mUserController.startUser(TEST_USER_ID, USER_START_MODE_BACKGROUND); in testStartUser_background()
261 mUserController.setAllowUserUnlocking(false); in testStartUser_background_duringBootHsum()
263 boolean started = mUserController.startUser(TEST_USER_ID, USER_START_MODE_BACKGROUND); in testStartUser_background_duringBootHsum()
270 mUserController.onBootComplete(null); in testStartUser_background_duringBootHsum()
283 mUserController.startUser(SYSTEM_USER_ID, USER_START_MODE_FOREGROUND); in testStartUser_sendsNoBroadcastsForSystemUserInNonHeadlessMode()
295 mUserController.startUser(SYSTEM_USER_ID, USER_START_MODE_FOREGROUND); in testStartUser_sendsBroadcastsForSystemUserInHeadlessMode()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPendingIntentControllerTest.java71 private UserController mUserController; field in PendingIntentControllerTest
100 mUserController, constants); in setUp()
DActivityManagerServiceTest.java225 @Mock private UserController mUserController; field in ActivityManagerServiceTest
268 }).when(mUserController).handleIncomingUser(anyInt(), anyInt(), anyInt(), anyBoolean(), in setUp()
270 doReturn(true).when(mUserController).isUserOrItsParentRunning(anyInt()); in setUp()
272 mUserController); in setUp()
DMockingOomAdjusterTests.java2588 doReturn(userOwner).when(mService.mUserController).getCurrentUserId(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2676 doReturn(userOther).when(mService.mUserController).getCurrentUserId(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java873 mService.mUserController.getCurrentUserId()) != 0;
1005 mService.mUserController.getCurrentUserId()) != 0;
1027 for (int profileId : mService.mUserController.getCurrentProfileIds()) {
1050 mService.mUserController.getCurrentUserId()) != 0;
1108 mService.mUserController.getCurrentUserId()) != 0;
DPendingIntentController.java89 final UserController mUserController; field in PendingIntentController
110 mUserController = userController; in PendingIntentController()
DContentProviderHelper.java159 userId = mService.mUserController.handleIncomingUser( in getContentProviderExternal()
430 if (!mService.mUserController.isUserRunning(userId, 0)) { in getContentProviderImpl()
1029 final int safeUserId = mService.mUserController.unsafeConvertIncomingUser(userId); in getMimeTypeFilterAsync()
1574 int tmpTargetUserId = mService.mUserController.unsafeConvertIncomingUser(userId); in checkContentProviderPermission()
1582 userId = mService.mUserController.handleIncomingUser(callingPid, callingUid, userId, in checkContentProviderPermission()
1681 UserState userState = mService.mUserController.getStartedUserState(app.userId); in maybeUpdateProviderUsageStatsLocked()
DActiveServices.java988 if (!mAm.mUserController.exists(r.userId)) { in startServiceLocked()
1235 && mAm.mUserController.hasStartedUserState(r.userId)) { in startServiceInnerLocked()
4441 || !mAm.mUserController.isSameProfileGroup(callingUserId, userId)) { in maybeLogBindCrossProfileService()
4747 userId = mAm.mUserController.handleIncomingUser(callingPid, callingUid, userId, in retrieveServiceLocked()
5770 if (!mAm.mUserController.hasStartedUserState(r.userId)) { in bringUpServiceInnerLocked()
7304 || !mAm.mUserController.isUserRunning(sr.userId, 0)) { in killServicesLocked()
7429 int[] users = mAm.mUserController.getUsers(); in getRunningServiceInfoLocked()
7723 final int[] users = mAm.mUserController.getUsers(); in ServiceDumper()
7754 int[] users = mAm.mUserController.getUsers(); in dumpLocked()
7790 int[] users = mAm.mUserController.getUsers(); in dumpWithClient()
[all …]
DAppExitInfoTracker.java1685 userId = mService.mUserController.getCurrentUserId(); in removeByUserId()
1840 userId = mService.mUserController.getCurrentUserId(); in removeByUserId()
1926 mService.mUserController.handleIncomingUser(callingPid, callingUid, userId, true, in getTraceFileDescriptor()
DProcessErrorStateRecord.java718 for (int userId : mService.mUserController.getCurrentProfileIds()) { in startAppProblemLSP()
DServiceRecord.java1480 && (ams.mUserController.getCurrentUserId() == userId in updateKeepWarmLocked()
1481 || ams.mUserController.isCurrentProfile(userId) in updateKeepWarmLocked()
DBroadcastSkipPolicy.java234 && !mService.mUserController in shouldSkipMessage()
DPendingIntentRecord.java612 userId = controller.mUserController.getCurrentOrTargetUserId(); in sendInner()
DActivityManagerShellCommand.java695 int userIdForQuery = mInternal.mUserController.handleIncomingUser(
1579 int[] userIds = (userId == UserHandle.USER_ALL) ? mInternal.mUserController.getUserIds()
1582 if (mInternal.mUserController.hasUserRestriction(
DOomAdjuster.java1637 final long lastUserUnlockingUptime = mService.mUserController.getLastUserUnlockingUptime(); in shouldKillExcessiveProcesses()