Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java939 final boolean hasModifyQuietModePermission = hasPermissionGranted( in ensureCanModifyQuietMode()
1234 if (!hasPermissionGranted(Manifest.permission.INTERACT_ACROSS_USERS, in checkManageOrInteractPermIfCallerInOtherProfileGroup()
1945 if (hasPermissionGranted(Manifest.permission.MANAGE_USERS, uid) in checkManageUserAndAcrossUsersFullPermission()
1946 && hasPermissionGranted(Manifest.permission.INTERACT_ACROSS_USERS_FULL, uid)) { in checkManageUserAndAcrossUsersFullPermission()
1955 private static boolean hasPermissionGranted(String permission, int uid) { in hasPermissionGranted() method in UserManagerService
2019 || hasPermissionGranted(android.Manifest.permission.MANAGE_USERS, callingUid); in hasManageUsersPermission()
2030 || hasPermissionGranted(android.Manifest.permission.MANAGE_USERS, callingUid) in hasManageUsersOrPermission()
2031 || hasPermissionGranted(alternativePermission, callingUid); in hasManageUsersOrPermission()