Lines Matching refs:String8
109 bool addAssetPath(const String8& path, int32_t* cookie,
111 bool addOverlayPath(const String8& path, int32_t* cookie);
132 String8 getAssetPath(const int32_t cookie) const;
235 void getLocales(Vector<String8>* locales, bool includeSystemLocales=true) const;
249 String8 path;
251 String8 idmap;
262 String8 createPathNameLocked(const asset_path& path, const char* locale,
264 String8 createPathNameLocked(const asset_path& path, const char* rootDir);
265 String8 createZipSourceNameLocked(const String8& zipFileName,
266 const String8& dirName, const String8& fileName);
269 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode);
271 const ZipEntryRO entry, AccessMode mode, const String8& entryName);
275 SortedVector<AssetDir::FileInfo>* scanDirLocked(const String8& path);
297 void addSystemOverlays(const char* pathOverlaysList, const String8& targetPackagePath,
302 static sp<SharedZip> get(const String8& path, bool createIfNotPresent = true);
321 SharedZip(const String8& path, time_t modWhen);
324 String8 mPath;
334 static DefaultKeyedVector<String8, wp<SharedZip> > gOpen;
353 ZipFileRO* getZip(const String8& path);
355 Asset* getZipResourceTableAsset(const String8& path);
356 Asset* setZipResourceTableAsset(const String8& path, Asset* asset);
358 ResTable* getZipResourceTable(const String8& path);
359 ResTable* setZipResourceTable(const String8& path, ResTable* res);
362 static String8 getPathName(const char* path);
366 void addOverlay(const String8& path, const asset_path& overlay);
367 bool getOverlay(const String8& path, size_t idx, asset_path* out) const;
372 int getIndex(const String8& zip) const;
373 mutable Vector<String8> mZipPath;