/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 161 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/ |
D | PendingIntentControllerTest.java | 71 private UserController mUserController; field in PendingIntentControllerTest 100 mUserController, constants); in setUp()
|
D | ActivityManagerServiceTest.java | 225 @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()
|
D | MockingOomAdjusterTests.java | 2588 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/ |
D | AppErrors.java | 873 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;
|
D | PendingIntentController.java | 89 final UserController mUserController; field in PendingIntentController 110 mUserController = userController; in PendingIntentController()
|
D | ContentProviderHelper.java | 159 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()
|
D | ActiveServices.java | 988 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 …]
|
D | AppExitInfoTracker.java | 1685 userId = mService.mUserController.getCurrentUserId(); in removeByUserId() 1840 userId = mService.mUserController.getCurrentUserId(); in removeByUserId() 1926 mService.mUserController.handleIncomingUser(callingPid, callingUid, userId, true, in getTraceFileDescriptor()
|
D | ProcessErrorStateRecord.java | 718 for (int userId : mService.mUserController.getCurrentProfileIds()) { in startAppProblemLSP()
|
D | ServiceRecord.java | 1480 && (ams.mUserController.getCurrentUserId() == userId in updateKeepWarmLocked() 1481 || ams.mUserController.isCurrentProfile(userId) in updateKeepWarmLocked()
|
D | BroadcastSkipPolicy.java | 234 && !mService.mUserController in shouldSkipMessage()
|
D | PendingIntentRecord.java | 612 userId = controller.mUserController.getCurrentOrTargetUserId(); in sendInner()
|
D | ActivityManagerShellCommand.java | 695 int userIdForQuery = mInternal.mUserController.handleIncomingUser( 1579 int[] userIds = (userId == UserHandle.USER_ALL) ? mInternal.mUserController.getUserIds() 1582 if (mInternal.mUserController.hasUserRestriction(
|
D | OomAdjuster.java | 1637 final long lastUserUnlockingUptime = mService.mUserController.getLastUserUnlockingUptime(); in shouldKillExcessiveProcesses()
|