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.java153 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()
154 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.java129 public boolean isAdmin() { in isAdmin() method in UserInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java97 && !user.isAdmin() in testAddUser()
/frameworks/base/core/java/android/os/
DUserManager.java844 return user != null && user.isAdmin(); in isUserAdmin()
1286 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()
494 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.java905 if (!userInfo.isAdmin()) { in canHaveRestrictedProfile()
3451 if (user != null && !user.isAdmin()) { in createUserEvenWhenDisallowed()