Home
last modified time | relevance | path

Searched refs:isAdmin (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java152 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()
153 if (!isAdmin) { in enforceIsAdmin()
DMountService.java1448 boolean isAdmin; in enforceAdminUser()
1451 isAdmin = um.getUserInfo(callingUserId).isAdmin(); in enforceAdminUser()
1455 if (!isAdmin) { in enforceAdminUser()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java124 public boolean isAdmin() { in isAdmin() method in UserInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java95 && !user.isAdmin() in testAddUser()
/frameworks/base/core/java/android/os/
DUserManager.java822 return user != null && user.isAdmin(); in isUserAdmin()
1250 if (user != null && !user.isAdmin()) { in createUser()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java329 if (userInfo.isAdmin()) { in startConfirmation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java237 && (currentUserInfo.isAdmin() in refreshUsers()
478 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java196 user.isAdmin() ? mAdminRetrieveFlags : mRetrieveFlags, in doResumeIfNeededLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java885 if (!userInfo.isAdmin()) { in canHaveRestrictedProfile()
3386 if (user != null && !user.isAdmin()) { in createUserEvenWhenDisallowed()