Refactor UidPermissionState.

Renamed hasPermission() to isPermissionGranted(),
hasRequestedPermission() to hasPermissionState(), and re-ordered the
fields and methods. No behavioral change is expected.

Bug: 158736025
Test: presubmit
Change-Id: Iecfc9d0b66ab95625e26476b80dca116f247c0b2
3 files changed