/aosp12/system/core/fs_mgr/ |
H A D | fs_mgr_remount.cpp | 208 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()
|
/aosp12/system/apex/apexd/ |
H A D | flattened_apex_test.cpp | 56 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()
|
H A D | apex_database.cpp | 273 std::ifstream mounts("/proc/mounts"); in PopulateFromMounts() local 276 while (std::getline(mounts, line)) { in PopulateFromMounts()
|
/aosp12/system/core/fs_mgr/tests/ |
H A D | adb-remount-test.sh | 1105 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 …]
|
/aosp12/build/make/tools/releasetools/ |
H A D | edify_generator.py | 25 self.mounts = set() 244 self.mounts.add(p.mount_point) 412 self.mounts.remove(mount_point) 415 for p in sorted(self.mounts): 417 self.mounts = set()
|
/aosp12/system/core/init/ |
H A D | switch_root.cpp | 73 auto mounts = GetMounts(new_root); in SwitchRoot() local 77 for (const auto& mount_path : mounts) { in SwitchRoot()
|
H A D | selinux.cpp | 647 android::fs_mgr::Fstab mounts; in MountMissingSystemPartitions() local 648 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in MountMissingSystemPartitions() 656 if (GetEntryForMountPoint(&mounts, "/"s + name)) { in MountMissingSystemPartitions()
|
/aosp12/system/vold/ |
H A D | Checkpoint.cpp | 183 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()
|
/aosp12/packages/modules/Gki/test/src/com/android/gki/tests/ |
H A D | GkiInstallTest.java | 303 File mounts = device.pullFile("/proc/mounts"); in getOverlayfsState() local 304 try (Scanner scanner = new Scanner(mounts)) { in getOverlayfsState()
|
/aosp12/system/sepolicy/prebuilts/api/28.0/public/ |
H A D | fsck_untrusted.te | 19 # e2fsck scans through /proc/mounts and collects all the mounted
|
H A D | fsck.te | 24 # e2fsck scans through /proc/mounts and collects all the mounted
|
/aosp12/system/sepolicy/prebuilts/api/26.0/public/ |
H A D | fsck_untrusted.te | 19 # e2fsck scans through /proc/mounts and collects all the mounted
|
H A D | fsck.te | 24 # e2fsck scans through /proc/mounts and collects all the mounted
|
/aosp12/system/sepolicy/prebuilts/api/27.0/public/ |
H A D | fsck_untrusted.te | 19 # e2fsck scans through /proc/mounts and collects all the mounted
|
H A D | fsck.te | 24 # e2fsck scans through /proc/mounts and collects all the mounted
|
/aosp12/system/sepolicy/prebuilts/api/30.0/public/ |
H A D | fsck_untrusted.te | 19 # e2fsck scans through /proc/mounts and collects all the mounted
|
H A D | fsck.te | 34 # e2fsck scans through /proc/mounts and collects all the mounted
|
/aosp12/system/sepolicy/prebuilts/api/29.0/public/ |
H A D | fsck_untrusted.te | 19 # e2fsck scans through /proc/mounts and collects all the mounted
|
H A D | fsck.te | 34 # e2fsck scans through /proc/mounts and collects all the mounted
|
/aosp12/system/sepolicy/prebuilts/api/31.0/public/ |
H A D | fsck_untrusted.te | 19 # e2fsck scans through /proc/mounts and collects all the mounted
|
H A D | fsck.te | 34 # e2fsck scans through /proc/mounts and collects all the mounted
|
/aosp12/system/sepolicy/prebuilts/api/32.0/public/ |
H A D | fsck_untrusted.te | 19 # e2fsck scans through /proc/mounts and collects all the mounted
|
H A D | fsck.te | 34 # e2fsck scans through /proc/mounts and collects all the mounted
|
/aosp12/system/sepolicy/public/ |
H A D | fsck_untrusted.te | 19 # e2fsck scans through /proc/mounts and collects all the mounted
|
/aosp12/bootable/recovery/updater/ |
H A D | Android.bp | 101 "mounts.cpp",
|