Searched refs:newPermission (Results 1 – 2 of 2) sorted by relevance
426 final PackageParser.Permission newPermission = in revokeRuntimePermissionsIfGroupChanged() local428 final int newProtection = newPermission.info.getProtection(); in revokeRuntimePermissionsIfGroupChanged()431 final String permissionName = newPermission.info.name; in revokeRuntimePermissionsIfGroupChanged()433 newPermission.group == null ? null : newPermission.group.info.name; in revokeRuntimePermissionsIfGroupChanged()
4935 final String newPermission = getNetworkPermission(newNc); in updateCapabilities() local4936 if (!Objects.equals(oldPermission, newPermission) && nai.created && !nai.isVPN()) { in updateCapabilities()4938 mNetd.setNetworkPermission(nai.network.netId, newPermission); in updateCapabilities()