OSDN Git Service

DexFile: Add an API to query oat file status.
authorNarayan Kamath <narayan@google.com>
Mon, 2 May 2016 12:14:48 +0000 (13:14 +0100)
committerNarayan Kamath <narayan@google.com>
Tue, 3 May 2016 08:51:19 +0000 (09:51 +0100)
commitcd7e7f78b8e97c1f6419f3f44e0d5fdc6eddfdc6
tree5676adcc91c87176c3d78b79f2f5b8583537bfb2
parentdcb95ccfa4e3e6acc299e8f8ce9964e5f62490ac
DexFile: Add an API to query oat file status.

Adds DexFile.getDexFileStatus(path), which returns an opaque,
human-readable string representation of the oat file status. This
representation isn't guaranteed to be stable and can change from
release to release.

bug: 27494108

Change-Id: I5fc42225ae65eb19dcd0c619a40cf674b34fc49c
runtime/native/dalvik_system_DexFile.cc
runtime/oat_file_assistant.cc
runtime/oat_file_assistant.h