Home
last modified time | relevance | path

Searched refs:mounts (Results 1 – 25 of 56) sorted by relevance

123

/system/core/fs_mgr/
Dfs_mgr_remount.cpp208 android::fs_mgr::Fstab mounts; in do_remount() local
209 if (android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts)) { in do_remount()
210 if (auto entry = GetEntryForMountPoint(&mounts, "/")) { in do_remount()
399 android::fs_mgr::Fstab mounts; in do_remount() local
400 if (!android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts) || mounts.empty()) { in do_remount()
415 for (auto it = mounts.rbegin(); it != mounts.rend(); ++it) { in do_remount()
441 if ((mount_point == "/system") && !GetEntryForMountPoint(&mounts, mount_point) && in do_remount()
442 GetEntryForMountPoint(&mounts, "/")) { in do_remount()
/system/apex/apexd/
Dflattened_apex_test.cpp56 std::string mounts; in TEST() local
57 ASSERT_TRUE(ReadFileToString("/proc/self/mountinfo", &mounts)); in TEST()
59 for (const auto& mount : Split(mounts, "\n")) { in TEST()
Dapex_database.cpp273 std::ifstream mounts("/proc/mounts"); in PopulateFromMounts() local
276 while (std::getline(mounts, line)) { in PopulateFromMounts()
/system/core/init/
Dswitch_root.cpp73 auto mounts = GetMounts(new_root); in SwitchRoot() local
77 for (const auto& mount_path : mounts) { in SwitchRoot()
Dselinux.cpp631 android::fs_mgr::Fstab mounts; in MountMissingSystemPartitions() local
632 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in MountMissingSystemPartitions()
640 if (GetEntryForMountPoint(&mounts, "/"s + name)) { in MountMissingSystemPartitions()
/system/core/fs_mgr/tests/
Dadb-remount-test.sh1105 D=`adb_sh cat /proc/mounts </dev/null |
1239 M=`adb_sh cat /proc/mounts </dev/null |
1267 !(adb_sh grep "^overlay " /proc/mounts </dev/null |
1271 !(adb_sh grep -v noatime /proc/mounts </dev/null |
1276 D=`adb_sh grep " rw," /proc/mounts </dev/null |
1381 adb_su sed -n '1,/overlay \/system/p' /proc/mounts </dev/null |
1667 adb_sh grep " /vendor .* rw," /proc/mounts >/dev/null </dev/null &&
1671 adb_sh grep " /vendor .* rw," /proc/mounts >/dev/null </dev/null ||
1680 adb_sh grep " /vendor .* rw," /proc/mounts >/dev/null </dev/null &&
1684 adb_sh grep " /vendor .* rw," /proc/mounts >/dev/null </dev/null ||
[all …]
/system/vold/
DCheckpoint.cpp183 Fstab mounts; in cp_commitChanges() local
184 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in cp_commitChanges()
189 for (const auto& mount_rec : mounts) { in cp_commitChanges()
361 Fstab mounts; in cp_prepareCheckpoint() local
362 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in cp_prepareCheckpoint()
366 for (const auto& mount_rec : mounts) { in cp_prepareCheckpoint()
/system/sepolicy/prebuilts/api/28.0/public/
Dfsck_untrusted.te19 # e2fsck scans through /proc/mounts and collects all the mounted
Dfsck.te24 # e2fsck scans through /proc/mounts and collects all the mounted
/system/sepolicy/prebuilts/api/31.0/public/
Dfsck_untrusted.te19 # e2fsck scans through /proc/mounts and collects all the mounted
Dfsck.te34 # e2fsck scans through /proc/mounts and collects all the mounted
Dvold.te184 # Create and mount on /data/tmp_mnt and management of expansion mounts
211 # Access to FUSE control filesystem to hard-abort FUSE mounts
/system/sepolicy/prebuilts/api/30.0/public/
Dfsck_untrusted.te19 # e2fsck scans through /proc/mounts and collects all the mounted
Dfsck.te34 # e2fsck scans through /proc/mounts and collects all the mounted
Dvold.te178 # Create and mount on /data/tmp_mnt and management of expansion mounts
218 # Access to FUSE control filesystem to hard-abort FUSE mounts
/system/sepolicy/prebuilts/api/27.0/public/
Dfsck_untrusted.te19 # e2fsck scans through /proc/mounts and collects all the mounted
Dfsck.te24 # e2fsck scans through /proc/mounts and collects all the mounted
/system/sepolicy/prebuilts/api/29.0/public/
Dfsck_untrusted.te19 # e2fsck scans through /proc/mounts and collects all the mounted
Dfsck.te34 # e2fsck scans through /proc/mounts and collects all the mounted
/system/sepolicy/public/
Dfsck_untrusted.te19 # e2fsck scans through /proc/mounts and collects all the mounted
Dfsck.te34 # e2fsck scans through /proc/mounts and collects all the mounted
Dvold.te184 # Create and mount on /data/tmp_mnt and management of expansion mounts
211 # Access to FUSE control filesystem to hard-abort FUSE mounts
/system/sepolicy/prebuilts/api/26.0/public/
Dfsck_untrusted.te19 # e2fsck scans through /proc/mounts and collects all the mounted
Dfsck.te24 # e2fsck scans through /proc/mounts and collects all the mounted
/system/logging/logcat/
Dlogcatd.rc11 # overridden when /data mounts, or during runtime.

123