Home
last modified time | relevance | path

Searched refs:ReadFstabFromFile (Results 1 – 24 of 24) sorted by relevance

/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp286 ASSERT_TRUE(ReadFstabFromFile("/proc/mounts", &fstab)); in TEST()
372 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
449 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
522 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
579 EXPECT_FALSE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
591 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
615 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
656 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
682 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
712 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
[all …]
Dvts_fs_test.cpp95 ASSERT_TRUE(android::fs_mgr::ReadFstabFromFile("/proc/mounts", &fstab)); in TEST()
/system/extras/boot_control_copy/
Dbootinfo.cpp38 using android::fs_mgr::ReadFstabFromFile;
43 return ReadDefaultFstab(fstab) || ReadFstabFromFile("/fstab.device", fstab); in open_fstab()
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_device_test.cpp69 EXPECT_TRUE(ReadFstabFromFile("/system/etc/fstab.postinstall", &fstab)); in TEST()
108 EXPECT_TRUE(ReadFstabFromFile("/system/etc/fstab.postinstall", &fstab)); in TEST()
/system/core/trusty/storage/proxy/
Dcheckpoint_handling.cpp46 bool success = android::fs_mgr::ReadFstabFromFile("/proc/mounts", &procMounts); in is_data_checkpoint_active()
/system/core/fs_mgr/
Dfs_mgr_roots.cpp71 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in GetMountState()
169 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in EnsurePathUnmounted()
Dfs_mgr_remount.cpp134 return android::fs_mgr::ReadFstabFromFile(fstab_file, fstab); in ReadFstab()
143 if (android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts)) { in ReadFstab()
204 if (!android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts)) { in FindPartition()
520 if (!android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts) || mounts.empty()) { in do_remount()
Dfs_mgr.cpp1413 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in IsMountPointMounted()
1661 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in fs_mgr_mount_all()
1728 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in fs_mgr_unmount_all_data_mounts()
1755 if (!ReadFstabFromFile("/proc/mounts", &remaining_mounts)) { in fs_mgr_unmount_all_data_mounts()
1825 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in fs_mgr_remount_userdata_into_checkpointing()
Dfs_mgr_overlayfs_mount.cpp649 if (!android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts)) { in fs_mgr_overlayfs_candidate_list()
/system/apex/tests/native/
Dapex_shared_libraries_test.cpp38 using android::fs_mgr::ReadFstabFromFile;
86 ASSERT_TRUE(ReadFstabFromFile("/proc/mounts", &fstab)); in TEST()
/system/core/fs_mgr/libfstab/include/fstab/
Dfstab.h99 bool ReadFstabFromFile(const std::string& path, Fstab* fstab);
/system/vold/
DCheckpoint.cpp52 using android::fs_mgr::ReadFstabFromFile;
195 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in cp_commitChanges()
374 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in cp_prepareCheckpoint()
/system/core/init/
Dbuiltins.cpp101 using android::fs_mgr::ReadFstabFromFile;
639 if (!ReadFstabFromFile(mount_all->fstab_path, &fstab)) { in do_mount_all()
683 if (!ReadFstabFromFile(*umount_all, &fstab)) { in do_umount_all()
705 if (!ReadFstabFromFile(*swapon_all, &fstab)) { in do_swapon_all()
Dselinux.cpp556 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in MountMissingSystemPartitions()
Dfirst_stage_mount.cpp179 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in GetRootEntry()
/system/core/fastboot/device/
Dutility.cpp236 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in AutoMountMetadata()
/system/apex/apexd/
Dapexd_test_utils.h398 using android::fs_mgr::ReadFstabFromFile; in GetBlockDeviceForApex()
402 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in GetBlockDeviceForApex()
/system/core/fs_mgr/libfstab/
Dfstab.cpp733 bool ReadFstabFromFile(const std::string& path, Fstab* fstab) { in ReadFstabFromFile() function
851 if (!default_fstab_path.empty() && ReadFstabFromFile(default_fstab_path, &default_fstab)) { in ReadDefaultFstab()
/system/core/fs_mgr/libfiemap/
Dfiemap_writer_test.cpp460 ASSERT_TRUE(android::fs_mgr::ReadFstabFromFile("/proc/mounts", &fstab)); in SetUp()
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc664 if (!ReadFstabFromFile(path, &fstab)) { in IsAvbEnabledInFstab()
/system/sepolicy/microdroid/system/public/
Dte_macros948 # Ability to call ReadDefaultFstab() and ReadFstabFromFile().
/system/sepolicy/public/
Dte_macros1027 # Ability to call ReadDefaultFstab() and ReadFstabFromFile().
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp1947 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in IsMetadataMounted()
Dsnapshot.cpp4410 android::fs_mgr::ReadFstabFromFile("/proc/mounts", &fstab); in DeleteDeviceIfExists()