Add PermissionMemoryFootprintTest

Adds test which verifies that apps cannot create and absurd number of
permissions, or modify existing permissions to make them absurdly large

Bug: 247512334
Test: atest PermissionMemoryFootprintTest

Change-Id: If16ecb7beb6240c9091ef8d031e6f9d2c4190e6d
2 files changed