Add logic to flatten profile info

The flattening operation will extract all methods and classes from a
set of dex files in a list.

This is a pre-step for adding boot image profile generation option in
profman.

Test: gtest
Bug: 152574358
Change-Id: I35249d719bafc4550016c48a53503e86258874a1
3 files changed