Home
last modified time | relevance | path

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

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionGroups.java192 for (PermissionInfo permissionInfo : installedPackage.permissions) { in loadInBackground()
194 if (!seenPermissions.add(permissionInfo.name)) { in loadInBackground()
199 if ((permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in loadInBackground()
201 || (permissionInfo.flags & PermissionInfo.FLAG_INSTALLED) == 0) { in loadInBackground()
206 if (!requestedPermissions.contains(permissionInfo.name)) { in loadInBackground()
210 CharSequence label = loadItemInfoLabel(permissionInfo); in loadInBackground()
211 Drawable icon = loadItemInfoIcon(permissionInfo); in loadInBackground()
213 PermissionApps permApps = new PermissionApps(getContext(), permissionInfo.name, in loadInBackground()
218 PermissionGroup group = new PermissionGroup(permissionInfo.name, in loadInBackground()
219 permissionInfo.packageName, label, icon, in loadInBackground()
DAppPermissionGroup.java66 PermissionInfo permissionInfo; in create() local
68 permissionInfo = context.getPackageManager().getPermissionInfo(permissionName, 0); in create()
73 if ((permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in create()
75 || (permissionInfo.flags & PermissionInfo.FLAG_INSTALLED) == 0 in create()
76 || (permissionInfo.flags & PermissionInfo.FLAG_REMOVED) != 0) { in create()
80 PackageItemInfo groupInfo = permissionInfo; in create()
81 if (permissionInfo.group != null) { in create()
84 permissionInfo.group, 0); in create()
128 for (PermissionInfo permissionInfo : permissionInfos) { in create()
129 if (requestedPermission.equals(permissionInfo.name)) { in create()
[all …]
DPermissionApps.java271 PermissionInfo permissionInfo = mContext.getPackageManager() in getGroupPermissionInfos() local
274 permissions.add(permissionInfo); in getGroupPermissionInfos()