Merge "Add QUERY_ALL_PACKAGES to net integration tests" am: 8acce32060 am: d291190b8c

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684407

Change-Id: I0eaf25ee34cea6dd9c5c20dcfd1c57f41c74a46c