Home
last modified time | relevance | path

Searched refs:assetDir (Results 1 – 5 of 5) 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.h107 const char* AAssetDir_getNextFileName(AAssetDir* assetDir);
112 void AAssetDir_rewind(AAssetDir* assetDir);
117 void AAssetDir_close(AAssetDir* assetDir);
/frameworks/base/tools/aapt/
DAaptAssets.cpp1066 const char* assetDir = bundle->getFileSpecEntry(arg); in slurpFromArgs() local
1068 FileType type = getFileType(assetDir); in slurpFromArgs()
1070 fprintf(stderr, "ERROR: input directory '%s' does not exist\n", assetDir); in slurpFromArgs()
1074 fprintf(stderr, "ERROR: '%s' is not a directory\n", assetDir); in slurpFromArgs()
1078 String8 assetRoot(assetDir); in slurpFromArgs()
1081 printf("Processing raw dir '%s'\n", (const char*) assetDir); in slurpFromArgs()
1098 count, (count==1) ? "" : "s", assetDir); in slurpFromArgs()
/frameworks/base/docs/html/ndk/reference/
Dasset__manager_8h.jd44 …el" href="group___asset.html#ga001a6b9c36a06ee977b9f51ed7103cdb">AAssetDir</a> *assetDir)</td></tr>
46 …el" href="group___asset.html#ga001a6b9c36a06ee977b9f51ed7103cdb">AAssetDir</a> *assetDir)</td></tr>
48 …el" href="group___asset.html#ga001a6b9c36a06ee977b9f51ed7103cdb">AAssetDir</a> *assetDir)</td></tr>
Dgroup___asset.jd48 …el" href="group___asset.html#ga001a6b9c36a06ee977b9f51ed7103cdb">AAssetDir</a> *assetDir)</td></tr>
50 …el" href="group___asset.html#ga001a6b9c36a06ee977b9f51ed7103cdb">AAssetDir</a> *assetDir)</td></tr>
52 …el" href="group___asset.html#ga001a6b9c36a06ee977b9f51ed7103cdb">AAssetDir</a> *assetDir)</td></tr>
457 <td class="paramname"><em>assetDir</em></td><td>)</td>
474 <td class="paramname"><em>assetDir</em></td><td>)</td>
493 <td class="paramname"><em>assetDir</em></td><td>)</td>