summaryrefslogtreecommitdiffstats
path: root/runtime/utils.h
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2015-01-15 09:37:19 -0800
committerRichard Uhler <ruhler@google.com>2015-03-09 14:46:23 -0700
commit66d874d96d5699bb090c59f47a5a528956ca053e (patch)
treed59bf83a08fead7d9823230831bea63c9e43a62c /runtime/utils.h
parent2cfdabd2bb4833d7092819d27ef08a9e1cdffead (diff)
downloadart-66d874d96d5699bb090c59f47a5a528956ca053e.tar.gz
art-66d874d96d5699bb090c59f47a5a528956ca053e.tar.bz2
art-66d874d96d5699bb090c59f47a5a528956ca053e.zip
Create OatFileAssistant class for assisting with oat files.
The oat file assistant is used for determining whether dex2oat or patchoat is needed, for running dex2oat or patchoat as needed to make an oat file up to date, and to load dex files associated with a given dex location. The introduction of the OatFileAssistant class is meant to clean up and consolidate code related to the management of oat files that was duplicated and spread across dalvik_system_DexFile.cc and class_linker.cc. Bug: 11301553 Change-Id: I0c16027b9bae4570c2c50faa9c14f581c0cbafb8
Diffstat (limited to 'runtime/utils.h')
-rw-r--r--runtime/utils.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/utils.h b/runtime/utils.h
index 9d04d35e26..d294f4b1a1 100644
--- a/runtime/utils.h
+++ b/runtime/utils.h
@@ -516,12 +516,6 @@ std::string GetDalvikCacheFilenameOrDie(const char* file_location,
// Returns the system location for an image
std::string GetSystemImageFilename(const char* location, InstructionSet isa);
-// Returns an .odex file name adjacent to the dex location.
-// For example, for "/foo/bar/baz.jar", return "/foo/bar/<isa>/baz.odex".
-// The dex location must include a directory component and have an extension.
-// Note: does not support multidex location strings.
-std::string DexFilenameToOdexFilename(const std::string& location, InstructionSet isa);
-
// Check whether the given magic matches a known file type.
bool IsZipMagic(uint32_t magic);
bool IsDexMagic(uint32_t magic);