Fix cross user package visibility leakage for filterAppAccess API

- To fix apis which invoke the #filterAppAccess leak the package
  existence information of other users, this CL returns true if
  the target package is not installed under the given user id.

- Add an extra boolean parameter to the #filterAppAccess API for
  the LauncherApp module to not filter the uninstalled package
  when monitoring package changes events.

- Correct wrong user id usages of the filterAppAccess API in
  some modules.

Bug: 229684723
Test: atest android.content.pm.cts.PackageManagerTest
Test: atest android.appenumeration.cts.AppEnumerationTests
Test: atest android.appwidget.cts.AppWidgetTest
Test: atest com.android.cts.devicepolicy.ManagedProfileCrossProfileTest
Test: atest com.android.cts.devicepolicy.LauncherAppsProfileTest
Test: atest android.devicepolicy.cts.LauncherAppsTests
Change-Id: I3cced4668d1cc4488665c928e4cbe4e194c249cf
8 files changed