Home
last modified time | relevance | path

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

12

/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp257 ASSERT_TRUE(ReadFstabFromFile("/proc/mounts", &fstab)); in TEST()
343 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
420 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
493 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
549 EXPECT_FALSE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
561 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
585 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
626 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
652 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
682 EXPECT_TRUE(ReadFstabFromFile(tf.path, &fstab)); in TEST()
[all …]
Dvts_fs_test.cpp56 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/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/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.cpp209 fstab_read = android::fs_mgr::ReadFstabFromFile(fstab_file, &fstab); in do_remount()
215 if (android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts)) { in do_remount()
406 if (!android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts) || mounts.empty()) { in do_remount()
Dfs_mgr_fstab.cpp700 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.cpp1336 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in IsMountPointMounted()
1630 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in fs_mgr_unmount_all_data_mounts()
1657 if (!ReadFstabFromFile("/proc/mounts", &remaining_mounts)) { in fs_mgr_unmount_all_data_mounts()
1727 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in fs_mgr_remount_userdata_into_checkpointing()
Dfs_mgr_overlayfs.cpp372 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in fs_mgr_overlayfs_already_mounted()
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h98 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/apex/apexd/
Dapexd_test_utils.h371 using android::fs_mgr::ReadFstabFromFile; in GetBlockDeviceForApex()
375 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in GetBlockDeviceForApex()
/system/core/fastboot/device/
Dutility.cpp237 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in AutoMountMetadata()
/system/core/init/
Dbuiltins.cpp98 using android::fs_mgr::ReadFstabFromFile;
659 if (!ReadFstabFromFile(mount_all->fstab_path, &fstab)) { in do_mount_all()
703 if (!ReadFstabFromFile(*umount_all, &fstab)) { in do_umount_all()
725 if (!ReadFstabFromFile(*swapon_all, &fstab)) { in do_swapon_all()
Dfirst_stage_mount.cpp171 if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) { in GetRootEntry()
Dselinux.cpp856 if (!ReadFstabFromFile("/proc/mounts", &mounts)) { in MountMissingSystemPartitions()
/system/core/fs_mgr/libsnapshot/
Dpower_test.cpp380 if (!ReadFstabFromFile("/proc/mounts", &fstab)) { in GetUserdataBlockDeviceName()
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc654 if (!ReadFstabFromFile(path, &fstab)) { in IsAvbEnabledInFstab()
/system/sepolicy/microdroid/system/public/
Dte_macros983 # Ability to call ReadDefaultFstab() and ReadFstabFromFile().
/system/sepolicy/prebuilts/api/31.0/public/
Dte_macros988 # Ability to call ReadDefaultFstab() and ReadFstabFromFile().
/system/sepolicy/prebuilts/api/32.0/public/
Dte_macros988 # Ability to call ReadDefaultFstab() and ReadFstabFromFile().
/system/sepolicy/public/
Dte_macros1023 # Ability to call ReadDefaultFstab() and ReadFstabFromFile().
/system/sepolicy/prebuilts/api/33.0/public/
Dte_macros1023 # Ability to call ReadDefaultFstab() and ReadFstabFromFile().

12