Home
last modified time | relevance | path

Searched refs:fs_mgr (Results 1 – 25 of 157) sorted by relevance

1234567

/system/core/fs_mgr/include/
Dfs_mgr.h64 int fs_mgr_mount_all(android::fs_mgr::Fstab* fstab, int mount_mode);
69 int fs_mgr_do_mount(android::fs_mgr::Fstab* fstab, const char* n_name, char* n_blk_device,
71 int fs_mgr_do_mount(android::fs_mgr::Fstab* fstab, const char* n_name, char* n_blk_device,
73 int fs_mgr_do_mount_one(const android::fs_mgr::FstabEntry& entry,
78 bool fs_mgr_is_verity_enabled(const android::fs_mgr::FstabEntry& entry);
79 bool fs_mgr_swapon_all(const android::fs_mgr::Fstab& fstab);
80 bool fs_mgr_update_logical_partition(android::fs_mgr::FstabEntry* entry);
84 bool fs_mgr_verity_is_check_at_most_once(const android::fs_mgr::FstabEntry& entry);
86 int fs_mgr_do_format(const android::fs_mgr::FstabEntry& entry, bool reserve_footer);
92 int fs_mgr_setup_verity(android::fs_mgr::FstabEntry* fstab, bool wait_for_verity_dev);
[all …]
Dfs_mgr_overlayfs.h27 android::fs_mgr::Fstab fs_mgr_overlayfs_candidate_list(const android::fs_mgr::Fstab& fstab);
29 bool fs_mgr_overlayfs_mount_all(android::fs_mgr::Fstab* fstab);
30 std::vector<std::string> fs_mgr_overlayfs_required_devices(android::fs_mgr::Fstab* fstab);
46 namespace fs_mgr {
/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.h33 using Extent = android::fs_mgr::Extent;
35 using Interval = android::fs_mgr::Interval;
36 using MetadataBuilder = android::fs_mgr::MetadataBuilder;
37 using Partition = android::fs_mgr::Partition;
Dutility.cpp30 using android::fs_mgr::EnsurePathMounted;
31 using android::fs_mgr::EnsurePathUnmounted;
32 using android::fs_mgr::Fstab;
33 using android::fs_mgr::GetEntryForPath;
34 using android::fs_mgr::MetadataBuilder;
35 using android::fs_mgr::Partition;
36 using android::fs_mgr::ReadDefaultFstab;
Dutility.h105 AutoUnmountDevice(const std::string& path, android::fs_mgr::Fstab&& fstab) in AutoUnmountDevice()
107 android::fs_mgr::Fstab fstab_;
111 std::vector<android::fs_mgr::Partition*> ListPartitionsWithSuffix(
112 android::fs_mgr::MetadataBuilder* builder, const std::string& suffix);
Ddevice_info.h36 const android::fs_mgr::IPartitionOpener& GetPartitionOpener() const override;
46 android::fs_mgr::PartitionOpener opener_;
Dsnapshot_metadata_updater.h43 SnapshotMetadataUpdater(android::fs_mgr::MetadataBuilder* builder, uint32_t target_slot,
78 android::fs_mgr::MetadataBuilder* const builder_;
Dsnapshot_metadata_updater.cpp32 using android::fs_mgr::MetadataBuilder;
33 using android::fs_mgr::Partition;
34 using android::fs_mgr::SlotSuffixForSlotNumber;
133 if (!builder_->ChangePartitionGroup(existing_partition, android::fs_mgr::kDefaultGroup)) { in MovePartitionsToDefault()
Dpartition_cow_creator.cpp26 using android::fs_mgr::Extent;
27 using android::fs_mgr::Interval;
28 using android::fs_mgr::kDefaultBlockSize;
29 using android::fs_mgr::Partition;
/system/core/fs_mgr/
Dfs_mgr_remount.cpp60 bool remountable_partition(const android::fs_mgr::FstabEntry& entry) { in remountable_partition()
69 const std::string system_mount_point(const android::fs_mgr::FstabEntry& entry) { in system_mount_point()
74 const android::fs_mgr::FstabEntry* is_wrapped(const android::fs_mgr::Fstab& overlayfs_candidates, in is_wrapped()
75 const android::fs_mgr::FstabEntry& entry) { in is_wrapped()
196 android::fs_mgr::Fstab fstab; in do_remount()
199 fstab_read = android::fs_mgr::ReadFstabFromFile(fstab_file, &fstab); in do_remount()
201 fstab_read = android::fs_mgr::ReadDefaultFstab(&fstab); in do_remount()
204 android::fs_mgr::Fstab mounts; in do_remount()
205 if (android::fs_mgr::ReadFstabFromFile("/proc/mounts", &mounts)) { in do_remount()
237 android::fs_mgr::Fstab all; in do_remount()
[all …]
Dfs_mgr_priv.h92 bool fs_mgr_update_for_slotselect(android::fs_mgr::Fstab* fstab);
100 bool fs_mgr_teardown_verity(android::fs_mgr::FstabEntry* fstab);
103 namespace fs_mgr {
Dfs_mgr_dm_linear.cpp47 namespace fs_mgr { namespace
209 if (android::fs_mgr::GetPartitionName(metadata_partition) == partition_name) { in InitDefaults()
220 partition_name = android::fs_mgr::GetPartitionName(*partition); in InitDefaults()
221 } else if (partition_name != android::fs_mgr::GetPartitionName(*partition)) { in InitDefaults()
223 << android::fs_mgr::GetPartitionName(*partition); in InitDefaults()
258 if (partition) return android::fs_mgr::GetPartitionName(*partition); in GetPartitionName()
Dclean_scratch_files.cpp20 android::fs_mgr::CleanupOldScratchFiles(); in main()
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_device_test.cpp26 using android::fs_mgr::AvbHandle;
27 using android::fs_mgr::AvbHandleStatus;
28 using android::fs_mgr::Fstab;
29 using android::fs_mgr::FstabEntry;
30 using android::fs_mgr::VBMetaData;
31 using android::fs_mgr::VBMetaVerifyResult;
Dutil_test.cpp31 using android::fs_mgr::BytesToHex;
32 using android::fs_mgr::FileWaitMode;
33 using android::fs_mgr::HexToBytes;
34 using android::fs_mgr::ListFiles;
35 using android::fs_mgr::NibbleValue;
36 using android::fs_mgr::WaitForFile;
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h36 using android::fs_mgr::IPropertyFetcher;
37 using android::fs_mgr::MetadataBuilder;
38 using android::fs_mgr::testing::MockPropertyFetcher;
58 class TestPartitionOpener final : public android::fs_mgr::PartitionOpener {
65 android::fs_mgr::BlockDeviceInfo* info) const override;
85 const android::fs_mgr::IPartitionOpener& GetPartitionOpener() const override { in GetPartitionOpener()
116 class SnapshotTestPropertyFetcher : public android::fs_mgr::testing::MockPropertyFetcher {
/system/extras/boot_control_copy/
Dbootinfo.cpp36 using android::fs_mgr::Fstab;
37 using android::fs_mgr::GetEntryForMountPoint;
38 using android::fs_mgr::ReadDefaultFstab;
39 using android::fs_mgr::ReadFstabFromFile;
/system/core/fs_mgr/libvbmeta/
Dsuper_vbmeta_test.cpp35 using android::fs_mgr::GetFileSize;
36 using android::fs_mgr::ReadVBMetaImage;
147 EXPECT_RESULT_OK(android::fs_mgr::ReadPrimaryVBMetaTable(fd, &table)); in TEST()
149 EXPECT_RESULT_OK(android::fs_mgr::ReadBackupVBMetaTable(fd, &table_backup)); in TEST()
150 EXPECT_EQ(android::fs_mgr::SerializeVBMetaTable(table), in TEST()
151 android::fs_mgr::SerializeVBMetaTable(table_backup)); in TEST()
154 std::string serial_table = android::fs_mgr::SerializeVBMetaTable(table); in TEST()
/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp36 using namespace android::fs_mgr;
124 TEST(fs_mgr, fs_mgr_parse_boot_config) { in TEST() argument
128 TEST(fs_mgr, fs_mgr_get_boot_config_from_kernel_cmdline) { in TEST() argument
143 TEST(fs_mgr, fs_mgr_read_fstab_file_proc_mounts) { in TEST() argument
209 TEST(fs_mgr, DISABLED_ReadFstabFromFile_MountOptions) { in TEST() argument
314 TEST(fs_mgr, DISABLED_ReadFstabFromFile_FsMgrFlags) { in TEST() argument
393 TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_AllBad) { in TEST() argument
472 TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_Encryptable) { in TEST() argument
493 TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_VoldManaged) { in TEST() argument
536 TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_Length) { in TEST() argument
[all …]
/system/core/init/
Dfirst_stage_mount.cpp57 using android::fs_mgr::AvbHandle;
58 using android::fs_mgr::AvbHandleStatus;
59 using android::fs_mgr::AvbHashtreeResult;
60 using android::fs_mgr::AvbUniquePtr;
61 using android::fs_mgr::Fstab;
62 using android::fs_mgr::FstabEntry;
63 using android::fs_mgr::ReadDefaultFstab;
64 using android::fs_mgr::ReadFstabFromDt;
65 using android::fs_mgr::SkipMountingPartitions;
66 using android::fs_mgr::TransformFstabForDsu;
[all …]
/system/extras/partition_tools/
Dlpadd.cc30 using android::fs_mgr::LpMetadata;
31 using android::fs_mgr::MetadataBuilder;
32 using android::fs_mgr::ReadMetadata;
33 using android::fs_mgr::UpdatePartitionTable;
85 class LocalSuperOpener final : public android::fs_mgr::PartitionOpener {
142 was_empty_ = android::fs_mgr::IsEmptySuperImage(abs_super_path_); in Open()
144 metadata_ = android::fs_mgr::ReadFromImageFile(abs_super_path_); in Open()
146 metadata_ = android::fs_mgr::ReadMetadata(abs_super_path_, 0); in Open()
297 auto partition = android::fs_mgr::FindPartition(*metadata_.get(), partition_name); in WritePartition()
374 if (!android::fs_mgr::WriteToImageFile(super_fd_, *metadata_.get())) { in Finalize()
/system/update_engine/
Ddynamic_partition_control_android.h94 virtual std::unique_ptr<android::fs_mgr::MetadataBuilder> LoadMetadataBuilder(
101 virtual std::unique_ptr<android::fs_mgr::MetadataBuilder> LoadMetadataBuilder(
108 android::fs_mgr::MetadataBuilder* builder,
208 bool UpdatePartitionMetadata(android::fs_mgr::MetadataBuilder* builder,
244 bool DeleteSourcePartitions(android::fs_mgr::MetadataBuilder* builder,
Dmock_dynamic_partition_control.h53 MOCK_METHOD(std::unique_ptr<::android::fs_mgr::MetadataBuilder>,
57 MOCK_METHOD(std::unique_ptr<::android::fs_mgr::MetadataBuilder>,
63 (const std::string&, android::fs_mgr::MetadataBuilder*, uint32_t),
/system/core/fs_mgr/liblp/
Ddevice_test.cpp28 using namespace android::fs_mgr;
29 using namespace android::fs_mgr::testing;
/system/vold/
DVoldUtil.cpp19 android::fs_mgr::Fstab fstab_default;

1234567