Searched refs:mountPoint (Results 1 – 10 of 10) sorted by relevance
/system/apex/apexd/ |
D | apex_database.cpp | 111 std::pair<std::string, int> parseMountPoint(const std::string& mountPoint) { in parseMountPoint() argument 112 auto packageId = fs::path(mountPoint).filename(); in parseMountPoint() 124 bool isActiveMountPoint(const std::string& mountPoint) { in isActiveMountPoint() argument 125 return (mountPoint.find('@') == std::string::npos); in isActiveMountPoint() 192 const std::string& mountPoint) { in resolveMountInfo() argument 200 auto result = MountedApexData(block.DevPath(), *backingFile, mountPoint, in resolveMountInfo() 212 result.mount_point = mountPoint; in resolveMountInfo() 257 auto [block, mountPoint] = parseMountInfo(line); in PopulateFromMounts() 259 if (fs::path(mountPoint).parent_path() != kApexRoot) { in PopulateFromMounts() 262 if (isActiveMountPoint(mountPoint)) { in PopulateFromMounts() [all …]
|
D | apexd.cpp | 361 const std::string& mountPoint, in MountPackageImpl() argument 365 LOG(VERBOSE) << "Creating mount point: " << mountPoint; in MountPackageImpl() 374 auto exists = PathExists(mountPoint); in MountPackageImpl() 378 if (!*exists && mkdir(mountPoint.c_str(), kMkdirMode) != 0) { in MountPackageImpl() 379 return ErrnoError() << "Could not create mount point " << mountPoint; in MountPackageImpl() 381 auto deleter = [&mountPoint]() { in MountPackageImpl() 382 if (rmdir(mountPoint.c_str()) != 0) { in MountPackageImpl() 383 PLOG(WARNING) << "Could not rmdir " << mountPoint; in MountPackageImpl() 387 if (!IsEmptyDirectory(mountPoint)) { in MountPackageImpl() 388 return ErrnoError() << mountPoint << " is not empty"; in MountPackageImpl() [all …]
|
/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.cpp | 641 const std::string& mountPoint) { in mountFstab() argument 645 return translateBool(fscrypt_mount_metadata_encrypted(blkDevice, mountPoint, false)); in mountFstab() 649 const std::string& mountPoint) { in encryptFstab() argument 653 return translateBool(fscrypt_mount_metadata_encrypted(blkDevice, mountPoint, true)); in encryptFstab() 791 binder::Status VoldNativeService::restoreCheckpoint(const std::string& mountPoint) { in restoreCheckpoint() argument 793 CHECK_ARGUMENT_PATH(mountPoint); in restoreCheckpoint() 796 return cp_restoreCheckpoint(mountPoint); in restoreCheckpoint() 799 binder::Status VoldNativeService::restoreCheckpointPart(const std::string& mountPoint, int count) { in restoreCheckpointPart() argument 801 CHECK_ARGUMENT_PATH(mountPoint); in restoreCheckpointPart() 804 return cp_restoreCheckpoint(mountPoint, count); in restoreCheckpointPart()
|
D | Checkpoint.h | 46 android::binder::Status cp_restoreCheckpoint(const std::string& mountPoint, int count = 0);
|
D | VoldNativeService.h | 106 binder::Status mountFstab(const std::string& blkDevice, const std::string& mountPoint); 107 binder::Status encryptFstab(const std::string& blkDevice, const std::string& mountPoint); 138 binder::Status restoreCheckpoint(const std::string& mountPoint); 139 binder::Status restoreCheckpointPart(const std::string& mountPoint, int count);
|
D | Utils.cpp | 854 auto mountPoint = std::string(mnt->mnt_dir) + "/"; in findMountPointsWithPrefix() local 855 if (android::base::StartsWith(mountPoint, prefixWithSlash)) { in findMountPointsWithPrefix() 856 mountPoints.push_front(mountPoint); in findMountPointsWithPrefix() 878 status_t UnmountTree(const std::string& mountPoint) { in UnmountTree() argument 879 if (TEMP_FAILURE_RETRY(umount2(mountPoint.c_str(), MNT_DETACH)) < 0 && errno != EINVAL && in UnmountTree() 881 PLOG(ERROR) << "Failed to unmount " << mountPoint; in UnmountTree()
|
D | Utils.h | 140 status_t UnmountTree(const std::string& mountPoint);
|
/system/incremental_delivery/incfs/ |
D | MountRegistry.cpp | 345 auto mountPoint = std::string(items[4]); in loadFrom() local 346 fixProcPath(mountPoint); in loadFrom() 347 mountPoint = path::normalize(mountPoint); in loadFrom() 351 mount.root.assign(mountPoint); in loadFrom() 356 << "' mounted in multiple places, ignoring later mount '" << mountPoint in loadFrom() 361 mount.bindPoints.emplace_back(std::string(subdir), std::move(mountPoint)); in loadFrom()
|
/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
|