Add getActivePackages binder method.

For now, this goes through the mounted directories and parses the
package name and version. This will change once we have an internal
database.

Test: on device
Bug: 117589375
Change-Id: If0abb44718ece39580e812560a95dfe90f2a7d45
7 files changed
tree: 9881f818294756c9f55c35fdfe50837b1ed9281d
  1. apexd/
  2. apexer/
  3. testdata/
  4. Android.bp
  5. OWNERS
  6. PREUPLOAD.cfg