Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DDevelopmentSettingsEnabler.java49 final boolean isAdmin = um.isAdminUser(); in isDevelopmentSettingsEnabled()
50 return isAdmin && !hasRestriction && settingEnabled; in isDevelopmentSettingsEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java132 && !user.isAdmin() in testAddUser()
212 assertFalse(userInfo.isAdmin()); in testSetUserAdmin()
225 assertTrue(userInfo.isAdmin()); in testSetUserAdmin()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java187 public boolean isAdmin() { in isAdmin() method in UserInfo
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java226 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()
227 if (!isAdmin) { in enforceIsAdmin()
DStorageManagerService.java1482 boolean isAdmin; in enforceAdminUser()
1485 isAdmin = um.getUserInfo(callingUserId).isAdmin(); in enforceAdminUser()
1489 if (!isAdmin) { in enforceAdminUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java243 && (currentUserInfo.isAdmin() in refreshUsers()
504 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
/frameworks/base/core/java/android/os/
DUserManager.java1456 return user != null && user.isAdmin(); in isUserAdmin()
2039 if (user != null && !user.isAdmin() && !user.isDemo()) { in createUser()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java1433 if (userInfo.isAdmin()) { in startConfirmationForNetwork()
1457 if (userInfo.isAdmin()) { in startConfirmationForKey()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1099 if (info == null || info.isAdmin()) { in setUserAdmin()
1282 if (!userInfo.isAdmin()) { in canHaveRestrictedProfile()
4266 if (user != null && !user.isAdmin() && !user.isDemo()) { in createUserEvenWhenDisallowed()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java2076 return info != null && info.isPrimary() && info.isAdmin() && frpCredentialEnabled(context);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java278 user.isAdmin() ? mAdminRetrieveFlags : mRetrieveFlags, in doResumeIfNeededLocked()
/frameworks/base/config/
Dboot-image-profile.txt4612 HSPLandroid/content/pm/UserInfo;->isAdmin()Z