Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/oemlock/
DOemLockService.java273 if (!UserManager.get(mContext).isUserAdmin(userId)) { in enforceUserIsAdmin()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHotspotControllerImplTest.java85 when(mUserManager.isUserAdmin(anyInt())).thenReturn(true); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java114 && UserManager.get(mContext).isUserAdmin(ActivityManager.getCurrentUser()); in isHotspotSupported()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java226 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()
/frameworks/base/core/java/android/os/
DUserManager.java1852 return isUserAdmin(UserHandle.myUserId()); in isAdminUser()
1863 public boolean isUserAdmin(@UserIdInt int userId) { in isUserAdmin() method in UserManager
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java599 mUm.isUserAdmin(userId) ? mAdminRetrieveFlags : mRetrieveFlags, in addPackage()
/frameworks/base/config/
Dboot-image-profile.txt16478 HSPLandroid/os/UserManager;->isUserAdmin(I)Z