Searched refs:isAdmin (Results 1 – 14 of 14) sorted by relevance
49 final boolean isAdmin = um.isAdminUser(); in isDevelopmentSettingsEnabled()50 return isAdmin && !hasRestriction && settingEnabled; in isDevelopmentSettingsEnabled()
236 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()237 if (!isAdmin) { in enforceIsAdmin()
1849 boolean isAdmin; in enforceAdminUser()1852 isAdmin = um.getUserInfo(callingUserId).isAdmin(); in enforceAdminUser()1856 if (!isAdmin) { in enforceAdminUser()
301 public boolean isAdmin() { in isAdmin() method in UserInfo
154 && !user.isAdmin() in testAddGuest()431 assertThat(userInfo.isAdmin()).isFalse(); in testSetUserAdmin()436 assertThat(userInfo.isAdmin()).isTrue(); in testSetUserAdmin()
325 && (currentUserInfo.isAdmin() in refreshUsers()565 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
1442 if (userInfo.isAdmin()) { in startConfirmationForNetwork()1466 if (userInfo.isAdmin()) { in startConfirmationForKey()
1700 return info != null && info.isPrimary() && info.isAdmin() && frpCredentialEnabled(context); in userOwnsFrpCredential()
279 user.isAdmin() ? mAdminRetrieveFlags : mRetrieveFlags, in doResumeIfNeededLocked()
2000 return user != null && user.isAdmin(); in isUserAdmin()
1311 if (info == null || info.isAdmin()) { in setUserAdmin()1671 if (!userInfo.isAdmin()) { in canHaveRestrictedProfile()
864 method public boolean isAdmin();
4913 HSPLandroid/content/pm/UserInfo;->isAdmin()Z
4911 HSPLandroid/content/pm/UserInfo;->isAdmin()Z