Home
last modified time | relevance | path

Searched refs:getFileType (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/androidfw/include/androidfw/
DAssetDir.h63 FileType getFileType(int idx) { in getFileType() function
64 return mFileInfo->itemAt(idx).getFileType(); in getFileType()
118 FileType getFileType(void) const { return mFileType; } in getFileType() function
Dmisc.h43 FileType getFileType(const char* fileName);
DAssetManager.h188 FileType getFileType(const char* fileName);
/frameworks/base/tools/validatekeymaps/
DMain.cpp68 static FileType getFileType(const char* filename) { in getFileType() function
92 FileType fileType = getFileType(filename); in validateFile()
/frameworks/base/libs/androidfw/
Dmisc.cpp36 FileType getFileType(const char* fileName) in getFileType() function
DAssetManager.cpp186 ap.type = ::getFileType(realPath.string()); in addAssetPath()
191 ap.type = ::getFileType(path.string()); in addAssetPath()
285 oap.type = ::getFileType(overlayPath.string()); in addOverlayPath()
520 FileType AssetManager::getFileType(const char* fileName) in getFileType() function in AssetManager
1008 pMergedInfo->itemAt(i).getFileType(), in openDir()
1057 pMergedInfo->itemAt(i).getFileType(), in openNonAssetDir()
1179 fileType = ::getFileType(path.appendPathCopy(entry->d_name).string()); in scanDirLocked()
/frameworks/base/libs/androidfw/tests/
DAssetManager2_test.cpp572 EXPECT_THAT(asset_dir->getFileType(0), Eq(FileType::kFileTypeRegular)); in TEST_F()
575 EXPECT_THAT(asset_dir->getFileType(1), Eq(FileType::kFileTypeDirectory)); in TEST_F()
582 EXPECT_THAT(asset_dir->getFileType(0), Eq(FileType::kFileTypeRegular)); in TEST_F()
594 EXPECT_THAT(asset_dir->getFileType(0), Eq(FileType::kFileTypeRegular)); in TEST_F()
597 EXPECT_THAT(asset_dir->getFileType(1), Eq(FileType::kFileTypeRegular)); in TEST_F()
600 EXPECT_THAT(asset_dir->getFileType(2), Eq(FileType::kFileTypeDirectory)); in TEST_F()
/frameworks/base/tools/aapt/
DAaptAssets.cpp100 FileType type = getFileType(fullPath); in isHidden()
707 type = getFileType(pathName.string()); in slurpFullTree()
997 FileType type = getFileType(assetDirs[i]); in slurpFromArgs()
1033 type = getFileType(res); in slurpFromArgs()
1069 FileType type = getFileType(assetDir); in slurpFromArgs()
1181 FileType type = getFileType(subdirName.string()); in slurpResourceTree()
DPackage.cpp72 FileType fileType = getFileType(outputFile.string()); in writeAPK()
DCommand.cpp2597 type = getFileType(outputAPKFile); in doPackage()
/frameworks/base/native/android/
Dasset_manager.cpp113 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) { in AAssetDir_getNextFileName()
/frameworks/base/media/java/android/media/
DMediaFile.java199 public static MediaFileType getFileType(String path) { in getFileType() method in MediaFile