Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/aapt2/io/
H A DFileSystem.cpp99 std::string full_path = prefix_path; in Create() local
100 file::AppendPath(&full_path, leaf_entry->d_name); in Create()
103 if (file::GetFileType(full_path) == file::FileType::kDirectory in Create()
104 || file::IsHidden(full_path)) { in Create()
108 sorted_files.push_back(full_path); in Create()
113 for (const std::string& full_path : sorted_files) { in Create() local
114 collection->InsertFile(full_path); in Create()
/aosp14/frameworks/base/tools/aapt2/test/
H A DFixture.cpp56 std::string full_path = file::BuildPath({root_dir, entry->d_name}); in ClearDirectory() local
57 if (file::GetFileType(full_path) == file::FileType::kDirectory) { in ClearDirectory()
58 ClearDirectory(full_path); in ClearDirectory()
60 _rmdir(full_path.c_str()); in ClearDirectory()
62 rmdir(full_path.c_str()); in ClearDirectory()
65 android::base::utf8::unlink(full_path.c_str()); in ClearDirectory()
/aosp14/frameworks/base/tools/aapt2/format/
H A DArchive.cpp61 std::string full_path = dir_; in StartEntry() local
62 file::AppendPath(&full_path, path); in StartEntry()
63 file::mkdirs(std::string(file::GetStem(full_path))); in StartEntry()
65 file_ = {::android::base::utf8::fopen(full_path.c_str(), "wb"), fclose}; in StartEntry()
/aosp14/system/core/fs_mgr/libfs_avb/
H A Dutil.cpp139 std::string full_path = android::base::StringPrintf("%s/%s", dir.c_str(), de->d_name); in ListFiles() local
140 files.emplace_back(std::move(full_path)); in ListFiles()
/aosp14/frameworks/base/tools/aapt2/util/
H A 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()
/aosp14/system/core/init/
H A Dfirst_stage_mount.cpp468 std::string full_path = StringPrintf("%s/%s", avb_key_dir, de->d_name); in PreloadAvbKeys() local
469 key_paths.emplace_back(std::move(full_path)); in PreloadAvbKeys()
/aosp14/frameworks/base/tools/aapt2/cmd/
H A DLink.cpp1684 std::string full_path = assets_dir; in CopyAssetsDirsToApk() local
1685 file::AppendPath(&full_path, file); in CopyAssetsDirsToApk()
1690 android::Source(std::move(full_path)))); in CopyAssetsDirsToApk()
1693 << "asset file overrides '" << full_path << "'"); in CopyAssetsDirsToApk()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot.cpp4327 std::string full_path; in DeleteDeviceIfExists() local
4328 if (!dm_.GetDmDevicePathByName(name, &full_path)) { in DeleteDeviceIfExists()
4334 std::string block_name = android::base::Basename(full_path); in DeleteDeviceIfExists()
4363 LOG(ERROR) << "Block device was lazily unmounted and is still in-use: " << full_path in DeleteDeviceIfExists()
4369 LOG(ERROR) << "Device-mapper device " << name << "(" << full_path << ")" in DeleteDeviceIfExists()
/aosp14/frameworks/base/libs/androidfw/
H A DAssetManager2.cpp541 std::string full_path = "assets/" + dirname; in OpenDir() local
559 if (!apk_assets->GetAssetsProvider()->ForEachFile(full_path, func)) { in OpenDir()