Home
last modified time | relevance | path

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

/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp261 ASSERT_TRUE(ReadFstabFromFile("/proc/mounts", &fstab)); in TEST()
347 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
424 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
501 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
571 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
595 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
636 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
662 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
692 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
738 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
[all …]
/system/extras/boot_control_copy/
Dbootinfo.cpp38 using android::fs_mgr::ReadFstabFromFile;
43 return ReadDefaultFstab(fstab) || ReadFstabFromFile("/fstab.device", fstab); in open_fstab()
/system/apex/tests/native/
Dapex_shared_libraries_test.cpp35 using android::fs_mgr::ReadFstabFromFile;
48 ASSERT_TRUE(ReadFstabFromFile("/proc/mounts", &fstab)); in TEST()
/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/fs_mgr/
Dfs_mgr_roots.cpp62 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in GetMountState()
151 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in EnsurePathUnmounted()
Dfs_mgr_remount.cpp203 fstab_read = android::fs_mgr::ReadFstabFromFile(fstab_file, &fstab); in do_remount()
209 if (android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts)) { in do_remount()
400 if (!android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts) || mounts.empty()) { in do_remount()
Dfs_mgr_fstab.cpp692 bool ReadFstabFromFile(const std::string& path, Fstab* fstab_out) { in ReadFstabFromFile() function
834 if (!default_fstab_path.empty() && ReadFstabFromFile(default_fstab_path, &default_fstab)) { in ReadDefaultFstab()
Dfs_mgr.cpp1358 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in IsMountPointMounted()
1700 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in fs_mgr_unmount_all_data_mounts()
1727 if (!ReadFstabFromFile("/proc/mounts", &remaining_mounts)) { in fs_mgr_unmount_all_data_mounts()
1797 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in fs_mgr_remount_userdata_into_checkpointing()
Dfs_mgr_overlayfs.cpp353 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in fs_mgr_overlayfs_already_mounted()
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h101 bool ReadFstabFromFile(const std::string& path, Fstab* fstab);
/system/vold/
DCheckpoint.cpp50 using android::fs_mgr::ReadFstabFromFile;
184 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in cp_commitChanges()
362 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in cp_prepareCheckpoint()
/system/core/init/
Dbuiltins.cpp96 using android::fs_mgr::ReadFstabFromFile;
693 if (!ReadFstabFromFile(mount_all->fstab_path, &fstab)) { in do_mount_all()
737 if (!ReadFstabFromFile(*umount_all, &fstab)) { in do_umount_all()
759 if (!ReadFstabFromFile(*swapon_all, &fstab)) { in do_swapon_all()
Dselinux.cpp632 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in MountMissingSystemPartitions()
Dfirst_stage_mount.cpp182 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in GetRootEntry()
/system/core/fastboot/device/
Dutility.cpp245 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in AutoMountMetadata()
/system/core/fs_mgr/libsnapshot/
Dpower_test.cpp380 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in GetUserdataBlockDeviceName()
Dsnapshot_test.cpp1652 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in IsMetadataMounted()
Dsnapshot.cpp3766 android::fs_mgr::ReadFstabFromFile("/proc/mounts", &fstab); in DeleteDeviceIfExists()
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc635 if (!ReadFstabFromFile(path, &fstab)) { in IsAvbEnabledInFstab()
/system/apex/apexd/
Dapexservice_test.cpp86 using android::fs_mgr::ReadFstabFromFile;
506 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in GetBlockDeviceForApex()
/system/sepolicy/prebuilts/api/31.0/public/
Dte_macros988 # Ability to call ReadDefaultFstab() and ReadFstabFromFile().
/system/sepolicy/public/
Dte_macros988 # Ability to call ReadDefaultFstab() and ReadFstabFromFile().