Home
last modified time | relevance | path

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

/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp145 ASSERT_TRUE(ReadFstabFromFile("/proc/mounts", &fstab)); in TEST()
232 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
328 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
407 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
481 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
505 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
546 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
572 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
602 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
648 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
[all …]
/system/extras/boot_control_copy/
Dbootinfo.cpp39 using android::fs_mgr::ReadFstabFromFile;
45 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/fs_mgr/
Dfs_mgr_roots.cpp62 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in GetMountState()
150 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in EnsurePathUnmounted()
Dfs_mgr_remount.cpp199 fstab_read = android::fs_mgr::ReadFstabFromFile(fstab_file, &fstab); in do_remount()
205 if (android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts)) { in do_remount()
361 if (!android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts) || mounts.empty()) { in do_remount()
Dfs_mgr_fstab.cpp680 bool ReadFstabFromFile(const std::string& path, Fstab* fstab) { in ReadFstabFromFile() function
789 ReadFstabFromFile(default_fstab_path, &default_fstab); in ReadDefaultFstab()
Dfs_mgr.cpp1303 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in IsMountPointMounted()
1612 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in fs_mgr_unmount_all_data_mounts()
1639 if (!ReadFstabFromFile("/proc/mounts", &remaining_mounts)) { in fs_mgr_unmount_all_data_mounts()
1709 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in fs_mgr_remount_userdata_into_checkpointing()
Dfs_mgr_overlayfs.cpp320 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in fs_mgr_overlayfs_already_mounted()
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h100 bool ReadFstabFromFile(const std::string& path, Fstab* fstab);
/system/vold/
DCheckpoint.cpp51 using android::fs_mgr::ReadFstabFromFile;
185 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in cp_commitChanges()
363 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in cp_prepareCheckpoint()
/system/core/init/
Dbuiltins.cpp95 using android::fs_mgr::ReadFstabFromFile;
664 if (!ReadFstabFromFile(mount_all->fstab_path, &fstab)) { in do_mount_all()
700 if (!ReadFstabFromFile(*umount_all, &fstab)) { in do_umount_all()
722 if (!ReadFstabFromFile(*swapon_all, &fstab)) { in do_swapon_all()
Dselinux.cpp614 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in MountMissingSystemPartitions()
Dfirst_stage_mount.cpp177 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in GetRootEntry()
/system/core/fastboot/device/
Dutility.cpp247 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.cpp1382 if (!ReadFstabFromFile("/proc/mounts", &mounted_fstab)) { in IsMetadataMounted()
/system/update_engine/
Ddynamic_partition_control_android.cc561 if (!ReadFstabFromFile(path, &fstab)) { in IsAvbEnabledInFstab()
/system/apex/apexd/
Dapexservice_test.cpp84 using android::fs_mgr::ReadFstabFromFile;
514 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in GetBlockDeviceForApex()