Home
last modified time | relevance | path

Searched refs:full_path (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/io/
DFileSystem.cpp100 std::string full_path = prefix_path; in Create() local
101 file::AppendPath(&full_path, leaf_entry->d_name); in Create()
104 if (file::GetFileType(full_path) == file::FileType::kDirectory in Create()
105 || file::IsHidden(full_path)) { in Create()
109 sorted_files.push_back(full_path); in Create()
114 for (const std::string& full_path : sorted_files) { in Create() local
115 collection->InsertFile(full_path); in Create()
/frameworks/base/tools/aapt2/test/
DFixture.cpp55 std::string full_path = file::BuildPath({root_dir, entry->d_name}); in ClearDirectory() local
56 if (file::GetFileType(full_path) == file::FileType::kDirectory) { in ClearDirectory()
57 ClearDirectory(full_path); in ClearDirectory()
59 _rmdir(full_path.c_str()); in ClearDirectory()
61 rmdir(full_path.c_str()); in ClearDirectory()
64 android::base::utf8::unlink(full_path.c_str()); in ClearDirectory()
/frameworks/base/tools/aapt2/format/
DArchive.cpp61 std::string full_path = dir_; in StartEntry() local
62 file::AppendPath(&full_path, path); in StartEntry()
63 file::mkdirs(file::GetStem(full_path).to_string()); in StartEntry()
65 file_ = {::android::base::utf8::fopen(full_path.c_str(), "wb"), fclose}; in StartEntry()
/frameworks/base/tools/aapt2/util/
DFiles.cpp364 std::string full_path = root_dir; in FindFiles() local
365 AppendPath(&full_path, file_name); in FindFiles()
366 const FileType file_type = GetFileType(full_path); in FindFiles()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp1561 std::string full_path = assets_dir; in CopyAssetsDirsToApk() local
1562 file::AppendPath(&full_path, file); in CopyAssetsDirsToApk()
1567 util::make_unique<io::RegularFile>(Source(std::move(full_path)))); in CopyAssetsDirsToApk()
1570 << "asset file overrides '" << full_path << "'"); in CopyAssetsDirsToApk()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp492 std::string full_path = "assets/" + dirname; in OpenDir() local
511 if (!apk_assets->GetAssetsProvider()->ForEachFile(full_path, func)) { in OpenDir()