Use PackageParser2 instead of the old parser to getPackageArchiveInfo

1. New utils to generate PackageInfo
2. Use PackageParser2 instead of the old parser to
PackageManager#getPackageArchiveInfo

BYPASS_INCLUSIVE_LANGUAGE_REASON=Legacy API

Bug: 309596860
Test: atest CtsPackageManagerTestCases:PackageManagerTest
Change-Id: I24279443f1d3e49b2a3814cc4c5faa526bd15eeb
3 files changed