Searched defs:assetDir (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/native/android/
H A Dasset_manager.cpp126 const char* AAssetDir_getNextFileName(AAssetDir* assetDir) argument
129 size_t index = assetDir->mCurFileIndex;
130 const size_t max = assetDir->mAssetDir->getFileCount();
135 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) {
142 assetDir->mCachedFileName = assetDir->mAssetDir->getFileName(index);
143 returnName = assetDir->mCachedFileName.string();
147 assetDir->mCurFileIndex = index;
151 void AAssetDir_rewind(AAssetDir* assetDir) argument
153 assetDir
156 AAssetDir_getFileName(AAssetDir* assetDir, int index) argument
162 AAssetDir_close(AAssetDir* assetDir) argument
[all...]
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp2085 const char* assetDir = bundle->getAssetSourceDir(); local
2087 FileType type = getFileType(assetDir);
2089 fprintf(stderr, "ERROR: asset directory '%s' does not exist\n", assetDir);
2093 fprintf(stderr, "ERROR: '%s' is not a directory\n", assetDir);
2097 String8 assetRoot(assetDir);
2113 count, (count==1) ? "" : "s", assetDir);
2153 const char* assetDir = bundle->getFileSpecEntry(arg); local
2155 FileType type = getFileType(assetDir);
2157 fprintf(stderr, "ERROR: input directory '%s' does not exist\n", assetDir);
2161 fprintf(stderr, "ERROR: '%s' is not a directory\n", assetDir);
[all...]

Completed in 60 milliseconds