Clean up and expose simple AndroidPackage APIs
The remaining simple APIs were exposed except:
- Anything that is based on known derived state that may be overlaid
in the PackageState or PackageUserState (isEnabled)
- The other non-target SDK versions, which are probably better tracked
in the PackageState, and are unlikely to be useful as API
- Anything not inherently immutable, the path for which is not finalized
- Complex APIs spanning multiple methods (resizeable)
- APIs that might be better served by other surfaces
(overlays, SDKs, shared libraries)
API-Coverage-Bug: 262593427
Bug: 235462722
Test: atest AndroidPackageTest
Change-Id: Id08cb58dcf9715ce8771ec203dc395ac4fe0a88e
21 files changed