Home
last modified time | relevance | path

Searched refs:assetDir (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/native/android/
Dasset_manager.cpp104 const char* AAssetDir_getNextFileName(AAssetDir* assetDir) in AAssetDir_getNextFileName() argument
107 size_t index = assetDir->mCurFileIndex; in AAssetDir_getNextFileName()
108 const size_t max = assetDir->mAssetDir->getFileCount(); in AAssetDir_getNextFileName()
113 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) { in AAssetDir_getNextFileName()
120 assetDir->mCachedFileName = assetDir->mAssetDir->getFileName(index); in AAssetDir_getNextFileName()
121 returnName = assetDir->mCachedFileName.string(); in AAssetDir_getNextFileName()
125 assetDir->mCurFileIndex = index; in AAssetDir_getNextFileName()
129 void AAssetDir_rewind(AAssetDir* assetDir) in AAssetDir_rewind() argument
131 assetDir->mCurFileIndex = 0; in AAssetDir_rewind()
134 const char* AAssetDir_getFileName(AAssetDir* assetDir, int index) in AAssetDir_getFileName() argument
[all …]
/frameworks/native/include/android/
Dasset_manager.h114 const char* AAssetDir_getNextFileName(AAssetDir* assetDir);
119 void AAssetDir_rewind(AAssetDir* assetDir);
124 void AAssetDir_close(AAssetDir* assetDir);
/frameworks/base/tools/aapt/
DAaptAssets.cpp1067 const char* assetDir = bundle->getFileSpecEntry(arg); in slurpFromArgs() local
1069 FileType type = getFileType(assetDir); in slurpFromArgs()
1071 fprintf(stderr, "ERROR: input directory '%s' does not exist\n", assetDir); in slurpFromArgs()
1075 fprintf(stderr, "ERROR: '%s' is not a directory\n", assetDir); in slurpFromArgs()
1079 String8 assetRoot(assetDir); in slurpFromArgs()
1082 printf("Processing raw dir '%s'\n", (const char*) assetDir); in slurpFromArgs()
1099 count, (count==1) ? "" : "s", assetDir); in slurpFromArgs()