[Permissions Hub Refactor] Tidy up PermissionHistoryTest
* Move PermissionAttribution test cases to PermissionHistoryTest as it
has the same APIs/UI under test.
* Remove base class as it isn't adding much value (it has only one
helper method)
* Tidy up test names, structure, comments and helper methods
* Add some more basic testing. More behavior will be added in later CLs.
* Clean all app ops history between tests
Bug: 274339224
Test: atest CtsPermission3TestCases:PermissionHistoryTest
Change-Id: I614d7c7aa2ca94841f9417ad3d1c66e5f9f97651
3 files changed