Home
last modified time | relevance | path

Searched refs:isAdmin (Results 1 – 14 of 14) 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/core/java/com/android/server/
DPersistentDataBlockService.java236 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()
237 if (!isAdmin) { in enforceIsAdmin()
DStorageManagerService.java1849 boolean isAdmin; in enforceAdminUser()
1852 isAdmin = um.getUserInfo(callingUserId).isAdmin(); in enforceAdminUser()
1856 if (!isAdmin) { in enforceAdminUser()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java301 public boolean isAdmin() { in isAdmin() method in UserInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java154 && !user.isAdmin() in testAddGuest()
431 assertThat(userInfo.isAdmin()).isFalse(); in testSetUserAdmin()
436 assertThat(userInfo.isAdmin()).isTrue(); in testSetUserAdmin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java325 && (currentUserInfo.isAdmin() in refreshUsers()
565 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java1442 if (userInfo.isAdmin()) { in startConfirmationForNetwork()
1466 if (userInfo.isAdmin()) { in startConfirmationForKey()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1700 return info != null && info.isPrimary() && info.isAdmin() && frpCredentialEnabled(context); in userOwnsFrpCredential()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java279 user.isAdmin() ? mAdminRetrieveFlags : mRetrieveFlags, in doResumeIfNeededLocked()
/frameworks/base/core/java/android/os/
DUserManager.java2000 return user != null && user.isAdmin(); in isUserAdmin()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1311 if (info == null || info.isAdmin()) { in setUserAdmin()
1671 if (!userInfo.isAdmin()) { in canHaveRestrictedProfile()
/frameworks/base/core/api/
Dtest-current.txt864 method public boolean isAdmin();
/frameworks/base/boot/
Dboot-image-profile.txt4913 HSPLandroid/content/pm/UserInfo;->isAdmin()Z
/frameworks/base/config/
Dboot-image-profile.txt4911 HSPLandroid/content/pm/UserInfo;->isAdmin()Z