Lines Matching defs:cookie
174 const String8& path, int32_t* cookie, bool appAsLib, bool isSystemAsset) {
199 if (cookie) {
200 *cookie = static_cast<int32_t>(i+1);
213 if (cookie) {
214 *cookie = static_cast<int32_t>(mAssetPaths.size());
233 bool AssetManager::addOverlayPath(const String8& packagePath, int32_t* cookie)
241 *cookie = static_cast<int32_t>(i + 1);
289 *cookie = static_cast<int32_t>(mAssetPaths.size());
299 int fd, const String8& debugPathName, int32_t* cookie, bool appAsLib,
315 if (cookie) {
316 *cookie = static_cast<int32_t>(mAssetPaths.size());
372 int32_t AssetManager::nextAssetPath(const int32_t cookie) const
375 const size_t next = static_cast<size_t>(cookie) + 1;
379 String8 AssetManager::getAssetPath(const int32_t cookie) const
382 const size_t which = static_cast<size_t>(cookie) - 1;
490 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode)
492 const size_t which = static_cast<size_t>(cookie) - 1;
1021 AssetDir* AssetManager::openNonAssetDir(const int32_t cookie, const char* dirName)
1037 const size_t which = static_cast<size_t>(cookie) - 1;