Searched refs:hasPermissionGranted (Results 1 – 1 of 1) sorted by relevance
894 final boolean hasModifyQuietModePermission = hasPermissionGranted( in ensureCanModifyQuietMode()1188 if (!hasPermissionGranted(Manifest.permission.INTERACT_ACROSS_USERS, in checkManageOrInteractPermIfCallerInOtherProfileGroup()1886 if (hasPermissionGranted(Manifest.permission.MANAGE_USERS, uid) in checkManageUserAndAcrossUsersFullPermission()1887 && hasPermissionGranted(Manifest.permission.INTERACT_ACROSS_USERS_FULL, uid)) { in checkManageUserAndAcrossUsersFullPermission()1896 private static boolean hasPermissionGranted(String permission, int uid) { in hasPermissionGranted() method in UserManagerService1960 || hasPermissionGranted(android.Manifest.permission.MANAGE_USERS, callingUid); in hasManageUsersPermission()1971 || hasPermissionGranted(android.Manifest.permission.MANAGE_USERS, callingUid) in hasManageUsersOrPermission()1972 || hasPermissionGranted(alternativePermission, callingUid); in hasManageUsersOrPermission()