Home
last modified time | relevance | path

Searched refs:ReadMetadata (Results 1 – 19 of 19) sorted by relevance

/system/core/fs_mgr/liblp/
Dio_test.cpp137 ASSERT_EQ(ReadMetadata(opener, "super", 1), nullptr); in TEST_F()
178 unique_ptr<LpMetadata> imported = ReadMetadata(opener, "super", 0); in TEST_F()
215 unique_ptr<LpMetadata> imported = ReadMetadata(opener, "super", 0); in TEST_F()
225 imported = ReadMetadata(opener, "super", 0); in TEST_F()
231 imported = ReadMetadata(opener, "super", 1); in TEST_F()
261 unique_ptr<LpMetadata> metadata = ReadMetadata(opener, "super", 0); in TEST_F()
268 EXPECT_EQ(ReadMetadata(opener, "super", kMetadataSlots), nullptr); in TEST_F()
279 unique_ptr<LpMetadata> imported = ReadMetadata(opener, "super", 0); in TEST_F()
286 imported = ReadMetadata(opener, "super", 0); in TEST_F()
291 imported = ReadMetadata(opener, "super", 0); in TEST_F()
[all …]
Ddevice_test.cpp60 auto metadata = ReadMetadata(super_name, slot_number); in TEST_F()
77 auto other_metadata = ReadMetadata(other_super_name, other_slot_number); in TEST_F()
Dreader.cpp439 std::unique_ptr<LpMetadata> ReadMetadata(const IPartitionOpener& opener, in ReadMetadata() function
477 std::unique_ptr<LpMetadata> ReadMetadata(const std::string& super_partition, uint32_t slot_number) { in ReadMetadata() function
478 return ReadMetadata(PartitionOpener(), super_partition, slot_number); in ReadMetadata()
Dbuilder.cpp177 std::unique_ptr<LpMetadata> metadata = ReadMetadata(opener, super_partition, slot_number); in New()
222 auto metadata = ReadMetadata(opener, source_partition, source_slot_number); in NewForUpdate()
/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h64 std::unique_ptr<LpMetadata> ReadMetadata(const IPartitionOpener& opener,
71 std::unique_ptr<LpMetadata> ReadMetadata(const std::string& super_partition, uint32_t slot_number);
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp141 auto metadata = ReadMetadata(block_device.c_str(), slot); in CreateLogicalPartitions()
151 return ReadMetadata(block_device.c_str(), slot); in ReadCurrentMetadata()
198 if (owned->metadata = ReadMetadata(*partition_opener, block_device, slot); in InitDefaults()
Dfs_mgr_overlayfs.cpp1160 auto metadata = ReadMetadata(super_device, slot_number); in CanUseSuperPartition()
/system/core/fastboot/device/
Dutility.cpp134 std::unique_ptr<LpMetadata> metadata = ReadMetadata(path->c_str(), slot_number); in LogicalPartitionExists()
182 if (auto metadata = ReadMetadata(super_name, current_slot)) { in ListPartitions()
189 if (auto metadata = ReadMetadata(other_super, other_slot)) { in ListPartitions()
Dflashing.cpp195 std::unique_ptr<LpMetadata> old_metadata = ReadMetadata(super_name, slot_number); in UpdateSuper()
/system/update_engine/aosp/
Dmetrics_reporter_android.cc40 using android::fs_mgr::ReadMetadata;
102 std::unique_ptr<LpMetadata> metadata = ReadMetadata(super_device, slot); in ReportUpdateAttemptMetrics()
/system/extras/partition_tools/
Dlpadd.cc32 using android::fs_mgr::ReadMetadata;
146 metadata_ = android::fs_mgr::ReadMetadata(abs_super_path_, 0); in Open()
Dlpunpack.cc155 auto metadata = ReadMetadata(abs_super_path, slot_num); in main()
Dlpdump.cc387 return ReadMetadata(path, slot); in ReadDeviceOrFile()
/system/vold/model/
DPrivateVolume.cpp59 status_t res = ReadMetadata(mDmDevPath, &mFsType, &mFsUuid, &mFsLabel); in readMetadata()
/system/core/fs_mgr/libsnapshot/
Dsnapuserd.cpp331 bool Snapuserd::ReadMetadata() { in ReadMetadata() function in android::snapshot::Snapuserd
668 return ReadMetadata(); in InitCowDevice()
Dsnapuserd.h293 bool ReadMetadata();
Dsnapshot.cpp1579 auto metadata = android::fs_mgr::ReadMetadata(opener, super_device, slot); in ReadCurrentMetadata()
1648 auto metadata = android::fs_mgr::ReadMetadata(opener, super_device, target_slot); in GetSnapshotFlashingStatus()
1911 auto metadata = android::fs_mgr::ReadMetadata(opener, super_device, slot); in MapAllPartitions()
2326 auto metadata = android::fs_mgr::ReadMetadata(opener, super_device, slot_number); in MapAllSnapshots()
3244 auto metadata = android::fs_mgr::ReadMetadata(opener, super_device, slot); in UnmapAllPartitionsInRecovery()
/system/vold/
DUtils.h99 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid,
DUtils.cpp663 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid, in ReadMetadata() function