OSDN Git Service

Remove OatFileAssistant IsOutOfDate, IsUpToDate, and NeedsRelocation.
authorRichard Uhler <ruhler@google.com>
Tue, 8 Nov 2016 16:23:07 +0000 (16:23 +0000)
committerRichard Uhler <ruhler@google.com>
Thu, 24 Nov 2016 07:54:03 +0000 (07:54 +0000)
commit3e580bc9b248586fa5d87db2098fa5c5abb7afc1
treec87d2bd3929b7d38dce320417013b3c932e25352
parent70a8426705571e84d83a060ae6abeb6d04cd2a17
Remove OatFileAssistant IsOutOfDate, IsUpToDate, and NeedsRelocation.

Relatively recent design changes made these functions equivalent to
the Status function. Prefer to use the Status function instead to
simplify the OatFileAssistant API, especially in preparation for
expanding the number of possible Status results.

Bug: 30937355
Test: oat_file_assistant_test

Change-Id: Idfd594729210257f693f03ca823a8d54e74034c5
runtime/oat_file_assistant.cc
runtime/oat_file_assistant.h
runtime/oat_file_assistant_test.cc