/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResumeSessionReceiver.java | 96 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in wipeGuestSession() local 115 boolean marked = userManager.markGuestForDeletion(currentUser.id); in wipeGuestSession() 120 UserInfo newGuest = userManager.createGuest(context, currentUser.name); in wipeGuestSession() 126 userManager.removeUser(currentUser.id); in wipeGuestSession() 131 userManager.removeUser(currentUser.id); in wipeGuestSession()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 527 final UserManager userManager = (UserManager) context.getSystemService( in addCall() local 529 List<UserInfo> users = userManager.getUsers(true); in addCall() 530 final int currentUserId = userManager.getUserHandle(); in addCall() 535 if (userManager.isUserRunning(userHandle) in addCall() 536 && !userManager.hasUserRestriction(UserManager.DISALLOW_OUTGOING_CALLS, in addCall()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 171 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in getManagedProfile() local 172 List<UserInfo> relatedUsers = userManager.getProfiles(UserHandle.USER_OWNER); in getManagedProfile()
|
D | ResolverActivity.java | 373 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in setProfileSwitchMessageId() local 374 UserInfo originUserInfo = userManager.getUserInfo(contentUserHint); in setProfileSwitchMessageId() 377 boolean targetIsManaged = userManager.isManagedProfile(); in setProfileSwitchMessageId() 532 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in hasManagedProfile() local 533 if (userManager == null) { in hasManagedProfile() 538 List<UserInfo> profiles = userManager.getProfiles(getUserId()); in hasManagedProfile() 916 UserManager userManager = in rebuildList() local 918 if (userManager.isManagedProfile()) { in rebuildList()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 255 UserManager userManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in setCurrentFunction() local 256 if (userManager.hasUserRestriction(UserManager.DISALLOW_USB_FILE_TRANSFER)) { in setCurrentFunction()
|
D | UsbDeviceManager.java | 667 UserManager userManager = 670 if (userManager.hasUserRestriction(UserManager.DISALLOW_USB_FILE_TRANSFER, 798 UserManager userManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE); 799 if (userManager.hasUserRestriction(UserManager.DISALLOW_USB_FILE_TRANSFER,
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 614 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in updateCache() local 615 if (userManager != null) { in updateCache() 617 List<UserInfo> profiles = userManager.getProfiles(currentUserId); in updateCache()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 828 UserManager userManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in switchUser() local 829 final boolean announceNewUser = userManager.getUsers().size() > 1; in switchUser() 1784 UserManager userManager = (UserManager) mContext.getSystemService( in announceNewUserIfNeeded() local 1787 userManager.getUserInfo(mCurrentUserId).name); in announceNewUserIfNeeded()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 475 UserManagerService userManager = UserManagerService.getInstance(); in getPackageLPw() local 564 && !isAdbInstallDisallowed(userManager, user.id)) in getPackageLPw() 632 && !isAdbInstallDisallowed(userManager, user.id)) in getPackageLPw() 647 boolean isAdbInstallDisallowed(UserManagerService userManager, int userId) { in isAdbInstallDisallowed() argument 648 return userManager.hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES, in isAdbInstallDisallowed()
|
D | PackageManagerService.java | 13347 void cleanUpUserLILPw(UserManagerService userManager, int userHandle) { in cleanUpUserLILPw() argument 13358 removeUnusedPackagesLILPw(userManager, userHandle); in cleanUpUserLILPw() 13366 private void removeUnusedPackagesLILPw(UserManagerService userManager, final int userHandle) { in removeUnusedPackagesLILPw() argument 13368 int [] users = userManager.getUserIdsLPr(); in removeUnusedPackagesLILPw()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 1381 final UserManagerService userManager = UserManagerService.getInstance(); in readStorageListLocked() local 1382 for (UserInfo user : userManager.getUsers(false)) { in readStorageListLocked()
|