Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapex_database.h35 std::string full_path; // Full path to the apex file. member
45 MountedApexData(const std::string& loop_name, const std::string& full_path, in MountedApexData()
50 full_path(full_path), in MountedApexData()
62 compare_val = full_path.compare(rhs.full_path);
137 const std::string& full_path) { in RemoveMountedApex() argument
146 if (pkg_it->first.full_path == full_path) { in RemoveMountedApex()
154 const std::string& full_path) { in SetLatest() argument
161 if (pkg_it->first.full_path == full_path) { in SetLatest()
173 LOG(FATAL) << "Did not find " << package << " " << full_path; in SetLatest()
Dapex_database.cpp168 apex_data->full_path = backing_files[0]; in PopulateLoopInfo()
177 std::string_view full_path = apex_data->full_path; in NormalizeIfDeleted() local
178 if (ConsumeSuffix(&full_path, "(deleted)")) { in NormalizeIfDeleted()
180 auto it = full_path.rbegin(); in NormalizeIfDeleted()
181 while (it != full_path.rend() && isspace(*it)) { in NormalizeIfDeleted()
184 full_path.remove_suffix(it - full_path.rbegin()); in NormalizeIfDeleted()
188 apex_data->full_path = full_path; in NormalizeIfDeleted()
278 SetLatest(package, mountData->full_path); in PopulateFromMounts()
282 << mountData->full_path; in PopulateFromMounts()
Dapex_database_test.cpp105 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()
Dapexd.cpp391 const std::string& full_path = apex.GetPath(); in MountPackageImpl() local
396 full_path, apex.GetImageOffset(), apex.GetImageSize()); in MountPackageImpl()
402 return Error() << "Could not create loop device for " << full_path << ": " in MountPackageImpl()
410 return Error() << "Failed to verify Apex Verity data for " << full_path in MountPackageImpl()
422 const bool mountOnVerity = !isPathForBuiltinApexes(full_path); in MountPackageImpl()
446 return Error() << "Failed to create Apex Verity device " << full_path in MountPackageImpl()
475 LOG(INFO) << "Successfully mounted package " << full_path << " on " in MountPackageImpl()
482 return Error() << "Failed to verify " << full_path << ": " in MountPackageImpl()
493 return ErrnoError() << "Mounting failed for package " << full_path; in MountPackageImpl()
527 LOG(DEBUG) << "Unmounting " << data.full_path << " from mount point " in Unmount()
[all …]
Dapexd.h64 android::base::Result<void> activatePackage(const std::string& full_path)
66 android::base::Result<void> deactivatePackage(const std::string& full_path)
Dapexd_prepostinstall.cpp88 LOG(ERROR) << "Failed to unmount " << mount.full_path << " from " in StageFnInstall()
Dapexservice_test.cpp1160 ASSERT_EQ(installer_->test_installed_file, mounted_apex->full_path); in TEST_F()
1281 ASSERT_EQ(installer_->test_installed_file, mounted_apex->full_path); in TEST_F()
/system/core/fs_mgr/libfs_avb/
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()
/system/apex/tools/
Ddeapexer.py50 def full_path(self): member in ApexImageEntry
176 print(e.size, e.full_path)
178 print(e.full_path)
/system/core/adb/
Dtest_device.py709 self.full_path = handle.name
710 self.base_name = os.path.basename(self.full_path)
714 def __init__(self, checksum, full_path): argument
716 self.full_path = full_path
717 self.base_name = posixpath.basename(self.full_path)
748 full_path = posixpath.join(in_dir, base_name)
750 device.shell(['dd', 'if=/dev/urandom', 'of={}'.format(full_path),
752 dev_md5, _ = device.shell([get_md5_prog(device), full_path])[0].split()
754 files.append(DeviceFile(dev_md5, full_path))
902 paths = [x.full_path for x in temp_files]
[all …]
/system/extras/simpleperf/
Dtracing.cpp93 std::string full_path = tracefs_dir + path; in ReadTraceFsFile() local
94 if (!android::base::ReadFileToString(full_path, content)) { in ReadTraceFsFile()
96 PLOG(ERROR) << "failed to read " << full_path; in ReadTraceFsFile()
/system/core/init/
Dfirst_stage_mount.cpp422 std::string full_path = StringPrintf("%s/%s", avb_key_dir, de->d_name); in PreloadAvbKeys() local
423 key_paths.emplace_back(std::move(full_path)); in PreloadAvbKeys()