Allow the use of filenames when traking code paths for profiling

The dex location for an app can be set either to be its full path or just
the filename of its apk. Make sure we include all possible locations when
tracking for profiling.

Apps + system server have filenames.
Boot classpath elements have full paths.

This is a temporary workaround for using filanames as dex locations -
needed to prebuilt with a partial boot image (commit:
c4a924d8c74241057d957d360bf31cd5cd0e4f9c). We should find a better way
which allows us to do the tracking based on full paths.

Bug: 122360294
Test: m test-art-host
Change-Id: Ibcdbab032cd27dd610f41300a1bfc166ec0fa3e0
1 file changed