Lines Matching refs:String8
94 bool addAssetPath(const String8& path, int32_t* cookie,
96 bool addOverlayPath(const String8& path, int32_t* cookie);
109 bool addAssetFd(int fd, const String8& debugPathName, int32_t* cookie,
131 String8 getAssetPath(const int32_t cookie) const;
206 void getLocales(Vector<String8>* locales, bool includeSystemLocales=true) const;
222 String8 path;
225 String8 idmap;
234 String8 createPathNameLocked(const asset_path& path, const char* rootDir);
235 String8 createZipSourceNameLocked(const String8& zipFileName,
236 const String8& dirName, const String8& fileName);
239 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode);
241 const ZipEntryRO entry, AccessMode mode, const String8& entryName);
245 SortedVector<AssetDir::FileInfo>* scanDirLocked(const String8& path);
258 void addSystemOverlays(const char* pathOverlaysList, const String8& targetPackagePath,
263 static sp<SharedZip> get(const String8& path, bool createIfNotPresent = true);
264 static sp<SharedZip> create(int fd, const String8& path);
283 SharedZip(const String8& path, ModDate modWhen);
284 SharedZip(int fd, const String8& path);
287 String8 mPath;
297 static DefaultKeyedVector<String8, wp<SharedZip> > gOpen;
316 ZipFileRO* getZip(const String8& path);
318 const sp<SharedZip> getSharedZip(const String8& path);
320 Asset* getZipResourceTableAsset(const String8& path);
321 Asset* setZipResourceTableAsset(const String8& path, Asset* asset);
323 ResTable* getZipResourceTable(const String8& path);
324 ResTable* setZipResourceTable(const String8& path, ResTable* res);
327 static String8 getPathName(const char* path);
331 void addOverlay(const String8& path, const asset_path& overlay);
332 bool getOverlay(const String8& path, size_t idx, asset_path* out) const;
337 int getIndex(const String8& zip) const;
338 mutable Vector<String8> mZipPath;