Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DPermissionApps.java221 PermissionInfo permInfo = groupPermInfos.get(i); in loadPermissionApps() local
222 if ((permInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in loadPermissionApps()
224 && (permInfo.flags & PermissionInfo.FLAG_INSTALLED) != 0 in loadPermissionApps()
225 && (permInfo.flags & PermissionInfo.FLAG_REMOVED) == 0) { in loadPermissionApps()
226 targetPermInfos.add(permInfo); in loadPermissionApps()
322 PermissionInfo permInfo = mPm.getPermissionInfo(mGroupName, 0); in loadGroupInfo()
323 if ((permInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in loadGroupInfo()
328 info = permInfo; in loadGroupInfo()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DRuntimePermissionsUpgradeController.java105 PermissionInfo permInfo = permissionInfos.get(requestedPermission); in whitelistAllSystemAppPermissions() local
106 if (permInfo == null) { in whitelistAllSystemAppPermissions()
108 permInfo = context.getPackageManager().getPermissionInfo( in whitelistAllSystemAppPermissions()
114 permissionInfos.put(requestedPermission, permInfo); in whitelistAllSystemAppPermissions()
117 if ((permInfo.flags & (PermissionInfo.FLAG_HARD_RESTRICTED in whitelistAllSystemAppPermissions()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java294 PermissionInfo permInfo; in getPlatformPermissionsOfGroup() local
296 permInfo = pm.getPermissionInfo(permName, 0); in getPlatformPermissionsOfGroup()
301 permInfos.add(permInfo); in getPlatformPermissionsOfGroup()