diff options
author | Kenny Root <kroot@google.com> | 2011-04-12 12:51:08 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2011-04-12 12:51:08 -0700 |
commit | 461fa8b05dfb4fd334980365e27002a7520e866e (patch) | |
tree | 19238dece6998ee2121503d18b4548163e9e2704 /include/utils/AssetManager.h | |
parent | d3a6956a6d69d7399931c403cd31cb0236278fc6 (diff) | |
parent | 18490fb93e206fd899c3258096cc32f293373c92 (diff) | |
download | frameworks_base-461fa8b05dfb4fd334980365e27002a7520e866e.zip frameworks_base-461fa8b05dfb4fd334980365e27002a7520e866e.tar.gz frameworks_base-461fa8b05dfb4fd334980365e27002a7520e866e.tar.bz2 |
resolved conflicts for merge of 18490fb9 to master
Change-Id: I6c68e6fb0f9c1182a955689bbffc161a8f30bd37
Diffstat (limited to 'include/utils/AssetManager.h')
-rw-r--r-- | include/utils/AssetManager.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/utils/AssetManager.h b/include/utils/AssetManager.h index 9e2bf37..a8c7ddb 100644 --- a/include/utils/AssetManager.h +++ b/include/utils/AssetManager.h @@ -222,6 +222,7 @@ private: { String8 path; FileType type; + String8 idmap; }; Asset* openInPathLocked(const char* fileName, AccessMode mode, @@ -262,6 +263,16 @@ private: void setLocaleLocked(const char* locale); void updateResourceParamsLocked() const; + bool createIdmapFileLocked(const String8& originalPath, const String8& overlayPath, + const String8& idmapPath); + + bool isIdmapStaleLocked(const String8& originalPath, const String8& overlayPath, + const String8& idmapPath); + + Asset* openIdmapLocked(const struct asset_path& ap) const; + + bool getZipEntryCrcLocked(const String8& zipPath, const char* entryFilename, uint32_t* pCrc); + class SharedZip : public RefBase { public: static sp<SharedZip> get(const String8& path); |