Home
last modified time | relevance | path

Searched refs:isUserAdmin (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DOemLockService.java140 if (!UserManager.get(mContext).isUserAdmin(userId)) { in enforceUserIsAdmin()
DPersistentDataBlockService.java178 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java57 && UserManager.get(mContext).isUserAdmin(ActivityManager.getCurrentUser()); in isHotspotSupported()
/frameworks/base/core/java/android/os/
DUserManager.java968 return isUserAdmin(UserHandle.myUserId()); in isAdminUser()
976 public boolean isUserAdmin(@UserIdInt int userId) { in isUserAdmin() method in UserManager
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java409 mUm.isUserAdmin(userId) ? mAdminRetrieveFlags : mRetrieveFlags, in addPackage()