summaryrefslogtreecommitdiffstats
path: root/runtime/oat_file.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-10-03 15:46:12 -0700
committerBrian Carlstrom <bdc@google.com>2013-10-03 18:14:18 -0700
commit756ee4e090bc1e1812b41fb7b4661df601a32ef9 (patch)
treeb456ca4a582d5e75d20b418ab4c27ed56b46f40d /runtime/oat_file.h
parenteeb9888421b696990f45b89286ad9d0908c70a69 (diff)
downloadart-756ee4e090bc1e1812b41fb7b4661df601a32ef9.tar.gz
art-756ee4e090bc1e1812b41fb7b4661df601a32ef9.tar.bz2
art-756ee4e090bc1e1812b41fb7b4661df601a32ef9.zip
Find OatDexFile by DexFile name and checksum, not just checksum
Bug: 10614658 Change-Id: Ie0b5a34fd396b6299000c37909108c5e7e6ab80f
Diffstat (limited to 'runtime/oat_file.h')
-rw-r--r--runtime/oat_file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/oat_file.h b/runtime/oat_file.h
index bbd2615b66..270976f030 100644
--- a/runtime/oat_file.h
+++ b/runtime/oat_file.h
@@ -204,7 +204,8 @@ class OatFile {
DISALLOW_COPY_AND_ASSIGN(OatDexFile);
};
- const OatDexFile* GetOatDexFile(const std::string& dex_file_location,
+ const OatDexFile* GetOatDexFile(const std::string& dex_location,
+ const uint32_t* const dex_location_checksum,
bool exception_if_not_found = true) const
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
std::vector<const OatDexFile*> GetOatDexFiles() const;