/system/apex/apexd/ |
D | apex_database.h | 39 std::string full_path; // Full path to the apex file. member 51 MountedApexData(const std::string& loop_name, const std::string& full_path, 57 full_path(full_path), in loop_name() 70 compare_val = full_path.compare(rhs.full_path); 120 const std::string& full_path, 132 if (pkg_it->first.full_path == full_path && 141 const std::string& full_path) in SetLatest() argument 144 SetLatestLocked(package, full_path); in SetLatest() 148 const std::string& full_path) in SetLatestLocked() argument 156 if (pkg_it->first.full_path == full_path) { in SetLatestLocked() [all …]
|
D | apex_database.cpp | 178 apex_data->full_path = backing_files[0]; in PopulateLoopInfo() 187 std::string_view full_path = apex_data->full_path; in NormalizeIfDeleted() local 188 if (ConsumeSuffix(&full_path, "(deleted)")) { in NormalizeIfDeleted() 190 auto it = full_path.rbegin(); in NormalizeIfDeleted() 191 while (it != full_path.rend() && isspace(*it)) { in NormalizeIfDeleted() 194 full_path.remove_suffix(it - full_path.rbegin()); in NormalizeIfDeleted() 198 apex_data->full_path = full_path; in NormalizeIfDeleted() 300 SetLatestLocked(package, mount_data->full_path); in PopulateFromMounts() 304 << mount_data->full_path; in PopulateFromMounts()
|
D | apex_database_test.cpp | 105 const std::string& loop_name, const std::string& full_path, in Contains() argument 111 if (package == p && loop_name == d.loop_name && full_path == d.full_path && in Contains() 121 const std::string& loop_name, const std::string& full_path, in ContainsPackage() argument 127 if (loop_name == d.loop_name && full_path == d.full_path && in ContainsPackage() 223 ASSERT_EQ(ret->full_path, std::string(kPath)); in TEST()
|
D | apexd_test.cpp | 990 ASSERT_EQ(data.full_path, ret->GetPath()); in TEST_F() 1031 ASSERT_EQ(data.full_path, ret->GetPath()); in TEST_F() 1079 ASSERT_EQ(data.full_path, ret->GetPath()); in TEST_F() 1132 ASSERT_EQ(data.full_path, ret->GetPath()); in TEST_F() 1180 ASSERT_EQ(data.full_path, ret->GetPath()); in TEST_F() 1224 ASSERT_EQ(data.full_path, file_path); in TEST_F() 1268 ASSERT_EQ(data.full_path, file_path); in TEST_F() 1914 ASSERT_EQ(data.full_path, decompressed_apex); in TEST_F() 1993 ASSERT_EQ(data.full_path, decompressed_active_apex); in TEST_F() 2041 ASSERT_EQ(data.full_path, decompressed_active_apex); in TEST_F() [all …]
|
D | apexd.cpp | 461 const std::string& full_path = apex.GetPath(); in MountPackageImpl() local 469 full_path, apex.GetImageOffset().value(), apex.GetImageSize().value()); in MountPackageImpl() 475 return Error() << "Could not create loop device for " << full_path << ": " in MountPackageImpl() 490 return Error() << "Failed to verify Apex Verity data for " << full_path in MountPackageImpl() 529 return Error() << "Failed to create Apex Verity device " << full_path in MountPackageImpl() 563 LOG(INFO) << "Successfully mounted package " << full_path << " on " in MountPackageImpl() 570 return Error() << "Failed to verify " << full_path << ": " in MountPackageImpl() 581 return ErrnoError() << "Mounting failed for package " << full_path; in MountPackageImpl() 621 LOG(DEBUG) << "Unmounting " << data.full_path << " from mount point " in Unmount() 1005 if (d.full_path == apex.GetPath()) { in UnmountPackage() [all …]
|
D | apexd.h | 95 android::base::Result<void> ActivatePackage(const std::string& full_path) 97 android::base::Result<void> DeactivatePackage(const std::string& full_path)
|
D | apexservice_test.cpp | 1195 ASSERT_EQ(installer_->test_installed_file, mounted_apex->full_path); in TEST_F() 1317 ASSERT_EQ(installer_->test_installed_file, mounted_apex->full_path); in TEST_F()
|
/system/core/fs_mgr/libsnapshot/ |
D | estimate_cow_from_nonab_ota.cpp | 109 auto full_path = path_ + "/" + path; in HasFile() local 110 return access(full_path.c_str(), F_OK) == 0; in HasFile() 115 auto full_path = path_ + "/" + path; in OpenFile() local 116 unique_fd fd(open(full_path.c_str(), O_RDONLY)); in OpenFile() 118 PLOG(ERROR) << "open failed: " << full_path; in OpenFile()
|
D | snapshot.cpp | 3747 std::string full_path; in DeleteDeviceIfExists() local 3748 if (!dm.GetDmDevicePathByName(name, &full_path)) { in DeleteDeviceIfExists() 3754 std::string block_name = android::base::Basename(full_path); in DeleteDeviceIfExists() 3783 LOG(ERROR) << "Block device was lazily unmounted and is still in-use: " << full_path in DeleteDeviceIfExists() 3789 LOG(ERROR) << "Device-mapper device " << name << "(" << full_path << ")" in DeleteDeviceIfExists()
|
/system/core/fs_mgr/libfs_avb/ |
D | util.cpp | 139 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()
|
/system/apex/tools/ |
D | deapexer.py | 56 def full_path(self): member in ApexImageEntry 234 res += e.full_path
|
/system/extras/simpleperf/ |
D | tracing.cpp | 98 std::string full_path = tracefs_dir + path; in ReadTraceFsFile() local 99 if (!android::base::ReadFileToString(full_path, content)) { in ReadTraceFsFile() 101 PLOG(ERROR) << "failed to read " << full_path; in ReadTraceFsFile()
|
/system/core/init/ |
D | first_stage_mount.cpp | 481 std::string full_path = StringPrintf("%s/%s", avb_key_dir, de->d_name); in PreloadAvbKeys() local 482 key_paths.emplace_back(std::move(full_path)); in PreloadAvbKeys()
|