Make sure getPackagesForUid returns exact match

Other than checking the number of packages being returns matches the
expected value, we also ensure that the content of the returned array
matches exactly what is expected.

Test: atest CtsSharedUserMigrationTestCases
Change-Id: I482fc43da0dba61c2aa05d3c1ddedb6da7206f20
5 files changed