ApexFile and ApexManifest share the lifecycle

ApexManifest becomes a member of ApexFile. ApexManifest is parsed when
ApexFile is opened. Also this change removes unique_ptr from the two
classes. ApexFile::Open returns StatusOr<ApexFile> instead of
StatusOr<unique_ptr<ApexFile>>, which requested us to do the
double-dereferencing to use the ApexFile object.

Test: atest apexservice_test

Change-Id: Ic1eb685a4f920191bb4816e0c3f1efc9cc6e2d38
7 files changed
tree: 5d1e3a6fc3c7a172f7dfa2e89c9b87d621704925
  1. apexd/
  2. apexer/
  3. testdata/
  4. Android.bp
  5. OWNERS
  6. PREUPLOAD.cfg