Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dasset_manager.cpp126 const char* AAssetDir_getNextFileName(AAssetDir* assetDir) in AAssetDir_getNextFileName() argument
129 size_t index = assetDir->mCurFileIndex; in AAssetDir_getNextFileName()
130 const size_t max = assetDir->mAssetDir->getFileCount(); in AAssetDir_getNextFileName()
135 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) { in AAssetDir_getNextFileName()
142 assetDir->mCachedFileName = assetDir->mAssetDir->getFileName(index); in AAssetDir_getNextFileName()
143 returnName = assetDir->mCachedFileName.string(); in AAssetDir_getNextFileName()
147 assetDir->mCurFileIndex = index; in AAssetDir_getNextFileName()
151 void AAssetDir_rewind(AAssetDir* assetDir) in AAssetDir_rewind() argument
153 assetDir->mCurFileIndex = 0; in AAssetDir_rewind()
156 const char* AAssetDir_getFileName(AAssetDir* assetDir, int index) in AAssetDir_getFileName() argument
[all …]
/frameworks/native/include/android/
Dasset_manager.h69 const char* AAssetDir_getNextFileName(AAssetDir* assetDir);
74 void AAssetDir_rewind(AAssetDir* assetDir);
79 void AAssetDir_close(AAssetDir* assetDir);
/frameworks/base/tools/aapt/
DAaptAssets.cpp1090 const char* assetDir = bundle->getFileSpecEntry(arg); in slurpFromArgs() local
1092 FileType type = getFileType(assetDir); in slurpFromArgs()
1094 fprintf(stderr, "ERROR: input directory '%s' does not exist\n", assetDir); in slurpFromArgs()
1098 fprintf(stderr, "ERROR: '%s' is not a directory\n", assetDir); in slurpFromArgs()
1102 String8 assetRoot(assetDir); in slurpFromArgs()
1105 printf("Processing raw dir '%s'\n", (const char*) assetDir); in slurpFromArgs()
1122 count, (count==1) ? "" : "s", assetDir); in slurpFromArgs()