/frameworks/base/tools/aapt2/util/ |
D | Files.cpp | 50 FileType GetFileType(const std::string& path) { in GetFileType() 53 return FileType::kNonexistant; in GetFileType() 58 return FileType::kNonexistant; in GetFileType() 62 return FileType::kDirectory; in GetFileType() 66 return FileType::kRegular; in GetFileType() 69 FileType GetFileType(const std::string& path) { 75 return FileType::kNonexistant; 77 return FileType::kUnknown; 81 return FileType::kRegular; 83 return FileType::kDirectory; [all …]
|
D | Files.h | 44 enum class FileType { enum 56 FileType GetFileType(const std::string& path); 116 bool operator()(const std::string& filename, FileType type) const;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetDir.h | 63 FileType getFileType(int idx) { in getFileType() 110 void set(const String8& path, FileType type) { in set() 118 FileType getFileType(void) const { return mFileType; } in getFileType() 119 void setFileType(FileType type) { mFileType = type; } in setFileType() 133 FileType mFileType; // regular, directory, etc
|
D | misc.h | 31 typedef enum FileType { enum 41 } FileType; typedef 43 FileType getFileType(const char* fileName);
|
D | AssetManager.h | 188 FileType getFileType(const char* fileName); 224 FileType type;
|
D | ApkAssets.h | 52 const std::function<void(const StringPiece&, FileType)>& /* f */) const { in ForEachFile() argument
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | FileSystem.h | 28 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/ |
D | Main.cpp | 32 enum FileType { enum 68 static FileType getFileType(const char* filename) { in getFileType() 92 FileType fileType = getFileType(filename); in validateFile()
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | buildStrategiesStructureFile.py | 51 type=argparse.FileType('r'), 56 type=argparse.FileType('r'), 61 type=argparse.FileType('w'),
|
D | buildPolicyCriterionTypes.py | 56 type=argparse.FileType('r'), 61 type=argparse.FileType('r'), 70 type=argparse.FileType('r'), 75 type=argparse.FileType('w'),
|
D | buildCommonTypesStructureFile.py | 34 type=argparse.FileType('r'), 39 type=argparse.FileType('r'), 44 type=argparse.FileType('w'),
|
D | domainGeneratorPolicy.py | 59 type=argparse.FileType('r'), 69 type=argparse.FileType('r'), 87 type=argparse.FileType('r'),
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/protos/ |
D | DeviceFiles.proto | 29 enum FileType { enum 37 optional FileType type = 1;
|
/frameworks/base/tools/aapt2/format/ |
D | Archive.cpp | 45 file::FileType type = file::GetFileType(dir_); in Open() 46 if (type == file::FileType::kNonexistant) { in Open() 49 } else if (type != file::FileType::kDirectory) { in Open()
|
/frameworks/base/tools/aapt2/io/ |
D | FileSystem.cpp | 88 if (file::GetFileType(prefix_path) != file::FileType::kDirectory in Create() 104 if (file::GetFileType(full_path) == file::FileType::kDirectory in Create()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Compile.cpp | 340 const file::FileType file_type = file::GetFileType(input_path); in IsValidFile() 341 if (file_type != file::FileType::kRegular && file_type != file::FileType::kSymlink) { in IsValidFile() 342 if (file_type == file::FileType::kDirectory) { in IsValidFile() 345 } else if (file_type == file::FileType::kNonexistant) { in IsValidFile() 793 file::FileType output_file_type = file::GetFileType(options_.output_path); in Action() 794 if (output_file_type == file::FileType::kDirectory) { in Action()
|
/frameworks/base/libs/androidfw/ |
D | misc.cpp | 36 FileType getFileType(const char* fileName) in getFileType()
|
D | ApkAssets.cpp | 96 const std::function<void(const StringPiece&, FileType)>& f) const override { in ForEachFile() 309 const std::function<void(const StringPiece&, FileType)>& f) const override { in ForEachFile()
|
D | AssetManager.cpp | 520 FileType AssetManager::getFileType(const char* fileName) in getFileType() 1151 FileType fileType; in scanDirLocked()
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 104 android::FileType) { in CompileApkAssetsLayouts() argument 108 android::FileType) { in CompileApkAssetsLayouts() argument
|
/frameworks/base/tools/hiddenapi/ |
D | merge_csv.py | 31 default='-', type=argparse.FileType('w'))
|
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_test.cpp | 622 EXPECT_THAT(asset_dir->getFileType(0), Eq(FileType::kFileTypeRegular)); in TEST_F() 625 EXPECT_THAT(asset_dir->getFileType(1), Eq(FileType::kFileTypeDirectory)); in TEST_F() 632 EXPECT_THAT(asset_dir->getFileType(0), Eq(FileType::kFileTypeRegular)); in TEST_F() 644 EXPECT_THAT(asset_dir->getFileType(0), Eq(FileType::kFileTypeRegular)); in TEST_F() 647 EXPECT_THAT(asset_dir->getFileType(1), Eq(FileType::kFileTypeRegular)); in TEST_F() 650 EXPECT_THAT(asset_dir->getFileType(2), Eq(FileType::kFileTypeDirectory)); in TEST_F()
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.cpp | 100 FileType type = getFileType(fullPath); in isHidden() 704 FileType type; in slurpFullTree() 973 FileType type; in slurpFromArgs() 997 FileType type = getFileType(assetDirs[i]); in slurpFromArgs() 1069 FileType type = getFileType(assetDir); in slurpFromArgs() 1181 FileType type = getFileType(subdirName.string()); in slurpResourceTree()
|
D | Package.cpp | 72 FileType fileType = getFileType(outputFile.string()); in writeAPK()
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.cpp | 57 if (file::GetFileType(full_path) == file::FileType::kDirectory) { in ClearDirectory()
|