Add unit test for AppOps logic where a different op is used to control an app op.

Example: COARSE_LOCATION used to control WIFI_SCAN.

Also add some comments to the AppOpsManager to make the intent of
these mappings clearer.

Test: atest FrameworksServicesTests:AppOpsServiceTest
Change-Id: I497c2b73501c81d2109a5ba418c3ce0b5818f50e
Bug: 72694454
2 files changed