Move more methods accessing PermissionsState into PermissionManagerService.

This time the methods accessing granted permissions and GIDs are
moved.

Bug: 158736025
Test: presubmit
Change-Id: I048de0916970d5f5931ef683e34481f8d5d6f545
4 files changed