Resource Management Policy Handling Multiple Use-Cases in MPSoC Platforms Using Constraint Programming