Add profman option to generate a random profile based on dex files.

Extends --generate-test-profile to make a randomized profile based on a
set of dex files. Will randomly incorporate classes and methods from all
the dex files given. Can be given a random seed for reproducibility.

Bug: 36107940
Test: mm test-art-host-gtest-profile_assistant_test

(cherry-picked from commit f0a31f865c3b3e5843ddd52f015c70293b54b4e4)

Change-Id: I850350f465363773e608ba1562db53c1f306a123
4 files changed