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.cpp78 static FileType getFileType(const char* filename) { in getFileType() function
132 FileType fileType = getFileType(filename); in validateFile()
/frameworks/base/libs/androidfw/
Dmisc.cpp41 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.cpp689 EXPECT_THAT(asset_dir->getFileType(0), Eq(FileType::kFileTypeRegular)); in TEST_F()
692 EXPECT_THAT(asset_dir->getFileType(1), Eq(FileType::kFileTypeDirectory)); in TEST_F()
699 EXPECT_THAT(asset_dir->getFileType(0), Eq(FileType::kFileTypeRegular)); in TEST_F()
711 EXPECT_THAT(asset_dir->getFileType(0), Eq(FileType::kFileTypeRegular)); in TEST_F()
714 EXPECT_THAT(asset_dir->getFileType(1), Eq(FileType::kFileTypeRegular)); in TEST_F()
717 EXPECT_THAT(asset_dir->getFileType(2), Eq(FileType::kFileTypeDirectory)); in TEST_F()
/frameworks/base/native/android/
Dasset_manager.cpp113 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) { in AAssetDir_getNextFileName()
/frameworks/base/tools/aapt/
DAaptAssets.cpp100 FileType type = getFileType(fullPath); in isHidden()
705 type = getFileType(pathName.string()); in slurpFullTree()
995 FileType type = getFileType(assetDirs[i]); in slurpFromArgs()
1031 type = getFileType(res); in slurpFromArgs()
1067 FileType type = getFileType(assetDir); in slurpFromArgs()
1179 FileType type = getFileType(subdirName.string()); in slurpResourceTree()
DPackage.cpp72 FileType fileType = getFileType(outputFile.string()); in writeAPK()
DCommand.cpp2671 type = getFileType(outputAPKFile); in doPackage()
/frameworks/base/media/java/android/media/
DMediaFile.java200 public static MediaFileType getFileType(String path) { in getFileType() method in MediaFile