Searched refs:permissionInfo (Results 1 – 7 of 7) sorted by relevance
251 for (PermissionInfo permissionInfo : installedPackage.permissions) { in getPermissionGroups()253 if (!seenPermissions.add(permissionInfo.name)) { in getPermissionGroups()258 if (permissionInfo.getProtection() != PermissionInfo.PROTECTION_DANGEROUS in getPermissionGroups()259 || (permissionInfo.flags & PermissionInfo.FLAG_INSTALLED) == 0) { in getPermissionGroups()265 permissionInfo.name)) { in getPermissionGroups()270 if (!requestedPermissions.contains(permissionInfo.name)) { in getPermissionGroups()274 CharSequence label = loadItemInfoLabel(context, permissionInfo); in getPermissionGroups()275 Drawable icon = loadItemInfoIcon(context, permissionInfo); in getPermissionGroups()277 PermissionApps permApps = new PermissionApps(context, permissionInfo.name, in getPermissionGroups()282 PermissionGroup group = new PermissionGroup(permissionInfo.name, in getPermissionGroups()[all …]
46 public Permission(String name, @NonNull PermissionInfo permissionInfo, boolean granted, in Permission() argument48 mPermissionInfo = permissionInfo; in Permission()50 mBackgroundPermissionName = permissionInfo.backgroundPermission; in Permission()56 (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) != 0; in Permission()58 (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) != 0; in Permission()
138 PermissionInfo permissionInfo; in create() local140 permissionInfo = context.getPackageManager().getPermissionInfo(permissionName, 0); in create()145 if ((permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in create()147 || (permissionInfo.flags & PermissionInfo.FLAG_INSTALLED) == 0 in create()148 || (permissionInfo.flags & PermissionInfo.FLAG_REMOVED) != 0) { in create()152 String group = Utils.getGroupOfPermission(permissionInfo); in create()153 PackageItemInfo groupInfo = permissionInfo; in create()247 for (PermissionInfo permissionInfo : permissionInfos) { in create()248 if (requestedPermission.equals(permissionInfo.name)) { in create()249 requestedPermissionInfo = permissionInfo; in create()
91 for (PermissionInfo permissionInfo : installedPackage.permissions) { in getGrantedPermissionGroups()92 if (permissions.contains(permissionInfo.name) in getGrantedPermissionGroups()93 && !grantedPermissionGroups.contains(permissionInfo.group)) { in getGrantedPermissionGroups()94 grantedPermissionGroups.add(permissionInfo.group); in getGrantedPermissionGroups()117 for (PermissionInfo permissionInfo : permissions) { in getAllPermissionsInGroups()118 result.add(permissionInfo.name); in getAllPermissionsInGroups()
99 for (PermissionInfo permissionInfo : permissions) { in getAllPermissionsInGroups()100 result.add(permissionInfo.name); in getAllPermissionsInGroups()117 for (PermissionInfo permissionInfo : installedPackage.permissions) { in getGrantedPermissionGroups()118 if (permissions.contains(permissionInfo.name)) { in getGrantedPermissionGroups()119 grantedPermissionGroups.add(permissionInfo.group); in getGrantedPermissionGroups()
714 PermissionInfo permissionInfo = permissionInfos.get(permissionInfosIndex); in createForegroundBackgroundPermissionMappings() local716 String permission = permissionInfo.name; in createForegroundBackgroundPermissionMappings()719 String backgroundPermission = permissionInfo.backgroundPermission; in createForegroundBackgroundPermissionMappings()
365 PermissionInfo permissionInfo = context.getPackageManager() in getGroupPermissionInfos() local368 permissions.add(permissionInfo); in getGroupPermissionInfos()