Home
last modified time | relevance | path

Searched refs:mountPoint (Results 1 – 10 of 10) sorted by relevance

/system/apex/apexd/
Dapex_database.cpp111 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 …]
Dapexd.cpp361 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/
DAppFuseUtil.cpp156 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()
DCheckpoint.h46 android::binder::Status cp_restoreCheckpoint(const std::string& mountPoint, int count = 0);
DVoldNativeService.h113 binder::Status mountFstab(const std::string& blkDevice, const std::string& mountPoint);
114 binder::Status encryptFstab(const std::string& blkDevice, const std::string& mountPoint);
145 binder::Status restoreCheckpoint(const std::string& mountPoint);
146 binder::Status restoreCheckpointPart(const std::string& mountPoint, int count);
DVoldNativeService.cpp683 const std::string& mountPoint) { in mountFstab() argument
687 return translateBool(fscrypt_mount_metadata_encrypted(blkDevice, mountPoint, false)); in mountFstab()
691 const std::string& mountPoint) { in encryptFstab() argument
695 return translateBool(fscrypt_mount_metadata_encrypted(blkDevice, mountPoint, true)); in encryptFstab()
834 binder::Status VoldNativeService::restoreCheckpoint(const std::string& mountPoint) { in restoreCheckpoint() argument
836 CHECK_ARGUMENT_PATH(mountPoint); in restoreCheckpoint()
839 return cp_restoreCheckpoint(mountPoint); in restoreCheckpoint()
842 binder::Status VoldNativeService::restoreCheckpointPart(const std::string& mountPoint, int count) { in restoreCheckpointPart() argument
844 CHECK_ARGUMENT_PATH(mountPoint); in restoreCheckpointPart()
847 return cp_restoreCheckpoint(mountPoint, count); in restoreCheckpointPart()
DUtils.cpp1226 auto mountPoint = std::string(mnt->mnt_dir) + "/"; in findMountPointsWithPrefix() local
1227 if (android::base::StartsWith(mountPoint, prefixWithSlash)) { in findMountPointsWithPrefix()
1228 mountPoints.push_front(mountPoint); in findMountPointsWithPrefix()
1250 status_t UnmountTree(const std::string& mountPoint) { in UnmountTree() argument
1251 if (TEMP_FAILURE_RETRY(umount2(mountPoint.c_str(), MNT_DETACH)) < 0 && errno != EINVAL && in UnmountTree()
1253 PLOG(ERROR) << "Failed to unmount " << mountPoint; in UnmountTree()
DUtils.h169 status_t UnmountTree(const std::string& mountPoint);
/system/incremental_delivery/incfs/
DMountRegistry.cpp345 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/
DIVold.aidl90 void mountFstab(@utf8InCpp String blkDevice, @utf8InCpp String mountPoint); in mountFstab() argument
91 void encryptFstab(@utf8InCpp String blkDevice, @utf8InCpp String mountPoint); in encryptFstab() argument