Merge changes I646640c3,I3f464c55 into main

* changes:
  simpleperf: Add test for reading dex files in memory
  simpleperf: Support DEX files in memory