Home
last modified time | relevance | path

Searched refs:FileType (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tools/aapt2/util/
DFiles.cpp36 FileType getFileType(const StringPiece& path) { in getFileType()
40 return FileType::kNonexistant; in getFileType()
42 return FileType::kUnknown; in getFileType()
46 return FileType::kRegular; in getFileType()
48 return FileType::kDirectory; in getFileType()
50 return FileType::kCharDev; in getFileType()
52 return FileType::kBlockDev; in getFileType()
54 return FileType::kFifo; in getFileType()
57 return FileType::kSymlink; in getFileType()
61 return FileType::kSocket; in getFileType()
[all …]
DFiles.h41 enum class FileType { enum
53 FileType getFileType(const StringPiece& path);
134 bool operator()(const std::string& filename, FileType type) const;
/frameworks/base/include/androidfw/
DAssetDir.h63 FileType getFileType(int idx) { in getFileType()
109 void set(const String8& path, FileType type) { in set()
117 FileType getFileType(void) const { return mFileType; } in getFileType()
118 void setFileType(FileType type) { mFileType = type; } in setFileType()
132 FileType mFileType; // regular, directory, etc
Dmisc.h31 typedef enum FileType { enum
41 } FileType; typedef
43 FileType getFileType(const char* fileName);
DAssetManager.h210 FileType getFileType(const char* fileName);
250 FileType type;
/frameworks/compile/mclinker/include/mcld/Support/
DFileSystem.h28 enum FileType { enum
52 explicit FileStatus(FileType v) : m_Value(v) {} in FileStatus()
54 void setType(FileType v) { m_Value = v; } in setType()
55 FileType type() const { return m_Value; } in type()
58 FileType m_Value;
/frameworks/base/tools/validatekeymaps/
DMain.cpp31 enum FileType { enum
50 static FileType getFileType(const char* filename) { in getFileType()
74 FileType fileType = getFileType(filename); in validateFile()
/frameworks/base/tools/aapt2/flatten/
DArchive.cpp37 file::FileType type = file::getFileType(mOutDir); in open()
38 if (type == file::FileType::kNonexistant) { in open()
41 } else if (type != file::FileType::kDirectory) { in open()
/frameworks/base/libs/androidfw/
Dmisc.cpp36 FileType getFileType(const char* fileName) in getFileType()
DAssetManager.cpp581 FileType AssetManager::getFileType(const char* fileName) in getFileType()
1452 FileType fileType; in scanDirLocked()
/frameworks/base/tools/aapt/
DAaptAssets.cpp100 FileType type = getFileType(fullPath); in isHidden()
703 FileType type; in slurpFullTree()
972 FileType type; in slurpFromArgs()
996 FileType type = getFileType(assetDirs[i]); in slurpFromArgs()
1068 FileType type = getFileType(assetDir); in slurpFromArgs()
1180 FileType type = getFileType(subdirName.string()); in slurpResourceTree()
DPackage.cpp72 FileType fileType = getFileType(outputFile.string()); in writeAPK()
DCommand.cpp2517 FileType type; in doPackage()
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
DLocalizeDependenciesTask.groovy19 import groovy.io.FileType
/frameworks/base/tools/aapt2/compile/
DCompile.cpp153 if (file::getFileType(prefixPath) != file::FileType::kDirectory) { in loadInputFilesFromDir()
/frameworks/base/tools/apilint/
Dapilint.py1116 parser.add_argument("current.txt", type=argparse.FileType('r'), help="current.txt")
1117 parser.add_argument("previous.txt", nargs='?', type=argparse.FileType('r'), default=None,