Ensure that apex key is used by only one APEX.

Two APEXes having differnet bundle names cannot be signed with the same
APEX key. This is prohibited both by the build system and by the apexd
at runtime.

Test APEXs and keys are updated accordingly.

Bug: 115721587
Test: m checkbuild
Test: device boots, adb shell; su; setenforce 0; cmd apexservice
getActivePackages shows the installed APEXes.
Test: atest apexservice_test apex_file_test apex_manifest_test

Change-Id: I07ed767b2dcd08f93ef98cc139d911121b016f9f
8 files changed
tree: a16f1574b118164051a227155ff397ce00a1de81
  1. apexd/
  2. apexer/
  3. testdata/
  4. Android.bp
  5. OWNERS
  6. PREUPLOAD.cfg