/system/apex/apexd/ |
D | apex_database.cpp | 125 std::pair<std::string, int> parseMountPoint(const std::string& mountPoint) { in parseMountPoint() argument 126 auto packageId = fs::path(mountPoint).filename(); in parseMountPoint() 138 bool isActiveMountPoint(const std::string& mountPoint) { in isActiveMountPoint() argument 139 return (mountPoint.find('@') == std::string::npos); in isActiveMountPoint() 173 const std::string& mountPoint, in resolveMountInfo() argument 184 auto inode = inodeFor(mountPoint); in resolveMountInfo() 188 return StatusOr<MountedApexData>("", iter->second, mountPoint, ""); in resolveMountInfo() 200 mountPoint, ""); in resolveMountInfo() 219 mountPoint, *name); in resolveMountInfo() 265 auto [block, mountPoint] = parseMountInfo(line); in PopulateFromMounts() [all …]
|
D | apexd.cpp | 397 const std::string& mountPoint, in mountNonFlattened() argument 432 MountedApexData apex_data(loopbackDevice.name, apex.GetPath(), mountPoint, in mountNonFlattened() 481 if (mount(blockDevice.c_str(), mountPoint.c_str(), "ext4", in mountNonFlattened() 484 << mountPoint; in mountNonFlattened() 485 auto status = VerifyMountedImage(apex, mountPoint); in mountNonFlattened() 487 umount2(mountPoint.c_str(), UMOUNT_NOFOLLOW | MNT_DETACH); in mountNonFlattened() 505 const std::string& mountPoint) { in mountFlattened() argument 512 if (mount(apex.GetPath().c_str(), mountPoint.c_str(), nullptr, MS_BIND, in mountFlattened() 515 << apex.GetPath() << " on " << mountPoint; in mountFlattened() 517 MountedApexData apex_data("" /* loop_name */, apex.GetPath(), mountPoint, in mountFlattened() [all …]
|
D | apexd_private.h | 44 Status MountPackage(const ApexFile& apex, const std::string& mountPoint);
|
/system/libvintf/ |
D | VintfObjectRecovery.cpp | 59 status_t mount(const std::string& path, const std::string& mountPoint) { in mount() argument 68 if (!android::fs_mgr::EnsurePathMounted(&fstab, path, mountPoint)) { in mount() 72 mounted_.emplace(path, mountPoint); in mount()
|
/system/vold/ |
D | AppFuseUtil.cpp | 156 std::string mountPoint; in OpenAppFuseFile() local 157 if (GetMountPath(uid, name, &mountPoint) != android::OK) { in OpenAppFuseFile() 162 std::string path = StringPrintf("%s/%d", mountPoint.c_str(), fileId); in OpenAppFuseFile()
|
D | VoldNativeService.h | 107 binder::Status mountFstab(const std::string& blkDevice, const std::string& mountPoint); 108 binder::Status encryptFstab(const std::string& blkDevice, const std::string& mountPoint); 136 binder::Status restoreCheckpoint(const std::string& mountPoint); 137 binder::Status restoreCheckpointPart(const std::string& mountPoint, int count);
|
D | Checkpoint.h | 44 android::binder::Status cp_restoreCheckpoint(const std::string& mountPoint, int count = 0);
|
D | VoldNativeService.cpp | 725 const std::string& mountPoint) { in mountFstab() argument 729 return translateBool(fscrypt_mount_metadata_encrypted(blkDevice, mountPoint, false)); in mountFstab() 733 const std::string& mountPoint) { in encryptFstab() argument 737 return translateBool(fscrypt_mount_metadata_encrypted(blkDevice, mountPoint, true)); in encryptFstab() 858 binder::Status VoldNativeService::restoreCheckpoint(const std::string& mountPoint) { in restoreCheckpoint() argument 860 CHECK_ARGUMENT_PATH(mountPoint); in restoreCheckpoint() 863 return cp_restoreCheckpoint(mountPoint); in restoreCheckpoint() 866 binder::Status VoldNativeService::restoreCheckpointPart(const std::string& mountPoint, int count) { in restoreCheckpointPart() argument 868 CHECK_ARGUMENT_PATH(mountPoint); in restoreCheckpointPart() 871 return cp_restoreCheckpoint(mountPoint, count); in restoreCheckpointPart()
|
D | Utils.cpp | 821 auto mountPoint = std::string(mnt->mnt_dir) + "/"; in findMountPointsWithPrefix() local 822 if (android::base::StartsWith(mountPoint, prefixWithSlash)) { in findMountPointsWithPrefix() 823 mountPoints.push_front(mountPoint); in findMountPointsWithPrefix() 845 status_t UnmountTree(const std::string& mountPoint) { in UnmountTree() argument 846 if (TEMP_FAILURE_RETRY(umount2(mountPoint.c_str(), MNT_DETACH)) < 0 && errno != EINVAL && in UnmountTree() 848 PLOG(ERROR) << "Failed to unmount " << mountPoint; in UnmountTree()
|
D | Utils.h | 140 status_t UnmountTree(const std::string& mountPoint);
|
/system/vold/binder/android/os/ |
D | IVold.aidl | 84 void mountFstab(@utf8InCpp String blkDevice, @utf8InCpp String mountPoint); in mountFstab() argument 85 void encryptFstab(@utf8InCpp String blkDevice, @utf8InCpp String mountPoint); in encryptFstab() argument
|